/* ============================================================
   佰兴 ERP · Dark Console Skin v2  (2026-11-30)
   质感来源：深色分层表面 + 发丝边框与内侧微高光 + 大字号细字重
   标题 + 数字等宽 + 导航选中用表面台阶（非彩色条）
   唯一亮点：KPI 里用 CSS 画的钢卷截面（真实产品物体，非银行卡）
   中性深色外壳，蓝色只留给 logo 与关键数字
   独立样式层，右下角开关可切回旧风格
   ============================================================ */
:root{
  /* 深墨中性阶（表面分层） */
  --c-n-0:#0d0f12;   --c-n-50:#121519;  --c-n-100:#16191e; --c-n-150:#1c2026;
  --c-n-200:#23282f; --c-n-250:#282e36; --c-n-300:#333a44; --c-n-400:#4a5461;
  --c-n-500:#687485; --c-n-600:#8793a3; --c-n-700:#a8b2c0; --c-n-800:#ccd3dc;
  --c-n-900:#eef1f5; --c-n-950:#fafbfc;
  --c-ink:var(--c-n-900); --c-ink-2:var(--c-n-600); --c-ink-3:var(--c-n-500);
  --c-bg:var(--c-n-0);       --c-surface:var(--c-n-100); --c-surface-2:var(--c-n-150);
  --c-line:var(--c-n-200);   --c-line-2:var(--c-n-150);   --c-line-3:var(--c-n-300);
  --c-thead:var(--c-n-150);
  --c-paper:var(--c-n-0);    --c-paper-2:var(--c-n-100);
  /* 侧栏比页面再深一档 */
  --c-side:#0a0c0f; --c-side-raise:#1c2026; --c-side-text:#a8b2c0;
  --c-side-group:#687485; --c-side-active:var(--c-n-900);
  /* 品牌蓝：logo 的钢带蓝，只用于 logo 与极少强调 */
  --c-brand-50:#16222e; --c-brand-100:#1b2d3e; --c-brand-200:#244761;
  --c-brand-300:#31688e; --c-brand-400:#3f85b5; --c-brand-500:#4f9bd0; --c-brand-600:#5aa9dd;
  --c-brand-700:#7cbce6; --c-brand-800:#9ed0ee; --c-brand-900:#c2e3f6; --c-brand:var(--c-brand-500);
  --c-accent:#5aa9dd; --c-accent-strong:#7cbce6; --c-accent-ink:#5aa9dd; --c-accent-soft:#16222e;
  /* 语义色（深色档，收敛） */
  --c-success:#4cc38a; --c-success-soft:#14261e; --c-success-line:#1f3a2d; --c-success-ink:#4cc38a;
  --c-warning:#d9a441; --c-warning-soft:#2a2114; --c-warning-line:#3d3018; --c-warning-ink:#d9a441;
  --c-danger:#e5484d;  --c-danger-soft:#2a1618;  --c-danger-line:#3d1f21;  --c-danger-ink:#e5484d;
  --c-info:#5aa9dd;    --c-info-soft:#16222e;    --c-info-line:#244761;    --c-info-ink:#5aa9dd;
  --c-pending:#8793a3; --c-pending-soft:#1c2026; --c-pending-line:#23282f; --c-pending-ink:#a8b2c0;
  --c-muted:#687485;   --c-muted-soft:#1c2026;   --c-muted-line:#23282f;   --c-muted-ink:#8793a3;
  --c-row-zebra:#121519; --c-row-hover:#1c2026; --c-row-selected:#23282f;
  /* 字体：细字重 + 等宽数字 */
  --ff-sans:"Inter","Noto Sans SC","Microsoft YaHei UI","PingFang SC",system-ui,sans-serif;
  --ff-serif:var(--ff-sans);
  --ff-num:"IBM Plex Mono","Bahnschrift",ui-monospace,"Cascadia Mono",monospace;
  /* 圆角与阴影：表面台阶 + 内侧微高光 */
  --r:10px; --r-sm:7px; --r-0:0; --r-lg:14px;
  --sh-1:inset 0 1px 0 rgba(255,255,255,.045), 0 1px 2px rgba(0,0,0,.3);
  --sh-2:inset 0 1px 0 rgba(255,255,255,.05), 0 4px 12px rgba(0,0,0,.35);
  --sh-3:inset 0 1px 0 rgba(255,255,255,.06), 0 16px 40px rgba(0,0,0,.5);
  --w-side:248px; --w-side-collapsed:72px; --h-top:76px;
  --cell-pad:12px 14px; --cell-pad-compact:8px 10px;
  --fs-xs:11.5px; --fs-sm:12px; --fs-base:13px; --fs-body:14px; --fs-md:14px;
  --fs-lg:16px; --fs-xl:20px; --fs-2xl:26px; --fs-3xl:32px;
}

