.lead-sourcing { max-width:1120px; }
.sourcing-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:0 0 25px; }
.sourcing-head h2 { margin:0 0 7px; color:var(--ink); font-size:21px; font-weight:550; letter-spacing:-.5px; }
.sourcing-head p,.sourcing-card-head p { margin:0; color:var(--muted); font-size:12px; line-height:1.6; }
.sourcing-head .button { flex-shrink:0; display:inline-flex; align-items:center; gap:8px; }
.sourcing-head .button svg { width:15px; height:15px; }
.sourcing-empty { min-height:270px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:30px; color:var(--muted); border:1px dashed var(--line); border-radius:12px; }
.sourcing-empty > svg { width:30px; height:30px; margin:0 0 16px; opacity:.6; }
.sourcing-empty strong { color:var(--ink); font-size:14px; font-weight:500; }
.sourcing-empty p { font-size:12px; line-height:1.6; max-width:360px; margin:8px 0 0; }
.sourcing-batch-list { border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.sourcing-batch-row { width:100%; display:flex; align-items:center; gap:16px; padding:21px; border:0; border-bottom:1px solid var(--line); border-radius:0; color:var(--ink); background:transparent; text-align:left; cursor:pointer; }
.sourcing-batch-row:last-child { border-bottom:0; }
.sourcing-batch-row:hover { background:var(--surface-soft); }
.sourcing-batch-row:focus-visible { outline:2px solid var(--accent); outline-offset:-3px; }
.sourcing-file-icon { display:grid; place-items:center; width:38px; height:42px; background:var(--surface-soft); border-radius:9px; color:var(--muted); flex-shrink:0; }
.sourcing-file-icon svg { width:20px; height:20px; }
.sourcing-batch-name { flex:1; min-width:0; }
.sourcing-batch-name strong { display:block; font-size:14px; font-weight:500; overflow-wrap:anywhere; }
.sourcing-batch-name small { display:block; margin-top:7px; font-size:11px; color:var(--muted); }
.sourcing-batch-count { display:flex; flex-direction:column; gap:5px; align-items:flex-end; font-size:12px; white-space:nowrap; }
.sourcing-batch-count strong { font-weight:500; }
.sourcing-batch-count small,.sourcing-row-arrow { color:var(--muted); }
.lead-class-segments { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.lead-class-segments button { display:flex; align-items:center; flex-wrap:wrap; gap:7px; padding:9px 12px; border:1px solid var(--line); border-radius:7px; background:var(--surface); color:var(--ink); font:inherit; font-size:12px; cursor:pointer; }
.lead-class-segments button[aria-pressed="true"] { border-color:var(--accent); background:var(--surface-soft); }
.lead-class-segments button small { color:var(--muted); font-size:10px; }
.lead-class-segments button strong { font-weight:550; font-variant-numeric:tabular-nums; }
.lead-class-note { color:var(--muted); font-size:11px; margin:0 0 16px; }
.sourcing-back { display:inline-block; padding:0; margin:0 0 22px; font-size:12px; font-weight:500; }
.sourcing-form { display:grid; gap:20px; }
.sourcing-card { border:1px solid var(--line); border-radius:12px; padding:24px; min-width:0; }
.sourcing-card-head { margin-bottom:20px; }
.sourcing-card-head h3 { color:var(--ink); margin:0 0 6px; font-size:14px; font-weight:550; }
.sourcing-fields,.sourcing-mapping { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 24px; }
.sourcing-fields label,.sourcing-mapping label { display:flex; flex-direction:column; align-items:stretch; gap:8px; font-size:12px; color:var(--ink); }
.sourcing-fields label { position:relative; }
.sourcing-optional { position:absolute; top:0; right:0; color:var(--muted); font-size:11px; }
.sourcing-wide { grid-column:1 / -1; }
.sourcing-fields :is(input,textarea) { width:100%; min-height:39px; font-size:12px; border-radius:8px; }
.sourcing-fields textarea { resize:vertical; }
.sourcing-upload { display:flex; flex-wrap:wrap; align-items:center; gap:16px; padding:20px; border:1px dashed var(--line); border-radius:10px; }
.sourcing-upload > svg { width:26px; height:26px; color:var(--muted); flex-shrink:0; }
.sourcing-upload > span { flex:1; min-width:180px; }
.sourcing-upload strong { display:block; color:var(--ink); font-size:13px; font-weight:500; overflow-wrap:anywhere; }
.sourcing-upload small { display:block; color:var(--muted); margin-top:6px; font-size:11px; line-height:1.5; }
.sourcing-upload input[type="file"] { width:250px; max-width:100%; padding:0; border:0; background:transparent; font-size:11px; color:var(--muted); }
.sourcing-upload input::file-selector-button { color:var(--ink); background:var(--control); border:1px solid var(--line); border-radius:7px; padding:9px 12px; margin-right:8px; cursor:pointer; }
.sourcing-map-head { margin-top:28px; }
.sourcing-mapping .select-menu-trigger { width:100%; min-height:38px; font-size:12px; }
.sourcing-map-note { color:var(--muted); font-size:11px; line-height:1.6; margin:16px 0 0; }
.sourcing-error { font-size:12px; line-height:1.6; color:var(--danger,#e57777); margin:0; overflow-wrap:anywhere; }
.sourcing-error:empty { display:none; }
.sourcing-form-actions { display:flex; justify-content:flex-end; gap:10px; padding-bottom:12px; }
.sourcing-table-wrap { border:1px solid var(--line); border-radius:9px; overflow:auto; }
.sourcing-table { border-collapse:collapse; width:100%; font-size:12px; min-width:660px; }
.sourcing-table th { background:var(--surface-soft); text-align:left; font-size:11px; font-weight:500; color:var(--muted); padding:12px 15px; white-space:nowrap; }
.sourcing-table td { color:var(--ink); padding:14px 15px; border-top:1px solid var(--line); vertical-align:top; max-width:260px; overflow-wrap:anywhere; line-height:1.5; }
.sourcing-table td :is(strong,small,a) { display:block; }
.sourcing-table td strong { font-weight:500; }
.sourcing-table td small,.sourcing-table td a { color:var(--muted); margin-top:5px; font-size:11px; }
.sourcing-table td a:hover { color:var(--ink); }
.sourcing-batch-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; border:1px solid var(--line); border-radius:12px; padding:24px; margin-bottom:26px; }
.sourcing-batch-meta > :is(div,a) { min-width:0; }
.sourcing-batch-meta span { display:block; color:var(--muted); font-size:11px; margin-bottom:8px; }
.sourcing-batch-meta :is(strong,a,p) { color:var(--ink); font-size:12px; font-weight:400; overflow-wrap:anywhere; margin:0; line-height:1.6; }
.sourcing-batch-meta p { white-space:pre-wrap; }
.sourcing-batch-meta a { text-decoration:underline; text-underline-offset:3px; }
.sourcing-lead-toolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:14px; }
.sourcing-lead-toolbar input { max-width:360px; height:38px; font-size:12px; }
.sourcing-lead-toolbar span { font-size:11px; color:var(--muted); text-align:right; }
.sourcing-load-more { display:block; margin:16px auto 0; }
@media(max-width:640px) {
  .sourcing-head { align-items:flex-start; flex-wrap:wrap; }
  .sourcing-fields,.sourcing-mapping,.sourcing-batch-meta { grid-template-columns:minmax(0,1fr); }
  .sourcing-card,.sourcing-batch-meta { padding:18px; }
  .sourcing-batch-row { padding:16px; gap:12px; }
  .sourcing-batch-count { flex-direction:column; gap:2px; }
  .sourcing-lead-toolbar { flex-wrap:wrap; }
  .sourcing-lead-toolbar input { max-width:none; width:100%; }
  .sourcing-form-actions { flex-wrap:wrap; }
}
.batch-processing { margin:0 0 28px; border:1px solid var(--line); border-radius:12px; padding:20px; }
.batch-step-progress { display:flex; flex-wrap:wrap; gap:24px; padding:0 0 18px; margin:0 0 20px; list-style:none; border-bottom:1px solid var(--line); }
.batch-step-progress li { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); }
.batch-step-progress li > span { display:grid; place-items:center; width:22px; height:22px; border:1px solid var(--line); border-radius:50%; font-size:10px; }
.batch-step-progress .is-current { color:var(--ink); }
.batch-step-progress .is-current > span { border-color:var(--accent); color:var(--accent); }
.batch-step-progress .is-complete > span { color:var(--accent); background:var(--surface-soft); }
.batch-dedup-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.batch-dedup-head h3 { margin:0 0 6px; font-size:15px; font-weight:550; color:var(--ink); }
.batch-dedup-head p,.batch-dedup-note { margin:0; font-size:12px; line-height:1.6; color:var(--muted); }
.batch-match-count { white-space:nowrap; color:var(--accent); font-size:17px; font-weight:550; }
.batch-dedup-note { margin:14px 0; }
.batch-processing .sourcing-error { margin:12px 0; }
.batch-match-table-wrap { overflow:auto; max-height:340px; border:1px solid var(--line); border-radius:7px; }
.batch-match-table { width:100%; min-width:690px; border-collapse:separate; border-spacing:0; font-size:11px; table-layout:fixed; }
.batch-match-table th { position:sticky; top:0; z-index:1; background:var(--surface-soft); padding:9px 10px; color:var(--muted); font-weight:500; text-align:left; border-bottom:1px solid var(--line); }
.batch-match-table th:first-child { width:62px; }
.batch-match-table th:nth-child(2) { width:21%; }
.batch-match-table th:nth-child(3) { width:34%; }
.batch-match-table th:last-child { width:80px; }
.batch-match-table td { padding:8px 10px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); color:var(--ink); line-height:1.5; vertical-align:top; overflow-wrap:anywhere; }
.batch-match-table td:last-child { border-right:0; }
.batch-match-table tr:last-child td { border-bottom:0; }
.batch-match-table tbody tr:nth-child(even) { background:var(--surface-soft); }
.batch-match-table td.batch-match-row-number { color:var(--muted); font-variant-numeric:tabular-nums; }
.batch-match-table a { color:var(--muted); text-decoration:none; }
.batch-match-table a:hover { color:var(--ink); text-decoration:underline; }
.batch-match-table small { display:block; color:var(--muted); margin-top:2px; font-size:10px; }
.batch-match-mark { color:var(--accent); font-size:10px; padding:3px 6px; border:1px solid var(--line); border-radius:4px; white-space:nowrap; }
.batch-match-list-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin:10px 0 0; font-size:10px; color:var(--muted); }
.batch-match-list-actions .text-button { padding:0; font-size:11px; font-weight:400; }
.batch-match-list-actions > span { margin-right:auto; }
.batch-dedup-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; border-top:1px solid var(--line); margin-top:18px; padding-top:16px; }
.batch-dedup-actions p { flex:1; min-width:190px; color:var(--muted); font-size:11px; line-height:1.6; margin:0; }
.batch-step-complete { color:var(--accent); font-size:12px; white-space:nowrap; }
.batch-no-matches { padding:18px 12px; border:1px solid var(--line); border-radius:7px; font-size:12px; color:var(--muted); }
@media(max-width:640px) { .batch-processing { padding:16px; } .batch-dedup-actions p { flex-basis:100%; } }
.sourcing-leads-table .batch-matched-row { background:var(--surface-soft); }
.sourcing-leads-table .batch-matched-row td:first-child { box-shadow:inset 2px 0 0 var(--accent); }
.sourcing-leads-table td [data-match-marker] { color:var(--accent); }
.sourcing-leads-table td [data-match-marker][hidden] { display:none; }

