/* ============================================================
 * 智能询问笔录系统 - 全局样式（仿 Arco Design Pro）
 * 主色 #165DFF，卡片白底圆角8px，阴影 0 2px 8px rgba(0,0,0,.06)
 * ============================================================ */

:root {
  --primary: #165dff;
  --primary-hover: #4080ff;
  --primary-active: #0e42d2;
  --success: #00b42a;
  --warning: #ff7d00;
  --danger: #f53f3f;
  --danger-hover: #f76560;
  --text-1: #1d2129;
  --text-2: #4e5969;
  --text-3: #86909c;
  --text-4: #c9cdd4;
  --border: #e5e6eb;
  --bg-page: #f2f3f5;
  --bg-fill: #f7f8fa;
  --sidebar-bg: #232324;
  --sidebar-text: #c9cdd4;
  --radius-card: 8px;
  --radius-btn: 4px;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --header-h: 56px;
  --sidebar-w: 220px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--text-1);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

#app { min-height: 100vh; }

a { color: var(--primary); text-decoration: none; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #c9cdd4; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--text-2);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  user-select: none;
}
.btn:hover { color: var(--primary); border-color: var(--primary); background: #f2f6ff; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.btn-primary:active { background: var(--primary-active); }

.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger-hover); border-color: var(--danger-hover); color: #fff; }

.btn-text {
  border: none;
  background: transparent;
  color: var(--primary);
  height: auto;
  padding: 0 4px;
}
.btn-text:hover { background: transparent; color: var(--primary-hover); }
.btn-text.btn-text-danger { color: var(--danger); }
.btn-text.btn-text-danger:hover { color: var(--danger-hover); }

.btn-sm { height: 26px; padding: 0 10px; font-size: 13px; }

/* 按钮加载态 */
.btn.is-loading { pointer-events: none; opacity: 0.8; }
.btn.is-loading::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- 表单 ---------------- */
.form-item { margin-bottom: 18px; }
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-2);
}
.form-label .req { color: var(--danger); margin-right: 2px; }

.input, .select, .textarea {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--text-1);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:hover, .select:hover, .textarea:hover { border-color: #c9cdd4; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.12);
}
.input:disabled { background: var(--bg-fill); color: var(--text-3); cursor: not-allowed; }

.textarea {
  height: auto;
  min-height: 84px;
  padding: 8px 12px;
  resize: vertical;
  line-height: 1.6;
}

.form-tip { margin-top: 4px; font-size: 12px; color: var(--text-3); }
.form-row { display: flex; gap: 16px; }
.form-row .form-item { flex: 1; }

/* 复选框组 */
.checkbox-group { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-2);
  font-size: 14px;
}
.checkbox-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* 开关 */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  vertical-align: middle;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute;
  inset: 0;
  background: #c9cdd4;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.2s;
}
.switch .slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider::before { transform: translateX(18px); }

/* ---------------- 卡片 ---------------- */
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
}
.card + .card { margin-top: 16px; }
.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------- 表格 ---------------- */
.table-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.table-toolbar .spacer { flex: 1; }
.table-toolbar .input { width: 240px; }
.table-toolbar .select { width: 160px; }

/* 可创建用户数提示（单位端用户管理页 / 平台端单位用户管理弹窗） */
.quota-hint {
  font-size: 12px;
  line-height: 1.6;
  color: var(--primary);
  background: #eef4ff;
  border: 1px solid #c7dbff;
  border-radius: 4px;
  padding: 3px 9px;
  white-space: nowrap;
}
/* 达到上限时的提示样式 */
.quota-hint.is-full {
  color: var(--warning);
  background: #fff7e8;
  border-color: #ffd591;
}
/* 表格单元格内的补充说明（如剩余名额） */
.quota-sub { font-size: 12px; color: var(--text-3); margin-left: 2px; }

