/* 慕之初平台 · 视觉升级版（紫色品牌体系 · 现代 SaaS 风格）
   设计原则：保留全部原有类名与业务逻辑，仅升级视觉；柔和分层背景、卡片轻阴影+悬浮、渐变品牌强调色、细腻过渡。 */

:root {
  --brand: #6d28d9;
  --brand-600: #7c3aed;
  --brand-500: #8b5cf6;
  --brand-100: #ede9fe;
  --brand-bg: #f5f3ff;
  --brand-bd: #ddd6fe;
  --ink: #1f2430;
  --muted: #6b7280;
  --line: #eceef3;
  --bg: #f6f7fb;
  --card: #ffffff;
  --ok: #15803d; --ok-bg: #ecfdf3; --ok-bd: #abefc6;
  --warn: #b45309; --warn-bg: #fff8eb; --warn-bd: #fde2a8;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.04);
  --shadow-md: 0 6px 20px rgba(109,40,217,.08);
  --shadow-lg: 0 18px 50px rgba(76,29,149,.16);
  /* 产品徽标配色（盲安全板，按 product id 着色） */
  --prod-director-fg: #1d4ed8; --prod-director-bg: #dbeafe; --prod-director-bd: #bfdbfe;
  --prod-tv-fg: #0f766e; --prod-tv-bg: #ccfbf1; --prod-tv-bd: #99f6e4;
  --prod-h5drama-fg: #b45309; --prod-h5drama-bg: #fef3c7; --prod-h5drama-bd: #fde68a;
  --prod-edu-fg: #be185d; --prod-edu-bg: #fce7f3; --prod-edu-bd: #fbcfe8;
  --prod-combo-fg: #475569; --prod-combo-bg: #f1f5f9; --prod-combo-bd: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink); font-size: 14px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 600px at 88% -12%, #efeafe 0%, rgba(239,234,254,0) 60%),
    radial-gradient(1000px 520px at -8% 0%, #eef2ff 0%, rgba(238,242,255,0) 55%),
    var(--bg);
}
button { font-family: inherit; cursor: pointer; }
a { color: var(--brand); text-decoration: none; }
::selection { background: var(--brand-100); }

/* ---------- 顶栏 ---------- */
.topbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 22px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  box-shadow: 0 1px 0 rgba(16,24,40,.03);
}
.topbar h1 { font-size: 16px; display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .2px; }
.topbar h1 .logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(109,40,217,.35);
}
.spacer { flex: 1; }

/* 移动端导航（H5 抽屉式菜单：桌面端隐藏汉堡、导航横向铺开） */
.nav-toggle {
  display: none; margin-left: auto; width: 38px; height: 34px;
  align-items: center; justify-content: center; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; color: var(--brand); font-size: 17px; line-height: 1;
  flex-shrink: 0; box-shadow: var(--shadow-sm); transition: .15s;
}
.nav-toggle:active { transform: scale(.94); }
.topnav { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: flex-end; flex-wrap: wrap; }
.nav-id { display: none; } /* 仅移动端抽屉内显示身份 */

/* ---------- 内容区 ---------- */
.content { max-width: 1140px; margin: 0 auto; padding: 24px 22px 72px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card + .card { margin-top: 16px; }
.card-title {
  font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px;
  margin-bottom: 4px; color: var(--ink);
}
.card-title::before {
  content: ""; width: 4px; height: 15px; border-radius: 3px;
  background: linear-gradient(var(--brand-500), var(--brand)); margin-right: 2px;
}
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: var(--ink); font-size: 13px; font-weight: 500;
  white-space: nowrap; flex-shrink: 0; transition: .15s; box-shadow: var(--shadow-sm);
}
.btn:hover { border-color: #cbd5e1; background: #f8fafc; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand));
  border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(109,40,217,.28);
}
.btn.primary:hover { background: linear-gradient(135deg, #7c3aed, #5b21b6); transform: translateY(-1px); }
.btn.sm { padding: 5px 11px; font-size: 12.5px; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px;
  font-size: 11.5px; font-weight: 500; white-space: nowrap; flex-shrink: 0;
  background: #f1f5f9; color: #475569; border: 1px solid transparent;
}
.tag.purple { background: var(--brand-bg); color: var(--brand); border-color: var(--brand-bd); }
.tag.gray { background: #f1f5f9; color: #64748b; }
.tag.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-bd); }
.tag.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-bd); }

