body.cn-auth-modal-open {
  overflow: hidden;
}
.cn-member-booking-notice--unread{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#eff6ff;color:#0a2463}.cn-member-booking-notice--unread div{display:grid;gap:3px}.cn-member-booking-notice--unread span{font-size:13px}.cn-member-booking-notice--unread form{margin:0}.cn-member-booking-notice--unread button{padding:8px 12px;border:0;border-radius:6px;background:#0a2463;color:#fff;white-space:nowrap;cursor:pointer}@media(max-width:600px){.cn-member-booking-notice--unread{align-items:stretch;flex-direction:column}.cn-member-booking-notice--unread button{width:100%}}

.cn-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cn-auth-modal--hidden,
.cn-auth-modal__view[hidden] {
  display: none;
}

.cn-auth-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, .78);
  backdrop-filter: blur(6px);
}

.cn-auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 30px 36px 28px;
  border: 1px solid rgba(212, 175, 55, .3);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(10, 25, 47, .28);
  color: #0a192f;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cn-auth-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.cn-auth-modal__header {
  margin-bottom: 22px;
  text-align: center;
}

.cn-auth-modal__logo {
  display: block;
  width: auto;
  height: 70px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.cn-auth-modal__header h2 {
  margin: 0 0 5px;
  color: #0a192f;
  font-size: 22px;
}

.cn-auth-modal__header p {
  margin: 0;
  color: #8a6f18;
  font-size: 12px;
  letter-spacing: .08em;
}

.cn-auth-modal__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
  border-bottom: 1px solid #e2e8f0;
}

