/* 会员账户修改审核 — 补充样式（布局复用 member-list.css） */
.audit-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 12px;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
  padding: 0 16px;
  border-radius: 8px 8px 0 0;
}
.audit-tabs .atab {
  padding: 12px 18px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.audit-tabs .atab:hover { color: #1677ff; }
.audit-tabs .atab.on {
  color: #1677ff;
  font-weight: 600;
  border-bottom-color: #1677ff;
}

.action-bar.audit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.btn-orange {
  background: #fa8c16;
  border-color: #fa8c16;
  color: #fff;
}
.btn-orange:hover { background: #d46b08; border-color: #d46b08; color: #fff; }
.btn-ghost-blue {
  background: #e6f4ff;
  border-color: #91caff;
  color: #1677ff;
}
.btn-ghost-blue:hover { background: #bae0ff; }

.filter-grid.audit-filter {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 12px 16px;
}
.filter-grid.audit-filter .field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.filter-grid.audit-filter .flabel {
  flex: 0 0 72px;
  text-align: right;
  color: #666;
  font-size: 13px;
  white-space: nowrap;
}
.filter-grid.audit-filter .field > input,
.filter-grid.audit-filter .field > select {
  flex: 1;
  min-width: 0;
}
.filter-grid.audit-filter .daterange {
  display: flex;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.filter-grid.audit-filter .daterange input {
  flex: 1;
  min-width: 0;
}

.tag-type {
  display: inline-block;
  padding: 0 5px;
  border-radius: 2px;
  font-size: 11px;
  line-height: 18px;
  background: #fff1f0;
  color: #cf1322;
  border: 1px solid #ffa39e;
  margin-left: 4px;
  vertical-align: middle;
}

.badge-pending,
.badge-pass,
.badge-reject,
.badge-muted {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}
.badge-pending {
  background: #e6f4ff;
  color: #1677ff;
}
.badge-pass {
  background: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}
.badge-reject {
  background: #fff1f0;
  color: #cf1322;
  border: 1px solid #ffa39e;
}
.badge-muted {
  background: #f5f5f5;
  color: #8c8c8c;
}

.btn-audit,
.btn-audit-orange {
  border: none;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  color: #fff;
}
.btn-audit {
  background: #1677ff;
}
.btn-audit:hover { background: #0958d9; }
.btn-audit-orange {
  background: #fa8c16;
}
.btn-audit-orange:hover { background: #d46b08; }

.audit-table {
  min-width: 1280px;
}
.audit-table th,
.audit-table td {
  vertical-align: middle;
  font-size: 13px;
}
.audit-table .col-check {
  width: 40px;
  text-align: center;
}
.audit-table .col-op {
  white-space: nowrap;
}
.audit-table .col-orderno {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.audit-table .col-time {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.audit-table .col-wide {
  max-width: 200px;
  word-break: break-all;
  line-height: 1.45;
}
.audit-table .col-info {
  min-width: 200px;
  max-width: 260px;
  vertical-align: top;
}

.audit-info {
  font-size: 12px;
  line-height: 1.7;
  color: #333;
  text-align: left;
  white-space: nowrap;
}
.audit-info .ai-k {
  color: #8c8c8c;
}

/* 审核页：无右侧 PRD 栏，内容铺满 */
.content-wrap {
  display: block;
  overflow: auto;
}
.content-wrap > .content {
  width: 100%;
  max-width: none;
}

.audit-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  background: #fff;
  border-radius: 8px;
  padding-right: 12px;
}
.audit-toolbar .audit-tabs {
  margin: 0;
  flex: 1;
  border-radius: 8px 0 0 0;
}
.btn-prd {
  flex: 0 0 auto;
  background: #fff1f0;
  border-color: #ffa39e;
  color: #cf1322;
  font-weight: 600;
}
.btn-prd:hover {
  background: #ffccc7;
  border-color: #ff7875;
  color: #a8071a;
}

/* 需求说明大弹窗 */
.prd-modal-mask {
  z-index: 1300;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.prd-doc-modal {
  width: min(960px, 96vw);
  max-height: min(88vh, 920px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.prd-modal-hd {
  align-items: flex-start;
  text-align: left;
}
.prd-modal-hd .modal-title {
  text-align: left;
  font-size: 18px;
  margin-top: 2px;
}
.prd-modal-hd .prd-kicker {
  font-size: 12px;
  color: #cf1322;
  font-weight: 600;
}
.prd-modal-hd .prd-scope {
  margin-top: 4px;
  font-size: 12px;
  color: #8c8c8c;
}
.prd-stage-btns {
  display: flex;
  gap: 8px;
  padding: 12px 20px 0;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}
.prd-stage-btn {
  appearance: none;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #595959;
  border-radius: 6px 6px 0 0;
  padding: 8px 22px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: -1px;
}
.prd-stage-btn:hover {
  color: #1677ff;
  border-color: #91caff;
}
.prd-stage-btn.on {
  color: #1677ff;
  font-weight: 600;
  border-color: #1677ff;
  border-bottom-color: #fff;
  background: #fff;
}
.prd-modal-body {
  flex: 1;
  overflow: auto;
  max-height: none;
  padding: 16px 20px 8px;
  background: #fff;
}
.prd-doc .prd-block {
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: #fff;
}
.prd-doc .prd-block.focus {
  border-color: #ffccc7;
  background: #fff7f6;
}
.prd-doc .prd-block h3 {
  margin: 0 0 8px;
  font-size: 14px;
}
.prd-doc .prd-block h4 {
  margin: 14px 0 8px;
  font-size: 13px;
  color: #262626;
}
.prd-doc .prd-block h4:first-of-type {
  margin-top: 4px;
}
.prd-ol {
  margin: 0 0 10px;
  padding-left: 20px;
}
.prd-ol li {
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #434343;
}
.prd-modal-ft {
  justify-content: flex-end;
  border-top: 1px solid #f0f0f0;
}
.prd-block .note {
  color: #8c8c8c;
  font-size: 12px;
}
.prd-emph {
  margin: 8px 0 10px;
  font-size: 12px;
  line-height: 1.55;
  color: #262626;
  font-weight: 700;
}
.prd-hot {
  color: #cf1322;
  font-weight: 600;
}
.prd-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 10px;
  font-size: 12px;
  line-height: 1.45;
  background: #fff;
}
.prd-table th,
.prd-table td {
  border: 1px solid #f0f0f0;
  padding: 7px 8px;
  vertical-align: top;
  text-align: left;
  color: #434343;
}
.prd-table th {
  background: #fff7f6;
  color: #cf1322;
  font-weight: 600;
  white-space: nowrap;
}
.prd-table td:first-child {
  width: 42%;
  color: #262626;
  font-weight: 500;
  background: #fffafa;
}
.prd-table .prd-hot {
  font-weight: 600;
}
.prd-example-label {
  margin: 10px 0 6px;
  font-size: 13px;
  color: #262626;
}
.prd-example-label:first-of-type {
  margin-top: 4px;
}
.prd-pre {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.55;
  color: #434343;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.prd-pre .prd-hot {
  font-weight: 600;
}

/* 批量修改代理一审/二审弹窗（数量确认样式） */
.modal.agent-audit-modal {
  width: min(520px, 94vw);
}
.agent-audit-hd {
  justify-content: space-between;
  align-items: center;
}
.agent-audit-hd .modal-title {
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #262626;
}
.agent-audit-body {
  padding: 8px 24px 20px;
}
.agent-summary {
  margin-bottom: 18px;
}
.agent-summary-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #262626;
}
.agent-summary-line strong {
  font-weight: 600;
  color: #262626;
}
.agent-summary-line .agent-num {
  color: #cf1322;
  font-weight: 700;
  font-size: 16px;
  margin: 0 2px;
}
.agent-remark-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.agent-remark-caption {
  font-size: 14px;
  color: #262626;
  font-weight: 500;
}
.agent-remark-caption .req {
  color: #ff4d4f;
  margin-right: 2px;
}
.agent-remark-wrap {
  position: relative;
}
.agent-remark-input {
  width: 100%;
  min-height: 120px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 10px 12px 28px;
  font-size: 14px;
  font-family: inherit;
  color: #262626;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.5;
}
.agent-remark-input::placeholder {
  color: #bfbfbf;
}
.agent-remark-input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, .12);
}
.agent-remark-input.is-error {
  border-color: #ff4d4f;
}
.agent-remark-counter {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 12px;
  color: #8c8c8c;
  pointer-events: none;
  line-height: 1;
}
.modal-ft.agent-audit-ft {
  justify-content: flex-end;
}
.btn-pass {
  background: #52c41a;
  border-color: #52c41a;
  color: #fff;
}
.btn-pass:hover {
  background: #389e0d;
  border-color: #389e0d;
  color: #fff;
}
.btn-reject {
  background: #ff4d4f;
  border-color: #ff4d4f;
  color: #fff;
}
.btn-reject:hover {
  background: #cf1322;
  border-color: #cf1322;
  color: #fff;
}

.pager-ellipsis {
  display: inline-block;
  padding: 0 4px;
  color: #999;
  font-size: 13px;
  line-height: 28px;
}
.pager .btn.sm[disabled] {
  opacity: .4;
  cursor: not-allowed;
}

@media (max-width: 1200px) {
  .filter-grid.audit-filter {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