/* ---------- 表格 ---------- */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left; color: var(--muted); font-weight: 600; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .03em;
  padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #fafbff;
}
td { padding: 11px 12px; border-bottom: 1px solid #f1f3f8; vertical-align: middle; color: var(--ink); }
tbody tr { transition: background .12s; }
tbody tr:hover { background: #faf9ff; }
tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; border-radius: 10px; border: 1px solid var(--line); margin-top: 6px; }
table th:last-child, table td:last-child { padding-right: 14px; }
table td:last-child .btn { margin-right: 2px; }

/* ---------- 登录页 ---------- */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background:
    radial-gradient(900px 520px at 50% -22%, #a78bfa 0%, rgba(167,139,250,0) 60%),
    linear-gradient(160deg, #6d28d9 0%, #4c1d95 55%, #312e81 100%);
}
.login-card {
  width: 400px; max-width: 100%; background: #fff; border-radius: 20px;
  padding: 34px 32px 30px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.login-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-600), #4c1d95);
}
.login-card .logo-lg {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(109,40,217,.35);
}
.fld {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line);
  border-radius: 10px; padding: 0 14px; margin-top: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.fld:focus-within { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(139,92,246,.15); }
.fld span { color: var(--muted); font-size: 13px; flex-shrink: 0; }
.fld input { border: none; outline: none; flex: 1; min-width: 0; padding: 12px 0; font-size: 14px; background: transparent; color: var(--ink); }
.fld select { flex: 1; border: none; outline: none; padding: 12px 0; font-size: 14px; background: transparent; color: var(--ink); }
.login-btn { width: 100%; margin-top: 20px; padding: 12px; font-size: 15px; font-weight: 600; }

/* ---------- 机构卡 ---------- */
.org-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.org-head .name { font-weight: 700; font-size: 16px; flex-shrink: 0; color: var(--ink); }
.ver-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.feat-group { margin-top: 12px; }
.feat-group > .small { margin-bottom: 6px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; font-size: 11px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 18px; }
.feat-item {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px;
  cursor: pointer; min-width: 0; transition: background .12s;
}
.feat-item:hover { background: var(--brand-bg); }
.feat-item .lbl { font-size: 12.5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.feat-item .mark { color: var(--warn); font-size: 11px; flex-shrink: 0; font-weight: 700; }

/* ---------- 开关 ---------- */
.switch { position: relative; width: 38px; height: 22px; flex: 0 0 auto; display: inline-block; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch .track { position: absolute; inset: 0; border-radius: 99px; background: #cbd5e1; transition: .18s; }
.switch .track::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .18s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .track { background: linear-gradient(135deg, var(--brand-500), var(--brand)); }
.switch input:checked + .track::after { transform: translateX(16px); }

/* ---------- 统计卡 ---------- */
.stat-row { display: flex; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; align-items: stretch; }
.stat { flex: 1; min-width: 140px; padding: 16px 20px; position: relative; overflow: hidden; }
.stat .v { font-size: 26px; font-weight: 800; margin-top: 4px; letter-spacing: -.5px; }
.stat::after { content: ""; position: absolute; right: -18px; top: -18px; width: 72px; height: 72px; border-radius: 50%; background: var(--brand-bg); opacity: .45; }

/* ---------- 模板卡 ---------- */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: stretch; }
.tpl-grid .card { display: flex; flex-direction: column; margin: 0; }
.tpl-body { flex: 1; min-height: 0; overflow: auto; max-height: 460px; margin-top: 6px; }
.ck { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; cursor: pointer; min-width: 0; transition: background .12s; }
.ck:hover { background: var(--brand-bg); }
.ck input { flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--brand); }
.ck span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }

/* ---------- 弹窗 ---------- */
.mask {
  position: fixed; inset: 0; background: rgba(15,23,42,.5); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px;
  animation: mzc-fade .15s ease;
}
@keyframes mzc-fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; border-radius: 16px; width: 460px; max-width: 100%; max-height: 88vh;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg); overflow: hidden;
  animation: mzc-pop .18s ease;
}
@keyframes mzc-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.modal .m-head { padding: 18px 22px 12px; font-weight: 700; font-size: 16px; display: flex; align-items: center; color: var(--ink); border-bottom: 1px solid var(--line); }
.modal .m-head .x { margin-left: auto; cursor: pointer; color: var(--muted); font-size: 18px; line-height: 1; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: .12s; }
.modal .m-head .x:hover { background: #f1f5f9; color: var(--ink); }
.modal .m-body { padding: 16px 22px; overflow: auto; }
.modal .m-foot { padding: 14px 22px 18px; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--line); }
.link-box { word-break: break-all; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; line-height: 1.6; color: var(--ink); }