.cn-auth-modal__tabs button {
  padding: 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.cn-auth-modal__tabs button.is-active {
  border-bottom-color: #d4af37;
  color: #0a192f;
}

.cn-auth-modal__notices {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.cn-auth-modal__notice {
  padding: 10px 12px;
  border-left: 3px solid #2563eb;
  background: #eff6ff;
  color: #1e3a5f;
  font-size: 13px;
}

.cn-auth-modal__notice--error {
  border-left-color: #b91c1c;
  background: #fef2f2;
  color: #991b1b;
}

.cn-auth-modal__form {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.cn-auth-modal__field {
  display: grid;
  gap: 7px;
}

.cn-auth-modal__field label,
.cn-auth-modal__member-types legend {
  position: static;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  pointer-events: auto;
}

.cn-auth-modal__field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0a192f;
  font: inherit;
}

.cn-auth-modal__field input:focus {
  border-color: #d4af37;
  outline: 2px solid rgba(212, 175, 55, .22);
  outline-offset: 1px;
}

.cn-auth-modal__email-error {
  display: grid;
  gap: 8px;
  color: #991b1b;
  font-size: 13px;
}

.cn-auth-modal__email-error[hidden] {
  display: none;
}

.cn-auth-modal__email-actions {
  display: flex;
  gap: 14px;
}

.cn-auth-modal__email-actions button,
.cn-auth-modal__email-actions a {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a6f18;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.cn-auth-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.cn-auth-modal__row a,
.cn-auth-modal__switch-copy button,
.cn-auth-modal__gdpr a {
  color: #8a6f18;
  text-decoration: none;
}

.cn-auth-modal__link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a6f18;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
}
.cn-auth-modal__link-btn:hover {
  color: #6b5412;
  text-decoration: underline;
}

.cn-auth-modal__remember,
.cn-auth-modal__gdpr {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 13px;
}

.cn-auth-modal__remember input,
.cn-auth-modal__gdpr input {
  -webkit-appearance: checkbox;
  appearance: auto;
  position: static;
  display: inline-block;
  visibility: visible;
  opacity: 1;
  width: 17px;
  min-width: 17px;
  height: 17px;
  min-height: 17px;
  flex: 0 0 17px;
  margin: 0;
  padding: 0;
  border: initial;
  border-radius: 3px;
  background: initial;
  cursor: pointer;
  accent-color: #0a192f;
}

.cn-auth-modal__remember input:focus-visible,
.cn-auth-modal__gdpr input:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

.cn-auth-modal__remember label,
.cn-auth-modal__gdpr label {
  position: static;
  cursor: pointer;
  pointer-events: auto;
}

.cn-auth-modal__member-types {
  margin: 0;
  padding: 0;
  border: 0;
}

.cn-auth-modal__member-types legend {
  margin-bottom: 8px;
}

.cn-auth-modal__member-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cn-auth-modal__member-option {
  position: relative;
}

.cn-auth-modal__member-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cn-auth-modal__member-option label {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  pointer-events: auto;
}

.cn-auth-modal__member-option input:checked + label {
  border-color: #d4af37;
  background: #0a192f;
  color: #fff;
}

.cn-auth-modal__member-option input:focus-visible + label {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

.cn-auth-modal__submit {
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid #d4af37;
  border-radius: 8px;
  background: #0a192f;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.cn-auth-modal__switch-copy {
  margin: 16px 0 0;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.cn-auth-modal__switch-copy button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.cn-auth-modal__social {
  margin-top: 22px;
}

.cn-auth-modal__social-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 12px;
}

.cn-auth-modal__social-title::before,
.cn-auth-modal__social-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e2e8f0;
}

.cn-auth-modal__social-buttons {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}

.cn-auth-modal__social-buttons .nsl-container,
.cn-auth-modal__social-buttons .wp-wx-login-form {
  width: 100%;
}

/* 真实可达按钮 — 与占位按钮视觉统一（保留现有自定义按钮外观） */
.cn-auth-modal__social-buttons .nsl-container .nsl-container-buttons a[data-plugin="nsl"],
.cn-auth-modal__social-buttons .wp-wx-login-form a {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #dbe2ea;
  border-radius: 9px;
  background: #f8fafc;
  color: #526173;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.cn-auth-modal__social-buttons .nsl-container .nsl-container-buttons a[data-plugin="nsl"]:hover,
.cn-auth-modal__social-buttons .wp-wx-login-form a:hover {
  opacity: 0.9;
}

.cn-auth-modal__social-buttons .nsl-container .nsl-container-buttons a[data-plugin="nsl"] .nsl-button,
.cn-auth-modal__social-buttons .wp-wx-login-form a > svg {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.cn-auth-modal__social-buttons .nsl-container .nsl-container-buttons a[data-plugin="nsl"] .nsl-button-label-container {
  display: block;
  color: #526173;
  font: inherit;
  font-weight: 600;
}

.cn-auth-modal__social-buttons .wp-wx-login-form a > svg {
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(10, 25, 47, 0.12);
  padding: 4px;
  box-sizing: border-box;
}

/* 点击加载态 — 防止连续点击 */
.cn-auth-modal__social-buttons a.cn-social-loading {
  pointer-events: none;
  opacity: 0.6;
}

.cn-auth-modal__social-buttons a.cn-social-loading::after {
  content: "";
  grid-column: 3;
  width: 14px;
  height: 14px;
  border: 2px solid #cbd5e1;
  border-top-color: #526173;
  border-radius: 50%;
  animation: cn-social-spin 0.7s linear infinite;
}

@keyframes cn-social-spin {
  to { transform: rotate(360deg); }
}

.cn-auth-modal__social-placeholder {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #dbe2ea;
  border-radius: 9px;
  background: #f8fafc;
  color: #526173;
  font: inherit;
  text-align: left;
  cursor: not-allowed;
  opacity: 0.72;
}

.cn-auth-modal__social-placeholder small {
  color: #8794a5;
  font-size: 11px;
}

.cn-auth-modal__social-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0a192f;
  box-shadow: 0 1px 4px rgba(10, 25, 47, 0.12);
  font-weight: 700;
}

.cn-auth-modal__social-placeholder--wechat .cn-auth-modal__social-icon {
  color: #07c160;
}

/* My Account fallback registration form uses the same real values. */
.checknow-member-type {
  position: relative;
  z-index: 3;
  margin: 18px 0;
  padding: 0;
  border: 0;
  pointer-events: auto;
}

.checknow-member-type legend {
  margin-bottom: 9px;
  color: #0a192f;
  font-weight: 600;
}

.checknow-member-type__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checknow-member-type__option {
  position: relative;
}

.checknow-member-type__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checknow-member-type__option label {
  position: static;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  pointer-events: auto;
}

.checknow-member-type__option input:checked + label {
  border-color: #d4af37;
  background: #0a192f;
  color: #fff;
}

/* ─── OTP 相关 ─────────────────────────── */

.cn-auth-modal__honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.cn-auth-modal__otp-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.cn-auth-modal__otp-status {
  min-height: 20px;
  font-size: 13px;
  color: #b91c1c;
}

.cn-auth-modal__otp-sent-to {
  font-size: 14px;
  color: #334155;
  text-align: center;
  word-break: break-all;
}

.cn-auth-modal__otp-resend {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  color: #64748b;
}

.cn-auth-modal__otp-resend button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a6f18;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.cn-auth-modal__otp-resend button:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.cn-auth-modal__field-readonly {
  background: #f1f5f9 !important;
  color: #64748b !important;
  cursor: default !important;
}

@media (max-width: 600px) {
  .cn-auth-modal {
    align-items: flex-end;
    padding: 10px;
  }

  .cn-auth-modal__dialog {
    max-height: calc(100dvh - 20px);
    padding: 25px 20px 22px;
    border-radius: 14px;
  }
}

/* ═══════════════════════════════════════════════════
   CheckNow Member Dashboard — 会员中心
   设计系统: 深蓝 #0A2463 / 金色 #C9A84C / 白色
   ═══════════════════════════════════════════════════ */

.cn-member-dashboard {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e293b;
}

/* ── 手机下拉导航 ── */

.cn-member-nav-mobile {
  display: none;
  margin-bottom: 20px;
}

.cn-member-nav-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background: #fff;
  color: #0a2463;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  appearance: auto;
}

/* ── 双栏布局 ── */

.cn-member-dashboard-inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* ── 左侧导航 ── */

.cn-member-nav {
  flex: 0 0 220px;
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(10,36,99,0.06);
}

.cn-member-nav-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.cn-member-nav-item {
  margin: 0;
}

.cn-member-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

button.cn-member-nav-link {
  width: 100%;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.cn-member-nav-link:hover {
  background: #f8fafc;
  color: #0a2463;
}

.cn-member-nav-item.is-active .cn-member-nav-link {
  background: #f0f4ff;
  color: #0a2463;
  border-left-color: #c9a84c;
  font-weight: 600;
}

.cn-member-nav-icon {
  font-size: 20px;
  color: inherit;
}

/* ── 右侧内容区 ── */

.cn-member-content {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(10,36,99,0.06);
}

/* ── 会员首页 ── */

.cn-member-home {
  max-width: 640px;
}

.cn-member-greeting {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.cn-member-greeting h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #0a2463;
}

.cn-member-badge {
  display: inline-block;
  padding: 4px 14px;
  background: #fef7e0;
  color: #8a6f18;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid #c9a84c;
}

/* ── 统计卡片 ── */

.cn-member-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.cn-member-stats--single {
  grid-template-columns: 1fr;
  max-width: 320px;
}

.cn-member-stat-card {
  padding: 20px;
  border: 1px solid #e5e7eb;
  text-align: center;
  background: #fafbfc;
}

.cn-member-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #0a2463;
  line-height: 1.2;
}

.cn-member-stat-label {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

.cn-member-stat-bar {
  height: 4px;
  background: #e5e7eb;
  margin-top: 10px;
  border-radius: 2px;
  overflow: hidden;
}

.cn-member-stat-bar-fill {
  height: 100%;
  background: #c9a84c;
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* ── 快捷按钮 ── */

.cn-member-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cn-member-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease;
  letter-spacing: 0.3px;
}

.cn-member-btn-primary {
  background: #0a2463;
  color: #fff;
}

.cn-member-btn-primary:hover {
  background: #061742;
  color: #fff;
}

.cn-member-btn-secondary {
  background: #fff;
  color: #0a2463;
  border: 1px solid #0a2463;
}

.cn-member-btn-secondary:hover {
  background: #f0f4ff;
}

/* ── 区块标题 ── */

.cn-member-section {
  margin-bottom: 28px;
}

.cn-member-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #0a2463;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

/* ── 咨询列表 ── */

.cn-member-consultation-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cn-member-consultation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  flex-wrap: wrap;
}

.cn-member-consultation-item:last-child {
  border-bottom: none;
}

.cn-member-consultation-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
}

.cn-member-consultation-date {
  font-size: 12px;
  color: #9ca3af;
}

.cn-member-consultation-status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-completed {
  background: #d1fae5;
  color: #065f46;
}

.status-processing {
  background: #dbeafe;
  color: #1e40af;
}

/* ── 空状态 ── */

.cn-member-empty {
  text-align: center;
  padding: 48px 20px;
  color: #6b7280;
}

.cn-member-empty-icon {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 12px;
}

.cn-member-empty p {
  font-size: 14px;
  margin: 0 0 16px;
}

.cn-member-booking-list{display:grid;gap:12px}.cn-member-booking-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.6fr) auto;gap:18px;align-items:center;padding:18px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.cn-member-booking-card div{display:grid;gap:4px}.cn-member-booking-card span{font-size:13px;color:#64748b}.cn-member-booking-status{padding:5px 10px;border-radius:999px;background:#fef3c7;color:#92400e!important;font-weight:600;white-space:nowrap}@media(max-width:700px){.cn-member-booking-card{grid-template-columns:1fr}.cn-member-booking-status{justify-self:start}}
.cn-member-booking-notice{margin-bottom:18px;padding:14px 16px;border-radius:8px;background:#ecfdf3;color:#067647}.cn-member-booking-progress{grid-column:1/-1!important;display:block!important}.cn-member-booking-progress-bar{display:block!important;height:6px;margin:4px 0 8px;border-radius:999px;background:#e5e7eb;overflow:hidden}.cn-member-booking-progress-bar span{display:block;height:100%;background:#0a2463}.cn-member-booking-progress.is-canceled .cn-member-booking-progress-bar span{background:#b42318}.cn-member-booking-progress ol{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0;padding:0;list-style:none}.cn-member-booking-progress li{font-size:11px;color:#9ca3af}.cn-member-booking-progress li.is-done{color:#0a2463;font-weight:600}@media(max-width:700px){.cn-member-booking-progress ol{grid-template-columns:repeat(2,1fr)}}

/* ── 页面通用 ── */

.cn-member-page-title {
  font-size: 22px;
  font-weight: 700;
  color: #0a2463;
  margin: 0 0 24px;
}

/* ── 个人资料表单 ── */

.cn-member-profile-form {
  max-width: 600px;
}

.cn-field-group {
  margin-bottom: 18px;
}

.cn-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}

.cn-req {
  color: #dc2626;
}

.cn-field-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  font-size: 14px;
  font-family: inherit;
  color: #1e293b;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.cn-field-input:focus {
  border-color: #0a2463;
  outline: none;
  box-shadow: 0 0 0 2px rgba(10,36,99,0.08);
}