/* 工具条内的数据安全提示：置于搜索框之后、备份按钮之前 */
.toolbar-notice {
  font-size: 12px;
  line-height: 1.6;
  color: var(--warning);
  /* 可收缩并在内部折行，避免长文案把右侧按钮挤到下一行 */
  flex: 0 1 auto;
  min-width: 0;
  max-width: 520px;
  margin-right: 4px;
}
/* 右侧操作按钮组：始终保持单行，不被提示文案压缩 */
.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.table-wrap { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
/* 列较多且多为固定宽度的列表（平台端单位管理）：设最小宽度，
   使「单位名称」列不被压缩成竖排，容器不足时由 .table-wrap 横向滚动 */
#units-table .table { min-width: 1420px; }
.table th {
  background: var(--bg-fill);
  color: var(--text-2);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-1);
  vertical-align: middle;
}
.table tbody tr:hover { background: #f7f9ff; }
.table .col-actions { white-space: nowrap; }
.table .col-actions .btn-text + .btn-text { margin-left: 6px; }

/* ---------------- 徽标 ---------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge-green { color: var(--success); background: #e8ffea; }
.badge-gray { color: var(--text-3); background: var(--bg-page); }
.badge-red { color: var(--danger); background: #ffece8; }
.badge-blue { color: var(--primary); background: #e8f1ff; }
.badge-orange { color: var(--warning); background: #fff7e8; }

/* ---------------- 分页 ---------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.pagination .total { margin-right: auto; color: var(--text-3); font-size: 13px; }
.page-btn {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--text-2);
  cursor: pointer;
  font-size: 13px;
}
.page-btn:hover:not(:disabled) { color: var(--primary); border-color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn:disabled { color: var(--text-4); cursor: not-allowed; background: var(--bg-fill); }
.page-ellipsis { color: var(--text-3); padding: 0 2px; }

/* ---------------- 空态 / 加载态 ---------------- */
.empty {
  padding: 48px 0;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}
.empty::before {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: var(--bg-page);
  border-radius: 50%;
  -webkit-mask: none;
  position: relative;
}
.loading-box {
  padding: 48px 0;
  text-align: center;
  color: var(--text-3);
}
.loading-box::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -5px;
  margin-right: 8px;
}

/* ---------------- 弹窗 ---------------- */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(29, 33, 41, 0.5);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 60px 16px;
  animation: fadeIn 0.15s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
  width: 520px;
  max-width: 100%;
  animation: slideDown 0.18s ease;
}
@keyframes slideDown { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-lg { width: 720px; }
/* 长表单弹窗（如接口配置）：放宽可视高度，减少滚动 */
.modal-tall .modal-body { max-height: 78vh; }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-title { font-size: 16px; font-weight: 600; }
.modal-close {
  border: none;
  background: none;
  font-size: 18px;
  color: var(--text-3);
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
}
.modal-close:hover { color: var(--text-1); background: var(--bg-fill); }
.modal-body { padding: 20px; max-height: 62vh; overflow-y: auto; }
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

/* ---------------- Toast ---------------- */
.toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  color: var(--text-1);
  animation: toastIn 0.2s ease;
  max-width: 70vw;
}
@keyframes toastIn { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
.toast.is-leaving { opacity: 0; transform: translateY(-8px); transition: all 0.25s; }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.toast-success .dot { background: var(--success); }
.toast-error .dot { background: var(--danger); }
.toast-info .dot { background: var(--primary); }

/* ---------------- 登录页 ---------------- */
.login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0e42d2 0%, #165dff 45%, #4080ff 100%);
  padding: 24px;
  box-sizing: border-box;
}
.login-card {
  width: 400px;
  max-width: 100%;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  padding: 36px 36px 28px;
}
.login-brand { text-align: center; margin-bottom: 24px; }
/* 登录页副标题：区分单位端 / 平台端 */
.login-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin: -4px 0 16px;
}

.login-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-title { font-size: 20px; font-weight: 600; }

/* 标签页 */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.tab {
  padding: 8px 4px;
  margin-right: 24px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

.login-btn { width: 100%; height: 38px; font-size: 15px; margin-top: 4px; }
.login-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  padding: 0 16px;
  box-sizing: border-box;
}

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

