/* 第5批 供应链接入管理样式（独立命名空间 sp-，light 主题，与第2批 rp-/第3批 bm-/第4批 mx- 风格一致） */
.sp-modal { display: none; position: fixed; inset: 0; background: rgba(20,30,45,.42); z-index: 3400; align-items: center; justify-content: center; }
.sp-box { width: min(1160px, 97vw); max-height: 92vh; background: #fff; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.22); display: flex; flex-direction: column; overflow: hidden; }
.sp-hd { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; font-size: 15px; font-weight: 600; border-bottom: 1px solid #eef0f4; color: #1f2733; }
.sp-sub { color: #909399; font-size: 12px; font-weight: 400; margin-left: 8px; }
.sp-x { border: 0; background: transparent; font-size: 16px; cursor: pointer; color: #909399; }
.sp-tabs { display: flex; gap: 6px; padding: 10px 18px 0; border-bottom: 1px solid #eef0f4; flex-wrap: wrap; }
.sp-tab { border: 0; background: transparent; padding: 8px 14px; cursor: pointer; font-size: 13px; color: #6b7891; border-bottom: 2px solid transparent; }
.sp-tab.on { color: #0e8a6a; border-bottom-color: #0e8a6a; font-weight: 600; }
.sp-body { padding: 16px 18px; overflow: auto; }
.sp-empty { padding: 30px; text-align: center; color: #8895a8; font-size: 13px; }
.sp-muted { padding: 14px; color: #8895a8; font-size: 12.5px; }
.sp-msg { margin: 8px 0; padding: 7px 10px; border-radius: 6px; font-size: 12.5px; background: #eef4ff; color: #345; }
.sp-msg.err { background: #fdecec; color: #b23; }
.sp-msg.ok { background: #eafaf0; color: #2a7; }
.sp-tip { background: #eaf8f3; border: 1px solid #c8ecdd; color: #1c7a5c; padding: 8px 11px; border-radius: 6px; font-size: 12.5px; margin-bottom: 12px; }
.sp-bar { display: flex; gap: 8px; align-items: center; margin: 10px 0; flex-wrap: wrap; }
.sp-filter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.sp-lb { font-size: 12.5px; color: #5a6473; display: inline-flex; gap: 5px; align-items: center; }
.sp-inp { border: 1px solid #d8dfe8; border-radius: 6px; padding: 7px 9px; font-size: 12.5px; background: #fff; color: #222; }
textarea.sp-inp { width: 100%; font-family: ui-monospace, monospace; }
.sp-btn { border: 1px solid #0e8a6a; background: #0e8a6a; color: #fff; border-radius: 6px; padding: 6px 13px; font-size: 12.5px; cursor: pointer; }
.sp-btn.ghost { background: transparent; color: #0e8a6a; }
.sp-btn.danger { border-color: #d05050; background: transparent; color: #d05050; }
.sp-btn.xs { padding: 3px 8px; font-size: 11.5px; }
.sp-table-wrap { overflow: auto; }
.sp-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.sp-table th, .sp-table td { border-bottom: 1px solid #eef0f4; padding: 8px 9px; text-align: left; color: #3a4553; }
.sp-table th { background: #f7f9fb; color: #6b7891; font-weight: 600; }
.sp-table code { background: #f2f4f7; padding: 1px 5px; border-radius: 4px; font-size: 11.5px; }
.sp-badge { display: inline-block; padding: 1px 7px; border-radius: 10px; font-size: 11px; background: #eef4ff; color: #4a6; margin-left: 4px; }
.sp-badge.green { background: #eafaf0; color: #2a7; }
.sp-badge.amber { background: #fff4e0; color: #b8860b; }
.sp-badge.red { background: #fdecec; color: #d05050; }
.sp-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.sp-dot.on { background: #2a7; }
.sp-dot.off { background: #c0c6d0; }
.sp-form { margin-top: 14px; padding: 14px; border: 1px solid #e8ecf2; border-radius: 8px; background: #fafbfd; }
.sp-form h4 { margin: 0 0 12px; font-size: 13.5px; color: #2a3440; }
.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 14px; }
.sp-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #6b7891; }
.sp-grid .sp-inp { width: 100%; }
.sp-pre { background: #1f2733; color: #d8e2f0; border-radius: 7px; padding: 12px; font-size: 11.5px; overflow: auto; max-height: 300px; white-space: pre-wrap; word-break: break-all; }
.sp-checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.sp-chk { padding: 6px 11px; border-radius: 6px; font-size: 12.5px; }
.sp-chk.ok { background: #eafaf0; color: #2a7; }
.sp-chk.bad { background: #fdecec; color: #d05050; }