select.cn-field-input {
  appearance: auto;
  cursor: pointer;
}

.cn-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cn-field-hint {
  font-size: 12px;
  color: #9ca3af;
  margin: 4px 0 0;
}

.cn-field-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 24px 0;
}

.cn-field-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #0a2463;
  margin: 0 0 16px;
}

.cn-field-submit {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

/* ── 头像上传 ── */

.cn-avatar-upload {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cn-avatar-preview {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cn-avatar-gold, #F0D495);
  background: var(--cn-avatar-gold, #F0D495);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--cn-avatar-text, #0B192C);
}

.cn-avatar-btn {
  cursor: pointer;
  font-size: 13px;
}

/* ── 账户安全 ── */

.cn-member-security-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.cn-member-security-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cn-security-info {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 4px;
  line-height: 1.6;
}

.cn-security-info strong {
  color: #1e293b;
}

.cn-security-danger {
  background: #fef2f2;
  padding: 20px;
  border: 1px solid #fecaca;
  border-bottom: 1px solid #fecaca !important;
}

.cn-security-danger .cn-member-section-title {
  color: #991b1b;
  border-bottom-color: #fecaca;
}

.cn-security-danger .cn-security-info {
  color: #7f1d1d;
}

.cn-security-danger a {
  color: #dc2626;
  font-weight: 600;
  text-decoration: none;
}

.cn-security-danger a:hover {
  text-decoration: underline;
}

.cn-security-form {
  max-width: 480px;
}

/* ── 咨询列表（可点击行） ── */

.cn-member-consultation-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  flex-wrap: wrap;
  transition: background 0.1s ease;
}

.cn-member-consultation-link:hover {
  background: #f8fafc;
}

.cn-member-consultation-id {
  font-size: 12px;
  font-weight: 600;
  color: #0a2463;
  min-width: 60px;
}

.cn-member-consultation-summary {
  flex: 1;
  font-size: 14px;
  color: #4b5563;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* ── 分页 ── */

.cn-member-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 20px;
}

.cn-member-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.1s ease;
}

.cn-member-page-num:hover {
  border-color: #0a2463;
  color: #0a2463;
}

.cn-member-page-num.is-current {
  background: #0a2463;
  border-color: #0a2463;
  color: #fff;
}

/* ── 咨询详情 ── */

.cn-member-back-link {
  display: inline-block;
  font-size: 13px;
  color: #0a2463;
  text-decoration: none;
  margin-bottom: 16px;
  font-weight: 500;
}

.cn-member-back-link:hover {
  text-decoration: underline;
}

.cn-member-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.cn-member-detail-table tr {
  border-bottom: 1px solid #f3f4f6;
}

.cn-member-detail-table td {
  padding: 12px 8px;
  font-size: 14px;
  vertical-align: top;
  line-height: 1.6;
}

.cn-detail-label {
  width: 100px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

/* ── 响应式 ── */

@media (max-width: 768px) {
  .cn-member-nav-mobile {
    display: block;
  }

  .cn-member-nav {
    display: none;
  }

  .cn-member-dashboard-inner {
    flex-direction: column;
    gap: 0;
  }

  .cn-member-content {
    padding: 20px;
  }

  .cn-member-stats {
    grid-template-columns: 1fr;
  }

  .cn-member-greeting h1 {
    font-size: 20px;
  }
}
