* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: #f6f7fb; color: #1f2d3d; }

/* ========== 登录 ========== */
.login-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, #1a1c2e 0%, #2d3561 50%, #1f2d3d 100%); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.login-card { background: #fff; border-radius: 16px; padding: 48px 40px; width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.login-logo { text-align: center; font-size: 28px; font-weight: 700; color: #1f2d3d; margin-bottom: 4px; }
.login-subtitle { text-align: center; font-size: 14px; color: #6b7a90; margin-bottom: 36px; }
.login-field { margin-bottom: 20px; }
.login-field label { display: block; font-size: 14px; font-weight: 500; color: #374151; margin-bottom: 6px; }
.login-field input { width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s; }
.login-field input:focus { border-color: #2563eb; outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.login-error { color: #dc2626; font-size: 13px; min-height: 20px; margin-bottom: 8px; }
.login-btn { width: 100%; padding: 12px; background: #2563eb; color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; letter-spacing: 4px; }
.login-btn:hover { background: #1d4ed8; }
.login-btn:disabled { background: #93c5fd; cursor: not-allowed; }
.login-footer { text-align: center; font-size: 12px; color: #9ca3af; margin-top: 28px; }

/* ========== 布局 ========== */
.layout { display: flex; min-height: 100vh; }
.sidebar { width: 220px; background: #1f2d3d; color: #fff; padding: 24px 16px; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; overflow-x: hidden; z-index: 100; }
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }
.brand { font-size: 18px; font-weight: 600; margin-bottom: 24px; flex-shrink: 0; }
.admin-user { padding: 10px 12px; margin-bottom: 12px; background: rgba(255,255,255,0.08); border-radius: 6px; font-size: 13px; color: #a0aec0; flex-shrink: 0; }
.admin-user strong { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.sidebar nav { flex: 1; overflow-y: auto; min-height: 0; }
.sidebar nav::-webkit-scrollbar { width: 4px; }
.sidebar nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
.sidebar-bottom { flex-shrink: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.nav-btn { width: 100%; margin-bottom: 8px; padding: 10px 12px; border: none; background: #2f4058; color: #fff; border-radius: 6px; cursor: pointer; text-align: left; font-size: 14px; transition: background 0.15s; }
.nav-btn:hover { background: #3b4e6b; }
.nav-btn.active { background: #2563eb; color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(37,99,235,0.35); }
.nav-btn.active:hover { background: #1d4ed8; }

/* 父级菜单（可折叠） */
.nav-parent {
  position: relative;
  font-weight: 600;
  background: #344563;
  margin-bottom: 4px;
}
.nav-parent::after {
  content: '▾';
  position: absolute;
  right: 12px;
  font-size: 10px;
  transition: transform 0.2s;
  opacity: 0.6;
}
.nav-parent.open::after { transform: rotate(180deg); }

/* 子菜单 - 默认折叠 */
.nav-sub {
  display: none;
  padding-left: 12px;
  margin-bottom: 8px;
  border-left: 2px solid rgba(255,255,255,0.12);
  margin-left: 8px;
}
.nav-sub.open { display: block; }

/* 子菜单项 */
.nav-sub-btn,
.nav-sub-item {
  background: rgba(255,255,255,0.05) !important;
  margin-bottom: 3px !important;
  padding: 7px 10px !important;
  font-size: 13px !important;
  color: #b0bec5 !important;
  border-radius: 4px !important;
}
.nav-sub-btn:hover,
.nav-sub-item:hover { background: rgba(255,255,255,0.12) !important; color: #fff !important; }
.nav-sub-btn.active,
.nav-sub-item.active { background: #2563eb !important; color: #fff !important; box-shadow: 0 2px 6px rgba(37,99,235,0.3); }
.logout-btn { background: #4a1d1d !important; color: #fca5a5 !important; }
.logout-btn:hover { background: #7f1d1d !important; }
.content { flex: 1; padding: 24px; overflow-y: auto; margin-left: 220px; min-height: 100vh; }
.section { display: none; }
.section.active { display: block; }

/* ========== 头部 ========== */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-header h2 { margin: 0; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.filter-select { padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; background: #fff; }

/* ========== 卡片 ========== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: 10px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.card-title { font-size: 14px; color: #6b7a90; }
.card-value { font-size: 22px; margin-top: 8px; font-weight: 600; }

/* ========== 表格 ========== */
.table-wrap { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; border-bottom: 1px solid #edf0f5; font-size: 14px; }
th { background: #f5f7fb; text-align: left; color: #6b7a90; }
.product-thumb { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; background: #f0f0f0; }
.tag-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; margin-right: 6px; color: #fff; }
.cat-label { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; background: #e0e7ff; color: #3730a3; }
.status-badge { padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.status-active { background: #dcfce7; color: #166534; }
.status-inactive { background: #f3f4f6; color: #6b7280; }
.status-sold_out { background: #fee2e2; color: #991b1b; }

/* ========== 按钮 ========== */
input, select, textarea { padding: 10px; border: 1px solid #d7dce3; border-radius: 6px; font-size: 14px; font-family: inherit; }
textarea { resize: vertical; }
button { padding: 10px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; }
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-outline { background: #fff; color: #2563eb; border: 1px solid #2563eb; }
.btn-outline:hover { background: #eff6ff; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; }
.action-btn { margin-right: 6px; padding: 6px 12px; background: #64748b; color: #fff; font-size: 13px; }
.action-btn.danger { background: #ef4444; }
.action-btn:hover { opacity: 0.9; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.toolbar { margin: 12px 0 16px; }
.link-btn { display: inline-block; padding: 10px 14px; border-radius: 6px; background: #0f766e; color: #fff; text-decoration: none; font-size: 14px; }
.link-btn:hover { background: #0d5d59; }

/* ========== 模态框 ========== */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 10000; align-items: flex-start; justify-content: center; padding: 30px; overflow-y: auto; }
.modal-overlay.show { display: flex; }
.modal-box { background: #fff; border-radius: 12px; width: 600px; max-width: 95vw; box-shadow: 0 20px 60px rgba(0,0,0,0.2); animation: modalIn 0.2s ease; }
.modal-large { width: 900px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #edf0f5; }
.modal-header h3 { margin: 0; font-size: 18px; }
.modal-close { background: none; border: none; font-size: 24px; color: #6b7a90; cursor: pointer; padding: 0 4px; }
.modal-body { padding: 24px; max-height: 70vh; overflow-y: auto; }
.modal-footer { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 24px; border-top: 1px solid #edf0f5; }

/* ========== 表单分区 ========== */
.form-section { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.form-section:last-child { border-bottom: none; }
.form-section-title { font-size: 15px; font-weight: 600; color: #1f2d3d; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid #2563eb; display: inline-block; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: #374151; }
.form-group input, .form-group select, .form-group textarea { width: 100%; }
.full-width { grid-column: 1 / -1; }
.category-section { display: none; }
.category-section.visible { display: block; }
.category-hierarchy-row { margin-top: 4px; }
.category-selector { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.category-selector .major-cat-display {
  font-weight: 700; color: #2563eb; background: #eff6ff; padding: 10px 20px; border-radius: 8px; min-width: 100px; text-align: center;
}
.category-selector select { flex: 1; min-width: 200px; max-width: 320px; }

/* ========== 图片上传 ========== */
.image-upload-area { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; border: 2px dashed #d1d5db; border-radius: 8px; min-height: 100px; }
.image-list { display: flex; flex-wrap: wrap; gap: 10px; }
.image-item { position: relative; width: 100px; height: 100px; border-radius: 6px; overflow: hidden; cursor: grab; }
.image-item img { width: 100%; height: 100%; object-fit: cover; }
.image-item .img-remove { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; background: rgba(0,0,0,0.6); color: #fff; border: none; border-radius: 50%; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.image-item .img-order { position: absolute; bottom: 2px; left: 2px; background: rgba(0,0,0,0.6); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 4px; }
.upload-trigger { width: 100px; height: 100px; border: 2px dashed #c0c0c0; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; color: #9ca3af; font-size: 13px; transition: border-color 0.2s; }
.upload-trigger:hover { border-color: #2563eb; color: #2563eb; }
.upload-icon { font-size: 28px; line-height: 1; }
.upload-loading { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; font-size: 12px; color: #2563eb; }

/* ========== 视频上传 ========== */
.video-upload-area { padding: 12px; border: 2px dashed #d1d5db; border-radius: 8px; }
.video-preview { margin-bottom: 10px; }
.video-preview video { max-width: 100%; max-height: 240px; border-radius: 6px; }
.video-preview .video-actions { margin-top: 8px; }

/* ========== 富文本编辑器 ========== */
.rich-toolbar { border: 1px solid #d1d5db; border-bottom: none; border-radius: 6px 6px 0 0; }
.rich-editor { border: 1px solid #d1d5db; border-radius: 0 0 6px 6px; min-height: 300px; }

/* ========== 动态列表 ========== */
.dynamic-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.dynamic-row input { flex: 1; padding: 8px; }
.dynamic-row .row-remove { width: 30px; height: 30px; padding: 0; background: #fee2e2; color: #ef4444; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }

/* ========== 分类管理 ========== */
.category-tips {
  font-size: 13px; color: #6b7a90; margin-bottom: 16px; padding: 12px 16px; background: #f0f9ff; border-radius: 8px; border-left: 4px solid #2563eb;
}
.category-tree { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.cat-empty {
  text-align: center; padding: 60px 40px;
}
.cat-empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.cat-empty-text { font-size: 18px; font-weight: 600; color: #374151; margin: 0 0 8px; }
.cat-empty-hint { font-size: 14px; color: #6b7a90; margin: 0 0 24px; line-height: 1.6; }
.cat-group { margin-bottom: 16px; }
.cat-parent { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #f8fafc; border-radius: 8px; font-weight: 600; font-size: 15px; flex-wrap: wrap; }
.cat-parent .cat-icon { font-size: 20px; }
.cat-name { flex: 0 0 auto; }
.cat-children { padding-left: 40px; margin-top: 4px; }
.cat-child { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #f0f0f0; font-size: 14px; flex-wrap: wrap; }
.cat-child:last-child { border-bottom: none; }
.cat-actions { margin-left: auto; display: flex; gap: 6px; }
.cat-code { color: #6b7a90; font-size: 12px; background: #f3f4f6; padding: 2px 8px; border-radius: 4px; }
.cat-desc { color: #9ca3af; font-size: 12px; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-product-count { font-size: 12px; color: #059669; background: #ecfdf5; padding: 2px 8px; border-radius: 4px; }
.cat-status { font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.cat-status.cat-active { background: #dcfce7; color: #166534; }
.cat-status.cat-inactive { background: #f3f4f6; color: #6b7280; }

/* ========== 支付配置 ========== */
.pay-status-bar { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.pay-status-bar.enabled { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.pay-status-bar.disabled { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.pay-config-wrap { display: flex; flex-direction: column; gap: 24px; }
.pay-section { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.pay-section h3 { font-size: 16px; margin: 0 0 4px; color: #1f2d3d; }
.section-desc { font-size: 13px; color: #6b7a90; margin: 0 0 20px; }
.pay-form { display: flex; flex-direction: column; gap: 18px; }
.pay-field { display: flex; flex-direction: column; gap: 6px; }
.pay-field label { font-size: 14px; font-weight: 500; color: #374151; }
.pay-field input[type="text"], .pay-field input[type="password"] { padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; max-width: 500px; }
.pay-field input:focus { border-color: #2563eb; outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.field-hint { font-size: 12px; color: #9ca3af; }
.secret-input-wrap { display: flex; gap: 8px; max-width: 500px; }
.secret-input-wrap input { flex: 1; }
.eye-btn { padding: 8px 12px; background: #e5e7eb; color: #374151; border: 1px solid #d1d5db; border-radius: 6px; cursor: pointer; font-size: 13px; white-space: nowrap; }
.eye-btn:hover { background: #d1d5db; }
.toggle-wrap { display: flex; align-items: center; gap: 10px; }
.toggle-input { display: none; }
.toggle-label { position: relative; width: 48px; height: 26px; background: #d1d5db; border-radius: 13px; cursor: pointer; transition: background 0.3s; }
.toggle-label::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform 0.3s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.toggle-input:checked + .toggle-label { background: #22c55e; }
.toggle-input:checked + .toggle-label::after { transform: translateX(22px); }
.toggle-text { font-size: 13px; color: #6b7a90; }
.pay-actions { display: flex; gap: 12px; margin-top: 24px; }

/* ========== CRM 状态标签 ========== */
.status-tag { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.status-pending { background: #fef3c7; color: #d97706; }
.status-confirmed { background: #dbeafe; color: #2563eb; }
.status-checked_in { background: #d1fae5; color: #059669; }
.status-completed { background: #f0fdf4; color: #16a34a; }
.status-cancelled { background: #f3f4f6; color: #9ca3af; }
.status-no_show { background: #fef2f2; color: #dc2626; }

/* ========== 分享数据追踪 ========== */
.share-stats-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ss-card { flex: 1; min-width: 100px; background: #fff; border-radius: 10px; padding: 16px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.ss-card.ss-highlight { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.ss-val { font-size: 24px; font-weight: 700; color: #1f2937; }
.ss-highlight .ss-val { color: #7c3aed; }
.ss-lbl { font-size: 12px; color: #9ca3af; margin-top: 4px; }
.funnel-card { padding: 20px; }
.funnel-bar { position: relative; height: 36px; background: #f3f4f6; border-radius: 6px; margin-bottom: 8px; overflow: hidden; }
.funnel-fill { height: 100%; background: #7c3aed; border-radius: 6px; transition: width 0.5s; }
.funnel-fill.funnel-reg { background: #2563eb; }
.funnel-fill.funnel-ord { background: #16a34a; }
.funnel-text { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 500; color: #374151; z-index: 1; }

/* ========== 优惠券 & 回复管理 ========== */
.checkbox-group { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.checkbox-group label { display: flex; align-items: center; gap: 4px; font-size: 13px; cursor: pointer; }
.form-section { margin-top: 16px; }
.form-section-title { font-size: 14px; font-weight: 600; color: #374151; margin-bottom: 8px; }
.rich-toolbar { border: 1px solid #d1d5db; border-bottom: none; border-radius: 6px 6px 0 0; }
.rich-editor { border: 1px solid #d1d5db; border-radius: 0 0 6px 6px; min-height: 200px; }
.modal-large { max-width: 720px; }

/* ========== 数据分析 ========== */
.analytics-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 0; }
.analytics-toolbar input[type="date"] { padding: 6px 10px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; }
.analytics-toolbar label { font-size: 14px; font-weight: 500; color: #374151; }

/* ========== AI解读管理 ========== */
.so-detail-meta { display: flex; flex-wrap: wrap; gap: 16px; padding: 8px 0; border-bottom: 1px solid #e5e7eb; margin-bottom: 12px; }
.so-detail-meta span { font-size: 13px; color: #6b7280; }
.so-detail-meta b { color: #1f2937; }
.so-detail-risk { display: flex; gap: 24px; padding: 8px 0; margin-bottom: 12px; }
.so-detail-risk span { font-size: 15px; }

#soStatsCards { grid-template-columns: repeat(4, 1fr); }
#soStatsCards .stat-card { text-align: center; padding: 16px; background: #fff; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
#soStatsCards .stat-value { font-size: 28px; font-weight: 800; color: #2563eb; }
#soStatsCards .stat-label { font-size: 12px; color: #6b7280; margin-top: 4px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }

/* ========== 客户管理 v2 ========== */
#csStatsCards .stat-card { text-align: center; padding: 14px 10px; background: #fff; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
#csStatsCards .stat-value { font-size: 24px; font-weight: 800; color: #1f2937; }
#csStatsCards .stat-label { font-size: 11px; color: #6b7280; margin-top: 2px; }
.cs-row:hover { background: #f9fafb; }
.tag-pill { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11px; color: #fff; margin: 1px 2px; white-space: nowrap; }

/* ========== 客户标签管理 v2 ========== */
.tag-cat-tabs {
  display: flex; gap: 4px; padding: 6px 0; flex-wrap: wrap;
}
.tag-cat-tab {
  padding: 4px 10px; border: 1px solid #e5e7eb; border-radius: 14px;
  background: #fff; font-size: 12px; color: #6b7a90;
  cursor: pointer; white-space: nowrap; transition: all 0.15s;
}
.tag-cat-tab:hover { background: #f3f4f6; }
.tag-cat-tab.active {
  background: #2563eb; color: #fff; border-color: #2563eb;
}

.tag-selected-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-bottom: 1px solid #edf0f5;
  flex-wrap: wrap; min-height: 30px;
}
.tag-selected-chip {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 8px; border-radius: 10px;
  font-size: 12px; color: #fff; white-space: nowrap;
}
.tag-selected-chip .remove-tag {
  cursor: pointer; margin-left: 2px; font-weight: 700; opacity: 0.7; font-size: 14px;
}
.tag-selected-chip .remove-tag:hover { opacity: 1; }

.tag-chip-grid {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px; overflow-y: auto;
  max-height: calc(70vh - 130px); align-content: flex-start;
}
.tag-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border: 1px solid #e5e7eb; border-radius: 16px;
  font-size: 13px; cursor: pointer; background: #fff;
  transition: all 0.15s; white-space: nowrap; user-select: none;
}
.tag-chip:hover {
  border-color: #93c5fd; background: #eff6ff;
}
.tag-chip.selected {
  background: #2563eb; color: #fff; border-color: #2563eb;
}
.tag-chip-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.tag-chip.selected .tag-chip-dot {
  background: #fff !important;
}
.tag-chip-count {
  font-size: 11px; color: #9ca3af;
}
.tag-chip.selected .tag-chip-count {
  color: rgba(255,255,255,0.7);
}
