/* Shared Source Bundle / Workspace supplier shortlist. */
.bsv-compact { min-width: 0; }
.bsv-compact [hidden] { display: none !important; }
.bsv-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 0 14px; color: var(--text-secondary, #64748b); font-size: 13px; }
.bsv-toolbar label { display: inline-flex; align-items: center; gap: 8px; color: var(--text-primary, #182541); cursor: pointer; }
.bsv-toolbar-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.bsv-compact input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--primary, #0860e5); cursor: pointer; flex: none; }
.bsv-compact input:disabled { cursor: default; }
.bsv-compact :is(button, input, summary, a):focus-visible { outline: 2px solid #0860e5; outline-offset: 3px; }
.bsv-table-wrap { overflow: hidden; border: 1px solid var(--border-color, #dce4ef); border-radius: 10px; }
.bsv-compact .bsv-table { table-layout: fixed; width: 100%; min-width: 0; border-collapse: collapse; }
.bsv-compact .bsv-table th { background: var(--surface-muted, #f6f8fc); color: var(--text-secondary, #64748b); padding: 10px 12px; font-size: 12px; font-weight: 600; text-align: left; }
.bsv-compact .bsv-table th:first-child { width: 44px; }
.bsv-compact .bsv-table th:nth-child(2) { width: 25%; }
.bsv-compact .bsv-table th:nth-child(4) { width: 110px; }
.bsv-compact .bsv-table th:nth-child(5) { width: 135px; }
.bsv-compact .bsv-row > td { padding: 13px 12px; border-top: 1px solid var(--border-color, #e1e7f0); vertical-align: middle; font-size: 13px; overflow-wrap: anywhere; }
.bsv-company strong { display: block; font-size: 14px; color: var(--text-primary, #182541); font-weight: 650; }
.bsv-company > span { display: block; margin-top: 3px; color: var(--text-secondary, #64748b); font-size: 12px; }
.bsv-relevance > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; line-height: 1.45; color: var(--text-secondary, #586780); }
.bsv-status .status-pill { white-space: normal; font-size: 12px; }
.bsv-compact .bsv-action .table-action { font-size: 12px; white-space: nowrap; }
.bsv-action button[aria-expanded="true"] { color: #0860e5; background: #edf4ff; }
.bsv-detail-row > td { padding: 16px 18px !important; background: #f7f9fc; border-top: 1px solid var(--border-color, #e1e7f0); }
.bsv-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.bsv-evidence section { min-width: 0; }
.bsv-evidence h4, .bsv-evidence .eyebrow { margin: 0 0 5px; color: #34435e; font-size: 12px; font-weight: 650; }
.bsv-evidence p, .bsv-evidence ul { margin: 0; color: #586780; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.bsv-evidence ul { padding-left: 18px; }
.bsv-evidence a { color: #0860e5; }
.bsv-secondary { margin-top: 14px; font-size: 12px; }
.bsv-secondary summary { display: list-item; cursor: pointer; color: #64748b; width: fit-content; }
.bsv-secondary > div { padding-top: 10px; }
.bsv-compact .bsv-empty { padding: 24px 16px; color: #64748b; text-align: center; font-size: 13px; }
.bsv-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .bsv-toolbar { gap: 10px 12px; }
  .bsv-toolbar-actions { width: 100%; margin-left: 0; justify-content: space-between; }
  .bsv-compact .bsv-table, .bsv-compact .bsv-table tbody { display: block; }
  .bsv-compact .bsv-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .bsv-compact .bsv-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; padding: 12px; gap: 7px 8px; border-top: 1px solid #e1e7f0; }
  .bsv-compact .bsv-row:first-child { border-top: 0; }
  .bsv-compact .bsv-row > td { display: block; padding: 0; border: 0; }
  .bsv-check { grid-column: 1; grid-row: 1 / 4; padding-top: 2px !important; }
  .bsv-company { grid-column: 2 / -1; }
  .bsv-relevance { grid-column: 2 / -1; }
  .bsv-status { grid-column: 2; align-self: center; }
  .bsv-action { grid-column: 3; }
  .bsv-compact .bsv-action button { min-height: 38px; }
  .bsv-detail-row, .bsv-detail-row > td { display: block; }
  .bsv-evidence { grid-template-columns: minmax(0, 1fr); }
}

/* Unverified provider results remain separate from the assessed shortlist. */
.source-bundle-provider-leads { min-width:0; padding:16px 18px; margin:0 0 18px; border:1px solid #dce4ef; border-radius:10px; background:#fff; }
.source-bundle-provider-leads h3 { margin:0 0 7px; font-size:16px; color:var(--text-primary,#182541); }
.source-bundle-provider-leads > p { margin:0 0 14px; font-size:13px; line-height:1.5; color:var(--text-secondary,#64748b); }
.source-bundle-provider-leads table { width:100%; border-collapse:collapse; table-layout:fixed; }
.source-bundle-provider-leads th { padding:10px 12px; text-align:left; font-size:12px; background:#f6f8fc; color:#64748b; }
.source-bundle-provider-leads th:first-child { width:27%; }
.source-bundle-provider-leads th:nth-child(2) { width:16%; }
.source-bundle-provider-leads th:last-child { width:13%; }
.source-bundle-provider-leads td { padding:12px; vertical-align:top; text-align:left; border-top:1px solid #e1e7f0; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.source-bundle-provider-leads td:first-child { font-weight:600; }
.source-bundle-provider-leads td small, .source-bundle-provider-leads td:nth-child(3) { color:#64748b; font-weight:400; }
.source-bundle-provider-leads .table-action { font-size:12px; min-height:36px; }
@media(max-width:760px) {
 .source-bundle-provider-leads { padding:14px; }
 .source-bundle-provider-leads thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
 .source-bundle-provider-leads tbody, .source-bundle-provider-leads tr { display:block; }
 .source-bundle-provider-leads tr { padding:12px 0; border-top:1px solid #e1e7f0; }
 .source-bundle-provider-leads td { display:block; padding:4px 0; border:0; width:auto; }
 .source-bundle-provider-leads td:nth-child(2)::before { content:'Source: '; color:#64748b; }
}