/* ---------- 提示 ---------- */
#toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%) translateY(10px);
  background: rgba(15,23,42,.92); color: #fff; padding: 10px 20px; border-radius: 99px;
  font-size: 13px; opacity: 0; pointer-events: none; transition: .25s; z-index: 99;
  max-width: 80vw; box-shadow: var(--shadow-md); backdrop-filter: blur(4px);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 移动端 H5 视图（≤760px）：单列排版 + 抽屉导航 + 表格转卡片 ---------- */
@media (max-width: 760px) {
  /* 顶栏：logo+标题常驻，其余收进抽屉 */
  .topbar { flex-wrap: wrap; padding: 10px 14px; gap: 8px; }
  .topbar h1 { font-size: 15px; }
  .topbar h1 .logo { width: 28px; height: 28px; font-size: 13px; }
  .topbar .brand-tag { display: none; }
  .nav-toggle { display: inline-flex; }
  .topnav {
    display: none; order: 9; flex-basis: 100%; flex-direction: column; align-items: stretch;
    gap: 6px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line);
  }
  .topnav.open { display: flex; }
  .topnav .btn { width: 100%; justify-content: flex-start; }
  .nav-id { display: block; font-size: 12.5px; color: var(--muted); padding: 2px 4px 8px; }

  /* 内容单列 */
  .content { padding: 14px 12px 80px; }
  .card { padding: 14px 14px; }
  .card + .card { margin-top: 12px; }
  .stat-row { gap: 10px; }
  .stat { min-width: calc(50% - 5px); padding: 14px 16px; }
  .stat .v { font-size: 22px; }
  .tpl-grid { grid-template-columns: 1fr; gap: 12px; }
  .feat-grid { grid-template-columns: 1fr; }

  /* 机构卡：操作按钮整行铺满，更易点 */
  .org-head { gap: 8px; flex-wrap: wrap; }
  .org-head .spacer { display: none; }
  .org-head .btn { width: 100%; margin-top: 8px; }
  .ver-row { gap: 8px; }
  .ver-row .btn { flex: 1; }

  /* 表格 → 卡片（响应式表格经典做法） */
  .table-scroll { border: none; border-radius: 0; margin-top: 10px; }
  table, thead, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tbody tr { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
  tbody tr:hover { background: #fff; }
  td { border: none; padding: 8px 0; text-align: right; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
  td::before { content: attr(data-label); color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; flex-shrink: 0; margin-right: auto; }
  td.empty-row { justify-content: center; }
  td.empty-row::before { content: none; }
  td.muted { color: var(--ink); }

  /* 登录页 */
  .login-wrap { padding: 18px; align-items: flex-start; padding-top: 9vh; }
  .login-card { padding: 26px 22px 24px; }

  /* 弹窗 → 底部抽屉 */
  .mask { padding: 0; align-items: flex-end; }
  .modal { width: 100% !important; max-height: 92vh; border-radius: 18px 18px 0 0; }
}

/* 产品选择器（一级导航）：开发者先选产品 → 看该产品下机构 */
.prod-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 2px 0 16px; }
.chip {
  border: 1px solid var(--line, #e5e7eb); background: #fff; color: #475569;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: .18s;
}
.chip:hover { border-color: #a5b4fc; color: #4338ca; }
.chip.active { background: linear-gradient(135deg, #7c3aed, #4338ca); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(99, 102, 241, .35); }
.dot { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #f1f5f9; color: #64748b; }
.dot.live { background: rgba(16, 185, 129, .15); color: #059669; }
.switch.lg { transform: scale(1.25); transform-origin: right center; }

/* 授权码表头产品徽标 */
.pbadge {
  display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 6px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
  background: var(--brand-bg); color: var(--brand); border: 1px solid var(--brand-bd);
}
.pbadge[data-prod="director"] { color: var(--prod-director-fg); background: var(--prod-director-bg); border-color: var(--prod-director-bd); }
.pbadge[data-prod="tv"] { color: var(--prod-tv-fg); background: var(--prod-tv-bg); border-color: var(--prod-tv-bd); }
.pbadge[data-prod="h5drama"] { color: var(--prod-h5drama-fg); background: var(--prod-h5drama-bg); border-color: var(--prod-h5drama-bd); }
.pbadge[data-prod="edu"] { color: var(--prod-edu-fg); background: var(--prod-edu-bg); border-color: var(--prod-edu-bd); }
.pbadge[data-prod="combo"] { color: var(--prod-combo-fg); background: var(--prod-combo-bg); border-color: var(--prod-combo-bd); }

/* ===== 平台智能助手（悬浮小云） ===== */
.ai-fab { position: fixed; right: 22px; bottom: 22px; z-index: 9990; width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: #ffffff; color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 8px 24px rgba(99,102,241,.45); }
.ai-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(99,102,241,.55); }
.ai-panel { position: fixed; right: 22px; bottom: 90px; z-index: 9991; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 120px);
  display: none; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px rgba(15,23,42,.28); border: 1px solid #e2e8f0; }
.ai-panel.open { display: flex; }
.ai-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: linear-gradient(135deg, #7c3aed, #4338ca); color: #fff; }
.ai-title { font-weight: 700; font-size: 14px; }
.ai-close { cursor: pointer; font-size: 12px; opacity: .9; }
.ai-msgs { flex: 1; overflow-y: auto; padding: 14px; background: #f8fafc; }
.ai-empty { color: #94a3b8; font-size: 13px; line-height: 1.7; }
.ai-msg { display: flex; flex-direction: column; margin-bottom: 12px; }
.ai-msg.user { align-items: flex-end; }
.ai-msg.bot { align-items: flex-start; }
.ai-msg .bubble { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.ai-msg.user .bubble { background: linear-gradient(135deg, #6366f1, #4338ca); color: #fff; border-bottom-right-radius: 3px; }
.ai-msg.bot .bubble { background: #fff; color: #1e293b; border: 1px solid #e2e8f0; border-bottom-left-radius: 3px; }
.ai-act { margin-top: 4px; display: flex; gap: 6px; }
.ai-act button { border: 1px solid #e2e8f0; background: #fff; color: #6366f1; font-size: 11px; padding: 2px 8px; border-radius: 999px; cursor: pointer; }
.ai-act button:hover { background: #eef2ff; }
.ai-input-row { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #e2e8f0; background: #fff; }
.ai-input { flex: 1; resize: none; border: 1px solid #e2e8f0; border-radius: 10px; padding: 8px 10px; font-size: 13.5px; font-family: inherit; outline: none; max-height: 120px; }
.ai-input:focus { border-color: #a5b4fc; }
.ai-send { border: none; border-radius: 10px; padding: 0 16px; background: linear-gradient(135deg, #7c3aed, #4338ca); color: #fff; font-weight: 700; cursor: pointer; }
.ai-tip { padding: 6px 12px 10px; font-size: 11px; color: #94a3b8; background: #fff; border-top: 1px dashed #eef2f7; }
.ai-toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(10px); z-index: 9999; background: rgba(15,23,42,.9); color: #fff; font-size: 12px; padding: 6px 14px; border-radius: 8px; opacity: 0; transition: all .2s; }
.ai-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 移动端：面板占满屏幕，按钮上移避免被遮挡 */
@media (max-width: 760px) {
  .ai-fab { right: 14px; bottom: 70px; width: 50px; height: 50px; font-size: 13px; }
  .ai-panel { right: 0; left: 0; bottom: 0; width: auto; max-width: none; height: 78vh; max-height: 78vh; border-radius: 16px 16px 0 0; }
}

/* ===== 一级导航：产品墙（产品 → 机构/客户） ===== */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pcard { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; cursor: pointer; transition: .15s; display: flex; flex-direction: column; gap: 8px; }
.pcard:hover { border-color: #a5b4fc; box-shadow: 0 6px 18px rgba(67,56,202,.10); transform: translateY(-1px); }
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard-name { font-weight: 700; font-size: 15px; color: #1e293b; }
.pcard-nums { display: flex; gap: 14px; font-size: 12px; color: #64748b; }
.pcard-nums b { color: #4338ca; font-size: 15px; margin-right: 2px; }
.pcard-bar { height: 6px; background: #eef2f7; border-radius: 999px; overflow: hidden; }
.pcard-bar i { display: block; height: 100%; background: linear-gradient(90deg, #7c3aed, #4338ca); border-radius: 999px; }
.pcard-foot { display: flex; justify-content: space-between; }
