/* Extracted from v2.5 inline style block #1. v3.0-alpha split packaging. */
/* =========================================================
   第三优先级 V3：批量修改 / 批量删除 / 批量导出
   不改变原数据结构，只增强当前页和筛选结果的批量操作
   ========================================================= */
.batch-toolbar{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0;
  padding:12px 14px;
  border:1px solid #bfdbfe;
  border-radius:18px;
  background:linear-gradient(135deg,#eff6ff,#ecfeff);
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}
.batch-title{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:900;
  color:#0f172a;
  margin-right:4px;
}
.batch-count{
  margin-left:auto;
  font-size:13px;
  font-weight:900;
  color:#0f766e;
  background:#ccfbf1;
  border:1px solid #99f6e4;
  border-radius:999px;
  padding:6px 10px;
  min-width:86px;
  text-align:center;
}
.batch-toolbar button{
  border-radius:10px!important;
  padding:7px 10px!important;
  font-size:12px!important;
  box-shadow:none!important;
}
.batch-toolbar button.batch-danger{
  background:#ef4444!important;
  color:#fff!important;
}
.batch-checkbox-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  margin-bottom:4px;
}
.batch-checkbox-wrap input,
.batch-row-check{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  cursor:pointer;
  accent-color:#2563eb;
}
td.serial-col .batch-row-check{
  margin:0 3px 0 0;
  vertical-align:middle;
}
.batch-field-grid{
  display:grid;
  grid-template-columns:minmax(220px,1fr) minmax(220px,1fr);
  gap:12px;
  align-items:end;
}
.batch-field-grid label{
  display:block;
  font-size:12px;
  font-weight:900;
  color:#475569;
  margin-bottom:6px;
}
.batch-help{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#334155;
  border-radius:12px;
  padding:10px;
  line-height:1.7;
  margin:10px 0;
  font-size:13px;
}
@media(max-width:780px){
  .batch-toolbar{gap:6px;padding:10px}
  .batch-count{width:100%;margin-left:0}
  .batch-field-grid{grid-template-columns:1fr}
}


  /* ===== 表头美化：隐藏重复的左插/右插/删列工具，鼠标悬停才显示 ===== */
  .col-tools{
    position:absolute!important;
    top:6px!important;
    right:6px!important;
    display:none!important;
    align-items:center!important;
    gap:4px!important;
    padding:4px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.96)!important;
    border:1px solid #dbeafe!important;
    box-shadow:0 8px 22px rgba(15,23,42,.16)!important;
    z-index:120!important;
    white-space:nowrap!important;
  }
  th:hover > .col-tools,
  th:focus-within > .col-tools{
    display:flex!important;
  }
  .col-tools button.small{
    padding:3px 6px!important;
    font-size:11px!important;
    line-height:1.2!important;
    border-radius:999px!important;
    box-shadow:none!important;
  }
  .col-tools button.small:not(.red){
    background:#64748b!important;
  }
  .col-tools button.small.red{
    background:#ef4444!important;
  }
  th{
    position:sticky!important;
    top:0!important;
    overflow:visible!important;
  }
  .col-name{
    min-height:34px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:6px 8px!important;
    line-height:1.25!important;
  }
  #fundTable th,
  #accountTable th{
    height:54px!important;
    vertical-align:middle!important;
  }
  #fundTable th:hover,
  #accountTable th:hover{
    background:#ffedd5!important;
  }
  @media (max-width: 900px){
    .col-tools{display:none!important}
    th:hover > .col-tools{display:none!important}
  }
