/* DisputePilot v2 · Merchant Profile + Descriptors & network IDs (Nov 22 2026, Carl pt403u). Pairs with v2-merchant.js.
   Reuses gp-* cards, tabs, tables, pills and switches. Light weights (400/500), no inline SVG. */
body.dp-v2 .ms-wrap { max-width: 1280px; }
body.dp-v2 .ms-headcard { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
body.dp-v2 .ms-headcard .gp-lede a { color: #1B6F80; }
body.dp-v2 .ms-headright { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; justify-content: flex-end; flex: 0 0 auto; }
body.dp-v2 .ms-mid { font-size: 12px; color: #6B7F8C; margin-right: 4px; }
body.dp-v2 .ms-mid b { font-weight: 500; color: #163549; }
body.dp-v2 .ms-tabs { margin-bottom: 10px; flex-wrap: wrap; }
body.dp-v2 .ms-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
body.dp-v2 .ms-card-head .gp-h3 { margin: 0 0 2px; }
body.dp-v2 .ms-card-head .gp-muted { margin: 0; font-size: 13px; }
body.dp-v2 .ms-usedby { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 12px; color: #6B7F8C; }
body.dp-v2 .ms-uses { display: inline-flex; flex-wrap: wrap; gap: 4px; }
body.dp-v2 .ms-use { display: inline-block; font-size: 11px; font-weight: 500; line-height: 18px; padding: 0 8px; border-radius: 999px; border: 1px solid #D5DEE3; background: #F7F9FA; color: #35505F; white-space: nowrap; }
body.dp-v2 .ms-use.is-al { background: #FFF6E5; border-color: #F1DDB0; color: #8A5A00; }
body.dp-v2 .ms-use.is-pa { background: #E9F6F9; border-color: #C3E6EE; color: #1B6F80; }
body.dp-v2 .ms-use.is-rep { background: #EFEDFB; border-color: #D8D3F3; color: #4B3FA0; }
body.dp-v2 .ms-use.is-os { background: #EEF4EF; border-color: #CFE3D3; color: #2E6B3B; }
body.dp-v2 .ms-grid { display: grid; gap: 12px 14px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
body.dp-v2 .ms-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.dp-v2 .ms-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.dp-v2 .ms-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
body.dp-v2 .ms-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
body.dp-v2 .ms-lab { font-size: 12px; font-weight: 500; color: #35505F; }
body.dp-v2 .ms-req { color: #C0392B; }
body.dp-v2 .ms-in { height: 36px; border: 1px solid rgba(22,53,73,.18); border-radius: 8px; padding: 0 10px; font: inherit; font-size: 13px; font-weight: 400; color: #163549; background: #fff; width: 100%; min-width: 0; box-sizing: border-box; }
body.dp-v2 textarea.ms-in { height: auto; min-height: 36px; padding: 8px 10px; resize: vertical; line-height: 1.4; }
body.dp-v2 .ms-in[readonly] { background: #F4F6F8; color: #4E6574; }
body.dp-v2 .ms-in:focus { outline: 2px solid rgba(46,179,201,.35); outline-offset: 0; border-color: #2EB3C9; }
body.dp-v2 .ms-in.is-sm { height: 32px; font-size: 13px; padding: 0 8px; }
body.dp-v2 .ms-in.is-mono { font-family: "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .02em; }
body.dp-v2 .ms-in.cr-num { width: 90px; display: inline-block; }
body.dp-v2 .ms-help { font-size: 12px; color: #6B7F8C; line-height: 1.4; }
body.dp-v2 .ms-err { display: block; font-size: 12px; color: #B0362B; line-height: 1.4; margin-top: 3px; white-space: normal; }
body.dp-v2 .ms-h4 { font-size: 13px; font-weight: 500; color: #163549; margin: 4px 0 8px; }
body.dp-v2 .ms-h4 + .ms-grid { margin-bottom: 14px; }
body.dp-v2 .ms-brands { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 12px; }
body.dp-v2 .ms-brands .gp-card { margin: 0; }
body.dp-v2 .ms-brands .ms-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.dp-v2 .ms-brand-foot { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 10px; font-size: 13px; color: #35505F; }
body.dp-v2 .ms-brand-foot b { font-weight: 500; margin-right: 6px; color: #163549; }
body.dp-v2 .ms-view code, body.dp-v2 .ms-shared-card code, body.dp-v2 .cs-wrap code { font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12px; background: #F1F4F6; border: 1px solid #E1E7EB; border-radius: 4px; padding: 0 5px; color: #163549; white-space: nowrap; }
body.dp-v2 .ms-table td small { display: block; font-size: 12px; color: #6B7F8C; line-height: 1.45; margin-top: 2px; }
body.dp-v2 .ms-table b { font-weight: 500; }
body.dp-v2 .ms-edit td { vertical-align: middle; }
body.dp-v2 .ms-edit tr.is-err td { background: #FFFAF3; }
body.dp-v2 .ms-edit td .ms-in { min-width: 96px; }
body.dp-v2 .ms-edit td:first-child .ms-in { min-width: 140px; }
body.dp-v2 .ms-edit select.ms-in { min-width: 120px; }
body.dp-v2 .ms-enr { display: grid; grid-template-columns: auto auto; gap: 3px 8px; align-items: center; justify-content: start; font-size: 12px; color: #6B7F8C; white-space: nowrap; }
body.dp-v2 .ms-enr .gp-pill { justify-self: start; }
body.dp-v2 .ms-x { text-align: right; white-space: nowrap; }
body.dp-v2 .ms-matrix td { vertical-align: top; }
body.dp-v2 .ms-matrix td:first-child a { color: #163549; text-decoration: none; }
body.dp-v2 .ms-matrix td:first-child a:hover { text-decoration: underline; }
body.dp-v2 .ms-yes { display: inline-block; font-size: 11px; font-weight: 500; color: #0C8A4E; background: #E7F7EF; border: 1px solid #BFE6D1; border-radius: 999px; padding: 0 8px; line-height: 18px; }
body.dp-v2 .ms-no { color: #9AA9B3; }
body.dp-v2 .ms-ready { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 12px; }
body.dp-v2 .ms-ready .gp-card { margin: 0; display: flex; flex-direction: column; }
body.dp-v2 .ms-ready .gp-fine { margin-top: auto; padding-top: 8px; }
body.dp-v2 .ms-rk { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 4px; }
body.dp-v2 .ms-rk.is-al { color: #8A5A00; } body.dp-v2 .ms-rk.is-pa { color: #1B6F80; } body.dp-v2 .ms-rk.is-rep { color: #4B3FA0; }
body.dp-v2 .ms-chks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
body.dp-v2 .ms-chk { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #35505F; line-height: 1.45; }
body.dp-v2 .ms-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: #9AA9B3; }
body.dp-v2 .ms-chk.is-ok .ms-dot { background: #0C8A4E; } body.dp-v2 .ms-chk.is-warn .ms-dot { background: #E0A21A; } body.dp-v2 .ms-chk.is-bad .ms-dot { background: #D4685F; }
body.dp-v2 .ms-rules { margin: 0; padding-left: 18px; font-size: 13px; color: #35505F; line-height: 1.55; }
body.dp-v2 .ms-rules li { margin-bottom: 6px; }
body.dp-v2 .ms-rules b { font-weight: 500; color: #163549; }
body.dp-v2 .ms-sub { margin-top: 6px; font-size: 13px; }
body.dp-v2 .ms-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #35505F; margin-top: 6px; }
body.dp-v2 .ms-inline .ms-in { width: auto; }
body.dp-v2 .ms-warnline, body.dp-v2 .ms-okline { font-size: 13px; border-radius: 8px; padding: 8px 12px; margin: 0 0 12px; }
body.dp-v2 .ms-warnline { background: #FFF6E5; border: 1px solid #F1DDB0; color: #7A5000; }
body.dp-v2 .ms-okline { background: #E7F7EF; border: 1px solid #BFE6D1; color: #0B6B3D; margin-top: 10px; }
body.dp-v2 .ms-card .cr-rules li:first-child { border-top: 0; }
/* read-only card on product setup pages */
body.dp-v2 .ms-shared-card { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; background: #F6FBFC; border: 1px solid #CFE9EF; border-radius: 10px; padding: 12px 16px; margin: 0 0 12px; }
body.dp-v2 .ms-shared-card ul { margin: 4px 0 0; padding-left: 16px; font-size: 13px; color: #35505F; line-height: 1.5; }
body.dp-v2 .ms-sk { margin: 0; font-size: 12px; font-weight: 500; color: #1B6F80; }
body.dp-v2 .ms-sl { display: flex; flex-wrap: wrap; gap: 6px; }
body.dp-v2 .ms-sl .gp-btn, body.dp-v2 .ms-card .gp-fine a { text-decoration: none; }
body.dp-v2 .ms-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #163549; color: #fff; font-size: 13px; padding: 10px 16px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 9999; max-width: 90vw; }
body.dp-v2 .ms-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1100px) {
  body.dp-v2 .ms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.dp-v2 .ms-ready, body.dp-v2 .ms-brands { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  body.dp-v2 .ms-headcard { flex-direction: column; }
  body.dp-v2 .ms-headright { justify-content: flex-start; }
  body.dp-v2 .ms-grid, body.dp-v2 .ms-grid.is-4, body.dp-v2 .ms-grid.is-3, body.dp-v2 .ms-grid.is-2, body.dp-v2 .ms-brands .ms-grid.is-4 { grid-template-columns: minmax(0, 1fr); }
  body.dp-v2 .ms-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  body.dp-v2 .ms-tabs .gp-tab { white-space: nowrap; }
  /* tables become stacked cards */
  body.dp-v2 .ms-table thead { display: none; }
  body.dp-v2 .ms-table, body.dp-v2 .ms-table tbody, body.dp-v2 .ms-table tr, body.dp-v2 .ms-table td { display: block; width: 100%; box-sizing: border-box; }
  body.dp-v2 .ms-table tbody tr { height: auto; }
  body.dp-v2 .ms-table tr { border: 1px solid rgba(22,53,73,.10); border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; background: #fff; }
  body.dp-v2 .ms-table td { border: 0; padding: 5px 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; align-items: center; }
  body.dp-v2 .ms-table td::before { content: attr(data-label); font-size: 12px; color: #6B7F8C; }
  body.dp-v2 .ms-table td.ms-x { display: block; text-align: left; }
  body.dp-v2 .ms-table td.ms-x::before { content: none; }
  body.dp-v2 .ms-table td.pc-n { text-align: left; }
  body.dp-v2 .ms-edit td .ms-in, body.dp-v2 .ms-edit td:first-child .ms-in { min-width: 0; }
  body.dp-v2 .ms-table .gp-table-wrap, body.dp-v2 .ms-card .gp-table-wrap { overflow: visible; }
  body.dp-v2 .ms-shared-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  body.dp-v2 .ms-table td > * { grid-column: 2; }
  body.dp-v2 .ms-table td { row-gap: 4px; justify-items: start; }
  body.dp-v2 .ms-table td > input, body.dp-v2 .ms-table td > select { justify-self: stretch; }
  body.dp-v2 .ms-table td::before { grid-column: 1; grid-row: 1 / span 6; }
}
