/* ========== 售后管理模块 公共样式 ========== */
.prod-tabs { display: flex; background: #fff; border-radius: 10px 10px 0 0; padding: 0; border-bottom: 1px solid var(--edy-border);  }
.prod-tab { position: relative; padding: 14px 20px 14px 0; background: transparent; border: none; font-size: 14px; color: var(--edy-text-secondary); cursor: pointer; font-family: inherit; font-weight: 500; transition: color 0.2s; }
.prod-tab:hover { color: var(--edy-blue); }
.prod-tab.active { color: var(--edy-blue); font-weight: 600; }
.prod-tab.active::after { content: ''; position: absolute; left: 0; right: 16px; bottom: -1px; height: 2px; background: var(--edy-blue); border-radius: 2px; }
.prod-tab .count { color: var(--edy-text-tertiary); font-weight: 400; margin-left: 4px; font-size: 12px; }
.prod-tab.active .count { color: var(--edy-blue); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; padding: 14px 20px; background: #fff; border-bottom: 1px solid var(--edy-border-light); align-items: center; }
.filter-bar label { font-size: 13px; color: var(--edy-text-secondary); }
.filter-bar input, .filter-bar select { height: 32px; padding: 0 10px; border: 1px solid var(--edy-border); border-radius: 4px; font-size: 13px; font-family: inherit; outline: none; min-width: 140px; }
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--edy-blue); }
.filter-bar .btn { height: 32px; min-height: 32px; min-width: 60px; padding: 4px 12px; line-height: 22px; font-size: 14px; box-sizing: border-box; }

