/* =========================================================
   资源对接网 · 管理后台
   实用型后台风格：中性灰 + 单一主色，无渐变堆砌
   ========================================================= */

:root {
  --sidebar-w: 216px;
  --topbar-h: 52px;

  --c-bg:      #f4f5f7;
  --c-panel:   #ffffff;
  --c-border:  #e3e5e9;
  --c-border2: #d6d9de;

  --c-text:    #1f2329;
  --c-text-2:  #5a6169;
  --c-text-3:  #9096a0;

  --c-primary: #2f6bde;
  --c-primary-d: #2557b8;
  --c-primary-l: #eef3fd;

  --c-green:   #17a05a;
  --c-orange:  #d98211;
  --c-red:     #d63d3d;
  --c-sidebar: #1e232b;
  --c-sidebar-2: #252b34;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------------- 侧边栏 ---------------- */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--c-sidebar);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: #39414c; border-radius: 3px; }

.brand {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  flex-shrink: 0;
  border-bottom: 1px solid #2a313a;
}
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 5px;
  background: var(--c-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  display: flex; align-items: center; justify-content: center;
}
.brand-text { color: #e7eaee; font-size: 14px; font-weight: 600; letter-spacing: .5px; }

.menu { flex: 1; padding: 8px 0 16px; }

.menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 16px;
  color: #a8b0bb;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  border-left: 2px solid transparent;
  transition: background .15s, color .15s;
}
.menu-item:hover { background: var(--c-sidebar-2); color: #dfe3e8; }
.menu-item.on {
  background: var(--c-sidebar-2);
  color: #fff;
  border-left-color: var(--c-primary);
}
.mi-ico { display: flex; opacity: .85; }
.menu-item.on .mi-ico { opacity: 1; color: #6f9ceb; }
.mi-text { flex: 1; }

.mi-arrow {
  width: 0; height: 0;
  border-left: 4px solid #6b7480;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  transition: transform .18s;
}
.menu-group.open .mi-arrow { transform: rotate(90deg); }

.submenu { display: none; padding: 2px 0 4px; }
.menu-group.open .submenu { display: block; }

.sub-item {
  display: block;
  padding: 7px 16px 7px 41px;
  color: #939ba6;
  font-size: 12.5px;
  position: relative;
}
.sub-item:hover { color: #dfe3e8; background: #232932; }
.sub-item.on { color: #7fa9f0; background: #232932; }
.sub-item.on::before {
  content: '';
  position: absolute;
  left: 28px; top: 50%;
  width: 4px; height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #7fa9f0;
}

.side-foot {
  padding: 10px 16px;
  color: #5a6270;
  font-size: 11px;
  border-top: 1px solid #2a313a;
}

/* ---------------- 主体 ---------------- */
.main {
  flex: 1;
  min-width: 0;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
}

.topbar {
  height: var(--topbar-h);
  flex-shrink: 0;
  background: var(--c-panel);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.crumbs { color: var(--c-text-3); font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.crumbs a { color: var(--c-text-2); }
.crumbs i { font-style: normal; color: #c3c8cf; }
.crumbs span { color: var(--c-text-2); }

.top-right { display: flex; align-items: center; gap: 16px; font-size: 12.5px; }
.top-user { color: var(--c-text-2); display: flex; align-items: center; gap: 7px; }
.avatar-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-primary-l);
  border: 1px solid #cfdcf7;
  display: inline-block;
}
.top-link { color: var(--c-text-2); }
.top-link:hover { color: var(--c-primary); }
.top-link.danger:hover { color: var(--c-red); }

.content { padding: 16px 20px 40px; }

/* ---------------- 页面标题 ---------------- */
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}
.page-title { font-size: 16px; font-weight: 600; color: var(--c-text); margin: 0; }
.page-title small { font-weight: 400; color: var(--c-text-3); font-size: 12px; margin-left: 8px; }
.page-actions { display: flex; gap: 8px; align-items: center; }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  margin-bottom: 14px;
}
.card-head {
  padding: 11px 16px;
  border-bottom: 1px solid var(--c-border);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-head .sub { font-weight: 400; color: var(--c-text-3); font-size: 12px; margin-left: 6px; }
.card-body { padding: 16px; }
.card-body.nopad { padding: 0; }

/* ---------------- 统计块 ---------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.stat {
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 14px 16px;
}
.stat .s-label { color: var(--c-text-3); font-size: 12px; }
.stat .s-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--c-text);
  margin: 5px 0 2px;
  font-variant-numeric: tabular-nums;
}
.stat .s-foot { color: var(--c-text-3); font-size: 11.5px; }
.stat .s-foot b { color: var(--c-green); font-weight: 600; }
.stat .s-foot b.down { color: var(--c-red); }

/* ---------------- 工具条 ---------------- */
.toolbar {
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 11px 16px;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.toolbar .field { display: flex; align-items: center; gap: 6px; }
.toolbar label { color: var(--c-text-2); font-size: 12.5px; white-space: nowrap; }
.toolbar .spacer { flex: 1; }

/* ---------------- 表单控件 ---------------- */
input[type=text], input[type=password], input[type=number], input[type=date],
input[type=datetime-local], input[type=search], select, textarea {
  font-family: inherit;
  font-size: 12.5px;
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-border2);
  border-radius: 3px;
  padding: 5px 9px;
  height: 30px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; min-height: 84px; line-height: 1.6; resize: vertical; padding: 7px 9px; }
input:focus, select:focus, textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 2px rgba(47, 107, 222, .12);
}
input[disabled], select[disabled] { background: #f6f7f9; color: var(--c-text-3); cursor: not-allowed; }
input::placeholder, textarea::placeholder { color: #b3b8c0; }

select { padding-right: 4px; cursor: pointer; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  padding: 0 13px;
  font-size: 12.5px;
  font-family: inherit;
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-border2);
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}
.btn:hover { border-color: #b9bec6; color: var(--c-text); background: #fafbfc; }
.btn:active { background: #f0f1f3; }

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

.btn.danger { color: var(--c-red); border-color: #ecc4c4; }
.btn.danger:hover { background: #fdf3f3; border-color: var(--c-red); color: var(--c-red); }

.btn.ghost { border-color: transparent; background: transparent; color: var(--c-primary); padding: 0 6px; height: 26px; }
.btn.ghost:hover { background: var(--c-primary-l); }

.btn.sm { height: 26px; padding: 0 9px; font-size: 12px; }
.btn.lg { height: 34px; padding: 0 18px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------------- 表格 ---------------- */
table.tb {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
table.tb th {
  text-align: left;
  font-weight: 600;
  color: var(--c-text-2);
  background: #fafbfc;
  padding: 9px 12px;
  border-bottom: 1px solid var(--c-border);
  white-space: nowrap;
  font-size: 12px;
}
table.tb td {
  padding: 9px 12px;
  border-bottom: 1px solid #f0f1f4;
  color: var(--c-text);
  vertical-align: middle;
}
table.tb tbody tr:hover td { background: #fafbfd; }
table.tb tbody tr:last-child td { border-bottom: none; }
table.tb .nowrap { white-space: nowrap; }
table.tb .num { font-variant-numeric: tabular-nums; }
table.tb .actions { white-space: nowrap; }
table.tb .actions a { margin-right: 9px; font-size: 12.5px; }
table.tb .actions a:last-child { margin-right: 0; }
table.tb .actions a.del { color: var(--c-red); }

.tb-empty { padding: 48px 16px; text-align: center; color: var(--c-text-3); font-size: 13px; }

/* 缩略图 */
.thumb {
  width: 38px; height: 38px;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid var(--c-border);
  background: #f6f7f9;
  display: block;
}
.thumb-lg { width: 78px; height: 78px; }
.thumb-round { border-radius: 50%; }

/* ---------------- 标签 ---------------- */
.tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 2px;
  font-size: 11.5px;
  line-height: 18px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.tag.gray   { background: #f0f1f3; color: #6b7280; border-color: #e3e5e9; }
.tag.blue   { background: #eef3fd; color: #2f6bde; border-color: #d3e0fa; }
.tag.green  { background: #eaf7f0; color: #17a05a; border-color: #cbe9d9; }
.tag.orange { background: #fdf4e6; color: #b8720a; border-color: #f5e0bd; }
.tag.red    { background: #fdeeee; color: #c93636; border-color: #f5d2d2; }

/* ---------------- 分页 ---------------- */
.pager {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 16px;
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
}
.pg-info { color: var(--c-text-3); font-size: 12px; margin-right: auto; }
.pg, .pager a.pg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--c-border2);
  border-radius: 3px;
  background: #fff;
  color: var(--c-text-2);
  font-size: 12.5px;
}
.pager a.pg:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pg.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pg.dis { color: #c3c8cf; background: #fafbfc; cursor: not-allowed; }

/* ---------------- 表单布局 ---------------- */
.form-row {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #f2f3f5;
  align-items: flex-start;
}
.form-row:last-child { border-bottom: none; }
.form-row > label.lb {
  width: 108px;
  flex-shrink: 0;
  color: var(--c-text-2);
  font-size: 12.5px;
  padding-top: 6px;
  text-align: right;
}
.form-row > label.lb .req { color: var(--c-red); margin-right: 2px; }
.form-row .fi { flex: 1; min-width: 0; }
.form-row .fi .hint { color: var(--c-text-3); font-size: 11.5px; margin-top: 5px; }
.form-row .fi input[type=text], .form-row .fi input[type=password],
.form-row .fi input[type=number], .form-row .fi select { width: 100%; max-width: 380px; }
.form-row .fi textarea { width: 100%; max-width: 620px; }
.form-row .fi .multi { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.form-foot {
  padding: 14px 0 0 122px;
  display: flex;
  gap: 9px;
}

/* ---------------- 图片上传 ---------------- */
.uploader { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.up-item { position: relative; }
.up-item img {
  width: 78px; height: 78px;
  object-fit: cover;
  border: 1px solid var(--c-border);
  border-radius: 3px;
  display: block;
  background: #f6f7f9;
}
.up-del {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-red);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  border: 2px solid #fff;
  box-sizing: content-box;
}
.up-add {
  width: 78px; height: 78px;
  border: 1px dashed var(--c-border2);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--c-text-3);
  cursor: pointer;
  background: #fafbfc;
  font-size: 11.5px;
  gap: 3px;
}
.up-add:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-l); }
.up-add .plus { font-size: 17px; line-height: 1; }

/* ---------------- 登录页 ---------------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef0f4;
  padding: 20px;
}
.login-box {
  width: 348px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 5px;
  padding: 30px 30px 26px;
  box-shadow: 0 2px 14px rgba(30, 40, 60, .06);
}
.login-box h1 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
  text-align: center;
  color: var(--c-text);
}
.login-box .sub {
  text-align: center;
  color: var(--c-text-3);
  font-size: 12.5px;
  margin-bottom: 22px;
}
.login-field { margin-bottom: 13px; }
.login-field input {
  width: 100%;
  height: 38px;
  font-size: 13px;
  padding: 0 12px;
}
.login-btn {
  width: 100%;
  height: 38px;
  margin-top: 6px;
  font-size: 13.5px;
}
.login-err {
  background: #fdeeee;
  border: 1px solid #f5d2d2;
  color: #c93636;
  font-size: 12.5px;
  padding: 8px 11px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.login-foot {
  text-align: center;
  color: var(--c-text-3);
  font-size: 11.5px;
  margin-top: 18px;
}

/* ---------------- 提示条 ---------------- */
.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-14px);
  background: #2a3038;
  color: #fff;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: all .22s;
  z-index: 9999;
  max-width: 70vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { background: #17a05a; }
.toast.err { background: #c93636; }

/* ---------------- 弹窗 ---------------- */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(20, 26, 36, .42);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 900;
  padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff;
  border-radius: 5px;
  width: 100%;
  max-width: 520px;
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: 0 8px 40px rgba(20, 26, 36, .2);
}
.modal.wide { max-width: 760px; }
.modal-head {
  padding: 13px 18px;
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-close { cursor: pointer; color: var(--c-text-3); font-size: 18px; line-height: 1; }
.modal-close:hover { color: var(--c-text); }
.modal-body { padding: 18px; }
.modal-foot {
  padding: 12px 18px;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

/* ---------------- 详情信息表 ---------------- */
.info-list { display: table; width: 100%; font-size: 12.5px; }
.info-row { display: table-row; }
.info-row > * {
  display: table-cell;
  padding: 8px 10px;
  border-bottom: 1px solid #f2f3f5;
  vertical-align: top;
}
.info-row > .k { width: 108px; color: var(--c-text-2); background: #fafbfc; }
.info-row > .v { color: var(--c-text); word-break: break-all; }

/* ---------------- 空状态 ---------------- */
.empty { padding: 56px 20px; text-align: center; color: var(--c-text-3); }
.empty .ico { font-size: 30px; opacity: .35; margin-bottom: 8px; }

/* ---------------- 图片预览浮层 ---------------- */
.imgview {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  cursor: zoom-out;
}
.imgview.show { display: flex; }
.imgview img { max-width: 88vw; max-height: 88vh; border-radius: 3px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s; z-index: 100; }
  .sidebar.open { transform: none; }
  .main { margin-left: 0; }
  .form-row { flex-direction: column; gap: 6px; }
  .form-row > label.lb { width: auto; text-align: left; padding-top: 0; }
  .form-foot { padding-left: 0; }
  .content { padding: 12px; }
}

/* =============================================================
   补充组件（各业务模块共用）
   ============================================================= */

/* 双列布局：主区 + 侧栏 */
.split { display: flex; gap: 14px; align-items: flex-start; }
.split-main { flex: 1; min-width: 0; }
.split-side { width: 264px; flex-shrink: 0; }
@media (max-width: 1050px) { .split { flex-direction: column; } .split-side { width: 100%; } }

/* 卡片头副标题别名 */
.card-head .card-sub { font-weight: 400; color: var(--c-text-3); font-size: 12px; margin-left: 6px; }

/* 详情信息表（il-k / il-v 写法，与 .k/.v 等价） */
.info-row > .il-k {
  display: table-cell;
  width: 108px;
  padding: 8px 10px;
  border-bottom: 1px solid #f2f3f5;
  color: var(--c-text-2);
  background: #fafbfc;
  vertical-align: top;
  font-size: 12.5px;
}
.info-row > .il-v {
  display: table-cell;
  padding: 8px 10px;
  border-bottom: 1px solid #f2f3f5;
  color: var(--c-text);
  word-break: break-all;
  font-size: 12.5px;
}

/* 排行列表 */
.rank-list { list-style: none; }
.rank-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-bottom: 1px solid #f4f5f8;
  font-size: 12.5px;
}
.rank-list li:last-child { border-bottom: none; }
.rk-no {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%;
  background: #eef1f6;
  color: #9aa3b2;
  font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600;
}
.rk-no.top { background: #2f6bde; color: #fff; }
.rk-name { flex: 1; min-width: 0; color: var(--c-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-num { color: var(--c-primary); font-weight: 600; }

/* 卡片式审核 */
.audit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.audit-card {
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.ac-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--c-border);
}
.ac-title { font-weight: 600; font-size: 13.5px; flex: 1; min-width: 0; }
.ac-body { padding: 12px 15px; flex: 1; }
.ac-row { display: flex; gap: 8px; font-size: 12.5px; margin-bottom: 6px; }
.ac-lb { width: 52px; flex-shrink: 0; color: var(--c-text-3); }
.ac-desc {
  margin-top: 8px; padding: 9px 11px;
  background: #f8f9fc;
  border-radius: 3px;
  color: var(--c-text-2);
  font-size: 12.5px;
  line-height: 1.7;
  word-break: break-all;
}
.ac-imgs { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.ac-imgs img { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; cursor: zoom-in; }
.ac-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 15px;
  border-top: 1px solid var(--c-border);
}

/* 富文本 / 需求正文 */
.fb-content {
  background: #f8f9fc;
  border: 1px solid #eef1f6;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--c-text-2);
  word-break: break-all;
  max-height: 300px;
  overflow: auto;
}

/* 权限树 */
.perm-tree {
  border: 1px solid var(--c-border);
  border-radius: 4px;
  max-height: 340px;
  overflow: auto;
  background: #fff;
}
.perm-group { border-bottom: 1px solid #f4f5f8; }
.perm-group:last-child { border-bottom: none; }
.perm-head {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 13px;
  background: #fafbfd;
  font-weight: 600;
  font-size: 12.5px;
  cursor: pointer;
}
.perm-head input { height: auto; }
.perm-children {
  display: flex; flex-wrap: wrap; gap: 4px 6px;
  padding: 8px 13px 11px 30px;
}
.perm-item {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 12.5px;
  color: var(--c-text-2);
  cursor: pointer;
}
.perm-item:hover { background: #f2f6fd; }
.perm-item input { height: auto; }

/* 提示条 */
.hint-box {
  background: #f0f6ff;
  border: 1px solid #d5e5fb;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #2a5ba8;
  margin-bottom: 14px;
  line-height: 1.75;
}

/* 表单底部动作条 */
.form-actions {
  padding: 6px 0 20px;
  display: flex;
  gap: 9px;
}

/* 多字段行内组合 */
.multi { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }

/* 表单内提示文案（补齐） */
.form-row .hint { color: var(--c-text-3); font-size: 11.5px; margin-top: 5px; line-height: 1.6; }
.form-row .hint .req { color: #e34d4d; }

/* 缩略图占位 */
.thumb {
  width: 44px; height: 44px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--c-border);
  background: #f4f5f8;
  cursor: zoom-in;
  flex-shrink: 0;
}

/* nowrap 工具类 */
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* 详情页头部（头像 + 标题 + 标签） */
.detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--c-border);
}
.detail-avatar {
  width: 56px; height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--c-border);
  background: #f4f5f8;
}
.detail-avatar.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #6f8ff5, #8f6ff5);
  border: none;
}
.detail-title { min-width: 0; }
.detail-title h2 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-text-1, #26303d);
}
.detail-title .sub {
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

