/* PC 管理端样式（消费 vendor/app.css 的跨端共享令牌，保证两端视觉一致） */
:root {
  --row-hover: rgba(22, 104, 227, .055); /* 表格行 hover 浅品牌底 */
  --pc-primary: var(--brand-500, #1668e3);
  --pc-primary-dark: var(--brand-600, #1250c8);
  --pc-bg: #f2f5fa;
  --pc-card: #ffffff;
  --pc-text: var(--text-1, #1f2329);
  --pc-text-2: var(--text-2, #5a6472);
  --pc-text-3: var(--text-3, #6b7480);
  --pc-line: var(--line, #e9edf3);
  --pc-ok: var(--ok, #07c160);
  --pc-warn: var(--warn, #ff9800);
  --pc-warn-ink: var(--warn-ink, var(--warn-ink));
  --pc-danger: var(--danger, #ee0a24);
  --pc-radius: var(--radius-sm, 6px);
  --pc-sidebar: #12203c;
  --pc-hover: var(--brand-a05); /* 列表项 hover 底色（通知等可点击行） */
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--pc-bg); color: var(--pc-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  font-size: 14px;
}
a { color: var(--pc-primary); text-decoration: none; }
/* 解除 app.css 的 H5 画布约束：PC 后台必须全宽。
   pc.css 在 app.css 之后加载，同特异性后者胜。 */
#app { max-width: none; margin-left: 0; margin-right: 0; box-shadow: none; }
/* 键盘焦点可见（无障碍） */
:focus-visible { outline: 2px solid var(--pc-primary); outline-offset: 2px; }
/* 防御性 v-cloak（PC 页可能不再引入 app.css 时仍可隐藏未挂载模板） */
[v-cloak] { display: none !important; }

/* 登录 */
.pc-login { min-height: 100vh; display: flex; align-items: safe center; justify-content: center; padding: 32px 16px; overflow-y: auto; background: var(--brand-grad, linear-gradient(135deg, #1250c8 0%, #1668e3 62%, #3aa8ff 100%)); }
.pc-login-card { width: 380px; background: #fff; border-radius: var(--radius-lg, 14px); padding: 34px 30px; box-shadow: var(--shadow-3, 0 18px 50px rgba(10, 40, 100, .25)); }
.pc-login h1 { margin: 0 0 6px; font-size: 21px; }
.pc-login .sub { color: var(--pc-text-3); font-size: 13px; margin-bottom: 22px; }
.pc-field { margin-bottom: 14px; }
.pc-field label { display: block; font-size: 13px; color: var(--pc-text-2); margin-bottom: 6px; }
.pc-field label[for] { cursor: pointer; }
.pc-input { width: 100%; height: 40px; border: 1px solid var(--pc-line); border-radius: 8px; padding: 0 12px; font-size: 14px; outline: none; background: var(--fill-0, #fafbfd); }
.pc-input:focus { border-color: var(--pc-primary); background: #fff; }
.pc-btn { height: 40px; padding: 0 18px; border: none; border-radius: 8px; background: var(--pc-primary); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.pc-btn:hover { background: var(--pc-primary-dark); }
.pc-btn.ghost { background: #fff; color: var(--pc-primary); border: 1px solid var(--brand-line, #cfe0ff); }
.pc-btn.ghost:hover { background: var(--brand-wash, #f2f7ff); }
.pc-btn.danger { background: var(--pc-danger); }
.pc-btn.warn { background: var(--pc-warn); }
.pc-btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 6px; }
.pc-btn:disabled { opacity: .55; cursor: not-allowed; }
.pc-login .pc-btn { width: 100%; margin-top: 8px; }
.pc-login .tip { margin-top: 16px; font-size: 12px; color: var(--pc-text-3); line-height: 1.8; }
.pc-err { color: var(--pc-danger); font-size: 13px; min-height: 18px; margin-top: 4px; }

/* 布局 */
.pc-layout { display: flex; min-height: 100vh; }
.pc-sidebar { width: 208px; background: var(--pc-sidebar); color: #c9d4e8; flex: none; }
.pc-sidebar .brand { padding: 20px 18px; font-size: 16px; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.pc-nav a { display: block; padding: 12px 18px; color: #c9d4e8; cursor: pointer; border-left: 3px solid transparent; }
.pc-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.pc-nav a.active { background: rgba(22,104,227,.20); color: #fff; border-left-color: var(--pc-primary); }
.pc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pc-topbar { height: 58px; background: #fff; border-bottom: 1px solid var(--pc-line); display: flex; align-items: center; justify-content: space-between; padding: 0 22px; }
.pc-topbar .who { color: var(--pc-text-2); font-size: 13px; }
.pc-content { padding: 20px 22px; overflow: auto; }
.pc-page-title { font-size: 18px; font-weight: 700; margin: 0 0 16px; }

/* 卡片与统计 */
.pc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.pc-card { background: var(--pc-card); border-radius: 10px; padding: 16px 18px; box-shadow: 0 1px 3px rgba(20,40,90,.06); }
.pc-card .k { color: var(--pc-text-3); font-size: 13px; }
.pc-card .v { font-size: 26px; font-weight: 700; margin-top: 6px; }
.pc-panel { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(20,40,90,.06); margin-bottom: 18px; overflow: hidden; }
.pc-panel > h3 { margin: 0; padding: 14px 18px; font-size: 15px; border-bottom: 1px solid var(--pc-line); display: flex; align-items: center; justify-content: space-between; }
.pc-panel .body { padding: 16px 18px; }

/* 表格 */
.pc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pc-table th, .pc-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--pc-line); vertical-align: top; }
.pc-table th { background: var(--fill-0, #fafbfd); color: var(--pc-text-2); font-weight: 600; white-space: nowrap; }
.pc-table tr:hover td { background: var(--fill-0, #fafbfd); }
.pc-table .acts { white-space: nowrap; }
/* 宽表横向滚动时把最后一列（通常是「操作」）吸在右侧，免得每次都要滚到最右才能点按钮 */
.pc-table-wrap .pc-table th:last-child,
.pc-table-wrap .pc-table td:last-child { position: sticky; right: 0; background: var(--pc-card); box-shadow: -6px 0 8px -6px rgba(0, 0, 0, .12); }
.pc-table-wrap .pc-table thead th:last-child { background: var(--fill-0, #fafbfd); z-index: 3; }
.pc-table-wrap .pc-table tbody tr:hover td:last-child { background: var(--fill-0, #fafbfd); }
/* 长文本（岗位名 / 备注 / 异议内容）在窄表里要能换行，不允许撑破表格 */
.pc-table td { word-break: break-word; overflow-wrap: anywhere; }
.pc-table .acts .pc-btn { margin-right: 6px; }

/* 徽章（与移动端 .pill-mini 统一：圆角 6 / 字号 12 / 行高 18） */
.pc-badge { display: inline-block; padding: 2px 8px; border-radius: var(--tag-radius, 6px); font-size: var(--tag-fs, 12px); line-height: 18px; }
.b-ok { background: rgba(7,193,96,.12); color: var(--pc-ok); }
.b-warn { background: rgba(255,152,0,.14); color: var(--pc-warn-ink); }
.b-danger { background: rgba(238,10,36,.12); color: var(--pc-danger); }
.b-info { background: var(--brand-tint, rgba(22,104,227,.12)); color: var(--pc-primary); }
.b-gray { background: var(--fill-2, var(--fill-2)); color: var(--pc-text-2); }

/* 审核工作台：左列表 + 右材料 */
.pc-review { display: grid; grid-template-columns: 340px 1fr; gap: 16px; align-items: start; }
.pc-review-list { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(20,40,90,.06); }
.pc-review-list .item { padding: 12px 16px; border-bottom: 1px solid var(--pc-line); cursor: pointer; }
.pc-review-list .item:hover { background: var(--brand-wash, #f2f7ff); }
.pc-review-list .item.active { background: var(--brand-wash-2, #eaf3ff); }
.pc-review-list .item .t { font-weight: 600; }
.pc-review-list .item .s { color: var(--pc-text-3); font-size: 12px; margin-top: 3px; }
.pc-review-detail { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(20,40,90,.06); padding: 18px; min-height: 320px; }
.pc-kv { display: grid; grid-template-columns: 96px 1fr; row-gap: 8px; font-size: 13px; margin-bottom: 14px; }
.pc-kv .k { color: var(--pc-text-3); }
.pc-files { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 16px; }
.pc-file { width: 168px; border: 1px solid var(--pc-line); border-radius: 8px; overflow: hidden; }
.pc-file img { width: 100%; height: 118px; object-fit: cover; display: block; background: var(--fill-1, #f7f8fa); cursor: zoom-in; }
.pc-file .n { font-size: 12px; padding: 6px 8px; color: var(--pc-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-file .pdf { height: 118px; display: flex; align-items: center; justify-content: center; background: var(--fill-1, #f7f8fa); color: var(--pc-danger); font-size: 28px; }
.pc-file .del { display: block; text-align: center; font-size: 12px; color: var(--pc-danger); cursor: pointer; padding: 4px 0; border-top: 1px solid var(--pc-line); }
/* 已上传材料缩略图（医生资料 / 资质材料，各管理端共用） */
.doc-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.doc-thumb { width: 84px; }
.doc-thumb .im { display: block; width: 84px; height: 66px; border-radius: 6px; overflow: hidden; background: var(--fill-1, #f7f8fa); border: 1px solid var(--pc-line); }
.doc-thumb .im img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.doc-thumb a.im { display: flex; align-items: center; justify-content: center; color: var(--pc-danger); font-size: 14px; text-decoration: none; }
.doc-thumb .nm { font-size: 12px; color: var(--muted, #969799); margin-top: 4px; word-break: break-all; }
.doc-thumb .del { display: block; text-align: center; font-size: 12px; color: var(--pc-danger); cursor: pointer; padding: 2px 0; }
/* 资质清单（医生 / 机构 / 区域联络官资质材料逐项上传） */
.qual-item { border: 1px solid var(--pc-line); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; background: var(--fill-0, #fafbfd); }
.qual-item .hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.qual-item .hd b { font-size: 13px; }
.qual-item .hd .tag { font-size: 11px; padding: 1px 6px; border-radius: 4px; }
.qual-item .hd .tag.req { background: var(--danger-bg, #fff2f0); color: var(--pc-danger); }
.qual-item .hd .tag.opt { background: #f2f3f5; color: #969799; }
.qual-item .hd .st { margin-left: auto; font-size: 12px; color: #c8c9cc; }
.qual-item .hd .st.ok { color: var(--pc-ok); }
/* 空态（与移动端 .u-empty 统一视觉语言） */
.pc-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--pc-text-3); padding: 48px 20px; }
.pc-empty .ico { font-size: 44px; line-height: 1; color: var(--muted-2, #c8c9cc); margin-bottom: 12px; }
.pc-empty .t { font-size: 14px; color: var(--pc-text-2); }
.pc-empty .s { font-size: 12px; color: var(--pc-text-3); margin-top: 6px; }
/* ⚠️ .pc-empty 用了 display:flex —— 直接放到 <td> 上会让单元格失去 table-cell 语义，
   浏览器算不出列宽，整行被压成「一个字一行」的竖排（2026-09-14 用户实测发现）。
   表格里的空态统一用这条恢复单元格布局：colspan 正常生效，居中由 text-align + padding 完成。 */
td.pc-empty { display: table-cell; vertical-align: middle; }

/* 宽表格横向滚动容器（避免窄屏溢出） */
.pc-table-wrap { width: 100%; overflow-x: auto; }
/* 表头随容器粘滞：行数多时滚动仍能看到列名（th 自带底色，不会透出内容） */
.pc-table-wrap .pc-table thead th { position: sticky; top: 0; z-index: 2; }

/* 图片放大预览 */
.pc-mask { position: fixed; inset: 0; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; z-index: 999; }
.pc-mask img { max-width: 90vw; max-height: 90vh; border-radius: 6px; background: #fff; }

/* 提示 */
.pc-toast {
  position: fixed; top: 22px; left: 50%; transform: translate(-50%, -14px);
  background: rgba(30,40,60,.94); color: #fff; padding: 10px 18px; border-radius: 8px;
  font-size: 14px; opacity: 0; transition: all .25s; z-index: 1000;
}
.pc-toast.show { opacity: 1; transform: translate(-50%, 0); }
.pc-toast.err { background: var(--pc-danger); }
.pc-toast.ok { background: var(--pc-ok); }

/* 表单行 */
.pc-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pc-form .pc-field { margin-bottom: 0; }
.pc-select { width: 100%; height: 34px; border: 1px solid var(--pc-line); border-radius: 6px; padding: 0 8px; background: #fff; }
.pc-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pc-muted { color: var(--pc-text-3); font-size: 12px; }
.pc-tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--pc-line); }
.pc-tabs span { padding: 9px 16px; cursor: pointer; color: var(--pc-text-2); border-bottom: 2px solid transparent; }
.pc-tabs span.active { color: var(--pc-primary); border-bottom-color: var(--pc-primary); font-weight: 600; }

/* ==========================================================================
   商用增强：响应式 / 看板 / 抽屉 / 分页 / 骨架 / 通知 / 确认框 / 图表
   ========================================================================== */

/* —— 响应式：小屏与投影场景（原来全文无 @media，必须补） —— */
@media (max-width: 1280px) {
  .pc-cards { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .pc-review { grid-template-columns: 300px 1fr; }
}
@media (max-width: 1024px) {
  /* 窄屏侧栏收成「文字条」：宽度必须放得下最长的中文菜单。
     当前最长 5 字（派单工作台 / 我的医生库 / 佣金与收益 / 计费与分销），12px × 5 = 60px。
     64px 时这 5 项会折成两行（2026-09-14 实测：高 56 而其余 40），故取 76px（内容宽 64px）。 */
  .pc-sidebar { width: 76px; }
  .pc-sidebar .brand { font-size: 0; padding: 18px 8px; text-align: center; }
  .pc-sidebar .brand::after { content: '超'; font-size: 18px; }
  /* nowrap + ellipsis 兜底：以后新增更长的菜单宁可截断，也不要折行把侧栏撑歪 */
  .pc-nav a { text-align: center; padding: 12px 6px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pc-content { padding: 14px; }
  .pc-review { grid-template-columns: 1fr; }
}
/* 断点与全站统一（480 / 768 / 1024 / 1280），JS 判定必须同步用 768 */
@media (max-width: 768px) {
  .pc-topbar { padding: 0 12px; }
  .pc-table { font-size: 12px; }
  .pc-table th, .pc-table td { padding: 8px 8px; }
}

/* —— 顶栏工具区 —— */
.pc-topbar .tl { display: flex; align-items: center; gap: 14px; }
.pc-topbar .icon-btn { position: relative; cursor: pointer; font-size: 17px; line-height: 1; padding: 6px; border-radius: 8px; }
.pc-topbar .icon-btn:hover { background: var(--brand-wash, #f2f7ff); }
.pc-topbar .dot { position: absolute; top: 2px; right: 2px; min-width: 15px; height: 15px; line-height: 15px; text-align: center; font-size:12px; color: #fff; background: var(--pc-danger); border-radius: 8px; padding: 0 3px; }

/* —— KPI 看板 —— */
.pc-cards.kpi .pc-card { position: relative; overflow: hidden; }
.pc-cards.kpi .pc-card .v { font-variant-numeric: tabular-nums; }
.pc-cards.kpi .pc-card .sub { font-size: 12px; color: var(--pc-text-3); margin-top: 4px; }
.pc-cards.kpi .pc-card.accent { background: var(--brand-grad, linear-gradient(135deg, #1250c8 0%, #1668e3 62%, #3aa8ff 100%)); color: #fff; }
.pc-cards.kpi .pc-card.accent .k, .pc-cards.kpi .pc-card.accent .sub { color: rgba(255,255,255,.85); }
.pc-cards.kpi .pc-card.ok { border-left: 3px solid var(--pc-ok); }
.pc-cards.kpi .pc-card.warn { border-left: 3px solid var(--pc-warn); }
.pc-cards.kpi .pc-card.danger { border-left: 3px solid var(--pc-danger); }

/* —— 简易柱状图 / 趋势 —— */
.pc-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding: 8px 4px 0; }
.pc-bars .b { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.pc-bars .b .bar { width: 70%; min-height: 3px; background: var(--brand-grad, linear-gradient(135deg, #1250c8 0%, #1668e3 62%, #3aa8ff 100%)); border-radius: 6px 6px 0 0; transition: height .3s; }
.pc-bars .b .lb { font-size:12px; color: var(--pc-text-3); }
.pc-bars .b .vl { font-size:12px; color: var(--pc-text-2); }

/* —— 漏斗 —— */
.pc-funnel { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-funnel .st { flex: 1; min-width: 110px; background: var(--brand-wash, #f2f7ff); border: 1px solid var(--pc-line); border-radius: 10px; padding: 10px 12px; }
.pc-funnel .st .n { font-size: 20px; font-weight: 700; }
.pc-funnel .st .l { font-size: 12px; color: var(--pc-text-3); margin-top: 2px; }
.pc-funnel .arrow { align-self: center; color: var(--muted-2, #c8c9cc); }

/* —— 抽屉（详情/通知）—— */
.pc-drawer-mask { position: fixed; inset: 0; background: rgba(15,25,45,.42); z-index: 900; }
.pc-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 520px; max-width: 92vw; background: #fff; z-index: 901; display: flex; flex-direction: column; box-shadow: -8px 0 30px rgba(15,25,45,.16); }
.pc-drawer > h3 { margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--pc-line); font-size: 16px; display: flex; align-items: center; justify-content: space-between; }
.pc-drawer .body { flex: 1; overflow: auto; padding: 16px 18px; }
.pc-drawer .foot { padding: 12px 18px; border-top: 1px solid var(--pc-line); display: flex; gap: 10px; justify-content: flex-end; }
.pc-drawer .close { cursor: pointer; color: var(--pc-text-3); font-size: 18px; }

/* —— 订单进度时间轴（阶段三 3-2；与 H5 端 .step-track 同口径，PC 用 <pc-steps> 组件）—— */
.pc-steps-wrap { margin: 6px 0 14px; }
.pc-steps { display: flex; align-items: flex-start; }
.pcs-item { flex: 1; min-width: 0; position: relative; text-align: center; }
/* 连接线：画在本节点左侧半格到上一节点中心 */
.pcs-item::before { content: ''; position: absolute; left: -50%; top: 9px; width: 100%; height: 2px; background: var(--pc-line); }
.pcs-item:first-child::before { display: none; }
.pcs-dot { position: relative; z-index: 1; display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: var(--fill-2, #f2f3f5); box-shadow: 0 0 0 3px #fff; }
.pcs-lb { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--pc-text-3); }
.pcs-item.done .pcs-dot { background: var(--pc-primary); }
.pcs-item.done::before { background: var(--pc-primary); }
.pcs-item.on .pcs-dot { background: var(--pc-primary); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--brand-a28, rgba(22, 104, 227, .28)); }
.pcs-item.on .pcs-lb { color: var(--pc-primary); font-weight: 600; }
.pc-steps-bad { margin-top: 10px; padding: 6px 10px; border-radius: 6px; font-size: 12px; color: var(--pc-danger); background: rgba(238, 10, 36, .08); }

/* —— 分页 —— */
.pc-pager { display: flex; align-items: center; gap: 8px; padding: 12px 18px; justify-content: flex-end; font-size: 13px; color: var(--pc-text-2); }
.pc-pager button { height: 28px; min-width: 28px; border: 1px solid var(--pc-line); background: #fff; border-radius: 6px; cursor: pointer; }
.pc-pager button:disabled { opacity: .45; cursor: not-allowed; }
.pc-pager button.on { border-color: var(--pc-primary); color: var(--pc-primary); font-weight: 600; }
/* 统一分页器：左侧「共 N 条 · 第 X / Y 页」，右侧翻页按钮 */
.pc-pager .pg-total { margin-right: auto; }
.pc-pager button.dots { border: none; background: none; cursor: default; opacity: .6; }

/* —— 排序表头 —— */
.pc-table th.sortable { cursor: pointer; user-select: none; }
.pc-table th.sortable:hover { color: var(--pc-primary); }
.pc-table th .ar { font-size:12px; color: var(--muted-2, #c8c9cc); margin-left: 3px; }
.pc-table th.on .ar { color: var(--pc-primary); }
.pc-table td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* —— 骨架屏 —— */
.pc-skel { padding: 18px; }
.pc-skel i { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--fill-2, #f2f3f5) 25%, var(--fill-0, #fafbfd) 37%, var(--fill-2, #f2f3f5) 63%); background-size: 400% 100%; animation: pcSkel 1.2s ease-in-out infinite; margin-bottom: 12px; }
.pc-skel i:nth-child(2n) { width: 82%; }
.pc-skel i:nth-child(3n) { width: 64%; }
@keyframes pcSkel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* —— 确认框 —— */
.pc-confirm-mask { position: fixed; inset: 0; background: rgba(15,25,45,.42); z-index: 960; display: flex; align-items: center; justify-content: center; }
.pc-confirm { width: 400px; max-width: 92vw; background: #fff; border-radius: 12px; padding: 20px 20px 16px; box-shadow: 0 20px 50px rgba(15,25,45,.25); }
.pc-confirm h4 { margin: 0 0 8px; font-size: 16px; }
.pc-confirm p { margin: 0 0 16px; color: var(--pc-text-2); font-size: 13px; line-height: 1.7; white-space: pre-wrap; }
.pc-confirm .acts { display: flex; gap: 10px; justify-content: flex-end; }
/* 输入弹窗（PC.prompt 用）：复用 .pc-input，补间距与多行高度 */
.pc-confirm .pc-input { width: 100%; box-sizing: border-box; margin-bottom: 16px; }
.pc-confirm textarea.pc-input { height: auto; min-height: 74px; padding: 8px 12px; line-height: 1.6; resize: vertical; font-family: inherit; }
.pc-confirm .pc-input-err { border-color: var(--pc-danger); background: var(--danger-bg, #fff2f0); }
.pc-confirm .pc-input-err:focus { border-color: var(--pc-danger); }

/* —— 通知中心 —— */
.pc-notice-list .n { padding: 12px 0; border-bottom: 1px solid var(--pc-line); }
.pc-notice-list .n .t { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.pc-notice-list .n .t .time { font-weight: 400; color: var(--pc-text-3); font-size: 12px; flex: none; }
.pc-notice-list .n .c { color: var(--pc-text-2); font-size: 13px; margin-top: 4px; line-height: 1.7; }
.pc-notice-list .n.read .t { color: var(--pc-text-2); font-weight: 500; }
/* 2026-09-16：带 link 的通知可点击跳转（此前 link 被丢弃，占位符形同虚设） */
.pc-notice-list .n.pc-n-link { border-radius: 8px; padding: 12px 8px; transition: background .16s ease; }
.pc-notice-list .n.pc-n-link:hover { background: var(--pc-hover); }
.pc-notice-list .n .go { color: var(--brand-500); font-size: 12px; margin-top: 6px; }

/* —— 过滤条 —— */
/* 09-16 体验升级：过滤条卡片化（独立白卡 + 圆角 + 细边框），表格行 hover 用品牌浅底 + 过渡 */
.pc-filter { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 16px; margin: 12px 18px; border: 1px solid var(--pc-line, #e5eaf2); border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(18, 48, 87, .04); }
.pc-filter .pc-input, .pc-filter .pc-select { width: auto; min-width: 130px; height: 34px; }
.pc-filter .sp { flex: 1; }
.pc-table tbody tr { transition: background-color .15s ease; }
.pc-table tbody tr:hover td { background: var(--row-hover, rgba(22, 104, 227, .055)); }

/* —— 图片预览增强（多图对比，不再点一下就关） —— */
.pc-mask .nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 34px; color: #fff; opacity: .8; cursor: pointer; padding: 10px 18px; user-select: none; }
.pc-mask .nav.prev { left: 12px; }
.pc-mask .nav.next { right: 12px; }
.pc-mask .bar { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; background: rgba(0,0,0,.5); padding: 6px 14px; border-radius: 16px; }
.pc-mask .x { position: absolute; top: 18px; right: 22px; color: #fff; font-size: 26px; cursor: pointer; }

/* —— 状态色补充 —— */
.b-purple { background: rgba(114,50,221,.12); color: var(--purple, #7232dd); }
.b-blue { background: var(--brand-tint, rgba(22,104,227,.12)); color: var(--pc-primary); }

/* —— 微动效（P2-3 视觉统一）：克制的过渡，不干扰 B 端效率 —— */
.pc-card { transition: transform .18s ease, box-shadow .18s ease; }
.pc-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(20, 40, 90, .10); }
.pc-btn { transition: background .18s ease, transform .12s ease, box-shadow .18s ease; }
.pc-btn:active:not(:disabled) { transform: scale(.97); }
.pc-table tbody tr { transition: background .15s ease; }
.pc-nav a { transition: background .16s ease, color .16s ease; }
.pc-panel { transition: box-shadow .2s ease; }
.pc-drawer { animation: pcSlideIn .22s ease; }
@keyframes pcSlideIn { from { transform: translateX(24px); opacity: .6; } to { transform: translateX(0); opacity: 1; } }
.pc-cards.kpi .pc-card .v { transition: opacity .3s ease; }
/* 尊重系统「减少动效」偏好（无障碍） */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* P1-2：可点击 KPI 卡片（避免内联 style，统一收口到这里） */
.pc-card.clickable { cursor: pointer; }
.pc-card.clickable:hover { box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.pc-card.clickable:active { transform: translateY(1px); }