.sourcing-mapping-heading{grid-column:1/-1;margin:12px 0 0;font-size:13px}
.company-name-check h3 small { margin-left:7px; color:var(--muted); font-weight:400; font-size:11px; }
.company-check-actions,.company-check-selection { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:14px 0; font-size:12px; color:var(--muted); }
.company-check-selection label { display:flex; align-items:center; gap:8px; color:var(--ink); }
.company-check-selection input,.company-check-table input { width:16px; height:16px; accent-color:var(--accent); }
.company-check-table-wrap { max-height:460px; overflow:auto; border:1px solid var(--line); border-radius:7px; }
.company-check-table { min-width:1000px; }
.company-check-table td label { display:flex; align-items:center; gap:7px; white-space:nowrap; font-size:11px; }
.company-check-table th { position:sticky; top:0; background:var(--surface-soft); z-index:1; }
.company-check-table th:first-child { width:50px; }
.company-check-message { color:var(--accent); font-size:12px; }
.batch-workflow-history { margin:0 0 24px; }
.batch-workflow-history h3 { margin:0 auto 0 0; color:var(--ink); font-size:13px; font-weight:550; }
.batch-history-table { min-width:620px; }
.batch-history-table td,.batch-history-table th { padding:9px 12px; font-size:11px; }
.batch-history-table td .text-button { white-space:nowrap; font-size:11px; }
.batch-saved-dedup { margin-top:18px; }

