/* DisputePilot v2 · Dashboard. Solvpath dashboard cards: white, radius 12, shadow 0 2px 6px 1px rgba(0,0,0,.05);
   navy #163549 text, labels #7C8D99, teal #2EB3C9. Light weights (400/500), generous whitespace. */
.dd-wrap { display: flex; flex-direction: column; gap: 16px; max-width: 1240px; color: #163549; }
.dd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dd-sub { margin: 0; font-size: 14px; color: #7C8D99; font-weight: 400; }
.dd-sample { font-size: 12px; color: #7C8D99; background: #fff; border: 1px solid #E6E6E6; border-radius: 999px; padding: 4px 12px; }
.dd-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.dd-kpi { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; background: #fff; border-radius: 12px; box-shadow: 0 2px 6px 1px rgba(0,0,0,.05); text-decoration: none; color: inherit; min-width: 0; transition: box-shadow .15s; }
.dd-kpi:hover { box-shadow: 0 4px 14px rgba(22,53,73,.10); }
.dd-kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.dd-kpi-label { font-size: 14px; font-weight: 400; color: #4E6574; }
.dd-kpi-value { font-size: 26px; line-height: 30px; font-weight: 500; color: #163549; letter-spacing: -.01em; }
.dd-kpi-note { font-size: 12px; line-height: 17px; color: #7C8D99; font-weight: 400; }
.dd-pill { font-size: 11px; font-weight: 500; border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.dd-pill.is-ok { background: #E7F7EF; color: #0C8A4E; }
.dd-pill.is-warn { background: #FFF4DC; color: #9A6700; }
.dd-pill.is-bad { background: #FDECEC; color: #C0392B; }
.dd-chip { font-size: 11px; color: #9A6700; background: #FFF4DC; border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.dd-meter { position: relative; height: 6px; border-radius: 3px; background: #EDF2F5; }
.dd-meter-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: #2EB3C9; }
.dd-meter-mark { position: absolute; top: -3px; width: 2px; height: 12px; background: #163549; border-radius: 1px; }
.dd-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; }
.dd-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 6px 1px rgba(0,0,0,.05); padding: 18px 20px; min-width: 0; }
.dd-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dd-h2 { margin: 0; font-size: 16px; font-weight: 500; color: #163549; }
.dd-link { font-size: 14px; color: #2EB3C9; text-decoration: none; font-weight: 400; white-space: nowrap; }
.dd-link:hover { text-decoration: underline; }
.dd-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: #4E6574; margin-bottom: 12px; }
.dd-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dd-legend i, .dd-type-name i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.dd-k-def { background: #2EB3C9; } .dd-k-al { background: #8FD9E6; } .dd-k-cb { background: #F0A6A0; } .dd-k-c3 { background: #A9BAC6; }
.dd-bars { display: flex; align-items: flex-end; gap: 18px; height: 200px; padding: 8px 4px 0; border-bottom: 1px solid #E6E6E6; }
.dd-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; position: relative; padding-bottom: 22px; }
.dd-bar { width: 100%; max-width: 56px; display: flex; flex-direction: column; border-radius: 6px 6px 0 0; overflow: hidden; min-height: 4px; }
.dd-bar span { display: block; min-height: 2px; }
.dd-bar-total { font-size: 12px; color: #4E6574; }
.dd-bar-lbl { position: absolute; bottom: 0; font-size: 12px; color: #7C8D99; }
.dd-fine { margin: 12px 0 0; font-size: 12px; color: #7C8D99; line-height: 17px; }
.dd-fine a { color: #2EB3C9; }
.dd-attn-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dd-attn-list li + li { border-top: 1px solid #EEF1F3; }
.dd-attn-list a { display: flex; align-items: center; gap: 12px; padding: 11px 0; text-decoration: none; color: inherit; }
.dd-attn-list a:hover .dd-attn-cta { text-decoration: underline; }
.dd-attn-n { min-width: 44px; height: 32px; padding: 0 8px; border-radius: 8px; background: #EAF7FA; color: #1F8F9E; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.dd-attn-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.dd-attn-label { font-size: 14px; color: #163549; font-weight: 400; }
.dd-attn-note { font-size: 12px; color: #7C8D99; }
.dd-attn-cta { font-size: 13px; color: #2EB3C9; white-space: nowrap; }
.dd-types { display: flex; flex-direction: column; }
.dd-type { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)); align-items: center; gap: 12px; padding: 12px 0; }
.dd-type + .dd-type { border-top: 1px solid #EEF1F3; }
.dd-type-name { display: flex; align-items: flex-start; gap: 10px; }
.dd-type-name i { margin-top: 5px; }
.dd-type-name > span { display: flex; flex-direction: column; gap: 2px; }
.dd-type-label { font-size: 14px; color: #163549; }
.dd-type-note { font-size: 12px; color: #7C8D99; }
.dd-type-stat { display: flex; flex-direction: column; gap: 2px; }
.dd-type-stat span { font-size: 16px; color: #163549; font-weight: 500; }
.dd-type-stat span.is-neg { color: #C0392B; }
.dd-type-stat small { font-size: 12px; color: #7C8D99; }
/* Product dashboards + tighter spacing (Nov 21 2026, Carl pt402u). Same card language as above; no new visual style. */
.dd-kpi-label { min-width: 0; }
.dd-kpi-top .dd-chip, .dd-kpi-top .dd-pill { flex: none; }
.dd-head-r { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dd-pill.is-info { background: #EAF7FA; color: #1F8F9E; }
.dd-muted { color: #7C8D99; font-size: 12px; line-height: 17px; }
.dd-tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dd-tbl { width: 100%; border-collapse: collapse; font-size: 14px; color: #163549; }
.dd-tbl th { text-align: left; font-size: 12px; font-weight: 400; color: #7C8D99; padding: 0 12px 8px 0; white-space: nowrap; border-bottom: 1px solid #EEF1F3; }
.dd-tbl td { padding: 11px 12px 11px 0; border-top: 1px solid #EEF1F3; font-weight: 400; vertical-align: middle; }
.dd-tbl tbody tr:first-child td { border-top: 0; }
.dd-tbl .is-r { text-align: right; }
.dd-tbl a { color: #2EB3C9; text-decoration: none; }
.dd-tbl a:hover { text-decoration: underline; }
.dd-tbl td:last-child, .dd-tbl th:last-child { padding-right: 0; }
.dd-kpi-ratio .vp-split + .vp-split { margin-top: -4px; }
@media (max-width: 1280px) { .dd-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .dd-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .dd-wrap { gap: 16px; }
  .dd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dd-kpi { padding: 16px; }
  .dd-kpi-value { font-size: 22px; line-height: 26px; }
  .dd-kpi-ratio { grid-column: span 1; }
  .dd-card { padding: 18px 16px; }
  .dd-bars { gap: 8px; height: 180px; }
  .dd-type { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .dd-type-name { grid-column: 1 / -1; }
  .dd-attn-cta { display: none; }
  .dd-tbl { font-size: 13px; min-width: 560px; }
  .dd-tbl td { white-space: nowrap; }
  .dd-tbl td:last-child { white-space: normal; min-width: 180px; }
  .dd-head-r { gap: 10px; }
}
@media (max-width: 700px) { .dd-kpi-top { flex-wrap: wrap; align-items: flex-start; } }
