/* Shared native-table baseline: merchant management is the visual reference.
   New native tables use system-table-scroll + system-table; override column widths only. */
:root {
  --system-table-text: #606266;
  --system-table-border: #ebeef5;
  --system-table-stripe: #fafafa;
  --system-table-hover: #f5f7fa;
}
.system-table-scroll { width:100%; max-width:100%; overflow:auto; border-top:1px solid var(--system-table-border); border-bottom:1px solid var(--system-table-border); }
:is(.system-table,.mm-native-table) { width:100%; table-layout:fixed; border-collapse:separate; border-spacing:0; color:var(--system-table-text); font-size:14px; background:#fff; }
.system-table { min-width:var(--system-table-min-width,1180px); white-space:nowrap; }
:is(.system-table,.mm-native-table) th,:is(.system-table,.mm-native-table) td { box-sizing:border-box; padding:9px 10px; text-align:left; vertical-align:middle; border-bottom:1px solid var(--system-table-border); }
:is(.system-table,.mm-native-table) th { height:46px; padding-top:7px; padding-bottom:7px; color:#606266; font-weight:600; background:#fff; }
:is(.system-table,.mm-native-table) tbody tr:nth-child(even) td { background:var(--system-table-stripe); }
:is(.system-table,.mm-native-table) tbody tr:hover td { background:var(--system-table-hover); }
:is(.system-table,.mm-native-table) tbody tr:last-child td { border-bottom:0; }
.system-table td { overflow:hidden; text-overflow:ellipsis; }
.system-table tbody tr:has(>td:only-child[colspan]) > td { height:84px; text-align:center; color:#909399; background:#fff; }
.system-table .system-table-line { display:block; min-height:26px; line-height:26px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#526177; }
.system-table .system-table-line + .system-table-line { margin-top:5px; }
.system-table .system-table-secondary { color:#8492a6; }
.system-table .system-table-tag { display:inline-block; box-sizing:border-box; height:22px; padding:0 7px; border:1px solid #d9ecff; border-radius:4px; color:#409eff; background:#ecf5ff; font-size:12px; font-weight:400; line-height:20px; white-space:nowrap; }
.system-table .system-table-tag.is-warning { color:#e6a23c; background:#fdf6ec; border-color:#faecd8; }
/* Shared one-to-one merchant / WeCom group picker. */
.wl-search{display:flex;align-items:center;gap:12px;margin:12px 0}
.wl-search .el-input{flex:1;min-width:0}.wl-search .el-button{margin-left:0}
.wl-selected{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0;color:#606266;font-size:14px}
.wl-selected .el-tag{max-width:100%;height:auto;min-height:24px}.wl-selected .el-tag__content{white-space:normal;overflow-wrap:anywhere}
.wl-table-scroll{max-height:360px}.wl-occupied{color:#909399;font-size:12px}.wl-pagination{display:flex;justify-content:flex-end;overflow:auto;padding-top:12px}
.wecom-link-dialog .el-dialog__body{max-height:calc(100vh - 210px);overflow:auto}.wecom-link-dialog .el-dialog__footer .el-button{margin-left:12px}
.wg-link-button{display:block;border:0;padding:4px 0;background:none;color:#409eff;font:inherit;cursor:pointer}
.wecom-link-dialog.el-dialog{width:min(920px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;min-width:0!important}
