/* ============================================================
   代收代付单据系统 · 设计系统
   基调：克制的商务蓝 + 干净的浅灰底 + 细腻层次
   原则：类名保持不变（模板零改动也能变好看），只在必要时新增
   ============================================================ */

:root{
  /* 文字 */
  --ink:#0f172a;          /* 标题 */
  --text:#243044;         /* 正文 */
  --text-2:#4a5568;       /* 次级 */
  --muted:#7b8798;        /* 说明 */

  /* 面 */
  --bg:#f4f6f9;
  --surface:#ffffff;
  --surface-2:#fafbfc;
  --line:#e5e9ef;
  --line-2:#d3dae3;

  /* 品牌 */
  --primary:#1a5aa8;
  --primary-600:#15498b;
  --primary-700:#123c73;
  --primary-soft:#eaf2fc;
  --primary-soft-2:#dbe9fa;

  /* 语义 */
  --ok:#0f7a52;
  --ok-soft:#e7f6ef;
  --warn:#9a6400;
  --warn-soft:#fdf4e0;
  --danger:#b3271e;
  --danger-soft:#fdeceb;

  /* 形状 / 阴影 */
  --radius-sm:7px;
  --radius:10px;
  --radius-lg:14px;
  --radius-xl:20px;
  --shadow-xs:0 1px 2px rgba(16,24,40,.05);
  --shadow-sm:0 1px 3px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
  --shadow-md:0 6px 18px rgba(16,24,40,.07), 0 2px 6px rgba(16,24,40,.04);
  --shadow-lg:0 18px 42px rgba(16,24,40,.12), 0 6px 14px rgba(16,24,40,.06);
  --ring:0 0 0 3px rgba(26,90,168,.14);
  --ease:cubic-bezier(.4,0,.2,1);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  background:var(--bg);
  background-image:
    radial-gradient(1100px 420px at 50% -180px, rgba(26,90,168,.09), transparent 70%);
  background-repeat:no-repeat;
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB",
              "Microsoft YaHei",sans-serif;
  font-size:14px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
::selection{background:rgba(26,90,168,.16)}
a{color:var(--primary); text-decoration:none; transition:color .15s var(--ease)}
a:hover{color:var(--primary-600); text-decoration:underline}
:focus-visible{outline:none; box-shadow:var(--ring); border-radius:6px}
.wrap{max-width:1200px; margin:0 auto; padding:0 24px}

/* 滚动条（Chrome/Edge） */
*::-webkit-scrollbar{height:10px; width:10px}
*::-webkit-scrollbar-track{background:transparent}
*::-webkit-scrollbar-thumb{background:#cdd5e0; border-radius:8px; border:2px solid transparent; background-clip:content-box}
*::-webkit-scrollbar-thumb:hover{background:#b6c0ce; background-clip:content-box}

/* ---------------------------------------------------------- 顶栏 */
.topbar{
  background:rgba(255,255,255,.88);
  backdrop-filter:saturate(180%) blur(12px);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:30;
}
.topbar-inner{display:flex; align-items:center; gap:20px; min-height:60px; padding:8px 0}

.brand{display:flex; align-items:center; gap:10px; font-weight:650; color:var(--ink);
  font-size:14.5px; letter-spacing:.2px; white-space:nowrap}
.brand:hover{text-decoration:none; color:var(--ink)}
.brand-mark{
  display:inline-flex; align-items:center; justify-content:center;
  width:30px; height:30px; border-radius:9px; flex:0 0 auto;
  background:linear-gradient(145deg,#2b74c4,#15498b);
  color:#fff; font-size:14px; font-weight:600;
  box-shadow:0 2px 6px rgba(21,73,139,.28), inset 0 1px 0 rgba(255,255,255,.24);
}

.nav{display:flex; gap:2px; flex:1; min-width:0}
.nav a{
  position:relative; padding:8px 13px; border-radius:9px;
  color:var(--text-2); font-size:13.5px; font-weight:500; white-space:nowrap;
  transition:background .16s var(--ease), color .16s var(--ease);
}
.nav a:hover{background:#eef2f7; color:var(--ink); text-decoration:none}
.nav a.active{background:var(--primary-soft); color:var(--primary-600); font-weight:600}
.nav a.active::after{
  content:''; position:absolute; left:13px; right:13px; bottom:3px; height:2px;
  border-radius:2px; background:var(--primary); opacity:.55;
}

/* ---------------------------------------------------------- 主体 / 用户区 */
.userbox{display:flex; align-items:center; gap:10px; margin-left:auto; flex:0 0 auto}
.userbox .uname{
  font-size:13px; color:var(--text-2); font-weight:500;
  max-width:100px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.entswitch{margin:0; display:flex; align-items:center}
.entswitch select{
  padding:7px 30px 7px 11px; border:1px solid var(--line-2); border-radius:9px;
  font-size:13px; font-family:inherit; font-weight:500; color:var(--text);
  cursor:pointer; max-width:190px; appearance:none; -webkit-appearance:none;
  background:#fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237b8798' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  transition:border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.entswitch select:hover{border-color:#bcc7d6}
.entswitch select:focus{outline:none; border-color:var(--primary); box-shadow:var(--ring)}
.entchip{
  display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:20px;
  font-size:12.5px; font-weight:600; white-space:nowrap;
  background:var(--primary-soft); color:var(--primary-600);
  border:1px solid var(--primary-soft-2);
}
.entchip::before{content:''; width:6px; height:6px; border-radius:50%; background:var(--primary)}

/* ---------------------------------------------------------- 主体布局 */
.main{padding-top:26px; padding-bottom:56px; min-height:calc(100vh - 150px)}
.foot{
  border-top:1px solid var(--line); padding:18px 0 26px;
  color:var(--muted); font-size:12.5px; background:transparent;
}
.foot .wrap{display:flex; justify-content:center; text-align:center}

/* ---------------------------------------------------------- 页头 */
.page-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:18px; margin-bottom:20px; flex-wrap:wrap;
}
.page-head h1{
  font-size:21px; margin:0 0 5px; font-weight:680; color:var(--ink);
  letter-spacing:-.2px; display:flex; align-items:center; gap:9px; flex-wrap:wrap;
}
.page-head p{margin:0; color:var(--muted); font-size:13px}
.page-head .btn-row{margin-bottom:1px}

/* ---------------------------------------------------------- 卡片 */
.card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:20px;
  box-shadow:var(--shadow-sm);
}
.card > strong:first-child{color:var(--ink); font-weight:640}
.grid{display:grid; gap:16px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:960px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.grid-2,.grid-3{grid-template-columns:1fr}}
@media(max-width:560px){.grid-4{grid-template-columns:1fr}}

/* 入口卡（首页）+ 通用标题行 */
.ec-title{font-size:16px; font-weight:650; color:var(--ink); letter-spacing:-.1px}
.ec-sub{color:var(--muted); font-size:13px; line-height:1.6}
.ec-cta{color:var(--primary); font-size:13px; margin-top:14px; font-weight:600}
.entry-card{
  display:block; padding:22px; border:1px solid var(--line); border-radius:var(--radius-lg);
  background:var(--surface); color:var(--text); box-shadow:var(--shadow-sm);
  transition:transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.entry-card:hover{
  text-decoration:none; border-color:var(--primary-soft-2);
  box-shadow:var(--shadow-md); transform:translateY(-2px);
}
.entry-card .ec-title{display:flex; align-items:center; gap:9px; margin-bottom:5px}
.card .ec-title{display:flex; align-items:center; gap:10px}

/* 卡片内的小标题行（详情页） */
.card .btn-row > strong{font-size:13.5px; color:var(--ink); font-weight:640}

/* ---------------------------------------------------------- 指标卡 */
.stat{
  position:relative; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:16px 18px; box-shadow:var(--shadow-sm);
  overflow:hidden; transition:box-shadow .18s var(--ease), transform .18s var(--ease);
}
.stat:hover{box-shadow:var(--shadow-md); transform:translateY(-1px)}
.stat .k{
  color:var(--muted); font-size:12.5px; font-weight:500;
  display:flex; align-items:center; gap:7px;
}
.stat .v{
  font-size:22px; font-weight:660; margin-top:7px; color:var(--ink);
  font-variant-numeric:tabular-nums; letter-spacing:-.4px;
}
.stat .v.primary{color:var(--primary-600)}
.stat .v.ok{color:var(--ok)}
.stat .v.warn{color:var(--warn)}
.stat .v.danger{color:var(--danger)}
.stat .ico{
  display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:8px; flex:0 0 auto;
  background:var(--primary-soft); color:var(--primary-600);
}
.stat .ico.ok{background:var(--ok-soft); color:var(--ok)}
.stat .ico.warn{background:var(--warn-soft); color:var(--warn)}
.stat .ico.danger{background:var(--danger-soft); color:var(--danger)}

/* ---------------------------------------------------------- 表格 */
.table-wrap{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm);
}
.table-wrap > table.list{border-radius:0}
table.list{width:100%; border-collapse:separate; border-spacing:0; font-size:13.5px}
table.list th{
  background:var(--surface-2); text-align:left; padding:11px 14px;
  font-weight:600; font-size:12.5px; color:var(--text-2); letter-spacing:.1px;
  border-bottom:1px solid var(--line); white-space:nowrap;
}
table.list td{
  padding:12px 14px; border-bottom:1px solid #eef1f5;
  color:var(--text); vertical-align:middle;
}
table.list tbody tr{transition:background .13s var(--ease)}
table.list tbody tr:hover{background:#f7fafd}
table.list tbody tr:last-child td{border-bottom:none}
table.list td:first-child{color:var(--text-2)}
table.list td .btn-row{flex-wrap:nowrap}
.num{text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap}
.mono{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  font-size:12.5px; letter-spacing:-.1px; color:var(--text-2);
}
td.num strong, .card table.list td strong{color:var(--ink); font-weight:640}

/* 空状态 */
.empty{
  padding:52px 24px; text-align:center; color:var(--muted);
  display:flex; flex-direction:column; align-items:center; gap:10px; font-size:13.5px;
}
.empty::before{
  content:''; width:52px; height:52px; border-radius:16px;
  background:var(--primary-soft) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a5aa8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 15h6M9 11h2'/%3E%3C/svg%3E") no-repeat center;
  background-size:24px;
}
.empty p{margin:0}
.empty .btn{margin-top:4px}

/* ---------------------------------------------------------- 徽章 */
.badge{
  display:inline-flex; align-items:center; gap:5px; padding:3px 9px;
  border-radius:20px; font-size:11.5px; font-weight:600; white-space:nowrap;
  border:1px solid transparent; line-height:1.5;
}
.badge::before{content:''; width:5px; height:5px; border-radius:50%; background:currentColor; opacity:.75}
.badge:empty::before{display:none}
.b-ok{background:var(--ok-soft); color:var(--ok); border-color:#cdeada}
.b-warn{background:var(--warn-soft); color:var(--warn); border-color:#f2e0b6}
.b-gray{background:#eef1f5; color:#5c6675; border-color:#e2e7ee}
.b-blue{background:var(--primary-soft); color:var(--primary-600); border-color:var(--primary-soft-2)}

/* ---------------------------------------------------------- 按钮 */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:36px; padding:0 15px; border-radius:9px;
  border:1px solid var(--line-2); background:#fff; color:var(--text);
  font-size:13.5px; font-weight:500; cursor:pointer; font-family:inherit;
  line-height:1; white-space:nowrap; user-select:none;
  box-shadow:var(--shadow-xs);
  transition:background .16s var(--ease), border-color .16s var(--ease),
             box-shadow .16s var(--ease), transform .12s var(--ease), color .16s var(--ease);
}
.btn:hover{background:#f7f9fc; border-color:#c2ccd9; color:var(--ink); text-decoration:none}
.btn:active{transform:translateY(1px); box-shadow:none}
.btn:focus-visible{box-shadow:var(--ring)}
.btn-primary{
  background:linear-gradient(180deg,#2a6cba,var(--primary));
  border-color:var(--primary-600); color:#fff; font-weight:600;
  box-shadow:0 1px 2px rgba(21,73,139,.24), inset 0 1px 0 rgba(255,255,255,.16);
}
.btn-primary:hover{background:linear-gradient(180deg,#2563ab,var(--primary-600));
  border-color:var(--primary-700); color:#fff}
.btn-primary:active{background:var(--primary-600)}
.btn-sm{height:30px; padding:0 11px; font-size:12.5px; border-radius:8px}
.btn-lg{height:44px; padding:0 22px; font-size:15px; border-radius:11px}
.btn-ghost{
  border-color:transparent; background:transparent; color:var(--primary-600); box-shadow:none;
}
.btn-ghost:hover{background:var(--primary-soft); border-color:transparent; color:var(--primary-600)}
.btn-danger{
  color:var(--danger); border-color:#f0c8c4; background:#fff;
}
.btn-danger:hover{background:var(--danger-soft); border-color:#e6b0aa; color:var(--danger)}
.btn-row{display:flex; gap:8px; flex-wrap:wrap; align-items:center}
.btn .i{width:15px; height:15px; flex:0 0 auto}
.btn-sm .i{width:13px; height:13px}

/* 行内图标 */
.i{width:16px; height:16px; display:inline-block; vertical-align:-3px;
  stroke:currentColor; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round}
.i-sm{width:14px; height:14px}

/* ---------------------------------------------------------- 表单 */
.form-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px}
@media(max-width:760px){.form-grid{grid-template-columns:1fr}}
.field label{
  display:block; font-size:13px; color:var(--text-2); margin-bottom:7px; font-weight:550;
}
.field label .req{color:var(--danger); margin-left:3px; font-weight:600}
.field input,.field select,.field textarea{
  width:100%; height:40px; padding:0 12px;
  border:1px solid var(--line-2); border-radius:9px;
  font-size:14px; font-family:inherit; background:#fff; color:var(--ink);
  transition:border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.field textarea{height:auto; min-height:88px; padding:10px 12px; line-height:1.6; resize:vertical}
.field select{
  appearance:none; -webkit-appearance:none; cursor:pointer; padding-right:34px;
  background:#fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237b8798' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.field input::placeholder,.field textarea::placeholder{color:#a8b2c1}
.field input:hover,.field select:hover,.field textarea:hover{border-color:#bcc7d6}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--primary); box-shadow:var(--ring); background:#fff;
}
.field .hint{color:var(--muted); font-size:12px; margin-top:6px; line-height:1.5}
.field-full{grid-column:1/-1}
.form-actions{
  display:flex; gap:10px; margin-top:24px; padding-top:20px; border-top:1px solid var(--line);
  flex-wrap:wrap;
}
.readonly{background:var(--surface-2); color:var(--muted); cursor:not-allowed}

/* 复选框 / 单选：统一大小 */
input[type=checkbox],input[type=radio]{
  width:16px; height:16px; accent-color:var(--primary); cursor:pointer;
  vertical-align:-2px; margin:0;
}

/* ---------------------------------------------------------- 筛选栏 */
.filters{
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
  margin-bottom:16px; padding:14px 16px;
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); box-shadow:var(--shadow-sm);
}
.filters input,.filters select{
  height:36px; padding:0 11px; border:1px solid var(--line-2); border-radius:9px;
  font-size:13.5px; font-family:inherit; background:#fff; color:var(--ink);
  transition:border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.filters select{
  appearance:none; -webkit-appearance:none; padding-right:32px; cursor:pointer;
  background:#fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237b8798' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center;
}
.filters input:hover,.filters select:hover{border-color:#bcc7d6}
.filters input:focus,.filters select:focus{outline:none; border-color:var(--primary); box-shadow:var(--ring)}
.filters input[type=text]{min-width:220px}

/* ---------------------------------------------------------- 提示 */
.alert{
  display:flex; align-items:flex-start; gap:9px;
  padding:12px 15px; border-radius:var(--radius); margin-bottom:14px;
  font-size:13.5px; border:1px solid transparent; line-height:1.55;
  box-shadow:var(--shadow-xs);
}
.alert::before{
  content:''; flex:0 0 auto; width:16px; height:16px; margin-top:2px;
  background:currentColor; opacity:.85;
  -webkit-mask:var(--alert-ico) no-repeat center/contain;
  mask:var(--alert-ico) no-repeat center/contain;
}
.alert-success{background:var(--ok-soft); color:var(--ok); border-color:#c9e8d8;
  --alert-ico:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")}
.alert-danger{background:var(--danger-soft); color:var(--danger); border-color:#f3c7c2;
  --alert-ico:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16.5v.01'/%3E%3C/svg%3E")}
.alert-warning{background:var(--warn-soft); color:var(--warn); border-color:#eedcb4;
  --alert-ico:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9L1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17v.01'/%3E%3C/svg%3E")}
.alert-info{background:var(--primary-soft); color:var(--primary-600); border-color:#cddff5;
  --alert-ico:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 7.5v.01'/%3E%3C/svg%3E")}

/* 说明块 */
.note{
  background:linear-gradient(180deg,#fbfcfe,#f7fafd);
  border:1px solid var(--line); border-left:3px solid var(--primary);
  padding:14px 16px; border-radius:var(--radius);
  font-size:13px; color:var(--text-2); line-height:1.65;
}
.note strong{color:var(--ink); font-weight:640}
.muted{color:var(--muted)}
.small{font-size:12.5px}
.mt-2{margin-top:12px}.mt-3{margin-top:20px}.mb-2{margin-bottom:14px}
.total-line{
  display:flex; justify-content:flex-end; align-items:center; gap:16px;
  padding:14px 16px; border-top:1px solid var(--line);
  background:var(--surface-2); font-size:13.5px;
}
.total-line strong{font-size:15px; color:var(--ink); font-weight:660; font-variant-numeric:tabular-nums}

/* ---------------------------------------------------------- 主体 / 账号卡列表 */
.ent-row{
  display:flex; align-items:center; gap:16px; padding:16px 18px;
  border-bottom:1px solid #eef1f5; transition:background .14s var(--ease);
}
.ent-row:hover{background:#f8fbfe}
.ent-row:last-child{border-bottom:none}
.ent-row .ent-main{flex:1; min-width:0}
.ent-row .ent-name{
  font-size:14.5px; font-weight:650; color:var(--ink); margin-bottom:4px;
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.ent-row .ent-sub{color:var(--muted); font-size:12.5px; line-height:1.7; word-break:break-all}
.ent-row .ent-side{display:flex; gap:8px; align-items:center; flex-wrap:wrap; justify-content:flex-end}
.tag-mini{
  display:inline-flex; align-items:center; gap:4px; padding:2px 8px; border-radius:6px;
  background:#f0f3f7; color:#5c6675; font-size:11.5px; font-weight:500;
  margin-right:6px; white-space:nowrap;
}

/* ---------------------------------------------------------- 空页面 / 错误页 */
.blank-page{
  min-height:calc(100vh - 220px); display:flex; align-items:center; justify-content:center;
}
.blank-card{
  max-width:520px; width:100%; text-align:center; padding:44px 32px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-xl);
  box-shadow:var(--shadow-md);
}
.blank-card .code{
  font-size:56px; font-weight:700; letter-spacing:-2px; line-height:1;
  background:linear-gradient(135deg,#2b74c4,#15498b);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.blank-card p{color:var(--muted); margin:12px 0 24px; font-size:14px}

/* ---------------------------------------------------------- 打印（浏览器直接打印列表/详情） */
@media print{
  .topbar,.foot,.btn-row,.btn,.filters,.no-print,.entswitch,.entchip{display:none !important}
  body{background:#fff; background-image:none}
  .main{padding:0; min-height:0}
  .card,.table-wrap{box-shadow:none; border:none; padding:0}
  .stat{box-shadow:none}
}

/* ---------------------------------------------------------- 响应式 */
@media(max-width:980px){
  .topbar-inner{flex-wrap:wrap; gap:10px; padding:10px 0}
  .nav{order:3; width:100%; overflow-x:auto; padding-bottom:2px; scrollbar-width:none}
  .nav::-webkit-scrollbar{display:none}
  .nav a{padding:7px 11px}
  .userbox{margin-left:auto}
}
@media(max-width:640px){
  .wrap{padding:0 14px}
  .main{padding-top:18px; padding-bottom:40px}
  .page-head h1{font-size:19px}
  .card{padding:16px; border-radius:12px}
  .stat{padding:14px}
  .stat .v{font-size:19px}
  table.list th,table.list td{padding:10px 11px}
  .filters{padding:12px}
  .filters input[type=text]{min-width:0; flex:1 1 100%}
  .userbox .uname{display:none}
  .btn{height:34px; padding:0 12px; font-size:13px}
  .btn-lg{height:42px; font-size:14.5px}
}