/* 侧边栏 */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  flex: none;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  transition: transform 0.2s ease;
}
.sidebar-brand {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex: none;
}
.sidebar-brand .logo-box {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex: none;
}
.sidebar-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 侧边栏品牌区：单位 Logo + 平台名称 + 单位名称 */
.sidebar-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
  background: #fff;
}
.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.sidebar-brand-title {
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-brand-sub {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------- 单位 Logo 上传控件 ---------------- */
.logo-upload {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.logo-upload-left { flex: none; }
.logo-upload-right { flex: 1; min-width: 220px; }
.logo-preview {
  position: relative;
  width: 108px;
  height: 108px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-fill);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }
.logo-preview.empty span { color: var(--text-4); font-size: 12px; }
.logo-preview-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.logo-preview-del:hover { background: var(--danger); }

/* ---------------- 列表缩略图统一规范 ----------------
   平台端「通知管理」「单位管理」两处列表共用：
   尺寸 32×32、圆角 6px、object-fit: cover 居中裁剪、
   占位与加载失败兜底、与文字间距 10px、垂直居中对齐。
   规格集中定义在 static/list-thumb-view.js 的 LIST_THUMB。 */
.cell-thumb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-fill);
  overflow: hidden;
}
/* 占位层：图片覆盖在其上方，图片缺失或加载失败时露出 */
.cell-thumb-ph {
  font-size: 11px;
  line-height: 1;
  color: var(--text-4);
  text-align: center;
  pointer-events: none;
  user-select: none;
}
/* 图片层：绝对定位铺满方框，object-fit 统一裁剪方式 */
.cell-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* 加载失败兜底：破图已由脚本移除，此处仅强化占位视觉 */
.cell-thumb.is-broken {
  border-style: dashed;
}
.cell-thumb.is-broken .cell-thumb-ph {
  color: var(--text-4);
}

/* 缩略图 + 文字信息 的单元格容器 */
.cell-with-thumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  vertical-align: middle;
}
.cell-with-thumb-text {
  min-width: 0;
  overflow-wrap: break-word;
}
/* 不换行变体：单位名称等不宜断行的字段 */
.cell-with-thumb-nowrap .cell-with-thumb-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 文字后的徽标（如「置顶」）与首行文字对齐 */
.cell-with-thumb-text .badge {
  vertical-align: middle;
  margin-left: 4px;
}

/* 单位端单位信息页头部：Logo + 平台名称 + 单位名称 */
.unit-info-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.unit-info-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-card);
  object-fit: contain;
  background: var(--bg-fill);
  border: 1px solid var(--border);
  flex: none;
}
.unit-info-logo.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-4);
  font-size: 12px;
}
.unit-info-titles { min-width: 0; }
.unit-info-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-1);
  word-break: break-all;
}
.unit-info-platform {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-3);
}
.menu { flex: 1; overflow-y: auto; padding: 8px 0; }
.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 18px;
  color: var(--sidebar-text);
  cursor: pointer;
  font-size: 14px;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}
.menu-item:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.menu-item.active {
  color: #fff;
  background: rgba(22, 93, 255, 0.22);
  border-left-color: var(--primary);
}
.menu-icon { width: 16px; height: 16px; flex: none; display: inline-flex; }
.menu-icon svg { width: 16px; height: 16px; }

/* 主区域 */
.main {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.header {
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .hamburger {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-2);
}
.header .hamburger:hover { color: var(--primary); }
.breadcrumb { color: var(--text-3); font-size: 14px; }
.breadcrumb b { color: var(--text-1); font-weight: 600; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* 顶部当前版本号（位于用户信息之前） */
.app-version {
  font-size: 12px;
  color: var(--text-3);
  background: var(--bg-fill);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
  line-height: 1.6;
  white-space: nowrap;
  user-select: all;
}

/* 顶部技术支持电话（单位端，位于版本号之前） */
.app-support {
  font-size: 12px;
  color: var(--primary);
  background: #eef4ff;
  border: 1px solid #c7dbff;
  border-radius: 4px;
  padding: 2px 7px;
  line-height: 1.6;
  white-space: nowrap;
  user-select: all;
}
.app-support[hidden] { display: none; }

/* 平台管理模式提示条 */
.enter-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff7e8;
  color: var(--warning);
  border: 1px solid #ffd591;
  border-radius: var(--radius-btn);
  padding: 4px 10px;
  font-size: 13px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex: none;
}
.user-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-role { font-size: 12px; color: var(--text-3); }

.content { padding: 20px; flex: 1; }

/* ---------------- 工作台 ---------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-icon.blue { background: #e8f1ff; color: var(--primary); }
.stat-icon.green { background: #e8ffea; color: var(--success); }
.stat-icon.orange { background: #fff7e8; color: var(--warning); }
.stat-icon.purple { background: #f5e8ff; color: #722ed1; }
.stat-value { font-size: 26px; font-weight: 700; line-height: 1.2; }
.stat-label { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* 近7日简易柱状图（纯 CSS） */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 180px;
  padding: 10px 6px 0;
}
.bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.bar-track {
  width: 100%;
  max-width: 42px;
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bar {
  width: 100%;
  background: linear-gradient(180deg, #4080ff, #165dff);
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  position: relative;
  transition: height 0.3s;
}
.bar:hover { opacity: 0.85; }
.bar .bar-num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-3);
}
.bar-day { font-size: 12px; color: var(--text-3); white-space: nowrap; }

