/* ============================================================
   四方协同工程工作台 · 高级感视觉系统 V2
   设计语言：克制留白 · 发丝边框 · 柔和分层 · 数字等宽
   ============================================================ */
:root {
  /* 中性 */
  --bg: #F5F6F8;
  --card: #FFFFFF;
  --ink: #101828;
  --text: #101828;
  --muted: #667085;
  --muted2: #98A2B3;
  --line: #EAECF0;
  --line-strong: #D0D5DD;
  /* 主色（深墨蓝紫，克制高级） */
  --accent: #2F54EB;
  --accent-deep: #1D39C4;
  --accent-soft: #F0F4FF;
  --accent-line: #D6E0FF;
  /* 语义 */
  --ok: #0E9F6E;
  --ok-soft: #ECFDF5;
  --warn: #D97706;
  --warn-soft: #FFFBEB;
  --danger: #DC2626;
  --danger-soft: #FEF2F2;
  --purple: #7C3AED;
  --purple-soft: #F5F3FF;
  /* 侧栏 */
  --side-1: #0B1220;
  --side-2: #141E36;
  /* 兼容旧变量名（app.js 内联引用） */
  --blue-900: #101828;
  --blue-800: #1D39C4;
  --blue-700: #2F54EB;
  --blue-600: #4A6CF7;
  --blue-100: #D6E0FF;
  --blue-50: #F0F4FF;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-xs: 0 1px 2px rgba(16,24,40,.05);
  --shadow-sm: 0 1px 2px rgba(16,24,40,.04), 0 4px 16px -8px rgba(16,24,40,.10);
  --shadow-md: 0 2px 4px rgba(16,24,40,.05), 0 12px 32px -12px rgba(16,24,40,.16);
  --shadow-lg: 0 8px 16px rgba(16,24,40,.08), 0 24px 64px -24px rgba(16,24,40,.24);
  --sidebar-w: 232px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #app { height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #fff; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--ink); }
a { color: var(--accent); text-decoration: none; }
/* 精致滚动条 */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #C9CFDA; border-radius: 8px; border: 3px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: #A8B0BF; border: 3px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-track { background: transparent; }

.boot-loading { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted2); letter-spacing: .04em; }

