* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background: #f5f7fa;
  color: #1f2d3d;
  font-size: 14px;
}
.hidden { display: none !important; }
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 21, 41, 0.06);
}
.btn {
  border: none;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 14px;
  cursor: pointer;
  background: #f0f2f5;
  color: #606266;
}
.btn.primary { background: #409eff; color: #fff; }
.btn.primary:hover { background: #66b1ff; }
.btn.danger { background: #f56c6c; color: #fff; }
.btn.warn { background: #e6a23c; color: #fff; }
.btn.ok { background: #67c23a; color: #fff; }
.btn.ghost { background: #fff; border: 1px solid #dcdfe6; }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn.block { width: 100%; padding: 11px 0; font-size: 15px; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- 登录 ---------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef5ff 0%, #f5f7fa 100%);
  padding: 20px;
}
.login-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 21, 41, .1);
  padding: 36px 32px 26px;
  text-align: center;
}
.login-logo {
  width: 60px; height: 60px; line-height: 60px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: #409eff; color: #fff;
  font-size: 28px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(64, 158, 255, .35);
}
.login-card h1 { font-size: 21px; margin-bottom: 6px; }
.login-sub { font-size: 13px; color: #909399; margin-bottom: 26px; }
.fld { display: block; text-align: left; font-size: 13px; color: #606266; margin-bottom: 14px; }
.fld input {
  display: block; width: 100%; margin-top: 6px;
  border: 1px solid #dcdfe6; border-radius: 6px;
  padding: 10px 12px; font-size: 14px; outline: none;
}
.fld input:focus { border-color: #409eff; }
.login-tip { margin-top: 16px; font-size: 12px; color: #c0c4cc; line-height: 1.6; }
.login-ver { margin-top: 10px; font-size: 12px; color: #dcdfe6; font-family: Consolas, monospace; }

/* ---------- 顶栏 ---------- */
.topbar {
  height: 56px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 21, 41, .06);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.tb-brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.tb-logo {
  width: 30px; height: 30px; line-height: 30px; text-align: center;
  border-radius: 8px; background: #409eff; color: #fff; font-size: 15px;
}
.tb-nav { display: flex; gap: 8px; flex: 1; }
.tb-nav a {
  text-decoration: none; color: #606266; font-size: 14px;
  padding: 7px 14px; border-radius: 6px;
}
.tb-nav a.active { background: #ecf5ff; color: #409eff; font-weight: 600; }
.tb-right { display: flex; align-items: center; gap: 12px; }
.whoami { font-size: 13px; color: #909399; }

/* ---------- 页面容器 ---------- */
.view { max-width: 1280px; margin: 0 auto; padding: 20px 24px 60px; }

/* 统计条 */
.statbar { display: flex; margin-bottom: 16px; }
.statbar .stat { flex: 1; text-align: center; padding: 16px 0; }
.statbar .stat + .stat { border-left: 1px solid #f0f2f5; }
.statbar .num { font-size: 26px; font-weight: 700; line-height: 1.2; }
.statbar .lbl { font-size: 12px; color: #909399; margin-top: 4px; }

/* 工具栏 */
.toolbar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; margin-bottom: 16px; flex-wrap: wrap; }
.search {
  flex: 0 0 260px; border: 1px solid #dcdfe6; border-radius: 6px;
  padding: 9px 12px; font-size: 14px; outline: none;
}
.search:focus { border-color: #409eff; }
.chk { font-size: 13px; color: #606266; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.sync { margin-left: auto; font-size: 12px; color: #c0c4cc; }

/* 线别分区 */
.line-group { margin-bottom: 8px; }
.line-head {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; margin-bottom: 12px;
  border-left: 4px solid transparent; border-radius: 8px;
  cursor: pointer; user-select: none;
}
.line-head .dot { width: 9px; height: 9px; border-radius: 50%; }
.line-head .name { font-size: 15px; font-weight: 700; }
.line-head .meta { font-size: 12px; color: #909399; }
.line-head .caret { margin-left: auto; font-size: 12px; color: #909399; flex-shrink: 0; }
.line-head:hover { filter: brightness(.97); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }

/* 车站卡片 */
.st-card {
  padding: 14px 16px 6px;
  border-top: 3px solid #409eff;
  overflow: hidden;
}
.st-card .head { display: flex; justify-content: space-between; align-items: center; }
.st-card .sname { font-size: 16px; font-weight: 700; }
.st-card .code {
  font-size: 11px; color: #909399; background: #f4f4f5;
  border: 1px solid #e9e9eb; border-radius: 4px; padding: 1px 7px; margin-left: 8px;
}
.st-card .staff { font-size: 12px; color: #909399; }
.st-row { display: flex; margin-top: 10px; }
.st-row .lb { width: 62px; flex-shrink: 0; font-size: 12px; color: #909399; line-height: 2; }
.st-row.cons .lb { color: #e6a23c; font-weight: 600; }
.st-row .tags { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center;
  font-size: 12px; border-radius: 4px; padding: 2px 8px; line-height: 1.7;
}
.tag.b { background: #ecf5ff; color: #409eff; border: 1px solid #d9ecff; }
.tag.i { background: #f4f4f5; color: #909399; border: 1px solid #e9e9eb; }
.tag.w { background: #fdf6ec; color: #e6a23c; border: 1px solid #faecd8; }
.tag.wd { background: #e6a23c; color: #fff; }
.tag.d { background: #fef0f0; color: #f56c6c; border: 1px solid #fde2e2; }
.tag.urg { background: #f56c6c; color: #fff; border: 1px solid #f56c6c; font-weight: 700; }
.tag .ph { opacity: .8; margin-left: 5px; font-family: Consolas, monospace; font-size: 11px; }
.tag.clk { cursor: pointer; }

/* ---------- 客站维保 ---------- */
.fj-head { padding: 14px 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fj-tabs { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.fj-tabs .tab {
  font-size: 13px; padding: 6px 14px; border-radius: 6px; cursor: pointer; color: #606266;
}
.fj-tabs .tab.active { background: #ecf5ff; color: #409eff; font-weight: 600; }
.fj-tabs .tab .badge {
  display: inline-block; background: #f56c6c; color: #fff;
  font-size: 11px; border-radius: 8px; padding: 0 6px; margin-left: 5px;
}
.fj-actions { display: flex; gap: 8px; }

.order {
  padding: 16px 20px; margin-bottom: 12px; cursor: pointer;
  border-left: 4px solid transparent; transition: box-shadow .15s;
}
.order:hover { box-shadow: 0 3px 14px rgba(0, 21, 41, .1); }
.order .o1 { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order .no { font-size: 12px; color: #909399; font-family: Consolas, monospace; }
.order .st { font-size: 13px; font-weight: 700; border: 1px solid; border-radius: 4px; padding: 1px 9px; white-space: nowrap; }
.order .desc { font-size: 15px; margin: 8px 0 6px; line-height: 1.5; }
.order .meta { font-size: 12px; color: #909399; display: flex; gap: 8px; flex-wrap: wrap; }
.order .foot { font-size: 12px; color: #c0c4cc; margin-top: 8px; display: flex; justify-content: space-between; }

.empty { text-align: center; padding: 60px 0; color: #909399; }

/* ---------- 弹窗 ---------- */
.mask {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, .45); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal {
  background: #fff; border-radius: 12px; width: 100%; max-width: 620px;
  max-height: 88vh; display: flex; flex-direction: column; overflow: hidden;
}
.modal.wide { max-width: 860px; }
.modal-head {
  padding: 18px 24px; border-bottom: 1px solid #f0f2f5;
  display: flex; justify-content: space-between; align-items: center;
}
.modal-head h3 { font-size: 17px; }
.modal-head .x { cursor: pointer; color: #c0c4cc; font-size: 20px; line-height: 1; padding: 2px 8px; }
.modal-body { padding: 20px 24px; overflow-y: auto; }
.modal-foot { padding: 14px 24px; border-top: 1px solid #f0f2f5; display: flex; justify-content: flex-end; gap: 10px; }

.mfld { margin-bottom: 16px; }
.mfld > label { display: block; font-size: 13px; color: #606266; margin-bottom: 6px; }
.mfld > label .req { color: #f56c6c; margin-right: 2px; }
.mfld input[type=text], .mfld input[type=number], .mfld select, .mfld textarea {
  width: 100%; border: 1px solid #dcdfe6; border-radius: 6px;
  padding: 9px 12px; font-size: 14px; outline: none; font-family: inherit;
}
.mfld textarea { min-height: 88px; resize: vertical; }
.mfld input:focus, .mfld select:focus, .mfld textarea:focus { border-color: #409eff; }
.row2 { display: flex; gap: 14px; }
.row2 > * { flex: 1; }

.photos { display: flex; flex-wrap: wrap; gap: 10px; }
.photos .p { position: relative; width: 84px; height: 84px; }
.photos .p img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; border: 1px solid #ebeef5; }
.photos .p .del {
  position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; line-height: 18px;
  text-align: center; background: #f56c6c; color: #fff; border-radius: 50%; cursor: pointer; font-size: 14px;
}
.photos .add {
  width: 84px; height: 84px; border: 1px dashed #dcdfe6; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; color: #c0c4cc;
  cursor: pointer; font-size: 22px;
}
.photos .add:hover { border-color: #409eff; color: #409eff; }

.kv { display: flex; gap: 14px; padding: 7px 0; font-size: 14px; }
.kv .k { width: 76px; flex-shrink: 0; color: #909399; }
.kv .v { flex: 1; word-break: break-all; }
.kv .v.pre { white-space: pre-wrap; }
.link { color: #409eff; cursor: pointer; }

.timeline { padding-left: 6px; margin-top: 6px; }
.tl { position: relative; padding: 0 0 16px 22px; border-left: 2px solid #ebeef5; }
.tl:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl .dot { position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #409eff; }
.tl .th { display: flex; justify-content: space-between; font-size: 13px; }
.tl .act { font-weight: 600; }
.tl .tm { color: #c0c4cc; font-size: 12px; }
.tl .op { font-size: 12px; color: #909399; }
.tl .note { font-size: 13px; color: #606266; background: #f5f7fa; border-radius: 6px; padding: 6px 10px; margin-top: 5px; }
.sec-title { font-size: 14px; font-weight: 700; margin: 18px 0 6px; }
.sec-title:first-child { margin-top: 0; }

/* Toast */
#toastRoot { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 200; }
.toast {
  background: rgba(0, 0, 0, .78); color: #fff; font-size: 13px;
  border-radius: 6px; padding: 9px 18px; margin-bottom: 8px; text-align: center;
}
.toast.ok { background: #67c23a; }
.toast.err { background: #f56c6c; }

/* 用户管理表格 */
table.ut { width: 100%; border-collapse: collapse; font-size: 13px; }
table.ut th, table.ut td { padding: 9px 8px; border-bottom: 1px solid #f2f4f7; text-align: left; }
table.ut th { color: #909399; font-weight: 500; }
table.ut .tag { font-size: 11px; }

/* ---------- 值班排班日历 ---------- */
.dc-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.dc-nav {
  width: 32px; height: 32px; line-height: 30px; text-align: center;
  border: 1px solid #dcdfe6; border-radius: 6px; background: #fff; cursor: pointer; font-size: 18px; color: #606266;
}
.dc-month { font-size: 17px; font-weight: 700; min-width: 110px; text-align: center; }
.dc-link { color: #409eff; cursor: pointer; font-size: 13px; }
.dc-select { border: 1px solid #dcdfe6; border-radius: 6px; padding: 6px 10px; font-size: 13px; outline: none; }
.dc-bar .grow { flex: 1; }
.dc-tip { font-size: 12px; color: #c0c4cc; }

.dc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dc-wd { text-align: center; font-size: 12px; color: #909399; padding: 4px 0; }
.dc-cell {
  min-height: 92px; border: 1px solid #ebeef5; border-radius: 8px; padding: 6px 7px;
  background: #fff; overflow: hidden;
}
.dc-cell.blank { border: none; background: transparent; }
.dc-cell.weekend { background: #fafbfc; }
.dc-cell.today { border-color: #409eff; box-shadow: 0 0 0 1px #409eff inset; }
.dc-cell.clickable { cursor: pointer; }
.dc-cell.clickable:hover { border-color: #409eff; }
.dc-daynum { font-size: 12px; color: #606266; margin-bottom: 4px; }
.dc-daynum.on {
  display: inline-block; background: #409eff; color: #fff; border-radius: 50%;
  width: 20px; height: 20px; line-height: 20px; text-align: center; font-weight: 600;
}
.dc-names { display: flex; flex-wrap: wrap; gap: 3px; }
.dc-tag {
  font-size: 11px; background: #ecf5ff; color: #409eff; border-radius: 4px;
  padding: 0 5px; line-height: 1.6; max-width: 100%;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.dc-constr { margin-top: 3px; font-size: 10px; color: #e6a23c; line-height: 1.4; }
.dc-constr .ctime { color: #b88230; font-weight: 600; margin-left: 3px; }
.dc-plus { color: #dcdfe6; font-size: 16px; text-align: center; line-height: 3; }

.dc-label { font-size: 13px; font-weight: 600; color: #606266; margin: 14px 0 8px; }
.dc-label.warn { color: #e6a23c; }
.dc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-ptag {
  font-size: 13px; padding: 5px 12px; border-radius: 6px; cursor: pointer;
  background: #f4f4f5; color: #606266; border: 1px solid #e9e9eb;
}
.dc-ptag.on { background: #ecf5ff; color: #409eff; border-color: #409eff; }
.dc-ptag.on.warn { background: #fdf6ec; color: #e6a23c; border-color: #e6a23c; }
.dc-ptag .pos { font-size: 12px; color: #909399; }
.dc-ptag.on .pos { color: #409eff; }
.dc-ptag.on.warn .pos { color: #e6a23c; }
.dc-timerow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.dc-timerow input[type=time], .dc-timerow input[type=date] {
  border: 1px solid #dcdfe6; border-radius: 6px; padding: 6px 8px; font-size: 13px; outline: none;
}
.dc-hint { font-size: 12px; color: #909399; margin-bottom: 10px; }
.dc-weekdays { display: flex; gap: 8px; }
.dc-wd2 {
  width: 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 50%;
  background: #f4f4f5; color: #606266; border: 1px solid #e9e9eb; cursor: pointer; font-size: 13px;
}
.dc-wd2.on { background: #ecf5ff; color: #409eff; border-color: #409eff; }
.dc-switch { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #606266; margin: 14px 0 6px; }

/* ============================================
   手机适配（≤768px）：纯响应式，不改任何 JS
   - 顶栏变两行：品牌+账号一行，导航条横向滑动
   - 弹窗变底部抽屉（全宽、顶部圆角）
   - 表格/排班日历 横向滚动
   - 输入框 16px 防 iOS 聚焦自动放大
   ============================================ */
@media (max-width: 768px) {
  body { -webkit-tap-highlight-color: transparent; }

  /* 顶栏：两行布局 */
  .topbar {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 12px;
    gap: 6px 10px;
  }
  .tb-brand { font-size: 15px; }
  .tb-right { margin-left: auto; gap: 8px; }
  .whoami { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tb-nav {
    order: 3;
    flex: 1 0 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .tb-nav::-webkit-scrollbar { display: none; }
  .tb-nav a { flex-shrink: 0; padding: 8px 12px; }

  /* 页面容器收窄 */
  .view { padding: 12px 12px calc(40px + env(safe-area-inset-bottom)); }

  /* 工具栏：搜索框独占一行 */
  .toolbar { gap: 10px; padding: 12px; }
  .search { flex: 1 1 100%; }

  /* 统计条数字缩小 */
  .statbar .stat { padding: 12px 0; }
  .statbar .num { font-size: 20px; }

  /* 车站卡片：单列 */
  .grid { grid-template-columns: 1fr; gap: 10px; }

  /* 弹窗：底部抽屉 */
  .mask { padding: 0; align-items: flex-end; }
  .modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px 14px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .modal-head { padding: 14px 16px; }
  .modal-head h3 { font-size: 16px; }
  .modal-head .x { padding: 6px 10px; }
  .modal-body { padding: 14px 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .modal-foot { padding: 12px 16px; }
  .modal-foot .btn { flex: 1; }

  /* 表单两列并一列 */
  .row2 { flex-direction: column; gap: 0; }

  /* 表格：横向滚动 */
  table.ut { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }

  /* 排班日历：7 列保持，整体横向滚动 */
  .dc-grid { min-width: 620px; }
  .dc-bar { gap: 6px; }
  .dc-month { font-size: 15px; min-width: 92px; }
  .dc-ptag { padding: 8px 12px; }

  /* 触控目标加大 */
  .btn { padding: 10px 16px; }
  .btn.sm { padding: 8px 12px; }
  .chk input[type="checkbox"] { width: 16px; height: 16px; }

  /* 输入框 16px：防止 iOS 聚焦时页面自动放大 */
  .fld input, .search,
  .mfld input[type=text], .mfld input[type=number], .mfld select, .mfld textarea,
  .dc-timerow input[type=time], .dc-timerow input[type=date],
  .dc-select { font-size: 16px; }

  /* 工单卡片与照片 */
  .order { padding: 14px; }
  .photos .p, .photos .add { width: 76px; height: 76px; }
}

/* ============ v2.1.0 查看版新增 ============ */
.tb-title { font-size: 16px; font-weight: 600; color: #1f2430; white-space: nowrap; }
.tb-link {
  background: none;
  border: none;
  color: #606266;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
.tb-link.active { background: #ecf5ff; color: #409eff; font-weight: 600; }
.tb-link:hover { background: #f5f7fa; }

.main { max-width: 1280px; margin: 0 auto; padding: 0 0 60px; }

.fld-input {
  padding: 8px 10px;
  border: 1px solid #d6dbe3;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: #1f2430;
}
.fld-input:focus { outline: 2px solid #3b82f633; border-color: #3b82f6; }
.date-pick { width: 150px; }
.search { flex: 0 1 220px; min-width: 140px; }

.muted { color: #7a8194; font-size: 13px; }
.spacer { flex: 1; }
.summary-line { margin: 10px 2px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.duty-card { padding: 14px 16px; border: 1px solid #e4e8ef; border-radius: 10px; background: #fff; }
.duty-card h3 { margin: 0 0 10px; font-size: 16px; color: #1f2430; }
.duty-line { display: flex; align-items: baseline; gap: 8px; margin: 6px 0; font-size: 14px; line-height: 1.5; }
.duty-label {
  flex: 0 0 auto;
  background: #e8f1ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}
.duty-label.label-mon { background: #fff4e0; color: #b45309; }
.duty-val { color: #1f2430; word-break: break-all; }

.login-err { color: #dc2626; font-size: 13px; margin: 8px 0 0; text-align: center; }

.log-list { margin: 0; padding-left: 18px; max-height: 320px; overflow: auto; }
.log-list li { margin: 4px 0; font-size: 13px; color: #333; }

.modal { position: fixed; left: 50%; top: 14%; transform: translateX(-50%); background: #fff; border-radius: 12px; padding: 18px 20px; width: min(520px, 92vw); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18); z-index: 101; }
.modal-close { margin-top: 12px; }

#viewAdmin .card { max-width: 460px; margin: 0 auto 14px; padding: 16px 18px; }
#viewAdmin .card h3 { margin: 0 0 10px; }

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .toolbar { flex-wrap: wrap; gap: 8px; }
}

/* ============ v2.1.1 内网同款卡片风格 ============ */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.stat-card2 {
  background: #fff; border-radius: 10px; box-shadow: 0 1px 6px rgba(0, 21, 41, .06);
  padding: 18px 20px; display: flex; align-items: center; gap: 14px;
}
.stat-card2 .ico { font-size: 30px; line-height: 1; }
.stat-card2 .num { font-size: 26px; font-weight: 700; color: #1f2d3d; line-height: 1.1; }
.stat-card2 .lbl { font-size: 13px; color: #909399; margin-top: 4px; }

#viewZhiban .toolbar { padding: 2px 0; }
#viewZhiban .st-card {
  cursor: default;
  background: linear-gradient(180deg, rgba(64, 158, 255, .06) 0%, #fff 45%);
  border-top: 3px solid #409eff;
  transition: transform .15s, box-shadow .15s;
  padding-bottom: 12px;
}
#viewZhiban .st-card:hover { transform: translateY(-2px); box-shadow: 0 3px 14px rgba(0, 21, 41, .12); }
#viewZhiban .st-card .sname { color: #409eff; }
#viewZhiban .st-row .lb { line-height: 1.9; }
#viewZhiban .empty {
  background: #fff; border-radius: 10px; box-shadow: 0 1px 6px rgba(0, 21, 41, .06);
  padding: 50px 20px; font-size: 14px;
}

@media (max-width: 640px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card2 { padding: 12px 14px; gap: 10px; }
  .stat-card2 .num { font-size: 20px; }
  .stat-card2 .ico { font-size: 24px; }
}

/* ---------- v2.1.2：文件选择输入框兼容性（视觉隐藏但保持可渲染，防部分内嵌浏览器不弹选择器） ---------- */
.vh{position:absolute!important;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0);}

/* v2.1.4：label 型导入按钮 + 拖拽导入 */
#importBtn{cursor:pointer;user-select:none}
#importBtn:hover{filter:brightness(.96)}

/* ===== v2.1.7 拖拽导入区 ===== */
#dropZone{border:2px dashed #b9c6d6;border-radius:10px;padding:16px;text-align:center;color:#7a8798;background:#fbfdff;cursor:pointer;user-select:none;margin:10px 0 12px;font-size:14px}
#dropZone b{color:#409eff}
#dropZone.dragover{border-color:#409eff;background:#ecf5ff;color:#409eff}

/* ===== v2.1.8 手机端仅查看：隐藏导入相关入口 ===== */
@media (max-width: 768px){
  #importBtn,#logBtn,#dropZone{display:none !important}
}