/* ---------------- 笔录编辑器 ---------------- */
.record-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.record-head h2 { font-size: 16px; margin: 0; }
.autosave-tip { font-size: 13px; color: var(--success); }
.autosave-tip.saving { color: var(--warning); }
.content-textarea { min-height: 46vh; font-family: inherit; }

/* ---------------- 模板库：字段设计器 ---------------- */
.fd-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: var(--bg-fill);
  border-radius: var(--radius-btn);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.fd-row .input, .fd-row .select { height: 32px; }
.fd-in-label { flex: 1 1 130px; min-width: 110px; }
.fd-in-type { width: 104px; flex: none; }
.fd-in-ph { flex: 1 1 110px; min-width: 100px; }
.fd-in-opts { flex: 1 1 150px; min-width: 130px; }
.fd-req { flex: none; white-space: nowrap; }
.fd-acts { flex: none; white-space: nowrap; }
.fd-empty {
  padding: 24px 0;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
  background: var(--bg-fill);
  border-radius: var(--radius-btn);
  margin-bottom: 8px;
}

/* ---------------- 独立笔录页 ---------------- */
.record-page { padding: 16px 20px; min-height: 100vh; }
/* 顶部功能区：吸顶白底卡片，单行排布，换行自适应 */
.record-toolbar {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
}
.record-toolbar .tb-label { color: var(--text-3); font-size: 13px; white-space: nowrap; }
.record-toolbar .input, .record-toolbar .select { width: auto; }

/* 主体左右分栏：等高，各占 50%，中间 16px 间距 */
.record-cols { display: flex; gap: 16px; margin-top: 16px; align-items: stretch; }
.record-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; margin-top: 0; }