/* ============ 登录 ============ */
.login-wrap {
  min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(47,84,235,.35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(124,58,237,.22), transparent 55%),
    linear-gradient(160deg, #0B1220 0%, #101A33 55%, #16213C 100%);
  position: relative; overflow: hidden;
}
.login-wrap::before { /* 细网格纹理 */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.login-card {
  width: 420px; max-width: 100%; position: relative;
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
  border-radius: 20px; padding: 40px 38px 32px;
  box-shadow: 0 32px 80px -24px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
}
.login-card .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.login-card .logo .mark {
  width: 44px; height: 44px; border-radius: 12px; color: #fff; font-weight: 700; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 8px 20px -6px rgba(47,84,235,.5);
}
.login-card h1 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.login-card .sub { color: var(--muted); font-size: 12.5px; margin-bottom: 26px; letter-spacing: .01em; }
.login-card label { display: block; font-size: 12.5px; color: var(--muted); margin: 16px 0 6px; font-weight: 500; }
.login-card input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  outline: none; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.login-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.login-err { color: var(--danger); font-size: 13px; min-height: 20px; margin-top: 10px; }
.demo-accounts { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.demo-accounts p { font-size: 12px; color: var(--muted2); margin-bottom: 9px; }
.demo-accounts .row { display: flex; flex-wrap: wrap; gap: 7px; }
.demo-accounts button {
  border: 1px solid var(--line); background: var(--accent-soft); color: var(--accent-deep);
  border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 500; transition: all .15s;
}
.demo-accounts button:hover { border-color: var(--accent); transform: translateY(-1px); }

/* ============ 主布局 ============ */
.layout { display: flex; min-height: 100%; }
.sidebar {
  width: var(--sidebar-w); flex-shrink: 0; position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; color: #C4CBDD;
  background: linear-gradient(180deg, var(--side-1), var(--side-2));
  border-right: 1px solid rgba(255,255,255,.06);
}
.sidebar .brand { display: flex; gap: 12px; align-items: center; padding: 22px 18px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.sidebar .brand .mark {
  width: 38px; height: 38px; border-radius: 11px; color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 6px 16px -4px rgba(47,84,235,.55);
}
.sidebar .brand b { color: #fff; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
.sidebar .brand small { display: block; font-size: 11px; font-weight: 400; color: #7C88A6; letter-spacing: .02em; }
.nav { flex: 1; overflow-y: auto; padding: 12px 12px 18px; }
.nav .group { font-size: 10.5px; color: #5C6885; padding: 16px 12px 6px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.nav a {
  display: flex; align-items: center; gap: 11px; color: #B4BDD2; padding: 10px 12px;
  border-radius: var(--radius-sm); margin-bottom: 2px; font-size: 14px; position: relative;
  transition: background .15s, color .15s;
}
.nav a .ic { width: 20px; text-align: center; font-size: 15px; opacity: .85; }
.nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav a.active { background: linear-gradient(90deg, rgba(47,84,235,.28), rgba(47,84,235,.10)); color: #fff; font-weight: 600; }
.nav a.active::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--accent); }
.nav a .badge { margin-left: auto; background: var(--danger); color: #fff; font-size: 11px; border-radius: 999px; padding: 0 7px; min-width: 18px; text-align: center; font-weight: 600; }
.sidebar .foot { padding: 14px 18px; font-size: 11px; color: #5C6885; border-top: 1px solid rgba(255,255,255,.07); letter-spacing: .02em; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); padding: 0 26px; height: 58px;
  display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 30;
}
.topbar .crumb { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.topbar .crumb small { color: var(--muted2); font-weight: 400; margin-left: 10px; font-size: 12.5px; }
.topbar .spacer { flex: 1; }
.topbar .who { text-align: right; font-size: 12.5px; line-height: 1.4; }
.topbar .who b { font-size: 13.5px; font-weight: 600; }
.topbar .who .org { color: var(--muted); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 4px 10px -3px rgba(47,84,235,.4);
}
.content { padding: 26px 28px 96px; max-width: 1240px; width: 100%; margin: 0 auto; }

/* ============ 移动端 ============ */
.mob-tabs { display: none; }
@media (max-width: 860px) {
  .sidebar { display: none; }
  .content { padding: 16px 14px 88px; }
  .topbar { padding: 0 14px; height: 54px; }
  .mob-tabs {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
  }
  .mob-tabs a { flex: 1; text-align: center; color: var(--muted); font-size: 11px; padding: 5px 0; border-radius: 10px; position: relative; }
  .mob-tabs a .ic { display: block; font-size: 20px; margin-bottom: 1px; }
  .mob-tabs a.active { color: var(--accent); font-weight: 600; }
  .mob-tabs .badge { position: absolute; margin: -22px 0 0 30px; background: var(--danger); color: #fff; border-radius: 999px; font-size: 10px; padding: 0 5px; }
}

/* ============ 通用组件 ============ */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s;
}
.card .hd { padding: 15px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card .hd b { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.card .hd .spacer { flex: 1; }
.card .bd { padding: 18px 20px; }
.page-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.page-head .sub { color: var(--muted); font-size: 13px; }
.page-head .spacer { flex: 1; }

.btn {
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  border-radius: var(--radius-sm); padding: 8px 15px; font-size: 13.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px; transition: all .15s; box-shadow: var(--shadow-xs);
}
.btn:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: transparent; color: #fff; box-shadow: 0 6px 16px -6px rgba(47,84,235,.5);
}
.btn.primary:hover { filter: brightness(1.06); color: #fff; box-shadow: 0 8px 20px -6px rgba(47,84,235,.6); }
.btn.danger { color: var(--danger); }
.btn.danger:hover { border-color: var(--danger); color: var(--danger); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--accent); padding: 4px 9px; box-shadow: none; }
.btn.ghost:hover { background: var(--accent-soft); transform: none; }
.btn.sm { padding: 5px 11px; font-size: 12.5px; border-radius: 8px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.tag { display: inline-block; font-size: 12px; border-radius: 999px; padding: 2px 10px; border: 1px solid transparent; white-space: nowrap; font-weight: 500; letter-spacing: .01em; }
.tag.blue { background: var(--accent-soft); color: var(--accent-deep); border-color: var(--accent-line); }
.tag.gray { background: #F2F4F7; color: var(--muted); border-color: var(--line); }
.tag.green { background: var(--ok-soft); color: var(--ok); border-color: #A7F3D0; }
.tag.orange { background: var(--warn-soft); color: var(--warn); border-color: #FDE68A; }
.tag.red { background: var(--danger-soft); color: var(--danger); border-color: #FECACA; }
.tag.purple { background: var(--purple-soft); color: var(--purple); border-color: #DDD6FE; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 13px;
  font-size: 12.5px; color: var(--muted); font-weight: 500; transition: all .15s;
}
.chip:hover { border-color: var(--accent-line); color: var(--accent-deep); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.search { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 11px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search input { border: none; outline: none; width: 160px; background: transparent; }

.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th {
  text-align: left; color: var(--muted2); font-weight: 600; font-size: 11.5px; padding: 10px 12px;
  border-bottom: 1px solid var(--line); white-space: nowrap; letter-spacing: .06em; text-transform: uppercase;
}
.tbl td { padding: 12px; border-bottom: 1px solid #F2F4F7; vertical-align: top; }
.tbl tbody tr { transition: background .12s; }
.tbl tr.rowlink { cursor: pointer; }
.tbl tr.rowlink:hover td { background: var(--accent-soft); }
.tbl .code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: var(--accent-deep); white-space: nowrap; letter-spacing: -.01em; }
.empty { padding: 48px; text-align: center; color: var(--muted2); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat .v { font-size: 27px; font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.stat .k { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.stat.clickable { cursor: pointer; }
.stat.clickable:hover { border-color: var(--accent-line); }
.stat-v { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 980px) { .grid2 { grid-template-columns: 1fr; } }

/* 时间轴 */
.timeline { list-style: none; }
.timeline li { position: relative; padding: 0 0 18px 24px; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li:last-child { padding-bottom: 2px; }
.timeline li::before {
  content: ''; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2.5px solid #fff; box-shadow: 0 0 0 2px var(--accent-line);
}
.timeline .t { font-size: 12px; color: var(--muted2); font-variant-numeric: tabular-nums; }
.timeline .a { font-weight: 600; font-size: 13.5px; }
.timeline .d { color: var(--muted); font-size: 12.5px; }

/* 抽屉 */
.drawer-mask { position: fixed; inset: 0; background: rgba(11,18,32,.45); backdrop-filter: blur(2px); z-index: 50; display: flex; justify-content: flex-end; }
.drawer { width: min(700px, 100%); background: #fff; height: 100%; overflow-y: auto; box-shadow: var(--shadow-lg); animation: slidein .22s cubic-bezier(.22,1,.36,1); }
@keyframes slidein { from { transform: translateX(48px); opacity: .3; } to { transform: none; opacity: 1; } }
.drawer .dhd { position: sticky; top: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 18px 22px; display: flex; align-items: flex-start; gap: 10px; z-index: 5; }
.drawer .dhd .tt { font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.drawer .dhd .x { margin-left: auto; border: none; background: none; font-size: 20px; color: var(--muted); padding: 2px 7px; border-radius: 8px; transition: background .15s; }
.drawer .dhd .x:hover { background: var(--bg); }
.drawer .dbd { padding: 20px 22px 44px; }
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 7px 14px; font-size: 13.5px; margin-bottom: 16px; }
.kv .k { color: var(--muted); }
.section-title { font-size: 14px; font-weight: 650; margin: 20px 0 10px; display: flex; align-items: center; gap: 9px; letter-spacing: -.01em; }
.section-title::before { content: ''; width: 4px; height: 16px; background: linear-gradient(180deg, var(--accent), var(--accent-deep)); border-radius: 2px; }
.actions-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }

/* 弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(11,18,32,.5); backdrop-filter: blur(3px); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal { background: #fff; border-radius: 18px; width: 660px; max-width: 100%; max-height: 92vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: pop .2s cubic-bezier(.22,1,.36,1); }
@keyframes pop { from { transform: scale(.97) translateY(6px); opacity: .4; } to { transform: none; opacity: 1; } }
.modal.narrow { width: 470px; }
.modal.wide { width: min(1120px, 96vw); }
.modal .mhd { padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 16.5px; font-weight: 700; display: flex; letter-spacing: -.01em; }
.modal .mhd .x { margin-left: auto; border: none; background: none; font-size: 20px; color: var(--muted); border-radius: 8px; }
.modal .mhd .x:hover { background: var(--bg); }
.modal .mbd { padding: 20px 22px; overflow-y: auto; }
.modal .mft { padding: 15px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }

.form-row { margin-bottom: 14px; }
.form-row > label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.form-row > label .req { color: var(--danger); }
.form-row input[type=text], .form-row input[type=number], .form-row input[type=date], .form-row input[type=datetime-local], .form-row input[type=password],
.form-row select, .form-row textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 9px 12px;
  outline: none; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .form-cols { grid-template-columns: 1fr; } }
.hint { font-size: 12px; color: var(--muted2); margin-top: 4px; }
.err-tip { color: var(--danger); font-size: 12.5px; margin-top: 7px; min-height: 16px; }

/* 附件 */
.file-pill {
  display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft);
  border: 1px solid var(--accent-line); color: var(--accent-deep); border-radius: 9px;
  padding: 5px 11px; font-size: 12.5px; margin: 0 6px 6px 0; font-weight: 500; transition: all .15s;
}
.file-pill:hover { border-color: var(--accent); }
.file-pill a { color: var(--accent-deep); }

/* 进度条 */
.bar { background: #EDF0F4; border-radius: 999px; height: 8px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); border-radius: 999px; transition: width .4s cubic-bezier(.22,1,.36,1); }

/* toast */
#toast { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
#toast .t { background: rgba(16,24,40,.94); backdrop-filter: blur(8px); color: #fff; border-radius: 10px; padding: 10px 20px; font-size: 13.5px; box-shadow: var(--shadow-md); animation: toastin .2s cubic-bezier(.22,1,.36,1); }
@keyframes toastin { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
#toast .t.err { background: var(--danger); }
#toast .t.ok { background: var(--ok); }

.read-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.unread-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.note-box { background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 12px; padding: 12px 15px; font-size: 12.5px; color: var(--accent-deep); margin: 10px 0; }
.rule-box { background: var(--warn-soft); border: 1px solid #FDE68A; border-radius: 12px; padding: 12px 15px; font-size: 12.5px; color: #92400E; margin: 10px 0; }

/* 全局搜索 */
.gsearch { position: relative; }
.gsearch input {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; width: 250px; outline: none;
  background: var(--bg); font-size: 13px; transition: all .18s;
}
.gsearch input:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); width: 300px; }
.gsearch-pop {
  position: absolute; top: 42px; left: 0; width: 400px; max-height: 440px; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  z-index: 80; display: none; padding: 7px;
}
.gs-group { font-size: 11px; color: var(--muted2); padding: 9px 11px 4px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.gs-item { padding: 8px 11px; border-radius: 9px; font-size: 13px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: background .12s; }
.gs-item:hover { background: var(--accent-soft); color: var(--accent-deep); }

/* 分页 */
.pager { display: flex; align-items: center; gap: 6px; justify-content: center; padding: 16px 0 2px; flex-wrap: wrap; }
.pager button { border: 1px solid var(--line); background: #fff; border-radius: 9px; min-width: 32px; height: 32px; font-size: 13px; color: var(--muted); transition: all .15s; }
.pager button:hover { border-color: var(--accent); color: var(--accent-deep); }
.pager button.cur { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.pager button:disabled { opacity: .4; }
.pager .info { font-size: 12px; color: var(--muted2); font-variant-numeric: tabular-nums; }

/* 移动端表格适配 */
@media (max-width: 860px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 8px 12px; background: #fff; box-shadow: var(--shadow-xs); }
  .tbl td { border: none; padding: 5px 2px; }
  .gsearch input { width: 140px; }
  .gsearch input:focus { width: 170px; }
  .gsearch-pop { width: 310px; }
}
