/* ============================================================
   瓶装液化气进销存系统 · H5 前端样式（原生 CSS，无框架依赖）
   ============================================================ */
:root {
  --primary: #1f6feb;
  --primary-soft: #eaf2ff;
  --primary-deep: #1550c0;
  --green: #0f9d58;
  --green-soft: #e8f7ef;
  --orange: #f59e0b;
  --orange-soft: #fff5e3;
  --red: #e11d48;
  --red-soft: #ffecef;
  --text: #16202c;
  --text-2: #5b6b7f;
  --text-3: #8c9aad;
  --line: #e6eaf0;
  --bg: #f4f6fa;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 32, 55, .04), 0 6px 18px rgba(16, 32, 55, .05);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* 兜底：任何元素撑宽都不会让整页横向滚动，避免「边框对不齐」 */
  max-width: 100%;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: .2px; }

/* ---------------- 布局 ---------------- */
.layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 226px;
  flex: 0 0 226px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px 16px;
  border-bottom: 1px solid var(--line);
}
.brand .logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2f86ff, #1f4fd8);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 17px;
  box-shadow: 0 4px 10px rgba(31, 111, 235, .28);
}
.brand b { display: block; font-size: 14.5px; }
.brand small { display: block; color: var(--text-3); font-size: 11.5px; margin-top: 1px; }

.nav { padding: 12px 10px; flex: 1; overflow-y: auto; }
.nav-group {
  font-size: 11px; color: var(--text-3); letter-spacing: 1px;
  padding: 12px 12px 6px; font-weight: 600;
}
.nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; margin-bottom: 2px;
  border-radius: 9px; color: var(--text-2); font-weight: 500;
  transition: .15s;
}
.nav a .ico { width: 18px; text-align: center; font-size: 15px; }
.nav a:hover { background: #f5f7fb; color: var(--text); }
.nav a.on { background: var(--primary-soft); color: var(--primary); font-weight: 650; }

.side-foot {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--text-3);
}

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.topbar h1 { font-size: 17px; }
.topbar .sub { color: var(--text-3); font-size: 12px; margin-top: 1px; }
.topbar-right { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #ffb648, #f97316);
  color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 12px;
}

.content { padding: 20px 24px 40px; max-width: 1320px; width: 100%; }

/* ---------------- 卡片 / 栅格 ---------------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  min-width: 0;
}
.card + .card { margin-top: 16px; }
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 14px;
}
.card-head h3 { font-size: 14.5px; }
.card-head .hint { font-size: 12px; color: var(--text-3); }

.grid { display: grid; gap: 14px; }
/* minmax(0, ...) 是关键：用 1fr 时轨道最小宽度=内容 min-content，
   表格 nowrap 会把整列撑宽，导致卡片溢出屏幕 */
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-2-1 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.mt { margin-top: 16px; }
.mt-s { margin-top: 10px; }