.list-card { background: #fff; border-radius: 0; overflow: hidden; }
.list-card.standalone { border-radius: 0; }
.list-card .data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.list-card .data-table th { background: #F9FAFB; padding: 12px 16px; text-align: left; font-weight: 500; color: var(--edy-text-primary); font-size: 13px; border-bottom: 1px solid #F3F4F6; }
.list-card .data-table td { padding: 14px 16px; border-bottom: 1px solid #F3F4F6; color: var(--edy-text-primary); vertical-align: middle; }
.list-card .data-table tbody tr:hover { background: #EFF6FF; }

/* ========== 售后模块统一表格样式（参考 bill/deposit.html .bill-table） ========== */
.data-table,
table.exec-table,
table.helper-orders-table,
.pv-table,
.tk-table,
.pick-table,
.aw-rules-table,
.rep-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th,
table.exec-table th,
table.helper-orders-table th,
.pv-table th,
.tk-table th,
.pick-table th,
.aw-rules-table th,
.rep-table thead th { background: #F9FAFB; padding: 12px 16px; text-align: left; font-weight: 500; color: var(--edy-text-primary); font-size: 13px; border-bottom: 1px solid #F3F4F6; }
.data-table td,
table.exec-table td,
table.helper-orders-table td,
.pv-table td,
.tk-table td,
.pick-table td,
.aw-rules-table td,
.rep-table td { padding: 14px 16px; border-bottom: 1px solid #F3F4F6; color: var(--edy-text-primary); vertical-align: middle; }
.data-table tbody tr:hover,
table.exec-table tbody tr:hover,
table.helper-orders-table tbody tr:hover,
.pv-table tbody tr:hover,
.tk-table tbody tr:hover,
.pick-table tbody tr:hover,
.aw-rules-table tbody tr:hover,
.rep-table tbody tr:hover { background: #EFF6FF; }

/* 去除斑马纹（覆盖 _shared.css 中的 nth-child 规则） */
.data-table tbody tr:nth-child(even),
table.exec-table tbody tr:nth-child(even),
table.helper-orders-table tbody tr:nth-child(even),
.pv-table tbody tr:nth-child(even),
.tk-table tbody tr:nth-child(even),
.pick-table tbody tr:nth-child(even),
.aw-rules-table tbody tr:nth-child(even),
.rep-table tbody tr:nth-child(even) { background: transparent; }
.data-table tbody tr:nth-child(even):hover,
table.exec-table tbody tr:nth-child(even):hover,
table.helper-orders-table tbody tr:nth-child(even):hover,
.pv-table tbody tr:nth-child(even):hover,
.tk-table tbody tr:nth-child(even):hover,
.pick-table tbody tr:nth-child(even):hover,
.aw-rules-table tbody tr:nth-child(even):hover,
.rep-table tbody tr:nth-child(even):hover { background: #EFF6FF; }

/* === 表格最外层容器去边框/阴影（参考 bill/deposit.html .bill-card） === */
.ev-table-card,
.rec-card,
.list-card:has(table),
.aw-card:has(table),
.fr-stat-card:has(table),
.filter-card:has(table) {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* === 表格本身圆角归零 === */
.data-table,
table.exec-table,
table.helper-orders-table,
.pv-table,
.tk-table,
.pick-table,
.aw-rules-table,
.rep-table,
.rec-table {
  border-radius: 0 !important;
}
.data-table th, .data-table td,
table.exec-table th, table.exec-table td,
table.helper-orders-table th, table.helper-orders-table td,
.pv-table th, .pv-table td,
.tk-table th, .tk-table td,
.pick-table th, .pick-table td,
.aw-rules-table th, .aw-rules-table td,
.rep-table th, .rep-table td,
.rec-table th, .rec-table td {
  border-radius: 0 !important;
}

/* 售后单行分组 */
.as-group { background: #fff; border: 1px solid var(--edy-border); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.as-head { display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: #F9FAFB; border-bottom: 1px solid var(--edy-border); font-size: 13px; color: var(--edy-text-secondary); }
.as-head strong { color: var(--edy-text-primary); font-weight: 600; }
.as-head .right { margin-left: auto; color: var(--edy-blue); cursor: pointer; font-size: 12px; }
.as-head .right:hover { text-decoration: underline; }
.as-body { display: grid; grid-template-columns: minmax(320px,2fr) 120px 100px 120px 160px 140px 130px; gap: 16px; padding: 14px 16px; align-items: center; }
.as-prod { display: flex; gap: 10px; min-width: 0; }
.as-prod img { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; background: #F2F4F7; flex-shrink: 0; border: 1px solid var(--edy-border-light); }
.as-prod .pinfo { min-width: 0; font-size: 12px; color: var(--edy-text-secondary); }
.as-prod .ptitle { color: var(--edy-text-primary); font-size: 13px; font-weight: 500; line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.as-amount { font-family: var(--edy-font-display); font-weight: 600; font-size: 14px; color: var(--edy-error); }
.as-status-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.as-status-badge.pending { background: rgba(245,158,11,0.12); color: var(--edy-warning); }
.as-status-badge.processing { background: rgba(79,110,247,0.12); color: var(--edy-blue); }
.as-status-badge.success { background: rgba(34,197,94,0.12); color: var(--edy-success); }
.as-status-badge.rejected { background: rgba(239,68,68,0.12); color: var(--edy-error); }
.as-status-badge.closed { background: rgba(142,142,147,0.12); color: #8E8E93; }

.row-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.row-actions .act { background: none; border: none; padding: 0; color: var(--edy-blue); font-size: 13px; cursor: pointer; font-weight: 500; font-family: inherit; text-align: left; }
.row-actions .act:hover { color: var(--edy-blue-hover); text-decoration: underline; }
.row-actions .act.danger { color: var(--edy-error); }
.row-actions .act.primary-btn { background: linear-gradient(135deg, #1D4ED8, #335FDC); color: #fff; padding: 6px 14px; border-radius: 6px; }
.row-actions .act.primary-btn:hover { text-decoration: none; color: #fff; }

/* 行内倒计时徽章 */
.as-countdown { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius:4px; font-size: 12px; font-weight: 500; line-height: 1.6; }
.as-countdown.normal { background: rgba(245,158,11,0.12); color: var(--edy-warning); }
.as-countdown.urgent { background: rgba(239,68,68,0.14); color: var(--edy-error); animation: as-countdown-pulse 1.6s ease-in-out infinite; }
.as-countdown::before { content: none; }
@keyframes as-countdown-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.65; } }

/* 子状态/警示行（位于 as-head 下方一行） */
.as-substrip { display: flex; gap: 8px; align-items: center; padding: 6px 16px; background: #FFFBEB; border-bottom: 1px solid #FDE68A; font-size: 12px; color: #92400E; }
.as-substrip.danger { background: #FEF2F2; border-bottom-color: #FECACA; color: #991B1B; }
.as-substrip.info { background: #EFF6FF; border-bottom-color: #BFDBFE; color: #1E40AF; }
.as-substrip .ic { font-size: 13px; flex-shrink: 0; }

.empty-state { padding: 80px 20px; text-align: center; color: var(--edy-text-tertiary); }
.empty-state svg { width: 64px; height: 64px; stroke: #C8CDD5; stroke-width: 1.5; fill: none; margin-bottom: 12px; }
.empty-state .empty-text { font-size: 14px; margin-bottom: 16px; }

.pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 14px 20px; font-size: 13px; color: var(--edy-text-secondary); }
.pager .pg-btn { min-width: 32px; height: 32px; padding: 0 10px; border: 1px solid var(--edy-border); border-radius: 6px; background: #fff; cursor: pointer; font-size: 13px; font-family: inherit; }
.pager .pg-btn:hover:not(:disabled) { border-color: var(--edy-blue); color: var(--edy-blue); }
.pager .pg-btn.active { background: var(--edy-blue); border-color: var(--edy-blue); color: #fff; }
.pager .pg-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.pager select { height: 32px; padding: 0 8px; border: 1px solid var(--edy-border); border-radius: 6px; font-size: 13px; background: #fff; }

/* 分页字体统一 12px（after 模块全页生效） */
.table-pagination { font-size: 12px; }
.pagination-size select { font-size: 12px; }

/* KPI 格子（工作台） */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 16px; }
.kpi-box { background: #fff; border-radius: 10px; border: 1px solid #eeeeee; padding: 18px 20px; }
.kpi-box .kt { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--edy-text-secondary); margin-bottom: 10px; }
.kpi-box .kt .view { color: var(--edy-blue); font-size: 12px; cursor: pointer; }
.kpi-box .kv { font-family: var(--edy-font-display); font-size: 26px; font-weight: 600; color: var(--edy-text-primary); line-height: 1.2; }
.kpi-box .kv .unit { font-size: 13px; color: var(--edy-text-secondary); margin-left: 4px; font-weight: 400; font-family: var(--edy-font-text); }
.kpi-box .kc { font-size: 12px; color: var(--edy-text-tertiary); margin-top: 4px; }
.kpi-box.warn .kv { color: var(--edy-warning); }
.kpi-box.danger .kv { color: var(--edy-error); }

/* Banner */
.after-banner { background: linear-gradient(90deg, #EFF6FF, #DBEAFE); border: 1px solid #BFDBFE; border-radius: 10px; padding: 8px 16px; font-size: 13px; color: #1A1D26; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 10px; }
.after-banner .ic { color: var(--edy-blue); font-size:14px; flex-shrink: 0; }
.after-banner.warn { background: linear-gradient(90deg, #FFFBEB, #FEF3C7); border-color: #FDE68A; color: #854D0E; }
.after-banner.warn .ic { color: #F59E0B; }

/* 表单 */
.form-card { background: #fff; border-radius: 10px; border: 1px solid #eeeeee; padding: 24px 28px; margin-bottom: 16px; }
.form-card-title { display: flex; align-items: center; font-size: 16px; font-weight: 600; color: var(--edy-text-primary); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--edy-border-light); }
.form-card-title::before { content: ''; width: 3px; height: 16px; background: var(--edy-blue); border-radius: 2px; margin-right: 8px; }
.fm-row { display: flex; align-items: flex-start; margin-bottom:16px; }
.fm-label { width: 140px; flex-shrink: 0; text-align: right; padding-right: 14px; padding-top: 9px; font-size: 13px; color: var(--edy-text-primary); }
.fm-label .req { color: var(--edy-error); margin-right: 3px; }
.fm-value { flex: 1; min-width: 0; }
.fm-input, .fm-select, .fm-textarea { width: 360px; max-width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--edy-border); border-radius: 6px; font-size: 13px; font-family: inherit; color: var(--edy-text-primary); background: #fff; outline: none; transition: border-color 0.2s; box-sizing: border-box; }
.fm-input.wide, .fm-select.wide, .fm-textarea.wide { width: 480px; }
.fm-input.xs { width: 140px; }
.fm-textarea { height: auto; min-height: 80px; padding: 10px 12px; line-height: 1.6; resize: vertical; }
.fm-input:focus, .fm-select:focus, .fm-textarea:focus { border-color: var(--edy-blue); box-shadow: 0 0 0 2px rgba(79,110,247,0.15); }
.fm-input.error, .fm-select.error, .fm-textarea.error { border-color: var(--edy-error); box-shadow: 0 0 0 2px rgba(239,68,68,0.12); }
.fm-hint { font-size: 12px; color: var(--edy-text-tertiary); margin-top: 6px; }
.fm-err { font-size: 12px; color: var(--edy-error); margin-top: 6px; display: none; }
.fm-err.show { display: block; }

.fm-radio-group { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.fm-radio { padding: 6px 16px; border: 1px solid var(--edy-border); border-radius: 6px; background: #fff; font-size: 13px; color: var(--edy-text-primary); cursor: pointer; transition: all 0.2s; font-family: inherit; }
.fm-radio:hover { border-color: var(--edy-blue); color: var(--edy-blue); }
.fm-radio.active { background: var(--edy-blue-light); border-color: var(--edy-blue); color: var(--edy-blue); font-weight: 500; }

.form-footer { display: flex; justify-content: center; gap: 12px; padding: 18px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-sm); margin-top: 16px; }

/* 模板推荐卡 */
.tpl-card { background: #fff; border-radius: 10px; border: 1px solid #eeeeee; padding: 16px 18px; position: relative;margin-bottom: 14px; }
.tpl-card:last-child { margin-bottom: 0; }
.tpl-card .tag-hot { position: absolute; top: 0; left: 0; background: linear-gradient(135deg, #F97316, #EA580C); color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 10px 0 6px 0; font-weight: 600; }
.tpl-card .tag-new { position: absolute; top: 0; left: 0; background: linear-gradient(135deg, #22C55E, #16A34A); color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 10px 0 6px 0; font-weight: 600; }
.tpl-card .tname { font-size: 14px; font-weight: 600; color: var(--edy-text-primary); margin: 12px 0 4px; display: flex; justify-content: space-between; align-items: center; }
.tpl-card .tname .users { font-size: 12px; color: var(--edy-text-tertiary); font-weight: 400; }
.tpl-card .kv-row { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--edy-border-light); margin-bottom: 8px; font-size: 12px; }
.tpl-card .kv-row .kv-item { flex: 1; }
.tpl-card .kv-row .k { color: var(--edy-text-tertiary); margin-bottom: 2px; }
.tpl-card .kv-row .v { color: var(--edy-text-primary); font-weight: 500; }
.tpl-card .tdesc { font-size: 12px; color: var(--edy-text-secondary); line-height: 1.7; margin-bottom: 10px; }

/* Modal */
.af-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1000; align-items: center; justify-content: center; }
.af-modal.show { display: flex; }
.af-modal .box { width: 560px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); max-height: 86vh; display: flex; flex-direction: column; overflow: hidden; }
.af-modal .head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--edy-border-light); }
.af-modal .head h3 { font-size: 16px; font-weight: 600; }
.af-modal .head .x { border: none; background: none; width: 28px; height: 28px; cursor: pointer; font-size: 18px; color: var(--edy-text-tertiary); border-radius: 4px; }
.af-modal .head .x:hover { background: #F2F4F7; color: var(--edy-text-primary); }
.af-modal .body { padding: 20px; overflow-y: auto; flex: 1; }
.af-modal .foot { padding: 14px 20px; border-top: 1px solid var(--edy-border-light); display: flex; justify-content: flex-end; gap: 10px; }

/* 举证上传卡 */
.upload-slot { width: 100px; height: 100px; border: 1px dashed var(--edy-border); border-radius: 6px; background: #FAFBFC; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--edy-text-tertiary); font-size: 12px; transition: all 0.2s; }
.upload-slot:hover { border-color: var(--edy-blue); color: var(--edy-blue); background: var(--edy-blue-light); }
.upload-slot .plus { font-size: 24px; line-height: 1; font-weight: 300; }
.upload-grid { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.upload-img { width: 100px; height: 100px; border-radius: 6px; background: #F2F4F7; overflow: hidden; position: relative; border: 1px solid var(--edy-border); }
.upload-img img { width: 100%; height: 100%; object-fit: cover; }
.upload-img .rm { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; background: rgba(0,0,0,0.55); color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: 12px; }

/* Toast */
.af-toast { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); background: rgba(26,29,38,0.92); color: #fff; padding: 10px 22px; border-radius: 8px; font-size: 13px; z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.af-toast.show { opacity: 1; }
.af-toast.success { background: rgba(34,197,94,0.95); }
.af-toast.error { background: rgba(239,68,68,0.95); }
.af-toast.warn { background: #FFF7E6; color: #874D00; border: 1px solid #FCD9A4; box-shadow: 0 6px 18px rgba(0,0,0,0.08); }

/* ========== 退款/售后 列表 — 对齐 merchant/ship 的 .order-group 风格 ========== */
.order-list-header.as-list-header {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) 100px 70px 70px 90px 120px 90px 208px;
  gap: 16px; padding: 10px 16px; align-items: center;
  background: #F9FAFB; border: 1px solid var(--edy-border);
  border-radius: 4px; margin-bottom: 10px;
  font-size: 12px; color: var(--edy-text-secondary); font-weight: 500;
}
.order-list-header.as-list-header .olh-prod { display: flex; align-items: center; gap: 10px; }
.order-list-header.as-list-header .olh-prod input[type="checkbox"] { margin: 0; }
.order-list-header.as-list-header > div:last-child { text-align: right; }

.order-group {
  background: #fff; border: 1px solid var(--edy-border);
  border-radius: 4px; margin-bottom: 12px; overflow: hidden;
}
.order-group .og-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 10px 16px; background: #F9FAFB;
  border-bottom: 1px solid var(--edy-border);
  font-size: 12px; color: var(--edy-text-secondary);
}
.order-group.as-group.has-alert .og-head { background: #fff2f0; }
.order-group .og-head .og-check { margin-right: 4px; }
.order-group .og-head strong { color: var(--edy-text-primary); font-weight: 600; }
.order-group .og-head .og-copy { font-size: 12px; color: var(--edy-blue); cursor: pointer; margin-left: 4px; }
.order-group .og-head .og-copy:hover { text-decoration: underline; }
.order-group .og-head .og-remark { font-size: 12px; color: #F97316; background: #FFF3E8; padding: 0 6px; border-radius: 4px; white-space: nowrap; }
.order-group .og-head .as-badge { font-size: 12px; padding: 1px 6px; border-radius: 3px; white-space: nowrap; line-height: 1.6; }
.order-group .og-head .as-badge-complaint { color: #fff; background: #EF4444; }
.order-group .og-head .og-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.order-group .og-head .og-deal-time { color: var(--edy-text-secondary); white-space: nowrap; }
.order-group .og-head .og-actions .as-countdown { color: var(--edy-text-secondary); background: transparent; padding: 0; }
.order-group .og-head .og-actions .as-countdown .cd-num { color: var(--edy-error); }
.order-group .og-head .as-contact { color: var(--edy-blue); cursor: pointer; white-space: nowrap; }
.order-group .og-head .as-contact:hover { text-decoration: underline; }
.order-group .og-flag {
  border: none; background: transparent; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; color: #9CA3AF;
  width:24px; height:24px; justify-content:center; position:relative;
}
.order-group .og-flag svg { width: 16px; height: 16px; transition: transform .15s; }
.order-group .og-flag:hover svg { transform: scale(1.12); }
.order-group .og-flag.c-default svg { color:#9CA3AF; }
.order-group .og-flag.c-red     svg { color:#EF4444; }
.order-group .og-flag.c-yellow  svg { color:#F59E0B; }
.order-group .og-flag.c-green   svg { color:#22C55E; }
.order-group .og-flag.c-blue    svg { color:#3B82F6; }
.order-group .og-flag.c-purple  svg { color:#A855F7; }
.order-group .og-flag.c-orange  svg { color:#F97316; }
.order-group .og-flag.c-cyan    svg { color:#06B6D4; }
.order-group .og-flag.c-pink    svg { color:#F9A8D4; }
.order-group .og-flag.c-olive   svg { color:#84A410; }
.order-group .og-flag.c-magenta svg { color:#DB2777; }
.order-group .og-flag.empty.c-default svg { color:#D1D5DB; }

.order-group .og-body {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) 100px 70px 70px 90px 120px 90px 208px;
  gap: 16px; padding: 14px 16px; align-items: center;
}
.order-group .og-prod { display: flex; gap: 10px; min-width: 0; }
.order-group .og-prod img {
  width: 52px; height: 52px; border-radius: 4px;
  object-fit: cover; background: #F2F4F7;
  border: 1px solid var(--edy-border-light); flex-shrink: 0;
}
.order-group .og-prod .op-info { min-width: 0; flex: 1 1 auto; position: relative; font-size: 12px; color: var(--edy-text-secondary); }
.order-group .og-prod .op-title {
  font-size: 12px; color: var(--edy-blue); font-weight: 400;
  line-height: 1.4; margin-bottom: 3px;
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
  cursor: pointer;
}
.order-group .og-prod .op-title:hover { text-decoration: underline; }
/* 商品名超出省略时，悬浮显示完整名称（白底气泡 + 指向箭头） */
.order-group .og-prod .op-title-tip {
  display: none; position: absolute; left: 0; bottom: 100%; margin-bottom: 8px; z-index: 60;
  background: #fff; color: #1A1D26; font-size: 12px; line-height: 1.5; font-weight: 400;
  padding: 6px 10px; border: 1px solid #E5E7EB; border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  white-space: normal; width: max-content; max-width: 260px; pointer-events: none;
}
.order-group .og-prod .op-title-tip::after {
  content: ''; position: absolute; left: 16px; top: 100%;
  width: 8px; height: 8px; background: #fff;
  border-right: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB;
  transform: translateY(-50%) rotate(45deg);
}
.order-group .og-prod .op-info.title-truncated .op-title:hover + .op-title-tip { display: block; }
.order-group .og-prod .op-id { color: var(--edy-text-tertiary); font-size: 12px; margin-bottom: 2px; }
.order-group .og-prod .op-spec { color: var(--edy-text-tertiary); font-size: 12px; }
.order-group .og-cell { font-size: 12px; color: var(--edy-text-primary); }
.order-group .og-cell .og-net {
  color: #1A1D26; cursor: pointer; border-bottom: 1px dashed #C9D1E0;
  padding-bottom: 1px; display: inline-block;
}
.order-group .og-cell .og-net:hover { color: #1D4ED8; border-bottom-color: #1D4ED8; }
.order-group .og-acts {
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 12px;
  justify-content: flex-end; align-items: center;
  text-align: right; white-space: nowrap; font-size: 12px;
}
.order-group .og-acts a { color: var(--edy-blue); cursor: pointer; }
.order-group .og-acts a:hover { text-decoration: underline; }
/* 备注/标记内容：操作列灰底块（色旗 + 名称 + 备注文字） */
.order-group .og-acts .og-note-tag {
  flex: 0 0 100%;
  display: inline-flex; align-items: flex-start; gap: 4px;
  margin-top: 2px; padding: 4px;
  background: #F3F4F6; border-radius: 4px;
  font-size: 12px; line-height: 1.5;
  white-space: normal; text-align: left; max-width: 100%;
}
.order-group .og-acts .og-note-tag .nt-flag { flex: none; display: inline-flex; align-items: center; line-height: 0; margin-top: 1px; }
.order-group .og-acts .og-note-tag .nt-flag svg { width: 13px; height: 13px; }
.order-group .og-acts .og-note-tag .nt-name { color: #6B7280; flex: none; }
.order-group .og-acts .og-note-tag .nt-text { color: #1A1D26; word-break: break-all; }
/* 发货状态彩色徽章（与 ship 一致） */
.order-group .og-cell .order-status,
.order-group .og-body .order-status {
  display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; line-height: 1.5;
}
.order-status.shipped { background: rgba(99,102,241,0.12); color: #6366F1; }
.order-status.pending-ship { background: rgba(37,99,235,0.12); color: #2563EB; }

/* ========== ship 风格弹窗（批量导出 / 已生成报表） ========== */
.ship-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 1000;
  align-items: center; justify-content: center;
}
.ship-modal.show { display: flex; }
.ship-modal .modal-box {
  position: relative; background: #fff; border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.16);
  max-height: 86vh; display: flex; flex-direction: column;
  overflow: visible; width: 560px;
}
.ship-modal .modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--edy-border-light);
  border-radius: 12px 12px 0 0;
}
.ship-modal .modal-head h3 { font-size: 16px; font-weight: 600; color: var(--edy-text-primary); }
.ship-modal .modal-body { padding: 20px 22px; overflow-y: auto; flex: 1; }
.ship-modal .modal-foot {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  padding: 14px 22px; border-top: 1px solid var(--edy-border-light);
  border-radius: 0 0 12px 12px;
}
.as-modal-close {
  position: absolute; top: -16px; right: -16px;
  width: 34px; height: 34px; border: none; border-radius: 50%;
  background: rgba(0,0,0,.42); color: #fff;
  font-size: 16px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
  z-index: 2;
}
.as-modal-close:hover { background: rgba(0,0,0,.6); }
.as-modal .as-kv {
  display: flex; font-size: 13px;
  color: var(--edy-text-primary); line-height: 2.4;
}
.as-modal .as-kv-label { color: var(--edy-text-secondary); min-width: 80px; }
.as-modal .as-report-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--edy-border-light); font-size: 12px;
}
.as-modal .as-report-table th {
  background: #F7F8FA; color: var(--edy-text-secondary);
  font-weight: 500; padding: 11px 12px;
  text-align: left; border-bottom: 1px solid var(--edy-border-light);
  white-space: nowrap;
}
.as-modal .as-report-table td {
  padding: 12px; color: var(--edy-text-primary);
  border-bottom: 1px solid var(--edy-border-light);
}
.as-modal .as-report-empty {
  text-align: center; color: var(--edy-text-tertiary);
  padding: 52px 0;
}