/* ---------- 基础 ---------- */
body{ background:var(--c-bg); color:var(--c-ink); font-size:14px; line-height:1.6; letter-spacing:0;
  color-scheme:dark; }
a{ color:var(--c-brand-500); }
/* 原生日期框：用 CSS 图标覆盖黑色方块；日历弹层随 color-scheme 变深 */
input[type=date]{ position:relative; }
input[type=date]::-webkit-calendar-picker-indicator{
  opacity:0; width:18px; height:18px; cursor:pointer; position:relative; z-index:2;
}
input[type=date]::-webkit-datetime-edit{ color:var(--c-ink); }
/* 用伪元素画日历图标（在输入框右端） */
.field:has(> input[type=date]){ position:relative; }
.field > input[type=date]{ padding-right:30px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238793a3' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 9px center; }

/* ---------- 侧栏：表面台阶选中，线性图标，透明 logo ---------- */
.side{ width:var(--w-side); background:var(--c-side); color:var(--c-side-text);
  border-right:1px solid var(--c-line); }
.brand{ padding:22px 20px 18px; border-bottom:0; flex-direction:row; align-items:center; gap:11px; }
/* 透明 logo 直接贴在深墨侧栏（去掉旧白底容器） */
.brand-logo{ width:34px; height:34px; background:transparent; border:0; padding:0; flex:none; }
.brand-logo img{ width:100%; height:100%; object-fit:contain; }
.brand-text{ min-width:0; }
.brand-name{ font-size:15px; font-weight:500; color:#fff; letter-spacing:0; line-height:1.3; white-space:nowrap; }
.brand-name span{ font-weight:400; color:var(--c-side-text); margin-left:3px; }
.brand-sub{ font-size:10px; font-weight:400; letter-spacing:0; color:var(--c-side-group); margin-top:1px; white-space:nowrap; }
/* 侧栏搜索框：紧跟 logo 下方 */
.side-search{ display:flex; align-items:center; gap:8px; margin:0 14px 12px; padding:0 11px; height:36px;
  background:var(--c-side-raise); border:1px solid rgba(255,255,255,.06); border-radius:7px;
  color:var(--c-side-group); }
.side-search:focus-within{ border-color:rgba(90,169,221,.4); }
.side-search svg{ flex:none; }
/* 图标描边统一：导航与静态图标都用 1.6，颜色跟随文字角色 */
.side-search svg,.icon-btn svg,.nav-burger svg{ stroke-width:1.6; }
/* 输入区必须与外壳同色，否则图标区/输入区深浅割裂 */
.side-search input{ flex:1; min-width:0; border:0 !important; background:transparent !important;
  outline:none; box-shadow:none !important; color:var(--c-ink); font-size:12.5px; height:100%; }
.side-search input:focus{ border:0 !important; box-shadow:none !important; }
.side-search input::placeholder{ color:var(--c-side-group); }
.nav{ padding:12px 0 20px; }
.nav-group{ padding:20px 20px 6px; font-size:11px; letter-spacing:.06em;
  color:var(--c-side-group); font-weight:400; }
.nav-item{ height:36px; margin:2px 10px; padding:0 12px; border-radius:7px;
  font-size:13.5px; gap:10px; opacity:1; border-left:0; color:var(--c-side-text); }
.nav-item svg{ display:block; width:17px; height:17px; flex:none; color:var(--c-side-group); stroke-width:1.6; }
.nav-item span{ display:inline; }
.nav-item:hover{ background:rgba(255,255,255,.04); color:#fff; opacity:1; }
.nav-item:hover svg{ color:var(--c-side-text); }
/* 选中＝表面台阶 + 发丝高光，不是彩色条 */
.nav-item.active{ background:var(--c-side-raise); color:#fff; border-left:0; font-weight:500;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05); }
.nav-item.active svg{ color:var(--c-n-900); }
.side-foot{ padding:14px 20px; font-size:11px; border-top:1px solid var(--c-line); color:var(--c-side-group); }

/* ---------- 顶栏：大字号细字重标题 ---------- */
.main{ margin-left:var(--w-side); }
.top{ height:var(--h-top); padding:0 32px; background:var(--c-bg);
  border-bottom:1px solid var(--c-line); gap:16px; }
.top h2{ font-size:15px; font-weight:400; letter-spacing:.02em; color:var(--c-ink-2); }
.top .search{ border-radius:7px; background:var(--c-surface); border:1px solid var(--c-line); }
.user-chip{ border-radius:7px; padding:4px 10px 4px 4px; background:var(--c-surface); border:1px solid var(--c-line); }
.user-chip .av{ background:var(--c-brand-200); color:var(--c-n-900); border-radius:6px; }
.content{ padding:32px; max-width:1600px; }
/* 页面大标题：细字重、年月灰色，质感来自字号与字重而非颜色 */
.content::before{ content:""; display:block; }

/* ---------- KPI：深色卡片 + 微高光，唯一亮点是钢卷截面 ---------- */
.kpi-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px;
  margin-bottom:24px; border:0; padding:0; }
.kpi{ position:relative; overflow:hidden; background:var(--c-surface); border:1px solid var(--c-line);
  border-radius:var(--r); padding:20px; box-shadow:var(--sh-1); }
.kpi:last-child{ border-right:1px solid var(--c-line); }
.kpi .k-top{ font-size:12px; letter-spacing:0; font-weight:400; color:var(--c-ink-2); }
.kpi .ic,.kpi .ic.g,.kpi .ic.a,.kpi .ic.r{ width:28px; height:28px; border-radius:6px;
  background:var(--c-surface-2); color:var(--c-ink-2); }
.kpi .ic svg{ width:17px; height:17px; }
.kpi .v{ font-family:var(--ff-num); font-size:30px; font-weight:500; margin-top:12px;
  letter-spacing:-.01em; color:var(--c-ink); font-variant-numeric:tabular-nums; }
.kpi .v small{ font-size:12px; color:var(--c-ink-3); }
.kpi .sub{ font-size:12px; margin-top:6px; color:var(--c-ink-3); }
/* 钢卷截面：同心圆 + 高光，代码绘制的真实产品物体；只出现在「可售库存」卡 */
.kpi-grid > .kpi:nth-child(2)::after{
  content:""; position:absolute; right:-14px; bottom:-20px; width:108px; height:108px; border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%, var(--c-surface) 0 18%, transparent 18.5%),
    radial-gradient(circle at 50% 50%, #3a444f 0 20%, #232a31 20% 34%, #4a5563 34% 52%, #2b333c 52% 70%, #596675 70% 82%, transparent 82.5%);
  opacity:.5; pointer-events:none;
}

/* ---------- 卡片：分层表面 + 发丝边框 + 微高光 ---------- */
.card{ background:var(--c-surface); border:1px solid var(--c-line); border-radius:var(--r-lg);
  padding:20px; box-shadow:var(--sh-1); }
.card + .card{ margin-top:24px; border-top:1px solid var(--c-line); padding-top:20px; }
/* 并排卡片：去掉旧「卡片相连」的横线，让每张卡各自闭合、边缘对齐 */
.split > .card + .card{ margin-top:0; border-top:1px solid var(--c-line); padding-top:20px; }
.card-h{ border-bottom:1px solid var(--c-line); padding:0 0 14px; }
.card-h h3{ font-size:15px; font-weight:500; letter-spacing:0; }
.card-b{ padding:0; }
/* 双栏等宽：与 KPI 四列网格对齐（各占两列），消除下方大片空白 */
.split{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:stretch; }

/* ---------- 表格 ---------- */
/* 表格容器跟随卡片圆角，避免直角切进圆角卡片；列多时横向滚动而非裁切 */
.tbl-wrap{ border-radius:8px; overflow-x:auto; }
.tbl{ min-width:max-content; }
.tbl th{ background:var(--c-thead); color:var(--c-ink-2); font-size:12px; font-weight:500;
  letter-spacing:0; border-bottom:1px solid var(--c-line); padding:12px 12px; white-space:nowrap; }
/* 关掉浏览器原生 resize 斜纹（与显式 col-grip 重复） */
.tbl-resizable th{ resize:none; }
.tbl td{ height:42px; padding:0 14px; font-size:13.5px; border-bottom:1px solid var(--c-line-2); }
.tbl tbody tr:hover td{ background:var(--c-row-hover); }
.tbl .sub-line{ font-size:12px; color:var(--c-ink-3); }
.tbl td.num, .num{ font-variant-numeric:tabular-nums; }
/* 表头第一格与最后一格的圆角，贴合容器 */
.tbl thead th:first-child{ border-top-left-radius:8px; }
.tbl thead th:last-child{ border-top-right-radius:8px; }

/* ---------- 按钮 / 标签 / 表单 ---------- */
.btn{ height:34px; border-radius:7px; font-size:13px; background:var(--c-surface-2);
  border-color:var(--c-line); color:var(--c-ink); }
.btn:hover{ background:var(--c-n-200); border-color:var(--c-line-3); }
.btn-sm{ height:30px; border-radius:6px; font-size:12px; }
.btn-primary{ background:var(--c-brand-300); border-color:var(--c-brand-300); color:#0a0c0f; box-shadow:var(--sh-1); }
.btn-primary:hover{ background:var(--c-brand-200); border-color:var(--c-brand-200); }
/* 登录按钮：蓝底必须浅字，保证对比度 */
.login-card .btn-primary,.login-card #login-btn{ background:var(--c-brand-300); color:#fff; font-weight:500; }
.btn-ghost{ background:transparent; border-color:transparent; }
.pill{ border-radius:6px; }
input[type=text],input[type=number],input[type=date],input[type=password],
input:not([type]),select,textarea{ border-radius:7px; height:36px; background:var(--c-surface);
  border-color:var(--c-line); color:var(--c-ink); }
input:focus,select:focus,textarea:focus{ border-color:var(--c-brand-500);
  box-shadow:0 0 0 2px rgba(90,169,221,.18); }
.seg{ border-radius:7px; background:var(--c-surface); }
.seg button{ border-radius:6px; color:var(--c-ink-2); }
.seg button.on{ background:var(--c-side-raise); color:var(--c-ink); box-shadow:var(--sh-1); }

/* ---------- 登录页同风格 ---------- */
.login-wrap{ background:var(--c-bg); }
.login-card{ background:var(--c-surface); border:1px solid var(--c-line); border-radius:var(--r-lg);
  padding:36px 32px 30px; box-shadow:var(--sh-3); }
.login-logo{ width:172px; }
.login-sub{ font-size:12.5px; color:var(--c-ink-2); }
.login-brand h1{ font-family:var(--ff-sans); font-size:22px; font-weight:500; }

/* ============================================================
   字体层级（全站统一）：只有 400/500 两档字重，层级靠字号与颜色
   —— 页面标题 20 / 卡片标题 15 / KPI 数字 30 / 正文 13.5
   —— 表头 12 / 次级 12 / 元信息 11.5；数字统一等宽
   ============================================================ */
/* 页面标题：细字重 + 大字号，参考「October 2026」的克制感 */
.top h2{ font-size:20px; font-weight:400; letter-spacing:0; color:var(--c-ink); }
/* 卡片标题：中等字号、500 字重，是区块的锚点 */
.card-h h3{ font-size:15px; font-weight:500; letter-spacing:0; color:var(--c-ink); }
/* KPI：数字是本页最大字、500 字重、等宽；标签最小且次级色 */
.kpi .k-top{ font-size:12px; font-weight:400; color:var(--c-ink-2); }
.kpi .v{ font-size:30px; font-weight:500; letter-spacing:-.01em; color:var(--c-ink); font-variant-numeric:tabular-nums; }
.kpi .sub{ font-size:12px; color:var(--c-ink-3); }
/* 表格：表头次级、正文主色、数字等宽右对齐 */
.tbl th{ font-size:12px; font-weight:400; color:var(--c-ink-2); }
.tbl td{ font-size:13.5px; color:var(--c-ink); }
.tbl td.num,.tbl th.num{ font-variant-numeric:tabular-nums; text-align:right; }
.tbl .sub-line{ font-size:11.5px; color:var(--c-ink-3); }
.tbl .strong{ font-weight:500; }
/* 表单标签与按钮：小字、500 用于标签区分层级 */
.field > label{ font-size:12px; font-weight:400; color:var(--c-ink-2); }
.btn{ font-size:13px; font-weight:400; }
.btn-primary{ font-weight:500; }
/* 导航：正文尺寸、选中态用 500 而非更亮的颜色 */
.nav-item{ font-size:13.5px; font-weight:400; }
.nav-item.active{ font-weight:500; }
.nav-group{ font-size:11px; font-weight:400; }
/* 品牌区：主名 500、副名 400、说明 10px 次级 */
.brand-name{ font-size:15px; font-weight:500; }
.brand-name span{ font-weight:400; }
.brand-sub{ font-size:10px; font-weight:400; }
/* 次级/元信息统一走 ink-2 / ink-3，不再各自定义颜色 */
.dim,.muted{ color:var(--c-ink-3); }
/* 状态胶囊：用纯色状态点代替字符符号（✓△✕◐），颜色本身已表意 */
.pill::before{ content:""; width:6px; height:6px; border-radius:50%; background:currentColor; flex:none; }
.pill-g::before,.pill-a::before,.pill-r::before,.pill-b::before{ content:""; width:6px; height:6px; border-radius:50%; }

/* ============================================================
   表格圆角统一（覆盖 style.css 的 border-radius:0 与 table 直角外框）
   容器圆角 → 表格外框圆角 → 首末单元格切角 → 竖线首末列去掉
   ============================================================ */
.tbl-wrap{ border-radius:8px !important; }
table.tbl{ border:1px solid var(--c-line) !important; border-radius:8px; border-collapse:separate; border-spacing:0; }
.tbl th,.tbl td{ border-right:1px solid var(--c-line-2); }
/* 表头四角 */
.tbl thead th:first-child{ border-top-left-radius:8px; }
.tbl thead th:last-child{ border-top-right-radius:8px; border-right:0; }
.tbl th:first-child{ border-left:0; }
/* 表体末行底角 */
.tbl tbody tr:last-child td:first-child{ border-bottom-left-radius:8px; }
.tbl tbody tr:last-child td:last-child{ border-bottom-right-radius:8px; border-right:0; }
.tbl tbody tr:last-child td{ border-bottom:0; }
/* 竖线只在中间列保留，首列不画左边、末列不画右边 */
.tbl td:first-child,.tbl th:first-child{ border-left:0; }
.tbl td:last-child,.tbl th:last-child{ border-right:0; }
/* 卡片内嵌表格：卡片内边距已经提供呼吸，表格圆角与卡片内半径相称 */
.card > .tbl-wrap,.card-b > .tbl-wrap,.card-b.flush > .tbl-wrap{ border-radius:8px !important; }

/* ---------- 响应式 ---------- */
@media (max-width:1180px){
  .kpi-grid{ grid-template-columns:repeat(2,1fr); }
  .split{ grid-template-columns:minmax(0,1fr); }
  .form-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px){
  .side{ display:none; }
  .main{ margin-left:0; }
  .content{ padding:16px; padding-bottom:calc(56px + env(safe-area-inset-bottom) + 16px); }
  .kpi-grid{ grid-template-columns:1fr 1fr; gap:12px; }
  .kpi{ padding:14px; }
  .kpi .v{ font-size:20px; letter-spacing:-.2px; overflow-wrap:anywhere; }
  .kpi .sub{ font-size:11px; }
  .top{ padding:0 14px; gap:10px; }
  .top .search{ display:none; }
  .card{ padding:16px; }
}

/* ============================================================
   浮层毛玻璃：只用于登录卡片与弹窗/抽屉（背后有内容可透）
   主界面保持不透明深色质感，保证长时间阅读清晰
   ============================================================ */
body:has(.login-wrap:not(.hide)){
  background:
    radial-gradient(ellipse 62% 48% at 12% 6%, rgba(63,133,181,.16), transparent 72%),
    radial-gradient(ellipse 54% 46% at 88% 94%, rgba(90,169,221,.1), transparent 72%),
    var(--c-bg);
  background-attachment:fixed;
}
.login-wrap:not(.hide){ background:transparent; backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px); }
.login-card{
  background:rgba(22,25,30,.66);
  backdrop-filter:blur(28px) saturate(125%); -webkit-backdrop-filter:blur(28px) saturate(125%);
  border:1px solid rgba(255,255,255,.1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 20px 60px rgba(0,0,0,.5);
}
.drawer,.pdf-modal,.modal{
  background:rgba(22,25,30,.82);
  backdrop-filter:blur(24px) saturate(120%); -webkit-backdrop-filter:blur(24px) saturate(120%);
  border-color:rgba(255,255,255,.1);
}
.drawer-mask,.nav-drawer-mask{ backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); }
.drawer .card,.pdf-modal .card{ background:var(--c-surface); backdrop-filter:none; -webkit-backdrop-filter:none; }
/* 弹窗头部：覆盖 style.css:573 的白色渐变，与深色主体统一 */
.drawer-h{ background:var(--c-surface) !important; border-bottom:1px solid var(--c-line);
  padding:18px 22px; }
.drawer-h h3{ font-size:16px; font-weight:500; color:var(--c-ink); }
.drawer-h h3 small{ color:var(--c-ink-3); letter-spacing:0; }
.drawer-h .icon-btn,.drawer-h .drawer-close{ color:var(--c-ink-2); }
/* 弹窗底部操作条 */
.drawer-f{ background:var(--c-surface) !important; border-top:1px solid var(--c-line); }
/* 弹窗内小标题：去掉旧蓝色竖条，用次级色细字 */
.drawer-b h4.sec{ font-size:13px; font-weight:500; color:var(--c-ink-2);
  border-left:2px solid var(--c-line-3); padding-left:10px; letter-spacing:0; }
/* ============================================================
   勾选框统一：全站 checkbox 之前靠内联 width:15px 或浏览器默认，
   尺寸不一、深色下突兀。统一为 14px、次级色描边、选中品牌蓝。
   !important 覆盖 8 处内联 style。
   ============================================================ */
input[type=checkbox]{ -webkit-appearance:none; appearance:none; width:14px !important; height:14px !important;
  flex:none; margin:0; border:1px solid var(--c-line-3); border-radius:4px;
  background:var(--c-surface); cursor:pointer; position:relative; vertical-align:middle;
  transition:background .12s ease, border-color .12s ease; }
input[type=checkbox]:hover{ border-color:var(--c-brand-400); }
input[type=checkbox]:checked{ background:var(--c-brand-400); border-color:var(--c-brand-400); }
input[type=checkbox]:checked::after{ content:""; position:absolute; left:4px; top:1px; width:3px; height:7px;
  border:solid #0a0c0f; border-width:0 2px 2px 0; transform:rotate(45deg); }
input[type=checkbox]:disabled{ opacity:.5; cursor:not-allowed; }
input[type=checkbox]:focus-visible{ outline:2px solid var(--c-brand-400); outline-offset:2px; }
/* 利润报表行选择框：表格里居中，去掉默认外边距 */
.tbl td input[type=checkbox]{ display:inline-block; width:14px !important; flex:none; }
/* 列设置面板里的勾选框：旧样式会被 flex 拉伸成 70px，这里强制回收 */
.colpick-i input[type=checkbox],label input[type=checkbox]{ width:14px !important; flex:none; }

/* 加工单原卷明细表：容器横向滚动，单元格输入框紧凑无边框 */
.pc-wrap{ border-radius:8px; border:1px solid var(--c-line); overflow-x:auto; }
.pc-tbl{ font-size:12px; min-width:100%; }
.pc-tbl th{ padding:8px 8px; font-size:11.5px; }
.pc-tbl td{ height:auto; padding:4px 6px; border-bottom:1px solid var(--c-line-2); }
.pc-tbl input{ height:28px; padding:0 6px; border:1px solid transparent; background:transparent;
  border-radius:5px; font-size:12px; }
.pc-tbl input:hover{ border-color:var(--c-line); background:var(--c-surface-2); }
.pc-tbl input:focus{ border-color:var(--c-brand-400); background:var(--c-surface); }
.pc-tbl .btn-sm{ height:26px; padding:0 8px; }

/* 金额条内嵌的补采购格：按钮与数字同高对齐，不再单独占卡 */
.compact-strip .buy-cs{ margin-left:auto; padding-left:14px; border-left:1px solid var(--c-line); }
.compact-strip .buy-cs b{ font-family:var(--ff-sans); font-weight:400; }
.compact-strip .buy-cs .btn{ height:26px; padding:0 10px; font-size:12px; }