/* ---------------- KPI ---------------- */
.kpi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.kpi .label { font-size: 12.5px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.kpi .label, .kpi .val, .kpi .foot { position: relative; z-index: 1; }
.kpi .val { font-size: 25px; font-weight: 700; margin-top: 6px; letter-spacing: -.4px; }
.kpi .val small { font-size: 13px; font-weight: 600; color: var(--text-2); margin-left: 3px; }
.kpi .foot { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
.kpi::after {
  content: ""; position: absolute; right: -26px; top: -26px;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--primary-soft); opacity: .7;
}
.kpi.k-in::after { background: var(--primary-soft); }
.kpi.k-out::after { background: var(--orange-soft); }
.kpi.k-stock::after { background: var(--green-soft); }
.kpi.k-warn::after { background: var(--red-soft); }
.kpi .ico-badge {
  position: absolute; right: 14px; top: 13px; font-size: 16px; opacity: .85;
}

/* ---------------- 表格 ---------------- */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 0 -18px; padding: 0 18px;
  min-width: 0; max-width: calc(100% + 36px);
}
.tbl { font-size: 13px; white-space: nowrap; }
.tbl th {
  text-align: left; font-weight: 600; color: var(--text-2);
  background: #f7f9fc; padding: 9px 12px; font-size: 12.5px;
  border-bottom: 1px solid var(--line);
}
.tbl th:first-child { border-top-left-radius: 8px; }
.tbl th:last-child { border-top-right-radius: 8px; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid #f0f3f7; }
.tbl tbody tr:hover td { background: #fafcff; }
.tbl tr:last-child td { border-bottom: none; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .strong { font-weight: 650; }
.tbl .mono { font-family: "SF Mono", Consolas, monospace; font-size: 12.5px; color: var(--text-2); }
.link { color: var(--primary); font-weight: 600; }
/* 不允许折行的内容：日期、单据号、金额单位等 */
.nowrap { white-space: nowrap; }
.link:hover { text-decoration: underline; }

.empty { text-align: center; color: var(--text-3); padding: 34px 0; font-size: 13px; }

/* ---------------- 标签 / 按钮 ---------------- */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
  padding: 2px 8px; border-radius: 20px;
  font-size: 11.5px; font-weight: 600; line-height: 1.7;
}
.tag.blue { background: var(--primary-soft); color: var(--primary-deep); }
.tag.green { background: var(--green-soft); color: #0a7a45; }
.tag.orange { background: var(--orange-soft); color: #a2620a; }
.tag.red { background: var(--red-soft); color: #b5123a; }
.tag.gray { background: #f1f3f7; color: var(--text-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--text);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: .15s;
  font-family: inherit; white-space: nowrap;
}
.btn:hover { border-color: #cfd8e6; background: #fafcff; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-deep); }
.btn.danger { color: var(--red); border-color: #f6c7d1; background: #fff; }
.btn.danger:hover { background: var(--red-soft); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 7px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------------- 表单 ---------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.form-grid > * { min-width: 0; }
.field.submit { justify-content: flex-end; align-items: flex-start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.field label .req { color: var(--red); }
input[type=text], input[type=number], input[type=date], input[type=month],
input[type=password], input[type=email], input[type=tel], input[type=search],
select, textarea {
  height: 36px; padding: 0 10px; border: 1px solid #dde4ee; border-radius: 8px;
  background: #fff; font-size: 13px; color: var(--text); font-family: inherit;
  outline: none; transition: .15s; width: 100%;
}
textarea { height: auto; padding: 8px 10px; resize: vertical; min-height: 36px; }
input:focus, select:focus, textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31, 111, 235, .12);
}
/* ------- iOS 兼容：原生 date/month 控件会忽略 width:100%，撑破卡片 -------
   1) min-width:0 解除 Safari 的固有最小宽度锁；
   2) appearance:none 接管原生外观（仅在 iOS 生效，不影响安卓/桌面）；
   3) 文字改左对齐，与其它输入框保持一致（否则 iOS 会居中显示）。        */
input[type=date], input[type=month], input[type=time],
select, textarea { min-width: 0; max-width: 100%; }
@supports (-webkit-touch-callout: none) {
  input[type=date], input[type=month], input[type=time] {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    text-align: left;
    line-height: 34px;
  }
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.filters .field { min-width: 140px; }

/* ---------------- 进度 / 条形 ---------------- */
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12.5px; }
.bar-row .nm { width: 132px; flex: 0 0 132px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { flex: 1; height: 9px; background: #f0f3f8; border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #4b93ff, #1f6feb); }
.bar-fill.orange { background: linear-gradient(90deg, #ffc457, #f59e0b); }
.bar-fill.green { background: linear-gradient(90deg, #4ecb8c, #0f9d58); }
.bar-row .vv { width: 92px; flex: 0 0 92px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* 柱状趋势图（纯 CSS） */
.chart { display: flex; align-items: flex-end; gap: 8px; height: 168px; padding-top: 8px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.chart .bars { display: flex; align-items: flex-end; justify-content: center; gap: 3px; flex: 1; width: 100%; }
.chart .b { width: 42%; max-width: 16px; border-radius: 4px 4px 0 0; min-height: 2px; transition: .3s; }
.chart .b.in { background: linear-gradient(180deg, #5b9bff, #1f6feb); }
.chart .b.out { background: linear-gradient(180deg, #ffc457, #f59e0b); }
.chart .cl { font-size: 10.5px; color: var(--text-3); white-space: nowrap; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--text-2); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.legend .i-in { background: #1f6feb; }
.legend .i-out { background: #f59e0b; }

/* ---------------- 提示条 ---------------- */
.flash {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 9px; margin-bottom: 14px; font-size: 13px;
  border: 1px solid; animation: slide .25s ease;
}
.flash.ok { background: var(--green-soft); border-color: #bfe8d2; color: #0a7a45; }
.flash.err { background: var(--red-soft); border-color: #f8c9d4; color: #b5123a; }
@keyframes slide { from { transform: translateY(-4px); } to { transform: none; } }

/* ---------------- 选项卡 ---------------- */
.tabs { display: flex; gap: 4px; background: #f1f4f9; padding: 4px; border-radius: 10px; width: fit-content; }
.tabs a {
  padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-2);
}
.tabs a.on { background: #fff; color: var(--primary); box-shadow: 0 1px 3px rgba(16, 32, 55, .1); }

/* ---------------- 明细编辑 ---------------- */
.items-table th, .items-table td { padding: 8px 8px; }
.items-table input, .items-table select { height: 34px; }
.items-table td { vertical-align: middle; }
/* 列宽（桌面）：手机端在下方媒体查询里覆盖 */
.items-table .col-prod { min-width: 220px; }
.items-table .col-qty { min-width: 96px; }
.items-table .col-price { min-width: 110px; }
.items-table .col-amt { min-width: 110px; }
.items-table .col-del { width: 44px; }
.row-del {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--red); cursor: pointer; font-size: 15px; line-height: 1;
}
.total-bar {
  display: flex; align-items: center; justify-content: flex-end; gap: 24px;
  padding: 12px 4px 0; border-top: 1px dashed var(--line); margin-top: 12px; font-size: 13px;
}
.total-bar .big { font-size: 21px; font-weight: 700; color: var(--primary); }

/* ---------------- 移动端底部导航 ---------------- */
.tabbar { display: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-2-1 { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .sidebar { display: none; }
  .content { padding: 12px 12px 80px; }
  .topbar { padding: 10px 12px; }
  .topbar h1 { font-size: 15.5px; }
  .topbar .sub { display: none; }
  .card { padding: 13px 13px; }
  /* 移动端取消负外边距：容器严格限制在卡片内部，表格只在卡片内横向滚动 */
  .table-wrap { margin: 0; padding: 0; max-width: 100%; }
  /* 允许换行，四列内容一屏看全，不用左右拖；金额列仍保持不折行 */
  .tbl { font-size: 12px; white-space: normal; }
  .tbl th, .tbl td { padding: 7px 6px; min-width: 44px; }
  .tbl th { white-space: nowrap; }
  .tbl td { word-break: break-word; }
  .tbl .num, .tbl .mono { white-space: nowrap; }
  .tbl .mono { font-size: 11px; }
  .g2 { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  /* iOS 聚焦时会自动放大页面（font-size < 16px 导致），顺手压掉 */
  input[type=text], input[type=number], input[type=date], input[type=month],
  input[type=password], input[type=email], input[type=tel], input[type=search],
  select, textarea { font-size: 16px; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 12px 13px; }
  .kpi .val { font-size: 19px; margin-top: 3px; overflow-wrap: anywhere; }
  .kpi .val small { font-size: 11.5px; }
  .kpi .foot { font-size: 11px; }
  .kpi::after { width: 58px; height: 58px; right: -20px; top: -20px; }
  .kpi .ico-badge { font-size: 13px; top: 10px; right: 10px; }
  .chart { height: 140px; gap: 4px; }
  .chart .cl { font-size: 9px; }
  .bar-row .nm { width: 92px; flex: 0 0 92px; font-size: 12px; }
  .bar-row .vv { width: 74px; flex: 0 0 74px; font-size: 12px; }

  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 10.5px; color: var(--text-3); padding: 3px 0;
  }
  .tabbar a .ico { font-size: 17px; line-height: 1; }
  .tabbar a.on { color: var(--primary); font-weight: 700; }
  .items-table { font-size: 12px; }
  .items-table th, .items-table td { padding: 6px 5px; }
  /* 手机上一屏填完，不再横向滚动：隐藏行金额（底部已有合计），压缩列宽 */
  .items-table th, .items-table td { min-width: 0; }
  .items-table .col-prod { min-width: 128px; }
  .items-table .col-qty { min-width: 58px; width: 58px; }
  .items-table .col-price { min-width: 72px; width: 72px; }
  .items-table .col-amt { display: none; }
  .items-table .col-del { width: 32px; min-width: 32px; }
}

/* ================= 登录页 ================= */
.login-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: radial-gradient(1100px 620px at 12% -10%, #e8f1ff 0%, #f4f6fa 46%, #eef2f8 100%);
}
.login-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 28px;
}

/* 左侧品牌区 */
.login-hero { padding-right: 8px; }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.login-brand .logo.lg {
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(135deg, #2f86ff, #1f4fd8);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 800;
  box-shadow: 0 8px 20px rgba(31, 111, 235, .28);
}
.login-brand b { display: block; font-size: 17px; letter-spacing: .3px; }
.login-brand small { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.login-hero h2 {
  margin: 0 0 22px; font-size: 27px; line-height: 1.45; letter-spacing: .5px;
  color: #12233a;
}
.login-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.login-points li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--text-2);
}
.login-points li span {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px;
  background: #fff; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.login-copy { margin: 0; font-size: 12.5px; color: var(--text-3); }

/* 右侧表单 */
.login-panel { min-width: 0; }
.login-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 30px 26px; box-shadow: 0 10px 34px rgba(20, 40, 70, .09);
}
.login-card h1 { margin: 0 0 6px; font-size: 20px; }
.login-sub { margin: 0 0 20px; font-size: 12.5px; color: var(--text-3); }
.login-card .field { margin-bottom: 14px; }
.login-card .field label { margin-bottom: 2px; }
.pwd-wrap { position: relative; display: flex; }
.pwd-wrap input { padding-right: 42px; }
.pwd-eye {
  position: absolute; right: 4px; top: 4px; width: 32px; height: 28px;
  border: 0; background: transparent; cursor: pointer; font-size: 14px;
  color: var(--text-3); border-radius: 7px;
}
.pwd-eye:active { background: var(--primary-soft); }

.remember {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--text-2); margin: 2px 0 18px; cursor: pointer;
}
.remember input { width: 15px; height: 15px; accent-color: var(--primary); margin: 0; }

.login-btn { width: 100%; height: 42px; font-size: 15px; letter-spacing: 3px; }

.login-demo {
  margin-top: 20px; padding: 12px 14px; border-radius: 10px;
  background: #f7f9fc; border: 1px dashed #d9e2ee; font-size: 12px; color: var(--text-2);
}
.login-demo b { display: block; color: var(--text); font-size: 12px; margin-bottom: 7px; }
.login-demo div { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.login-demo code {
  font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--primary-deep);
  background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px;
}
.login-foot { text-align: center; font-size: 11.5px; color: var(--text-3); margin: 16px 0 0; }

/* 平板 / 手机：单列，品牌区收起为顶部标题 */
@media (max-width: 860px) {
  .login-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px; padding: 28px 16px 34px; align-content: center;
  }
  .login-hero { padding-right: 0; text-align: center; }
  .login-brand { justify-content: center; margin-bottom: 0; }
  .login-hero h2, .login-points, .login-copy { display: none; }
  .login-card { padding: 22px 18px 20px; border-radius: 14px; }
  .login-card h1 { font-size: 18px; text-align: center; }
  .login-sub { text-align: center; }
  .login-btn { height: 46px; }
  .login-demo { font-size: 11.5px; }
}

/* 顶栏用户区 */
.topbar-user { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar-user .avatar { flex: 0 0 32px; }
.tu-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.tu-meta b { font-size: 12.5px; color: var(--text); white-space: nowrap; }
.tu-meta small { font-size: 10.5px; color: var(--text-3); }
.tu-out { height: 26px; padding: 0 9px; font-size: 11.5px; color: var(--text-2); }
.tu-out:hover { color: var(--red); border-color: #f6c7d1; background: var(--red-soft); }
@media (max-width: 760px) {
  .tu-meta { display: none; }
  .tu-out { height: 24px; padding: 0 8px; }
}

/* ================= 账号管理 ================= */
.tu-meta { text-decoration: none; }
.tu-meta:hover b { color: var(--primary); }
a.avatar { text-decoration: none; }
a.avatar:hover { filter: brightness(1.06); }
.note { margin: 0; font-size: 13px; line-height: 1.75; color: var(--text-2); }
.note b { color: var(--text); }
.check {
  display: inline-flex; align-items: center; gap: 7px; height: 36px;
  font-size: 13px; font-weight: 500; color: var(--text); cursor: pointer;
}
.check input { width: 16px; height: 16px; accent-color: var(--primary); }
.hint-inline { font-weight: 400; font-size: 11.5px; color: var(--text-3); }
.tbl .col-tag, .tbl .col-date { white-space: nowrap; }
.tbl tr.muted td, .tbl tr.muted .mono { color: var(--text-3); }
.tbl td .tag { margin-left: 4px; }
@media (max-width: 760px) {
  /* 手机端账号列表：隐藏「最近登录」列，角色/状态用标签紧凑显示，一屏看全不用横拖 */
  .users-tbl .col-date { display: none; }
  .users-tbl th, .users-tbl td { padding: 7px 4px; }
  .users-tbl .btn.sm { padding: 0 7px; }
  .check { height: 30px; }
  .note { font-size: 12.5px; }
}
