/* Brand card UI */

  /* ========== 名片系统专用样式 ========== */

  /* Hero区 - 个人品牌头图 */
  .brand-hero {
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 60%, #1E3A5F 100%);
    padding: 32px 20px 28px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
  }
  .brand-hero::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
  }
  .brand-hero::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -30px;
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
  }
  .brand-hero-avatar {
    width: 88px; height: 88px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.4);
    object-fit: cover;
    margin-bottom: 12px;
    position: relative; z-index: 1;
  }
  .brand-hero-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    font-size: 32px;
    font-weight: 700;
  }
  .brand-card-page .content,
  .brand-card-edit-page .content,
  .page-p-with-bar .public-card-scroll {
    padding-left: 0;
    padding-right: 0;
  }
  .brand-card-page .action-bar,
  .brand-card-page .card-contact-bar,
  .page-p-with-bar .card-contact-bar {
    max-width: 430px;
    margin: 0 auto;
  }
  .brand-hero-name { font-size: 22px; font-weight: 700; margin-bottom: 4px; position: relative; z-index: 1; }
  .brand-hero-title { font-size: 13px; opacity: 0.8; margin-bottom: 12px; position: relative; z-index: 1; }
  .brand-hero-tagline {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    position: relative; z-index: 1;
  }

  /* 差异化标签区 */
  .brand-tags-section {
    padding: 16px;
    background: var(--color-card);
  }
  .brand-tags-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
  }
  .brand-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .brand-tag {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: 1.5px solid var(--color-brand);
    color: var(--color-brand);
    background: var(--color-brand-light);
  }
  .brand-tag.highlight {
    background: var(--color-brand);
    color: white;
    border-color: var(--color-brand);
  }

  /* 数据卡片区 */
  .brand-stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--color-border);
  }
  .brand-stat-item {
    background: var(--color-card);
    padding: 16px 8px;
    text-align: center;
  }
  .brand-stat-num { font-size: 22px; font-weight: 700; color: var(--color-brand); }
  .brand-stat-label { font-size: 11px; color: var(--color-text-secondary); margin-top: 2px; }

  /* 模块标题 */
  .section-block { margin-bottom: 10px; }
  .section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px 10px;
    background: var(--color-card);
  }
  .section-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
  }
  .section-icon.blue { background: #EFF6FF; }
  .section-icon.green { background: #ECFDF5; }
  .section-icon.orange { background: #FFFBEB; }
  .section-icon.purple { background: #F5F3FF; }
  .section-icon.red { background: #FEF2F2; }
  .section-title { font-size: 15px; font-weight: 700; color: var(--color-text-primary); }
  .section-body {
    background: var(--color-card);
    padding: 0 16px 14px;
  }

  /* 价值主张 */
  .value-list { display: flex; flex-direction: column; gap: 10px; }
  .value-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--color-bg);
    border-radius: 12px;
    border-left: 3px solid var(--color-brand);
  }
  .value-item-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--color-brand-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
  }
  .value-item-title { font-size: 14px; font-weight: 600; color: var(--color-text-primary); margin-bottom: 2px; }
  .value-item-desc { font-size: 12px; color: var(--color-text-secondary); line-height: 1.5; }

  /* 成果背书 */
  .cred-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .cred-card {
    padding: 14px;
    background: var(--color-bg);
    border-radius: 12px;
    text-align: center;
  }
  .cred-card-num { font-size: 24px; font-weight: 800; color: var(--color-brand); }
  .cred-card-label { font-size: 12px; color: var(--color-text-secondary); margin-top: 4px; }
  .cred-card-sub { font-size: 11px; color: var(--color-text-tertiary); margin-top: 2px; }

  /* 故事区 - 可展开 */
  .story-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .story-text.expanded {
    -webkit-line-clamp: unset;
    display: block;
  }
  .story-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--color-brand);
    font-weight: 500;
    cursor: pointer;
  }

  /* 产品区 */
  .product-card {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--color-bg);
    border-radius: 12px;
    border: 1px solid var(--color-border);
  }
  .product-img {
    width: 64px; height: 64px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563EB, #1E40AF);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
  }
  .product-info { flex: 1; }
  .product-name { font-size: 15px; font-weight: 600; color: var(--color-text-primary); margin-bottom: 4px; }
  .product-desc { font-size: 12px; color: var(--color-text-secondary); line-height: 1.5; margin-bottom: 8px; }
  .product-tags { display: flex; gap: 6px; flex-wrap: wrap; }
  .product-tag {
    padding: 3px 8px;
    background: var(--color-brand-light);
    color: var(--color-brand);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
  }

  /* 案例区 */
  .case-mini-list { display: flex; flex-direction: column; gap: 8px; }
  .case-mini-card {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: var(--color-bg);
    border-radius: 10px;
    align-items: center;
  }
  .case-mini-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--color-brand-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }
  .case-mini-content { flex: 1; }
  .case-mini-title { font-size: 14px; font-weight: 600; color: var(--color-text-primary); }
  .case-mini-meta { font-size: 11px; color: var(--color-text-tertiary); margin-top: 2px; }
  .case-mini-arrow { font-size: 16px; color: var(--color-text-tertiary); }

  /* 行动区 */
  .action-bar {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    padding: 10px 16px calc(10px + var(--safe-bottom, env(safe-area-inset-bottom, 0px)));
    background: var(--color-card);
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 10px;
    z-index: 100;
    max-width: 430px;
    margin: 0 auto;
  }
  .action-btn {
    flex: 1;
    padding: 13px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    border: none;
  }
  .action-btn-primary {
    background: var(--color-brand);
    color: white;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
  }
  .action-btn-secondary {
    background: var(--color-card);
    color: var(--color-brand);
    border: 1.5px solid var(--color-brand);
  }

  /* 完成度提示 */
  .completion-tip {
    margin: 10px 16px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 12px;
    border: 1px solid #BFDBFE;
  }
  .completion-tip--done {
    padding: 10px 14px;
    background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
    border-color: #A7F3D0;
  }
  .completion-tip--done .completion-tip-header { margin-bottom: 0; }
  .completion-tip--done .completion-tip-title,
  .completion-tip--done .completion-tip-progress { color: #059669; }
  .completion-tip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  .completion-tip-title { font-size: 13px; font-weight: 600; color: var(--color-brand); }
  .completion-tip-progress { font-size: 12px; color: var(--color-brand); font-weight: 700; }
  .completion-tip-bar {
    width: 100%; height: 4px;
    background: #DBEAFE;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
  }
  .completion-tip-fill {
    width: 50%; height: 100%;
    background: var(--color-brand);
    border-radius: 2px;
    transition: width 0.3s;
  }
  .completion-tip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .completion-tip-item {
    font-size: 11px;
    padding: 3px 8px;
    background: white;
    border-radius: 4px;
    color: var(--color-text-secondary);
  }
  .completion-tip-item.done { color: var(--color-success); }
  .completion-tip-item.pending { color: var(--color-warning); }


  /* ========== 编辑页专用样式 ========== */

  /* 编辑分组 */
  .edit-section {
    margin-bottom: 16px;
    background: var(--color-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  .edit-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light);
  }
  .edit-section-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
  }
  .edit-section-icon.blue { background: #EFF6FF; }
  .edit-section-icon.green { background: #ECFDF5; }
  .edit-section-icon.orange { background: #FFFBEB; }
  .edit-section-icon.purple { background: #F5F3FF; }
  .edit-section-icon.red { background: #FEF2F2; }
  .edit-section-title { font-size: 15px; font-weight: 700; color: var(--color-text-primary); }
  .edit-section-body { padding: 14px 16px; }

  /* 头像上传区（独立类名，避免与全局 .avatar-upload 圆形容器冲突） */
  .bc-avatar-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 0 16px;
  }
  .bc-avatar-frame {
    width: 88px;
    height: 88px;
    padding: 0;
    border: 3px solid var(--color-brand-light);
    border-radius: 50%;
    background: #F3F4F6;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .bc-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .bc-avatar-placeholder {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-brand);
  }
  .bc-avatar-change {
    padding: 6px 16px;
    background: var(--color-brand-light);
    color: var(--color-brand);
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.2;
  }

  /* 兼容旧类名（若其它入口仍引用） */
  .avatar-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }
  .avatar-upload-img {
    width: 88px; height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-brand-light);
    margin-bottom: 10px;
  }
  .avatar-upload-btn {
    padding: 6px 16px;
    background: var(--color-brand-light);
    color: var(--color-brand);
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
  }

  /* 表单分组 */
  .form-group { margin-bottom: 14px; }
  .form-group:last-child { margin-bottom: 0; }
  .form-group-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 6px;
  }
  .form-group-label .required { color: var(--color-error); margin-left: 2px; }
  .form-group-hint {
    font-size: 11px;
    color: var(--color-text-tertiary);
    margin-top: 4px;
  }
  .bc-optional-mark {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    margin-left: 4px;
  }
  .bc-wechat-qr-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: #F8FAFC;
    border: 1px solid var(--color-border, #E5E7EB);
    border-radius: 12px;
  }
  .bc-wechat-qr-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--color-border, #E5E7EB);
    flex-shrink: 0;
  }
  .bc-wechat-qr-empty {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    border: 1px dashed #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--color-text-tertiary);
    background: #fff;
    flex-shrink: 0;
  }
  .bc-wechat-qr-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .bc-wechat-qr-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    background: var(--color-brand-light);
    color: var(--color-brand);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
  }
  .bc-wechat-qr-btn--ghost {
    background: transparent;
    color: var(--color-text-secondary);
    padding-left: 4px;
  }

  /* 加微信弹层：二维码 + 复制兜底 */
  .bc-wechat-sheet {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: none;
  }
  .bc-wechat-sheet.is-open { display: block; }
  .bc-wechat-sheet-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
  }
  .bc-wechat-sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
    text-align: center;
  }
  .bc-wechat-sheet-handle {
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: #E5E7EB;
    margin: 0 auto 14px;
  }
  .bc-wechat-sheet-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
  }
  .bc-wechat-sheet-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .bc-wechat-sheet-qr {
    width: min(220px, 58vw);
    height: min(220px, 58vw);
    object-fit: contain;
    border-radius: 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    margin: 0 auto 16px;
    display: block;
  }
  .bc-wechat-sheet-id {
    font-size: 13px;
    color: #374151;
    margin-bottom: 14px;
    word-break: break-all;
  }
  .bc-wechat-sheet-id strong {
    font-weight: 600;
    color: #111827;
  }
  .bc-wechat-sheet-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .bc-wechat-sheet-btn {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }
  .bc-wechat-sheet-btn--primary {
    background: #07C160;
    color: #fff;
  }
  .bc-wechat-sheet-btn--secondary {
    background: #F3F4F6;
    color: #111827;
  }
  .bc-wechat-sheet-btn--ghost {
    background: transparent;
    color: #6B7280;
    font-weight: 500;
  }

  /* 资质证书全屏弹窗 */
  .bc-cert-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(15, 23, 42, 0.92);
  }
  .bc-cert-popup.is-open { display: flex; flex-direction: column; }
  .bc-cert-popup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(12px + var(--safe-top, 0px)) 16px 12px;
    color: #fff;
  }
  .bc-cert-popup-title { font-size: 16px; font-weight: 500; }
  .bc-cert-popup-close {
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.12); color: #fff; font-size: 22px; cursor: pointer;
  }
  .bc-cert-popup-body {
    flex: 1; overflow-x: auto; overflow-y: hidden;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px calc(24px + var(--safe-bottom, 0px));
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .bc-cert-popup-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex; align-items: center; justify-content: center;
    min-height: 50vh;
  }
  .bc-cert-popup-slide img {
    max-width: 100%; max-height: 72vh; border-radius: 12px;
    object-fit: contain; background: #fff;
  }
  .bc-cert-popup-text {
    color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.6;
    text-align: center; padding: 24px;
  }
  .bc-cert-popup-dots {
    display: flex; justify-content: center; gap: 6px;
    padding-bottom: calc(12px + var(--safe-bottom, 0px));
  }
  .bc-cert-popup-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.25);
  }
  .bc-cert-popup-dot.is-active { background: #fff; }

  /* 名片留资表单 */
  .bc-consult-sheet .bc-wechat-sheet-panel { max-height: 85vh; overflow-y: auto; }
  .bc-consult-field { margin-bottom: 12px; }
  .bc-consult-label { font-size: 12px; color: #64748B; margin-bottom: 6px; }
  .bc-consult-input, .bc-consult-select {
    width: 100%; padding: 12px 14px; border-radius: 12px;
    border: 1px solid #E2E8F0; font-size: 14px; color: #0F172A; background: #fff;
  }
  .bc-consult-input:focus, .bc-consult-select:focus {
    outline: none; border-color: #2563EB;
  }

  /* 名片 AI 对话 */
  .bc-card-chat-sheet .bc-card-chat-panel {
    display: flex; flex-direction: column;
    max-height: 88vh; padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .bc-card-chat-head {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 4px 12px; border-bottom: 0.5px solid #E2E8F0;
  }
  .bc-card-chat-avatar {
    width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, #DBEAFE, #E0E7FF);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 600; color: #2563EB; flex-shrink: 0;
  }
  .bc-card-chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .bc-card-chat-meta { flex: 1; min-width: 0; }
  .bc-card-chat-title { font-size: 15px; font-weight: 600; color: #0F172A; }
  .bc-card-chat-sub { font-size: 11px; color: #64748B; margin-top: 2px; }
  .bc-card-chat-close {
    width: 32px; height: 32px; border: none; background: #F1F5F9;
    border-radius: 50%; font-size: 20px; line-height: 1; color: #64748B; cursor: pointer;
  }
  .bc-card-chat-messages {
    flex: 1; overflow-y: auto; padding: 12px 0; min-height: 200px; max-height: 46vh;
  }
  .bc-card-chat-body {
    position: relative; flex: 1; min-height: 200px; max-height: 46vh;
    display: flex; flex-direction: column;
  }
  .bc-card-chat-body .bc-card-chat-messages {
    flex: 1; max-height: none; min-height: 0;
  }
  .bc-card-chat-gate {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    padding: 16px; background: rgba(248, 250, 252, 0.96);
  }
  .bc-card-chat-gate-card {
    width: 100%; max-width: 300px; text-align: center;
    padding: 20px 16px; border-radius: 16px;
    background: #fff; border: 1px solid #E2E8F0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }
  .bc-card-chat-gate-title { font-size: 16px; font-weight: 600; color: #0F172A; margin-bottom: 10px; }
  .bc-card-chat-gate-desc { font-size: 13px; line-height: 1.55; color: #334155; margin: 0 0 8px; }
  .bc-card-chat-gate-note { font-size: 11px; color: #64748B; margin: 0 0 16px; }
  .bc-card-chat-gate-btn {
    width: 100%; border: none; border-radius: 999px; padding: 12px 16px;
    background: #16A34A; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
  }
  .bc-card-chat-msg { display: flex; margin-bottom: 10px; }
  .bc-card-chat-msg--user { justify-content: flex-end; }
  .bc-card-chat-msg--assistant { justify-content: flex-start; }
  .bc-card-chat-bubble {
    max-width: 85%; padding: 10px 12px; border-radius: 14px;
    font-size: 14px; line-height: 1.55; word-break: break-word;
  }
  .bc-card-chat-msg--user .bc-card-chat-bubble {
    background: #2563EB; color: #fff; border-bottom-right-radius: 4px;
  }
  .bc-card-chat-msg--assistant .bc-card-chat-bubble {
    background: #F1F5F9; color: #0F172A; border-bottom-left-radius: 4px;
  }
  .bc-card-chat-bubble--typing { color: #64748B; padding: 12px 16px; }
  .bc-card-chat-dots { display: inline-flex; gap: 4px; align-items: center; }
  .bc-card-chat-dots i {
    width: 6px; height: 6px; border-radius: 50%; background: #94A3B8;
    animation: bcChatDot 1.2s infinite ease-in-out;
  }
  .bc-card-chat-dots i:nth-child(2) { animation-delay: 0.15s; }
  .bc-card-chat-dots i:nth-child(3) { animation-delay: 0.3s; }
  @keyframes bcChatDot {
    0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
  }
  .bc-card-chat-notice { padding: 0 0 8px; }
  .bc-card-chat-disclosure {
    display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px;
    background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px;
    font-size: 11px; line-height: 1.45; color: #92400E;
  }
  .bc-card-chat-disclosure-btn {
    flex-shrink: 0; border: none; background: #F59E0B; color: #fff;
    font-size: 11px; padding: 4px 8px; border-radius: 999px; cursor: pointer;
  }
  .bc-card-chat-quota-tip {
    margin-top: 6px; padding: 8px 10px; background: #F8FAFC;
    border: 1px solid #E2E8F0; border-radius: 10px; font-size: 11px; color: #64748B;
  }
  .bc-card-chat-actions {
    display: flex; gap: 8px; padding: 0 0 8px;
  }
  .bc-card-chat-action-btn {
    flex: 1; border: 1px solid #BFDBFE; background: #EFF6FF; color: #1D4ED8;
    border-radius: 999px; padding: 8px 10px; font-size: 13px; cursor: pointer;
  }
  .bc-card-chat-action-btn--phone {
    border-color: #BBF7D0; background: #F0FDF4; color: #15803D;
  }
  .bc-card-chat-quick {
    display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 10px;
  }
  .bc-card-chat-quick-btn {
    padding: 6px 10px; border-radius: 999px; border: 1px solid #DBEAFE;
    background: #EFF6FF; color: #2563EB; font-size: 12px; cursor: pointer;
  }
  .bc-card-chat-lead-inner {
    display: flex; flex-direction: column; gap: 8px;
    padding: 10px 12px; background: #EFF6FF; border-radius: 12px;
    border: 1px solid #BFDBFE; margin-bottom: 8px;
  }
  .bc-card-chat-lead-inner--subtle {
    flex-direction: row; align-items: center; justify-content: space-between;
    background: #F8FAFC; border-color: #E2E8F0; padding: 8px 10px;
  }
  .bc-card-chat-lead-text { font-size: 12px; color: #334155; line-height: 1.45; flex: 1; }
  .bc-card-chat-lead-actions { display: flex; gap: 8px; flex-wrap: wrap; }
  .bc-card-chat-lead-btn {
    border: none; background: #2563EB; color: #fff; font-size: 12px;
    padding: 7px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  }
  .bc-card-chat-lead-btn--wx {
    background: #fff; color: #16A34A; border: 1px solid #BBF7D0;
  }
  .bc-card-chat-input-row {
    display: flex; gap: 8px; padding-top: 8px; border-top: 0.5px solid #E2E8F0;
  }
  .bc-card-chat-input {
    flex: 1; padding: 10px 12px; border-radius: 12px;
    border: 1px solid #E2E8F0; font-size: 14px;
  }
  .bc-card-chat-input:focus { outline: none; border-color: #2563EB; }
  .bc-card-chat-send {
    padding: 10px 14px; border-radius: 12px; border: none;
    background: #2563EB; color: #fff; font-size: 14px; font-weight: 500; cursor: pointer;
  }
  .bc-card-chat-send:disabled { opacity: 0.5; cursor: not-allowed; }
  .bc-card-chat-cases {
    margin: 8px 0 4px; padding: 10px 0 0;
    border-top: 0.5px dashed #E2E8F0;
  }
  .bc-card-chat-cases-label { font-size: 11px; color: #64748B; margin-bottom: 8px; }
  .bc-card-chat-case-btn {
    display: block; width: 100%; text-align: left; margin-bottom: 8px;
    padding: 10px 12px; border-radius: 12px; border: 1px solid #DBEAFE;
    background: #F8FAFC; cursor: pointer;
  }
  .bc-card-chat-case-title { display: block; font-size: 13px; font-weight: 600; color: #0F172A; }
  .bc-card-chat-case-desc { display: block; font-size: 12px; color: #64748B; margin-top: 4px; line-height: 1.4; }

  /* 行业话术下拉 */
  .bc-industry-picker {
    margin: 12px 16px; padding: 14px;
    background: linear-gradient(135deg, #EFF6FF, #F0F9FF);
    border-radius: 14px; border: 0.5px solid #DBEAFE;
  }
  .bc-industry-picker-label { font-size: 12px; color: #64748B; margin-bottom: 8px; }
  .bc-industry-picker-row { display: flex; gap: 8px; align-items: center; }
  .bc-industry-select {
    flex: 1; padding: 10px 12px; border-radius: 10px;
    border: 1px solid #BFDBFE; font-size: 13px; color: #0F172A; background: #FFF;
  }
  .bc-industry-apply {
    padding: 10px 16px; border-radius: 10px; background: #2563EB; color: #FFF;
    font-size: 13px; font-weight: 500; border: none; white-space: nowrap;
  }
  .bc-industry-apply:disabled { opacity: 0.4; cursor: not-allowed; }
  .bc-industry-hint { font-size: 11px; color: #94A3B8; margin-top: 8px; }

  /* 证书图片上传 */
  .bc-cred-img-grid {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px;
  }
  .bc-cred-img-item {
    position: relative; width: 88px; height: 88px; border-radius: 10px; overflow: hidden;
    border: 0.5px solid #E2E8F0; background: #F8FAFC;
  }
  .bc-cred-img-item img { width: 100%; height: 100%; object-fit: cover; }
  .bc-cred-img-rm {
    position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
    border-radius: 50%; border: none; background: rgba(15,23,42,0.65); color: #fff;
    font-size: 14px; line-height: 1; cursor: pointer;
  }

  /* 标签输入（圆角与原文润色 note-tag-chip 一致） */
  .tag-input-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  .tag-add-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 120px;
  }
  .tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: var(--color-brand-light);
    color: var(--color-brand);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
  }
  .tag-pill .remove { cursor: pointer; font-size: 14px; opacity: 0.6; }
  .tag-pill .remove:hover { opacity: 1; }
  .tag-add-input {
    flex: 1;
    min-width: 72px;
    padding: 3px 10px;
    border: 1.5px dashed var(--color-border);
    border-radius: 6px;
    font-size: 12px;
    color: var(--color-text-secondary);
    background: transparent;
    outline: none;
    line-height: 1.4;
  }
  .tag-add-input:focus { border-color: var(--color-brand); }
  .tag-add-confirm {
    flex-shrink: 0;
    padding: 3px 10px;
    border: none;
    border-radius: 6px;
    background: var(--color-brand);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
  }
  .tag-add-confirm:disabled {
    opacity: 0.45;
    cursor: default;
  }
  .tag-add-confirm:not(:disabled):active { opacity: 0.85; }
  .tag-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
  }
  .tag-preset {
    padding: 3px 10px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 12px;
    color: var(--color-text-secondary);
    cursor: pointer;
    line-height: 1.4;
  }
  .tag-preset:hover { border-color: var(--color-brand); color: var(--color-brand); }

  /* 价值项编辑 */
  .value-edit-item {
    padding: 12px;
    background: var(--color-bg);
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 3px solid var(--color-brand);
  }
  .value-edit-item:last-child { margin-bottom: 0; }
  .value-edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  .value-edit-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-brand);
    background: var(--color-brand-light);
    padding: 2px 8px;
    border-radius: 4px;
  }
  .value-edit-remove {
    font-size: 12px;
    color: var(--color-error);
    cursor: pointer;
  }

  /* 成果数据编辑 */
  .cred-edit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cred-edit-item {
    padding: 12px;
    background: var(--color-bg);
    border-radius: 10px;
  }
  .cred-edit-item .form-group { margin-bottom: 10px; }
  .cred-edit-item .form-group-label {
    font-size: 12px;
    margin-bottom: 6px;
    display: block;
  }
  .cred-edit-item .form-input { width: 100%; box-sizing: border-box; }
  .cred-edit-item .form-group:last-child { margin-bottom: 0; }

  /* 添加按钮 */
  .add-btn {
    width: 100%;
    padding: 12px;
    border: 1.5px dashed var(--color-brand);
    border-radius: 10px;
    background: var(--color-brand-light);
    color: var(--color-brand);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
  }

  /* 案例选择 */
  .case-select-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
  }
  .case-select-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: var(--color-bg);
    border-radius: 12px;
    border: 2px solid var(--color-border);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.15s, background 0.15s;
  }
  .case-select-item:active {
    transform: scale(0.99);
  }
  .case-select-item.selected {
    border-color: var(--color-brand);
    background: var(--color-brand-light);
  }
  .case-select-checkbox {
    width: 20px; height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
  }
  .case-select-item.selected .case-select-checkbox {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: white;
  }
  .case-select-info { flex: 1; min-width: 0; }
  .case-select-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .case-select-meta { font-size: 11px; color: var(--color-text-tertiary); margin-top: 4px; }
  .case-select-empty {
    margin: 8px 16px 12px;
    padding: 16px;
    border-radius: 12px;
    background: #F8FAFC;
    color: var(--color-text-tertiary);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
  }
  .bc-case-select-group .form-group-hint { margin: 0 16px 8px; }
  .bc-case-select-group .case-select-list { margin: 0 16px 12px; }

  /* 底部保存栏 */
  .edit-save-bar {
    position: fixed;
    bottom: calc(var(--safe-bottom));
    left: 0; right: 0;
    padding: 10px 16px;
    background: var(--color-card);
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 10px;
    z-index: 100;
    max-width: 430px;
    margin: 0 auto;
  }
  .edit-save-btn {
    flex: 1;
    padding: 13px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
  }
  .edit-save-btn.primary {
    background: var(--color-brand);
    color: white;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
  }
  .edit-save-btn.secondary {
    background: var(--color-card);
    color: var(--color-text-secondary);
    border: 1.5px solid var(--color-border);
  }

  /* 完成度悬浮提示 */
  .completion-float {
    position: fixed;
    top: calc(var(--nav-height) + 8px);
    left: 16px; right: 16px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border: 1px solid #BFDBFE;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 90;
    max-width: 398px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
  }
  .completion-float-bar {
    flex: 1;
    height: 4px;
    background: #DBEAFE;
    border-radius: 2px;
    overflow: hidden;
  }
  .completion-float-fill {
    width: 50%; height: 100%;
    background: var(--color-brand);
    border-radius: 2px;
  }
  .completion-float-text { font-size: 12px; font-weight: 600; color: var(--color-brand); white-space: nowrap; }

  /* ========== Curator 编辑 · M2a ========== */
  .edit-section-icon.amber { background: #FEF3C7; }
  .edit-section-curator { border: 1px solid #FDE68A; box-shadow: 0 1px 2px rgba(245, 158, 11, 0.06); }
  .edit-accordion .edit-section-header { border-bottom: 1px solid var(--color-border-light); cursor: pointer; user-select: none; }
  .edit-accordion.collapsed .edit-section-body { display: none; }
  .edit-accordion.collapsed .edit-accordion-chevron { transform: none; }
  .edit-accordion:not(.collapsed) .edit-accordion-chevron { transform: rotate(90deg); }
  .edit-accordion-chevron { width: 20px; text-align: center; color: var(--color-text-tertiary); font-size: 12px; transition: transform 0.2s; flex-shrink: 0; }
  .bc-source-badge { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; letter-spacing: 0.3px; flex-shrink: 0; }
  .bc-source-badge.manual { background: #FEF3C7; color: #B45309; }
  .bc-source-badge.auto { background: #D1FAE5; color: #047857; }
  .bc-source-badge.mix { background: linear-gradient(90deg, #FEF3C7, #D1FAE5); color: var(--color-text-secondary); }
  .bc-curator-divider { margin: 20px 0 12px; display: flex; align-items: center; gap: 12px; color: var(--color-text-tertiary); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
  .bc-curator-divider::before, .bc-curator-divider::after { content: ""; flex: 1; height: 1px; background: var(--color-border-light); }
  .bc-sales-path-tip {
    margin: 0 16px 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #047857;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
  }
  .bc-sales-path-tip--ip {
    background: #EFF6FF;
    border-color: #BFDBFE;
    color: #1D4ED8;
  }
  .bc-sales-path-tip--pro {
    background: #FFFBEB;
    border-color: #FDE68A;
    color: #92400E;
  }
  .bc-preset-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .bc-preset-lead {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-text-secondary);
  }
  .bc-preset-card {
    text-align: left;
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    border: 1.5px solid var(--color-border, #E7E5E4);
    background: var(--color-card, #fff);
    cursor: pointer;
    display: flex;
    gap: 12px;
    align-items: stretch;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .bc-preset-card--primary {
    border-color: #A7F3D0;
    background: #F0FDF4;
  }
  .bc-preset-card.active {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
    background: #F0FDF4;
  }
  .bc-preset-thumb {
    width: 72px;
    flex-shrink: 0;
    border-radius: 10px;
    padding: 8px;
    background: #FEF9EF;
    border: 1px solid #FDE68A;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .bc-preset-thumb--pro { background: #292524; border-color: #44403C; }
  .bc-pt-hero { height: 16px; border-radius: 4px; background: linear-gradient(90deg, #FBBF24, #059669); }
  .bc-pt-line { height: 4px; border-radius: 2px; background: #E7E5E4; width: 100%; }
  .bc-pt-line.short { width: 60%; }
  .bc-pt-block { height: 18px; border-radius: 4px; background: #FEF3C7; }
  .bc-pt-cta { height: 8px; border-radius: 4px; background: #A7F3D0; margin-top: auto; }
  .bc-pt-row { display: flex; gap: 3px; }
  .bc-pt-row span { flex: 1; height: 10px; border-radius: 3px; background: #D1FAE5; }
  .bc-pt-tl { display: flex; flex-direction: column; gap: 3px; padding-left: 4px; border-left: 2px solid #F59E0B; }
  .bc-pt-tl i { display: block; height: 4px; width: 80%; background: #57534E; border-radius: 2px; }
  .bc-pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
  .bc-pt-grid b { display: block; height: 10px; border-radius: 2px; background: #44403C; }
  .bc-preset-card-body { flex: 1; min-width: 0; }
  .bc-preset-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
  }
  .bc-preset-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary, #1C1917);
  }
  .bc-preset-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: #F5F5F4;
    color: #78716C;
  }
  .bc-preset-badge.rec {
    background: #D1FAE5;
    color: #047857;
  }
  .bc-preset-card-desc {
    font-size: 12px;
    line-height: 1.45;
    color: var(--color-text-secondary, #57534E);
  }
  .bc-preset-card-check {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #047857;
  }
  .bc-upgrade-fold {
    margin-top: 12px;
    border: 1px dashed var(--color-border);
    border-radius: 12px;
    overflow: hidden;
  }
  .bc-upgrade-fold-head {
    padding: 10px 12px !important;
    background: #FAFAF9;
  }
  .bc-pack-bar {
    margin: 0 16px 12px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFFBEB, #F0FDF4);
    border: 1px solid #FDE68A;
  }
  .bc-pack-bar-title {
    font-size: 13px;
    font-weight: 700;
    color: #92400E;
    margin-bottom: 10px;
  }
  .bc-pack-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
  }
  .bc-pack-chip {
    border: 1.5px solid #F59E0B;
    background: #fff;
    color: #B45309;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
  }
  .bc-pack-chip:active { background: #FEF3C7; }
  .bc-ai-primary-btn {
    margin: 0 !important;
    width: 100%;
  }
  .bc-full-layout-tip {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
    font-size: 12px;
    line-height: 1.45;
  }
  .bc-upgrade-full-banner {
    margin: 16px 0 8px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFFBEB 0%, #F5F5F4 100%);
    border: 1px dashed #F59E0B;
  }
  .bc-upgrade-full-title { font-size: 14px; font-weight: 700; color: #92400E; margin-bottom: 6px; }
  .bc-upgrade-full-desc { font-size: 12px; color: var(--color-text-secondary); line-height: 1.5; margin-bottom: 12px; }
  .bc-upgrade-full-actions { display: flex; flex-direction: column; gap: 8px; }
  .bc-upgrade-full-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #92400E;
    background: #FDE68A;
    cursor: pointer;
  }
  .bc-upgrade-full-btn--soft {
    color: #1D4ED8;
    background: #DBEAFE;
  }
  .bc-upgrade-full-btn:active { opacity: 0.9; }
  .bc-pill-group { display: flex; flex-wrap: wrap; gap: 6px; }
  .bc-pill-group-sm .bc-pill { font-size: 11px; padding: 3px 10px; }
  .bc-pill { padding: 6px 14px; border: 1.5px solid var(--color-border); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--color-text-tertiary); background: var(--color-card); cursor: pointer; }
  .bc-pill.active { border-color: #F59E0B; background: #FFFBEB; color: #B45309; font-weight: 600; }
  .bc-theme-readonly { padding: 10px 12px; background: #292524; color: #FBBF24; border-radius: 8px; font-size: 14px; }
  .bc-list-item { padding: 12px; background: var(--color-bg-secondary, #F5F5F4); border-radius: 12px; margin-bottom: 10px; border: 1.5px solid transparent; }
  .bc-list-item:last-child { margin-bottom: 0; }
  .bc-list-item-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
  .bc-list-num { font-size: 11px; font-weight: 700; color: #D97706; background: #FFFBEB; padding: 2px 8px; border-radius: 4px; }
  .bc-list-num-forest { color: #059669; background: #ECFDF5; }
  .bc-list-remove { margin-left: auto; font-size: 12px; color: var(--color-error); cursor: pointer; padding: 2px 8px; border: none; background: transparent; border-radius: 4px; }
  .bc-list-remove:hover { background: #FEF2F2; }
  .form-row-2 { display: flex; gap: 10px; margin-bottom: 10px; }
  .form-row-2 > * { flex: 1; min-width: 0; }
  .bc-check-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--color-text-secondary); }
  .bc-check-row input { width: 18px; height: 18px; accent-color: #059669; }
  .bc-add-btn { width: 100%; padding: 10px; border: 1.5px dashed #FBBF24; border-radius: 8px; background: #FFFBEB; color: #D97706; font-size: 13px; font-weight: 600; cursor: pointer; text-align: center; margin-top: 8px; }
  .bc-add-btn-forest { border-color: #34D399; background: #ECFDF5; color: #059669; }
  .bc-toggle-row { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--color-border-light); margin-bottom: 14px; }
  .bc-toggle-row .form-group-label { margin-bottom: 2px; }
  .bc-toggle { width: 44px; height: 24px; background: var(--color-border); border-radius: 12px; position: relative; cursor: pointer; border: none; flex-shrink: 0; transition: background 0.2s; }
  .bc-toggle.on { background: #059669; }
  .bc-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
  .bc-toggle.on::after { transform: translateX(20px); }
  .bc-warn-hint { color: #D97706 !important; margin-bottom: 10px; }
  .bc-linked-tag { font-size: 10px; color: #059669; font-weight: 600; margin-left: auto; }
  .bc-manual-tag { font-size: 10px; color: #D97706; font-weight: 600; margin-left: auto; }
  .bc-m3-todo { margin: 24px 16px 12px; padding: 16px; background: #FFFBEB; border: 1px dashed #FDE68A; border-radius: 12px; }
  .bc-m3-todo-title { font-size: 12px; font-weight: 700; color: #B45309; margin-bottom: 4px; }
  .bc-m3-todo-body { font-size: 11px; color: var(--color-text-tertiary); line-height: 1.5; }
  .bc-label-banner { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; font-size: 12px; color: #B45309; background: #FFFBEB; margin-bottom: 10px; }
  .bc-label-banner.bc-label-auto { color: #047857; background: #ECFDF5; }
  .bc-readonly-item { opacity: 0.85; }
  .bc-readonly-item .form-input[readonly] { background: #ECFDF5; border-color: #D1FAE5; color: #047857; }

  /* ========== 名片编辑顶栏（三栏均衡：返回 | 居中标题 | 32px 占位） ========== */
  .brand-card-edit-nav {
    display: grid;
    grid-template-columns: 32px 1px 1fr 1px 32px;
    align-items: center;
    justify-items: center;
    gap: 0;
    padding: 12px 16px;
    min-height: 52px;
    box-sizing: border-box;
  }
  .brand-card-edit-nav .brand-card-edit-nav-side {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
  }
  .brand-card-edit-nav .brand-card-edit-nav-side--right {
    justify-self: end;
  }
  .brand-card-edit-nav .nav-back {
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
  }
  .brand-card-edit-nav-sep {
    width: 1px;
    height: 18px;
    background: var(--color-border-light);
    justify-self: center;
  }
  .brand-card-edit-nav .nav-title {
    grid-column: 3;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    justify-self: stretch;
  }
  .brand-card-edit-page > .content.brand-card-edit-content {
    padding-top: 8px;
  }

  /* ========== Curator M3（草稿条已移除，自动保存静默进行） ========== */
  .bc-draft-indicator { width: 6px; height: 6px; border-radius: 50%; background: var(--color-border); flex-shrink: 0; }
  .bc-draft-indicator.saved { background: #059669; }
  .bc-draft-indicator.unsaved, .bc-draft-indicator.saving { background: #F59E0B; animation: bc-draft-pulse 2s infinite; }
  @keyframes bc-draft-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
  .bc-draft-text { flex: 1; color: var(--color-text-tertiary); }
  .bc-draft-action { font-size: 11px; font-weight: 600; color: #2563EB; background: none; border: none; cursor: pointer; padding: 2px 6px; border-radius: 4px; }
  .bc-draggable-item { position: relative; padding-left: 36px !important; }
  .bc-no-drag { padding-left: 12px !important; }
  .bc-drag-handle { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 22px; height: 28px; display: flex; align-items: center; justify-content: center; cursor: grab; color: var(--color-text-tertiary); font-size: 16px; user-select: none; border-radius: 4px; }
  .bc-drag-handle:active { cursor: grabbing; }
  .bc-drag-mobile { display: none; position: absolute; left: 4px; top: 8px; flex-direction: column; gap: 2px; }
  .bc-drag-btn { width: 22px; height: 18px; border: 1px solid var(--color-border); border-radius: 4px; background: var(--color-card); font-size: 10px; cursor: pointer; padding: 0; }
  .bc-drag-hint { font-size: 10px; color: var(--color-text-tertiary); text-align: center; margin-bottom: 8px; }
  .bc-list-item.bc-dragging { opacity: 0.5; transform: scale(0.98); border-color: #FBBF24 !important; }
  .bc-list-item.bc-drag-over { border-color: #F59E0B !important; border-style: dashed !important; background: #FFFBEB; }
  .bc-preview-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(28, 25, 23, 0.4); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; }
  .bc-preview-sheet { width: 100%; max-width: 430px; height: 85vh; background: var(--color-card); border-radius: 16px 16px 0 0; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15); }
  .bc-preview-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(135deg, #F59E0B, #059669); color: #fff; }
  .bc-preview-h-title { font-size: 15px; font-weight: 700; }
  .bc-preview-hint { font-size: 11px; opacity: 0.85; }
  .bc-preview-close { width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.2); color: #fff; font-size: 16px; cursor: pointer; }
  .bc-preview-body { flex: 1; overflow-y: auto; position: relative; -webkit-overflow-scrolling: touch; }
  .bc-preview-root { padding: 8px 0 48px; }
  .bc-preview-refresh { position: absolute; bottom: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--color-card); border: 1.5px solid var(--color-border); box-shadow: var(--shadow-md); cursor: pointer; font-size: 18px; z-index: 5; }
  .bc-ss-panel { margin: 0 0 12px; padding: 14px; background: linear-gradient(135deg, #EFF6FF, #F0F9FF); border: 1.5px solid #3B82F6; border-radius: 12px; }
  .bc-ss-title { font-size: 13px; font-weight: 700; color: #2563EB; margin-bottom: 4px; }
  .bc-ss-desc { font-size: 11px; color: var(--color-text-tertiary); margin-bottom: 10px; line-height: 1.4; }
  .bc-ss-item { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; background: var(--color-card); border-radius: 8px; margin-bottom: 6px; border: 1px solid var(--color-border-light); }
  .bc-ss-item-emoji { font-size: 18px; flex-shrink: 0; width: 28px; text-align: center; }
  .bc-ss-item-body { flex: 1; min-width: 0; }
  .bc-ss-item-title { font-size: 12px; font-weight: 600; }
  .bc-ss-item-meta { font-size: 11px; color: var(--color-text-tertiary); margin-top: 2px; }
  .bc-ss-item-actions { display: flex; gap: 4px; flex-shrink: 0; }
  .bc-ss-btn { width: 28px; height: 28px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; }
  .bc-ss-btn.add { background: #D1FAE5; color: #059669; }
  .bc-ss-btn.skip { background: var(--color-bg-secondary, #F5F5F4); color: var(--color-text-tertiary); }
  .bc-ss-add-all { padding: 8px 16px; background: #3B82F6; color: #fff; border: none; border-radius: 999px; font-size: 12px; font-weight: 600; cursor: pointer; margin-top: 8px; width: 100%; }
  @media (max-width: 768px) {
    .bc-drag-handle { display: none; }
    .bc-drag-mobile { display: flex; }
    .bc-draggable-item { padding-left: 32px !important; }
  }
  .brand-card-edit-page .edit-save-bar { display: flex; gap: 8px; }
  .brand-card-edit-page .edit-save-bar .edit-save-btn { flex: 1; min-width: 0; font-size: 13px; padding: 12px 8px; }
