/* 平台會員護照 Card */
.pp-card {
  background: var(--card, #fff);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  margin-bottom: 12px;
}
.pp-card-empty { text-align: center; padding: 24px 16px; }
.pp-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.pp-card-hero {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.pp-card-main { flex: 1; min-width: 0; }
.pp-score-label {
  font-size: 12px; font-weight: 600; color: var(--muted, #6b7280); margin-bottom: 8px;
}
.pp-score-meter { max-width: 220px; }
.pp-score-ring {
  width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; margin-bottom: 8px;
  background: linear-gradient(135deg, #fdf2f8, #fff);
  border: 3px solid #f9a8d4; color: var(--ink, #111);
}
.pp-score-high .pp-score-ring { border-color: #a78bfa; background: linear-gradient(135deg, #f5f3ff, #fff); }
.pp-score-mid .pp-score-ring { border-color: #fbbf24; background: linear-gradient(135deg, #fffbeb, #fff); }
.pp-score-low .pp-score-ring { border-color: #fca5a5; background: linear-gradient(135deg, #fef2f2, #fff); }
.pp-score-track {
  height: 6px; border-radius: 999px; background: #f3f4f6; overflow: hidden;
}
.pp-score-fill {
  height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f472b6, #ec4899);
}
.pp-score-high .pp-score-fill { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.pp-score-mid .pp-score-fill { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.pp-score-low .pp-score-fill { background: linear-gradient(90deg, #f87171, #ef4444); }
.pp-level { font-size: 13px; font-weight: 700; color: var(--muted, #6b7280); margin-bottom: 4px; }
.pp-score { font-size: 28px; font-weight: 800; color: var(--ink, #111); line-height: 1.1; }
.pp-score small { font-size: 12px; font-weight: 600; color: var(--muted, #6b7280); }
.pp-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.pp-badge {
  font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 20px;
  background: #f3f4f6; color: #374151;
}
.pp-level-gold .pp-badge, .pp-level-platinum .pp-badge { background: #fef3c7; color: #92400e; }
.pp-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.pp-stat {
  background: #f9fafb; border-radius: 10px; padding: 10px; text-align: center;
}
.pp-stat .num { display: block; font-size: 18px; font-weight: 700; }
.pp-stat .lbl { display: block; font-size: 10px; color: var(--muted, #6b7280); margin-top: 2px; }
.pp-ban-warn {
  background: #fef2f2; color: #b91c1c; font-size: 12px; font-weight: 600;
  padding: 8px 10px; border-radius: 8px; margin-bottom: 10px;
}
.pp-history h4 { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.pp-history-list { list-style: none; margin: 0; padding: 0; }
.pp-history-list li {
  display: flex; align-items: center; gap: 8px; padding: 8px 0;
  border-bottom: 1px solid var(--line, #f3f4f6); font-size: 13px;
}
.pp-history-type { flex: 1; font-weight: 600; }
.pp-delta { font-size: 12px; font-weight: 700; }
.pp-delta.up { color: #059669; }
.pp-delta.down { color: #dc2626; }
.pp-history-date { font-size: 11px; color: var(--muted, #6b7280); }
.pp-history-list li .pp-appeal-btn,
.pp-history-list li .pp-appeal-status { margin-left: auto; flex-shrink: 0; }
.pp-appeal-status {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 12px;
  background: #f3f4f6; color: #374151;
}
.pp-appeal-pending { background: #fef3c7; color: #92400e; }
.pp-appeal-approved { background: #d1fae5; color: #065f46; }
.pp-appeal-rejected { background: #fee2e2; color: #991b1b; }
.pp-appeals { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, #f3f4f6); }
.pp-appeals h4 { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.pp-appeal-list { list-style: none; margin: 0; padding: 0; }
.pp-appeal-list li {
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 0;
  border-bottom: 1px solid var(--line, #f3f4f6); font-size: 13px;
}
.pp-appeal-body { flex: 1; min-width: 0; }
.pp-appeal-reason { font-weight: 600; word-break: break-word; }
.pp-appeal-note { font-size: 12px; margin-top: 4px; }
.pp-report-btn { width: 100%; margin-top: 8px; }
.pp-level-platinum .pp-score { color: #7c3aed; }
.pp-level-gold .pp-score { color: #b45309; }

/* 品牌設定：業種多選 */
.industry-chip-grid {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px;
}
.industry-chip-label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 20px; border: 1px solid var(--line, #e5e7eb);
  background: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
}
.industry-chip-label:has(input:checked) {
  border-color: var(--accent, #ec4899); background: #fdf2f8; color: var(--accent-dark, #be185d);
}
.industry-chip-label input { accent-color: var(--accent, #ec4899); }

/* 會員端護照區 */
.member-platform-passport { margin: 12px 0 16px; }
.member-platform-passport h3 {
  font-size: 15px; font-weight: 700; margin: 0 0 10px;
}