.mixed-entry-table {min-width:900px;}
.mixed-entry-table td:nth-child(n+3) {min-width:240px;max-width:420px;white-space:normal;overflow-wrap:anywhere;}
.mixed-entry-choice {display:flex;align-items:flex-start;gap:8px;padding:5px 0;cursor:pointer;white-space:normal;}
.mixed-entry-choice input {flex:none;margin-top:3px;}
.mixed-entry-check .batch-dedup-actions>span {margin-right:auto;}

.company-name-check .batch-dedup-actions {justify-content:flex-end;}

.sourcing-batch-meta a.sourcing-source-field {display:block;text-decoration:none;border-radius:4px;}
.sourcing-source-field strong {display:block;}
.sourcing-source-field:hover strong {text-decoration:underline;text-underline-offset:3px;}
.sourcing-source-field:focus-visible {outline:2px solid var(--accent);outline-offset:5px;}

.sourcing-batch-row.is-complete {background:color-mix(in srgb,var(--success,#3b9a70) 6%,var(--surface));}
.sourcing-batch-row.is-complete:hover {background:color-mix(in srgb,var(--success,#3b9a70) 10%,var(--surface));}
.sourcing-batch-complete {display:inline-flex;vertical-align:middle;color:var(--success,#3b9a70);margin-left:8px;}
.sourcing-batch-complete svg {width:15px;height:15px;}
.batch-workflow-row.is-complete {background:color-mix(in srgb,var(--success,#3b9a70) 5%,var(--surface));}
.batch-workflow-row.is-current {background:color-mix(in srgb,var(--accent) 9%,var(--surface));}
.batch-workflow-row.is-current td:first-child {box-shadow:inset 3px 0 var(--accent);}
.batch-workflow-name {display:inline-flex;align-items:center;gap:9px;border:0;padding:0;background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer;}
.batch-workflow-name:disabled {cursor:default;}
.batch-workflow-name:focus-visible {outline:2px solid var(--accent);outline-offset:4px;border-radius:3px;}
.batch-workflow-marker {display:inline-grid;place-items:center;flex:none;width:20px;height:20px;border:1px solid var(--line);border-radius:50%;font-size:10px;color:var(--muted);}
.batch-workflow-marker svg {width:13px;height:13px;}
.is-complete .batch-workflow-marker {color:var(--success,#3b9a70);border-color:currentColor;}
.is-current .batch-workflow-marker {border-color:var(--accent);color:var(--accent);}
.is-current .batch-workflow-status {color:var(--accent);font-weight:550;}

.mixed-entry-field + .mixed-entry-field {margin-top:12px;padding-top:12px;border-top:1px solid var(--line);}
.mixed-entry-contact {display:block;margin-bottom:6px;}
.mixed-entry-empty {color:var(--muted);}

.mixed-entry-field-label {display:block;margin-bottom:8px;}

/* Class 1 belongs to the batch; its controls do not move the Workflows panel. */
.sourcing-class-one { padding:22px; }
.sourcing-class-one .batch-dedup-head h3 { margin:0 0 4px; }
.c1-subtitle,.c1-state { color:var(--muted); font-size:12px; }
.c1-header-actions,.c1-selection-actions,.c1-selection-actions > div,.c1-run-actions { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.c1-tabs { display:flex; gap:6px; border-bottom:1px solid var(--line); margin:20px 0; padding-bottom:12px; }
.c1-tabs button { display:flex; align-items:center; gap:8px; border:0; border-radius:7px; padding:9px 12px; background:transparent; color:var(--muted); font:inherit; font-size:12px; cursor:pointer; }
.c1-tabs button[aria-current] { background:var(--surface-soft); color:var(--accent); font-weight:550; }
.c1-tabs button:disabled { opacity:.45; cursor:default; }
.c1-tabs button > span { display:grid; place-items:center; width:20px; height:20px; border:1px solid var(--line); border-radius:50%; font-size:10px; }
.c1-toolbar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:14px 0; }
.c1-toolbar input[type=search] { flex:1; min-width:180px; }
.c1-toolbar :is(input,select),.c1-run-settings input { min-height:36px; border:1px solid var(--line); border-radius:7px; background:var(--surface); color:var(--ink); padding:8px 10px; font:inherit; font-size:12px; }
.c1-toolbar > div { display:flex; gap:8px; }
.c1-selection-actions { justify-content:space-between; margin:14px 0; font-size:12px; color:var(--muted); }
.sourcing-class-one .button { font-size:12px; padding:9px 12px; min-height:34px; }
.c1-selection-table { max-height:440px; }
.c1-selection-table [data-c1-select-row] { cursor:pointer; }
.c1-selection-table [data-c1-select-row]:is(:hover,:focus-within) { background:color-mix(in srgb,var(--accent) 6%,transparent); }
.sourcing-class-one .sourcing-table :is(td,th) { white-space:normal; min-width:100px; }
.sourcing-class-one .sourcing-table :is(td,th):first-child { min-width:30px; }
.sourcing-class-one .sourcing-table small { display:block; margin-top:4px; color:var(--muted); font-size:11px; }
.c1-run-settings { display:flex; align-items:center; gap:24px; flex-wrap:wrap; margin-top:18px; padding:16px; border:1px solid var(--line); border-radius:9px; }
.c1-run-settings > label { display:flex; flex-direction:column; gap:7px; color:var(--muted); font-size:11px; }
.c1-run-settings input { max-width:110px; }
.c1-progress-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:12px 0; font-size:13px; }
.c1-progress-head > strong { font-size:19px; font-weight:550; }
.c1-spend { display:flex; align-items:center; gap:18px; font-size:12px; }
.c1-spend > span { color:var(--muted); font-size:11px; }
.c1-progress { display:block; width:100%; height:7px; border:0; accent-color:var(--accent); margin:18px 0; }
.c1-metrics { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin:18px 0; }
.c1-metrics > div { display:flex; flex-direction:column; gap:5px; padding:15px; border:1px solid var(--line); border-radius:8px; }
.c1-metrics strong { font-weight:550; font-size:21px; }
.c1-metrics span { color:var(--muted); font-size:11px; }
.c1-run-actions { margin:16px 0; }
.sourcing-class-one .workflow-review-scroll { max-height:600px; overflow:auto; }
.sourcing-class-one .workflow-review-table { min-width:820px; }
@media(max-width:700px) { .sourcing-class-one {padding:14px;} .sourcing-class-one .batch-dedup-head,.c1-progress-head {align-items:flex-start;flex-direction:column;} .c1-tabs {gap:0;} .c1-tabs button {padding:8px;} .c1-metrics {grid-template-columns:repeat(2,1fr);} .c1-spend {flex-wrap:wrap;} }
.sourcing-class-one .sourcing-table thead th { position:sticky; top:0; z-index:1; background:var(--surface-soft); }
.sourcing-class-one .batch-dedup-actions { justify-content:space-between; }
.c1-review-table { width:100%; min-width:0; table-layout:fixed; border-collapse:separate; border-spacing:0; color:var(--ink); font-size:12px; }
.c1-review-table th { position:sticky; top:0; z-index:1; padding:12px 14px; text-align:left; font-size:11px; font-weight:500; color:var(--muted); background:var(--surface-soft); border-bottom:1px solid var(--line); }
.c1-review-table th:first-child { width:30%; }
.c1-review-table th:nth-child(2) { width:29%; }
.c1-review-table th:nth-child(3) { width:25%; }
.c1-review-table th:nth-child(4) { width:16%; }
.c1-review-table td { vertical-align:top; padding:16px 14px; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.c1-review-company > strong { display:block; font-weight:550; font-size:13px; }
.c1-review-context,.c1-review-status { display:block; margin-top:6px; line-height:1.5; font-size:11px; color:var(--muted); }
.c1-review-status { margin-top:10px; }
.c1-review-field-head { margin-bottom:8px; min-height:18px; }
.c1-review-field-head label { display:flex; align-items:center; gap:7px; font-size:11px; color:var(--accent); }
.c1-review-field-head input { margin:0; accent-color:var(--accent); }
.c1-review-value { font-size:13px; line-height:1.55; white-space:pre-wrap; }
.c1-review-value a { color:var(--accent); text-decoration:none; }
.c1-review-value a:hover { text-decoration:underline; }
.c1-review-field > small { display:block; margin-top:9px; color:var(--muted); font-size:11px; line-height:1.5; }
.c1-review-empty { color:var(--muted); }
.c1-review-badge { font-size:11px; color:var(--accent); }
.c1-review-badge.declined,.c1-review-field.is-declined .c1-review-value { color:var(--muted); }
.c1-review-evidence { display:grid; gap:12px; line-height:1.6; padding:4px 0; }
.c1-review-evidence p { margin:0; }
.c1-review-evidence section { display:grid; gap:5px; }
.c1-review-evidence .workflow-sources { display:flex; flex-direction:column; align-items:flex-start; }
.c1-review-actions { display:flex; gap:9px; flex-wrap:wrap; }
.c1-review-card { cursor:pointer; }
.c1-review-card:hover > td,.c1-review-card.is-expanded > td { background:var(--surface-soft); }
.c1-review-expand { max-width:100%; min-width:0; white-space:normal; overflow-wrap:anywhere; display:flex; align-items:baseline; gap:7px; padding:0; border:0; background:transparent; color:var(--ink); text-align:left; font:inherit; cursor:pointer; }
.c1-review-expand strong { font-size:13px; font-weight:550; }
.c1-review-chevron { flex:none; color:var(--muted); font-size:18px; line-height:1; width:10px; }
.c1-review-expand:focus-visible { outline:2px solid var(--accent); outline-offset:4px; border-radius:3px; }
.c1-review-reasoning > strong { font-size:13px; }
.c1-review-reasoning > small { color:var(--muted); }
.c1-diagnostic { display:grid; gap:10px; padding:16px; border:1px solid var(--line); border-radius:8px; background:var(--surface-soft); }
.c1-diagnostic > strong { font-size:14px; }
.c1-diagnostic ul { margin:8px 0 0; padding-left:20px; }
.c1-diagnostic li { margin:5px 0; }
.c1-diagnostic-counts { display:flex; flex-wrap:wrap; gap:22px; margin:3px 0; }
.c1-diagnostic-counts div { display:flex; flex-direction:column; gap:3px; }
.c1-diagnostic-counts dt { font-size:11px; color:var(--muted); }
.c1-diagnostic-counts dd { margin:0; font-weight:550; }

.company-merge-table-wrap{max-height:680px}
.company-merge-table{width:100%;table-layout:auto}
.company-merge-table .company-merge-group{min-width:160px;max-width:190px}
.company-merge-table .company-merge-entry{min-width:220px;max-width:300px;white-space:normal}
.company-merge-table .company-merge-entry+.company-merge-entry{border-left:1px solid var(--line)}
.company-merge-entry.is-keeper{background:rgba(0,102,237,.035)}
.company-merge-location,.company-merge-entry>div:has(>span){margin-top:10px}
.company-merge-entry span{display:block;font-size:11px;color:var(--muted);margin-bottom:3px}
.company-merge-contacts>div{margin-top:10px}
.company-merge-table td .batch-match-evidence{color:var(--accent,#0066ed);margin-top:8px}

.company-merge-row-toggle{display:flex;align-items:center;gap:7px;margin-top:8px;white-space:nowrap}
.company-merge-row-toggle input{width:16px;min-width:16px;height:16px;margin:0;padding:0;flex:0 0 16px}

.sourcing-class-one .c1-failed-status { display:inline-block; color:var(--danger,#c43d4d); background:color-mix(in srgb,var(--danger,#c43d4d) 12%,transparent); border-radius:5px; padding:2px 6px; font-weight:600; }
.sourcing-class-one .c1-unsure-table td:first-child{min-width:240px;max-width:340px;vertical-align:top}
.sourcing-class-one .c1-unsure-table small{display:block;color:var(--muted);margin-top:5px}
.sourcing-class-one .c1-unsure-options{display:flex;flex-wrap:wrap;gap:14px;align-items:stretch}
.sourcing-class-one .c1-unsure-option{flex:1 1 240px;min-width:220px;max-width:390px;padding:12px;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere;cursor:pointer;transition:background-color .12s,border-color .12s}
.sourcing-class-one .c1-unsure-option:not([aria-disabled="true"]):hover{background:color-mix(in srgb,var(--accent) 10%,transparent);border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}
.sourcing-class-one .c1-unsure-option.is-selected{background:color-mix(in srgb,var(--accent) 6%,transparent);border-color:var(--accent)}
.sourcing-class-one .c1-unsure-option.is-selected:hover{border-color:var(--accent)}
.sourcing-class-one .c1-unsure-option[aria-disabled="true"]{cursor:default}
.sourcing-class-one .c1-unsure-option label,.sourcing-class-one .c1-unsure-option input{cursor:inherit}
.sourcing-class-one .c1-unsure-option label{display:flex;align-items:baseline;gap:8px;margin-bottom:8px}
.sourcing-class-one .c1-unsure-profiles{margin-top:10px;font-size:12px}
.sourcing-class-one .c1-unsure-profiles summary{cursor:pointer;color:var(--accent)}
.sourcing-class-one .c1-unsure-expand{display:block;margin-top:12px}
.sourcing-class-one .c1-unsure-no-match{display:inline-flex;align-items:center;gap:9px;width:fit-content;max-width:100%;margin-top:14px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;cursor:pointer;white-space:nowrap;transition:background-color .12s,border-color .12s}
.sourcing-class-one .c1-unsure-no-match input,.sourcing-class-one .c1-unsure-option input{width:16px;min-width:16px;height:16px;flex:0 0 16px;margin:0;padding:0}
.sourcing-class-one .c1-unsure-no-match:not([aria-disabled="true"]):hover{background:color-mix(in srgb,var(--accent) 10%,transparent);border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}
.sourcing-class-one .c1-unsure-no-match.is-selected{background:color-mix(in srgb,var(--accent) 6%,transparent);border-color:var(--accent)}
.sourcing-class-one .c1-unsure-no-match[aria-disabled="true"]{cursor:default}

.round-two-segments {display:flex;flex-wrap:wrap;gap:8px;margin:16px 0;}
html[data-theme] .round-two-segments .button.is-selected {border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,transparent);}
.round-two-qualified {color:var(--success,#3da679);font-weight:600;}

#sourcingClassFilters { margin: 22px 0; }
#sourcingClassTwoPipeline tr.is-selected { background: color-mix(in srgb, var(--blue, #3b82f6) 9%, transparent); }
#sourcingClassTwoPipeline svg { width: 15px; height: 15px; vertical-align: middle; margin-right: 8px; color: #4c9d7b; }
#sourcingClassTwoPipeline th:last-child, #sourcingClassTwoPipeline td:last-child { text-align: right; }
#sourcingClassTwoPipeline td:last-child { color: var(--blue, #3b82f6); }
#sourcingClassTwoWorkflow .c1-review-table th:first-child { width:27%; }
#sourcingClassTwoWorkflow .c1-review-table th:nth-child(2) { width:20%; }
#sourcingClassTwoWorkflow .c1-review-table th:nth-child(3) { width:23%; }
#sourcingClassTwoWorkflow .c1-review-table th:nth-child(4) { width:18%; }
#sourcingClassTwoWorkflow .c1-review-table th:nth-child(5) { width:12%; }
