/* DisputePilot v2 · Representment case list + case summary (Nov 22 2026, Carl pt403u). Pairs with v2-cases.js.
   Reuses gp-* / in-kpi styles. Light weights, CSS-only bars and steps, no inline SVG. */
body.dp-v2 .cs-wrap { margin-top: 4px; }
body.dp-v2 .cs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.dp-v2 .cs-kpis { margin-bottom: 12px; }
body.dp-v2 .cs-kpis .in-kpi.is-warn .in-kpi-v { color: #9A6700; }
body.dp-v2 .cs-break { padding-bottom: 12px; }
body.dp-v2 .cs-break-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
body.dp-v2 .cs-break-h .gp-h3 { margin: 0; }
body.dp-v2 .cs-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #F0F3F5; gap: 2px; }
body.dp-v2 .cs-seg { display: block; min-width: 6px; }
body.dp-v2 .is-new.cs-seg, body.dp-v2 .cs-k.is-new { background: #2EB3C9; }
body.dp-v2 .is-evidence.cs-seg, body.dp-v2 .cs-k.is-evidence { background: #E0A21A; }
body.dp-v2 .is-submitted.cs-seg, body.dp-v2 .cs-k.is-submitted { background: #6F63C9; }
body.dp-v2 .is-prearb.cs-seg, body.dp-v2 .cs-k.is-prearb { background: #C77B12; }
body.dp-v2 .is-won.cs-seg, body.dp-v2 .cs-k.is-won { background: #0C8A4E; }
body.dp-v2 .is-lost.cs-seg, body.dp-v2 .cs-k.is-lost { background: #D4685F; }
body.dp-v2 .is-accepted.cs-seg, body.dp-v2 .cs-k.is-accepted { background: #A9B7C0; }
body.dp-v2 .is-expired.cs-seg, body.dp-v2 .cs-k.is-expired { background: #8E2F27; }
body.dp-v2 .cs-legend { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
body.dp-v2 .cs-leg { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; background: #fff; border: 1px solid rgba(22,53,73,.10); border-radius: 8px; padding: 7px 9px; font: inherit; font-size: 12px; color: #35505F; cursor: pointer; }
body.dp-v2 .cs-leg:hover { border-color: rgba(22,53,73,.25); }
body.dp-v2 .cs-leg.is-on { border-color: #2EB3C9; box-shadow: 0 0 0 1px #2EB3C9 inset; }
body.dp-v2 .cs-leg span { font-size: 18px; font-weight: 500; color: #163549; line-height: 1.2; }
body.dp-v2 .cs-leg small { font-size: 11px; color: #6B7F8C; }
body.dp-v2 .cs-k { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: 0; }
body.dp-v2 .cs-chips { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
body.dp-v2 .cs-n { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: rgba(22,53,73,.08); font-size: 11px; line-height: 16px; text-align: center; }
body.dp-v2 .gp-filter.is-on .cs-n { background: rgba(255,255,255,.22); }
body.dp-v2 .cs-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
body.dp-v2 .cs-search { flex: 1 1 260px; min-width: 200px; }
body.dp-v2 .cs-search .ms-in { height: 34px; }
body.dp-v2 .cs-sel .ms-in { width: auto; max-width: 220px; }
body.dp-v2 .cs-count { font-size: 12px; color: #6B7F8C; margin: 0 0 6px; }
body.dp-v2 .cs-table td { vertical-align: middle; }
body.dp-v2 .cs-table td small { display: block; font-size: 12px; color: #6B7F8C; line-height: 1.4; margin-top: 1px; max-width: 200px; }
body.dp-v2 .cs-table th, body.dp-v2 .cs-table td { padding-left: 8px; padding-right: 8px; }
body.dp-v2 .cs-table b { font-weight: 500; }
body.dp-v2 .cs-row { cursor: pointer; }
body.dp-v2 .cs-row:hover td { background: #F7FBFC; }
body.dp-v2 .cs-id { font-weight: 500; color: #1B6F80; text-decoration: none; white-space: nowrap; }
body.dp-v2 .cs-id:hover { text-decoration: underline; }
body.dp-v2 .cs-due { white-space: nowrap; }
body.dp-v2 .cs-due.is-hot { color: #B0362B; font-weight: 500; }
body.dp-v2 .cs-due.is-soon { color: #9A6700; font-weight: 500; }
body.dp-v2 .cs-open { text-align: right; white-space: nowrap; }
body.dp-v2 .cs-open .gp-btn { text-decoration: none; }
/* case summary on the case page */
body.dp-v2 .cs-summary { margin-bottom: 12px; }
body.dp-v2 .cs-sum-h { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
body.dp-v2 .cs-sum-h .gp-h3 { margin: 2px 0 2px; }
body.dp-v2 .cs-sum-h .gp-muted { margin: 0; font-size: 13px; }
body.dp-v2 .cs-back { font-size: 12px; color: #1B6F80; text-decoration: none; }
body.dp-v2 .cs-back::before { content: "\2190\00a0"; }
body.dp-v2 .cs-pn { display: flex; gap: 6px; flex: 0 0 auto; }
body.dp-v2 .cs-pn .gp-btn { text-decoration: none; }
body.dp-v2 .cs-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 14px 0 12px; padding: 0; counter-reset: s; }
body.dp-v2 .cs-steps li { position: relative; font-size: 12px; color: #6B7F8C; padding-top: 16px; }
body.dp-v2 .cs-steps li::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 3px; background: #E3E9ED; }
body.dp-v2 .cs-steps li span { position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid #C5D0D7; box-sizing: border-box; z-index: 1; }
body.dp-v2 .cs-steps li.is-done::before { background: #2EB3C9; }
body.dp-v2 .cs-steps li.is-done span { background: #2EB3C9; border-color: #2EB3C9; }
body.dp-v2 .cs-steps li.is-done, body.dp-v2 .cs-steps li.is-on { color: #163549; }
body.dp-v2 .cs-steps li.is-on span { border-color: #2EB3C9; }
body.dp-v2 .cs-kv { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
body.dp-v2 .cs-kv div { min-width: 0; }
body.dp-v2 .cs-kv dt { font-size: 12px; color: #6B7F8C; margin: 0 0 2px; }
body.dp-v2 .cs-kv dd { margin: 0; font-size: 13px; color: #163549; }
body.dp-v2 .cs-kv dd small { display: block; font-size: 12px; color: #6B7F8C; }
body.dp-v2 .cs-sum-s { margin: 10px 0 0; }
@media (max-width: 1200px) { body.dp-v2 .cs-legend { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { body.dp-v2 .cs-kv { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  body.dp-v2 .cs-legend { display: none; }
  body.dp-v2 .cs-kpis { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
  body.dp-v2 .cs-kpis .in-kpi { min-width: 0; }
  body.dp-v2 .cs-table tbody tr { height: auto; }
  body.dp-v2 .cs-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  body.dp-v2 .cs-chips .gp-filter { white-space: nowrap; flex: 0 0 auto; }
  body.dp-v2 .cs-tools .cs-sel { flex: 1 1 45%; }
  body.dp-v2 .cs-sel .ms-in { width: 100%; max-width: none; }
  body.dp-v2 .cs-table thead { display: none; }
  body.dp-v2 .cs-table, body.dp-v2 .cs-table tbody, body.dp-v2 .cs-table tr, body.dp-v2 .cs-table td { display: block; width: 100%; box-sizing: border-box; }
  body.dp-v2 .cs-table-wrap { overflow: visible; }
  body.dp-v2 .cs-table tr { border: 1px solid rgba(22,53,73,.10); border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; background: #fff; }
  body.dp-v2 .cs-table td { border: 0; padding: 4px 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; text-align: left; }
  body.dp-v2 .cs-table td::before { content: attr(data-label); font-size: 12px; color: #6B7F8C; }
  body.dp-v2 .cs-table td.cs-open { display: block; padding-top: 8px; }
  body.dp-v2 .cs-table td.cs-open::before { content: none; }
  body.dp-v2 .cs-table td.pc-n { text-align: left; }
  body.dp-v2 .cs-sum-h { flex-direction: column; }
  body.dp-v2 .cs-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body.dp-v2 .cs-table td > * { grid-column: 2; }
  body.dp-v2 .cs-table td { row-gap: 2px; align-items: start; justify-items: start; }
  body.dp-v2 .cs-table td::before { grid-column: 1; grid-row: 1 / span 6; }
  body.dp-v2 .cs-table td small { max-width: none; }
}

body.dp-v2 .cs-card { white-space: nowrap; }
