/* v3.10-LTS6-P10.2 UI stabilization
   目标：统一表格滚动层、修复 sticky 表头/固定列错乱、恢复快捷登记配置/检查按钮。 */
html[data-reserve-p102="1"] .scroll:has(#accountTable),
html[data-reserve-p102="1"] .scroll:has(#fundTable){
  position:relative!important;
  overflow:auto!important;
  max-width:100%!important;
  overscroll-behavior:contain!important;
  background:#fff!important;
  border-radius:14px!important;
  isolation:isolate!important;
}
html[data-reserve-p102="1"] #accountTable,
html[data-reserve-p102="1"] #fundTable{
  width:max-content!important;
  min-width:100%!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:#fff!important;
}
html[data-reserve-p102="1"] #accountTable thead,
html[data-reserve-p102="1"] #fundTable thead{
  position:relative!important;
  z-index:200!important;
}
html[data-reserve-p102="1"] #accountTable thead th,
html[data-reserve-p102="1"] #fundTable thead th{
  position:sticky!important;
  top:0!important;
  z-index:220!important;
  background:#fde7d5!important;
  box-shadow:0 1px 0 rgba(148,163,184,.45), 0 2px 8px rgba(15,23,42,.06)!important;
  background-clip:padding-box!important;
  transform:translateZ(0)!important;
}
html[data-reserve-p102="1"] #accountTable thead th.col-sticky-cell,
html[data-reserve-p102="1"] #fundTable thead th.col-sticky-cell,
html[data-reserve-p102="1"] #accountTable thead th.serial-col,
html[data-reserve-p102="1"] #fundTable thead th.serial-col{
  z-index:260!important;
}
html[data-reserve-p102="1"] #accountTable tbody td.col-sticky-cell,
html[data-reserve-p102="1"] #fundTable tbody td.col-sticky-cell{
  z-index:80!important;
  background:#fff!important;
  box-shadow:1px 0 0 rgba(148,163,184,.25)!important;
  background-clip:padding-box!important;
}
html[data-reserve-p102="1"] #accountTable .row-sticky-cell,
html[data-reserve-p102="1"] #fundTable .row-sticky-cell{
  position:static!important;
  top:auto!important;
  z-index:auto!important;
}
html[data-reserve-p102="1"] #accountTable th,
html[data-reserve-p102="1"] #accountTable td,
html[data-reserve-p102="1"] #fundTable th,
html[data-reserve-p102="1"] #fundTable td{
  box-sizing:border-box!important;
  white-space:nowrap!important;
  vertical-align:middle!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html[data-reserve-p102="1"] #accountTable input,
html[data-reserve-p102="1"] #accountTable select,
html[data-reserve-p102="1"] #fundTable input,
html[data-reserve-p102="1"] #fundTable select{
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
html[data-reserve-p102="1"] #accountTable .col-tools,
html[data-reserve-p102="1"] #fundTable .col-tools{
  display:none!important;
}
html[data-reserve-p102="1"] #accountTable th:hover .col-tools,
html[data-reserve-p102="1"] #fundTable th:hover .col-tools{
  display:flex!important;
  justify-content:center!important;
  gap:3px!important;
}
html[data-reserve-p102="1"] .p102-draft-row td{
  background:#fff7ed!important;
}
html[data-reserve-p102="1"] .p102-draft-actions{
  display:flex!important;
  gap:6px!important;
  justify-content:center!important;
  align-items:center!important;
}
.p102-mask{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:100000;display:flex;align-items:center;justify-content:center;padding:18px}.p102-modal{width:min(1120px,96vw);max-height:92vh;overflow:hidden;background:#fff;border-radius:22px;box-shadow:0 24px 80px rgba(15,23,42,.35);display:flex;flex-direction:column}.p102-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #e2e8f0}.p102-head b{font-size:18px;color:#0f172a}.p102-head button{background:#ef4444;color:#fff;border:0;border-radius:999px;padding:7px 11px}.p102-body{padding:16px 18px;overflow:auto}.p102-note{background:#eff6ff;border:1px solid #bfdbfe;border-radius:14px;padding:12px 14px;color:#1e3a8a;font-weight:700;line-height:1.6}.p102-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.p102-actions button{border:0;border-radius:12px;padding:10px 14px;font-weight:900;background:#0f766e;color:white}.p102-actions button.gray{background:#64748b}.p102-actions button.red{background:#ef4444}.p102-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.p102-row{display:grid;grid-template-columns:42px 1fr 220px 220px;gap:8px;align-items:center;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;padding:10px}.p102-row input{width:auto}.p102-name{font-weight:900;color:#0f172a}.p102-key{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#475569;font-size:12px;overflow:hidden;text-overflow:ellipsis}.p102-row-actions{display:flex;gap:5px;justify-content:flex-end;flex-wrap:wrap}.p102-row-actions button{font-size:12px;border-radius:9px;padding:6px 8px;background:#64748b;color:#fff;border:0}.p102-required{display:inline-flex;margin-left:6px;padding:2px 7px;border-radius:999px;background:#dcfce7;color:#166534;font-size:12px;font-weight:900}@media(max-width:900px){.p102-row{grid-template-columns:34px 1fr}.p102-key,.p102-row-actions{grid-column:2}}