/* 发言分段按钮 */
.seg {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  overflow: hidden;
}
.seg-btn {
  padding: 0 14px;
  height: 28px;
  background: #fff;
  border: none;
  cursor: pointer;
  color: var(--text-2);
  font-size: 13px;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.seg-btn + .seg-btn { border-left: 1px solid var(--border); }
.seg-btn.active { background: var(--primary); color: #fff; }

/* 成功按钮（开始转写） */
.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { background: #23c343; border-color: #23c343; color: #fff; }
.btn-success:disabled { background: var(--success); border-color: var(--success); color: #fff; }

/* 实时转写反馈区：占满剩余高度，滚动 */
.transcript-box {
  flex: 1;
  min-height: 320px;
  max-height: calc(100vh - 320px);
  overflow-y: auto;
  background: var(--bg-fill);
  border-radius: var(--radius-card);
  padding: 14px 16px;
}
.transcript-line { margin-bottom: 10px; line-height: 1.8; font-size: 13px; color: var(--text-1); }
.transcript-line .t-time { color: var(--text-3); margin-right: 6px; }
.transcript-line .t-speaker { font-weight: 600; margin-right: 4px; }
.transcript-line.spk-interrogator .t-speaker { color: var(--primary); }
.transcript-line.spk-subject .t-speaker { color: var(--success); }

/* 转写记录按说话人角色分段：每段一个块，块头标明身份，段内逐行列出 */
.transcript-seg {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 10px 12px;
  margin-bottom: 12px;
  background: var(--bg-card, transparent);
}
.transcript-seg .seg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}
.transcript-seg .seg-role { font-size: 13px; font-weight: 600; }
.transcript-seg .seg-meta { font-size: 12px; color: var(--text-3); }
.transcript-seg .seg-lines .transcript-line:last-child { margin-bottom: 0; }
.transcript-seg.spk-interrogator .seg-role { color: var(--primary); }
.transcript-seg.spk-subject .seg-role { color: var(--success); }
.transcript-seg.spk-unknown .seg-role { color: var(--text-3); }
.transcript-seg.spk-interrogator { border-left: 3px solid var(--primary); }
.transcript-seg.spk-subject { border-left: 3px solid var(--success); }
.transcript-seg.spk-unknown { border-left: 3px solid var(--text-3); }

/* 摘要笔录预览 */
.preview-title { font-size: 14px; font-weight: 600; color: var(--text-1); margin: 4px 0 10px; }
.preview-box {
  background: var(--bg-fill);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 2;
  white-space: pre-wrap;
  min-height: 120px;
}

/* 笔录信息分组区：询问人信息 / 被询问人信息，两侧并列自适应 */
.record-info-grid {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  align-items: stretch;
  flex-wrap: wrap;
}
.record-info-card {
  flex: 1 1 320px;
  min-width: 0;
  margin-top: 0;
}
.record-info-card .card-title { margin-bottom: 12px; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.info-grid .form-item { margin-bottom: 12px; }
.info-grid .form-item.full { grid-column: 1 / -1; }
.info-grid .input, .info-grid .select { width: 100%; }
.input[readonly] {
  background: var(--bg-fill);
  color: var(--text-2);
  cursor: default;
  border-style: dashed;
}

/* 询问模板设置区 */
.tpl-setting {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 12px 14px;
  margin-bottom: 14px;
  background: var(--bg-fill);
}
.tpl-setting-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tpl-setting-row .select { flex: 1 1 160px; min-width: 120px; }
.quick-ask-title {
  font-size: 13px;
  color: var(--text-3);
  margin: 10px 0 8px;
}
.quick-ask-list { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-ask-item {
  padding: 4px 10px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text-2);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
}
.quick-ask-item:hover { color: var(--primary); border-color: var(--primary); }
.quick-ask-item.field { border-style: dashed; }
.pv-line { margin-bottom: 2px; }
.pv-empty { color: var(--text-4); }

/* ---------------- 第三方接口 ---------------- */
.quota-box {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-fill);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.quota-num { font-size: 28px; font-weight: 700; color: var(--primary); }
.quota-num small { font-size: 14px; color: var(--text-3); font-weight: 400; }
.quota-label { font-size: 13px; color: var(--text-3); }

/* 工作台：账号有效期等键值信息行 */
.info-rows {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  font-size: 14px;
}
.info-row + .info-row { border-top: 1px solid var(--border); }
.info-label { color: var(--text-3); flex: 0 0 120px; }
.info-value { color: var(--text-1); font-weight: 600; }
.progress {
  flex: 1;
  min-width: 220px;
  height: 10px;
  background: #e5e6eb;
  border-radius: 5px;
  overflow: hidden;
}
.progress .progress-inner {
  height: 100%;
  background: linear-gradient(90deg, #4080ff, #165dff);
  border-radius: 5px;
  transition: width 0.3s;
}
.progress.low .progress-inner { background: linear-gradient(90deg, #f7ba1e, #ff7d00); }
.progress.danger .progress-inner { background: linear-gradient(90deg, #f76560, #f53f3f); }

/* ---------------- 遮罩（移动端侧边栏） ---------------- */
.sidebar-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 150;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 992px) {
  .sidebar { transform: translateX(-100%); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  body.sidebar-open .sidebar-mask { display: block; }
  .main { margin-left: 0; }
  .header .hamburger { display: inline-flex; }
  .user-role { display: none; }
  .content { padding: 14px; }
  .table-toolbar .input { width: 180px; }
}
@media (max-width: 1100px) {
  /* 笔录页左右分栏窄屏换行为上下布局 */
  .record-cols { flex-direction: column; }
  .record-col { flex: none; }
  .transcript-box { max-height: 50vh; }
}
@media (max-width: 576px) {
  .login-card { padding: 28px 22px; }
  .form-row { flex-direction: column; gap: 0; }
  .modal { width: 100%; }
  .modal-mask { padding: 20px 10px; }
}

/* ---------------- 打印视图 ---------------- */
@media print {
  body { background: #fff; }
}

/* ---------------- hiprint 打印设计器面板 ---------------- */
.hp-panel {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
}
.hp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 16px;
  background: var(--bg-fill);
  border-bottom: 1px solid var(--border);
  flex: none;
  flex-wrap: wrap;
}
.hp-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
}
.hp-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}
.hp-scale {
  font-size: 12px;
  color: var(--text-2);
  min-width: 46px;
  text-align: center;
}
.hp-status { font-size: 12px; color: var(--text-3); }
.hp-status.ok { color: var(--success); }
.hp-status.warn { color: var(--warning); }
.hp-status.err { color: var(--danger); }
.hp-body {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 12px;
  padding: 12px;
}
.hp-side {
  flex: none;
  width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hp-side.hp-right { width: 268px; }
.hp-side-title {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  flex: none;
}
.hp-left .hiprintEpContainer {
  flex: 1;
  overflow: auto;
  padding: 8px;
}
.hp-setting {
  flex: 1;
  overflow: auto;
  padding: 10px;
  font-size: 12px;
}
.hp-center {
  flex: 1;
  min-width: 0;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 10px;
}
.hp-canvas { min-height: 100%; }
.hp-preview {
  background: #fff;
  padding: 10px;
  overflow: auto;
  max-height: 70vh;
}
@media (max-width: 1100px) {
  .hp-body { flex-direction: column; }
  .hp-side, .hp-side.hp-right { width: 100%; max-height: 220px; }
}

.hp-field-ref {
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-3);
  background: var(--bg-fill);
  border-bottom: 1px solid var(--border);
  word-break: break-all;
}

/* ---------------- 讯飞实时转写（RTASR）配置区 ---------------- */
.rtasr-box {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.rtasr-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.rtasr-title { font-size: 15px; font-weight: 600; color: var(--text-1); }
.rtasr-tag {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 10px;
}
.rtasr-tag.on { color: var(--success); background: #e8ffea; }
.rtasr-tag.off { color: var(--text-3); background: var(--bg-page); }
.rtasr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  max-width: 860px;
}
.rtasr-grid .form-item { margin-bottom: 14px; }
.rtasr-grid .form-item.full { grid-column: 1 / -1; }
.rtasr-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 860px;
  margin-top: 4px;
}
.rtasr-enable {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
}
/* 凭据获取与授权检查指引 */
.rtasr-guide {
  max-width: 860px;
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--bg-fill);
  border-radius: var(--radius-btn);
  font-size: 12px;
  line-height: 1.9;
  color: var(--text-2);
}
.rtasr-guide b { color: var(--text-1); }
.rtasr-guide ol {
  margin: 6px 0 0;
  padding-left: 20px;
}
.rtasr-guide li { margin-bottom: 2px; }
@media (max-width: 720px) {
  .rtasr-grid { grid-template-columns: 1fr; }
}

/* 转写状态提示 */
.asr-tip {
  font-size: 12px;
  color: var(--text-3);
  margin: -4px 0 10px;
  min-height: 18px;
}

/* ---------------- 通知管理（平台端） ---------------- */
.notice-read-count { font-weight: 600; color: var(--primary); }

/* 通知详情页顶部不再展示封面图（原 .notice-detail-cover 样式已移除） */
.notice-detail-head { margin-bottom: 12px; }
.notice-detail-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-1);
  margin: 8px 0 4px;
}
.notice-detail-meta { font-size: 12px; color: var(--text-3); }
.notice-detail-summary {
  padding: 10px 12px;
  background: var(--bg-fill);
  border-radius: var(--radius-card);
  color: var(--text-2);
  font-size: 13px;
  margin-bottom: 12px;
}
.notice-detail-content { font-size: 14px; line-height: 1.75; color: var(--text-1); }
.notice-detail-content p { margin: 0 0 10px; }
.notice-read-block { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 14px; }
.notice-read-title { font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 10px; }

/* ---------------- 通知展示（单位端工作台 / 通知中心） ---------------- */
.unit-notice-list { display: flex; flex-direction: column; gap: 12px; }
/* 工作台卡片内的列表：占满右栏剩余高度并内部滚动，与左侧额度卡片保持等高协调 */
.unit-notice-list.scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  /* 底部渐隐，提示列表可继续滚动 */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 20px), transparent 100%);
}
.unit-notice-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 12px 14px;
  background: #fff;
}
.unit-notice-item.read { background: var(--bg-fill); }
.unit-notice-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.unit-notice-title { font-size: 14px; font-weight: 600; color: var(--text-1); }
/* 通知日期：与标题并列，仅显示年月日 */
.unit-notice-date { font-size: 12px; color: var(--text-3); white-space: nowrap; }
/* 「详情」入口：位于标题与日期之后 */
.unit-notice-detail {
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 4px;
  white-space: nowrap;
}
.unit-notice-detail:hover { background: #eef4ff; text-decoration: underline; }
.unit-notice-read-flag { font-size: 12px; color: var(--text-3); }
.unit-notice-read-flag.unread { color: var(--danger); }

/* 通知详情页 */
.unit-notice-detail-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.unit-notice-detail-title { font-size: 17px; font-weight: 600; color: var(--text-1); }
.unit-notice-detail-content { font-size: 14px; line-height: 1.8; color: var(--text-1); }
.unit-notice-detail-content p { margin: 0 0 10px; }
.unit-notice-detail-actions { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }

/* ---------------- 登录页标识与端类型徽标 ---------------- */
.login-logo.has-img {
  width: 56px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.login-logo.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 端类型徽标：替代原副标题，视觉上与标题区分
   注：登录卡片为白底，此处使用浅色底 + 主色文字，保证可读性 */
.login-badge {
  display: inline-block;
  margin: 10px auto 0;
  padding: 3px 16px;
  border-radius: 999px;
  background: rgba(14, 66, 210, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.8;
  text-align: center;
  border: 1px solid rgba(14, 66, 210, 0.16);
  user-select: none;
}
.login-brand .login-title { margin-bottom: 0; }

/* ---------------- 轻量富文本编辑器 ---------------- */
.rte-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--bg-fill);
}
.rte-btn {
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--text-2);
  font-size: 12px;
  cursor: pointer;
  line-height: 1;
}
.rte-btn:hover { background: #fff; border-color: var(--border); }
.rte-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.rte-btn.is-loading { opacity: 0.6; cursor: default; }
.rte-sep { width: 1px; height: 16px; background: var(--border); margin: 0 4px; }

.rte-editor {
  min-height: 200px;
  max-height: 420px;
  overflow-y: auto;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  background: #fff;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-1);
  outline: none;
}
.rte-editor:focus { border-color: var(--primary); }
.rte-editor.is-empty::before {
  content: attr(data-placeholder);
  color: var(--text-4);
  pointer-events: none;
}
.rte-editor img { max-width: 100%; border-radius: 6px; margin: 6px 0; }
.rte-editor p { margin: 0 0 8px; }
.rte-editor h3 { margin: 10px 0 6px; font-size: 16px; font-weight: 600; }

/* 富文本正文展示样式（平台端详情 / 单位端通知） */
.rte-content img { max-width: 100%; border-radius: 6px; margin: 8px 0; }
.rte-content p { margin: 0 0 10px; }
.rte-content h3 { margin: 14px 0 6px; font-size: 16px; font-weight: 600; color: var(--text-1); }
.rte-content ul, .rte-content ol { margin: 0 0 10px; padding-left: 22px; }
.rte-content table { border-collapse: collapse; margin-bottom: 10px; }
.rte-content td, .rte-content th { border: 1px solid var(--border); padding: 5px 9px; }
.rte-content a { color: var(--primary); }

/* 通知编辑弹窗：自动缩略图预览 */
.notice-thumb-auto {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: 6px;
  background: var(--bg-fill);
  overflow: hidden;
}
.notice-thumb-auto img { max-width: 100%; max-height: 56px; object-fit: contain; }
.notice-thumb-auto-text { font-size: 12px; color: var(--text-4); }

/* ---------------- 单位端工作台：两栏并列 ---------------- */
/* 工作台两栏并列：左「接口额度与账号有效期」、右「平台通知」
   两栏等宽、间距一致、卡片等高对齐，视觉层级协调 */
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
  align-items: stretch;
}
.dashboard-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
/* 通知容器占满右栏剩余高度，使通知区与左侧卡片等高对齐
   flex-basis 为 0，通知条数不影响栅格行高（由左侧卡片决定），超出部分内部滚动 */
.dashboard-notices { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
/* 两栏为并列关系，重置相邻卡片的通用上外边距，保证顶部对齐 */
.dashboard-columns > .card + .card { margin-top: 0; }
@media (max-width: 900px) {
  .dashboard-columns { grid-template-columns: 1fr; }
  .dashboard-columns > .card + .card { margin-top: 16px; }
}

/* 单位端通知「更多」按钮 */
.unit-notice-more {
  margin-top: 10px;
  text-align: center;
}
