/* In-section links carry a persistent underline (not hover-only) so the clickable
   batch Total and the modal "Open Crunchbase" link are distinguishable by more than
   color alone (WCAG 1.4.1 + keyboard/touch users who never hover). */
#sec-crunchbase a,#sec-crunchbase .link-total{color:var(--accent);text-decoration:underline}#sec-crunchbase a:hover,#sec-crunchbase .link-total:hover{color:var(--accent-active)}

/* The old page header (.header / .header-right) was removed; the page title now
   lives entirely in the shared nav rail. */
/* .tabs / .tab rules removed: top tab bar replaced by the shared nav rail. */

#sec-crunchbase .content{padding:0}


/* Grid & cards */
#sec-crunchbase .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:16px;margin-bottom:20px}
#sec-crunchbase .card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:18px 20px}
#sec-crunchbase .card-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
#sec-crunchbase .card-t{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:var(--muted)}
/* min-width keeps the upload-status badge from reflowing the card header as it
   cycles Idle (4ch) -> Uploading (9ch) -> Done (4ch) / Failed (6ch). */
#sec-crunchbase .badge{display:inline-block;padding:2px 10px;border-radius:12px;font-size:11px;font-weight:600;min-width:68px;text-align:center}
#sec-crunchbase .b-ok{background:var(--success-tint);color:var(--green)}
#sec-crunchbase .b-err{background:var(--danger-tint);color:var(--red)}
#sec-crunchbase .b-warn{background:var(--warn-tint);color:var(--yellow)}
#sec-crunchbase .b-info{background:var(--accent-tint);color:var(--accent)}

#sec-crunchbase .m{display:flex;justify-content:space-between;align-items:center;padding:7px 0;border-bottom:1px solid var(--border);font-size:13px}
#sec-crunchbase .m:last-child{border-bottom:none}
#sec-crunchbase .ml{color:var(--muted)}#sec-crunchbase .mv{font-weight:500;font-variant-numeric:tabular-nums;text-align:right}
#sec-crunchbase .green{color:var(--green)}#sec-crunchbase .red{color:var(--red)}#sec-crunchbase .yellow{color:var(--yellow)}

/* Action bar + buttons */
#sec-crunchbase .abar{display:flex;align-items:center;gap:10px;margin-bottom:20px;flex-wrap:wrap}
#sec-crunchbase .btn{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:7px 16px;font-size:13px;font-weight:500;cursor:pointer;transition:all .12s;display:inline-flex;align-items:center;gap:6px}
#sec-crunchbase .btn:hover{border-color:var(--accent);color:var(--accent)}
#sec-crunchbase .btn:disabled{opacity:.35;cursor:not-allowed}
#sec-crunchbase .btn-a{background:var(--accent);color:var(--bg);border-color:var(--accent);font-weight:600}
#sec-crunchbase .btn-a:hover{opacity:.85;color:var(--bg)}

/* Upload card */
#sec-crunchbase .drop{display:block;width:100%;border:2px dashed var(--border);border-radius:8px;padding:28px;text-align:center;color:var(--muted);font-size:13px;cursor:pointer;transition:all .15s}
#sec-crunchbase .drop:hover,#sec-crunchbase .drop.drag{border-color:var(--accent);color:var(--accent);background:var(--accent-tint)}
/* Visually hidden, NOT display:none — keeps the file input in the tab order so
   keyboard users can reach the upload control (display:none drops it entirely). */
#sec-crunchbase .drop input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
#sec-crunchbase .preview{margin-top:16px;font-size:12px}
#sec-crunchbase .preview .detected{color:var(--text);margin-bottom:10px}
#sec-crunchbase .preview .detected .tag{display:inline-block;background:var(--accent-tint);color:var(--accent);padding:1px 8px;border-radius:4px;font-weight:600;margin:0 2px}
#sec-crunchbase .ptable{width:100%;border-collapse:collapse;font-size:12px;margin-top:8px}
#sec-crunchbase .ptable th{text-align:left;color:var(--muted);font-weight:600;padding:6px 10px;border-bottom:1px solid var(--border);text-transform:uppercase;letter-spacing:.4px;font-size:11px}
#sec-crunchbase .ptable td{padding:6px 10px;border-bottom:1px solid var(--border);font-family:'SF Mono','Fira Code',monospace}
#sec-crunchbase .ptable-foot{font-size:11.5px;color:var(--muted);margin-top:6px;text-align:right}
#sec-crunchbase .note{font-size:12px;color:var(--muted);margin-top:10px}

/* Toast */
#sec-crunchbase .toast{position:fixed;bottom:24px;right:24px;background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:8px;padding:14px 18px;font-size:13px;max-width:360px;box-shadow:var(--shadow-lg);opacity:0;transform:translateY(8px);transition:all .2s;z-index:50}
#sec-crunchbase .toast.show{opacity:1;transform:translateY(0)}
#sec-crunchbase .toast.ok{border-left-color:var(--green)}
#sec-crunchbase .toast.err{border-left-color:var(--red)}

/* Data table */
#sec-crunchbase .dtable{width:100%;border-collapse:collapse;font-size:13px}
#sec-crunchbase .dtable th{text-align:left;color:var(--muted);font-weight:600;padding:9px 12px;border-bottom:1px solid var(--border);text-transform:uppercase;letter-spacing:.4px;font-size:11px;white-space:nowrap}
#sec-crunchbase .dtable td{padding:9px 12px;border-bottom:1px solid var(--border);vertical-align:middle}
#sec-crunchbase .dtable tr:hover td{background:var(--accent-tint)}
#sec-crunchbase .dtable .dom{font-family:'SF Mono','Fira Code',monospace;font-size:12px;color:var(--muted)}
/* Primary monospace data (domain in the Companies row) — readable, not muted.
   .dom stays muted for the secondary-label sites (modal, logs expander sublabel). */
#sec-crunchbase #companies-table tbody .dom{color:var(--text-dim)}
/* Every companies-table cell stays on one line; the .dtable-scroll wrapper then
   scrolls horizontally (parity with the SERP results/sentiment tables) instead
   of letting the Latest-round cell wrap to two lines. */
#sec-crunchbase #companies-table td{white-space:nowrap}
/* Crunchbase profile name (scraped_company_name) as a muted secondary line under
   the uploaded company name. Shown only when it differs from the input name. */
#sec-crunchbase #companies-table .cb-scraped{font-size:11px;color:var(--text-dim);font-style:italic;margin-top:2px}
#sec-crunchbase .dtable .amt{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
/* 'computed' provenance badge on a derived (summed-from-rounds) funding total,
   distinguishing our sum from a Crunchbase headline figure. Muted pill; help
   cursor since it carries a why-tooltip (title=). font-variant reset so the word
   doesn't inherit the .amt tabular-nums. */
#sec-crunchbase .computed-badge{display:inline-block;margin-left:5px;padding:1px 6px;border-radius:8px;font-size:9.5px;font-weight:600;letter-spacing:.3px;text-transform:uppercase;color:var(--text-dim);background:var(--surface-sunken);border:1px solid var(--border);vertical-align:middle;cursor:help;font-variant-numeric:normal}
/* Unified empty-cell placeholder — render `<span class="na">—</span>` everywhere. */
#sec-crunchbase .dtable .na{color:var(--text-dim)}

/* Status badge palette — semantic, not arbitrary. Each triage state is a distinct
   hue so the Match + Status columns are scannable at a glance:
   green  = success terminal (matched / done);
   red    = failure terminal (not_found / error);
   blue   = matched_name_only (matched on name, domain unverified — a "review" note);
   amber  = ambiguous (no confirmed match, needs a decision);
   clay   = in-flight / not-yet-terminal (pending / manual_override / in_progress / retry);
   clay-outline = queued (distinct from pending so the Match + Status columns don't
       merge into one band on a freshly-uploaded batch). */
#sec-crunchbase .tg{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:600;white-space:nowrap}
#sec-crunchbase .tg-matched,#sec-crunchbase .tg-done{background:var(--success-tint);color:var(--green)}
#sec-crunchbase .tg-not_found,#sec-crunchbase .tg-error{background:var(--danger-tint);color:var(--red)}
/* Distinct hues per state (all AA on their tints): matched_name_only = blue/info
   (a successful-but-unverified "note"), ambiguous = amber (needs a decision),
   retry = clay/in-flight (joins pending/in_progress, NOT an attention state). */
#sec-crunchbase .tg-matched_name_only{background:var(--info-tint);color:var(--c-blue-700)}
#sec-crunchbase .tg-ambiguous{background:var(--warn-tint);color:var(--c-amber-700)}
#sec-crunchbase .tg-retry{background:var(--accent-tint);color:var(--accent-contrast-text)}
/* The ambiguous Match badge carries a why-tooltip (title=); show the help cursor. */
#sec-crunchbase .tg-ambiguous{cursor:help}
/* accent-contrast-text (clay-700) on accent-tint clears AA where bare --accent (clay-500) did not. */
#sec-crunchbase .tg-pending,#sec-crunchbase .tg-manual_override,#sec-crunchbase .tg-in_progress{background:var(--accent-tint);color:var(--accent-contrast-text)}
#sec-crunchbase .tg-queued{background:var(--accent-tint);color:var(--accent-contrast-text);border:1px solid var(--accent-ring)}
/* Batch-status pills (Recent Batches Status column). Active = outline (the
   common case, lots of them in a 50-row world), complete = solid green so the
   single "done" row pops out of a sea of actives. Mirrors the wave-2 B1
   outline-vs-solid pattern for queued/pending. */
/* active = a batch still SCRAPING (in-flight), so it's YELLOW (the in-progress
   hue, matching Auditing) -- NOT green. Traffic-light law: yellow = working,
   green = a complete phase ("Audited . clean"), red = needs attention. A moving
   0-99% bar isn't "done". No border either (it made this pill the odd one out). */
#sec-crunchbase .tg-active{background:var(--warn-tint);color:var(--yellow)}
/* complete = SOLID green fill (white text) so the terminal "done" row pops out of a
   sea of tinted/outlined "active" rows, per the comment's stated intent. */
#sec-crunchbase .tg-complete{background:var(--success);color:var(--text-on-accent)}
/* uploading = the brief in-flight state right after a CSV upload (accent family,
   matching in_progress); cancelled = terminal/stopped (neutral, mirrors the
   shared .badge-neutral). Without these both fell through to the unstyled base
   .tg and rendered as bare, colorless pills next to their styled siblings. */
#sec-crunchbase .tg-uploading{background:var(--accent-tint);color:var(--accent)}
#sec-crunchbase .tg-cancelled{background:var(--surface-sunken);color:var(--text-muted)}
/* Audit-stage phases of the single Status pill -- traffic-light triage:
   yellow = auditing (in-flight, same as active), green = audited-clean (a
   complete + clean phase), red = audited-with-flags (needs human attention).
   The flagged pill links into Audit Review. */
#sec-crunchbase .tg-auditing{background:var(--warn-tint);color:var(--yellow)}
#sec-crunchbase .tg-flagged{background:var(--danger-tint);color:var(--red);cursor:pointer;text-decoration:none}
#sec-crunchbase .tg-flagged:hover{text-decoration:underline}
#sec-crunchbase .tg-clean{background:var(--success-tint);color:var(--green)}

/* progress bar */
#sec-crunchbase .bar{height:6px;background:var(--border);border-radius:3px;overflow:hidden;min-width:90px;flex:1}
#sec-crunchbase .bar > i{display:block;height:100%;background:var(--accent);border-radius:3px;transition:width 1s ease}
/* "0% · 0/N" on an active batch looks dead -- a slow shimmer signals "queued,
   nothing scraped yet" without faking progress (the numeric label stays accurate).
   At 5+ simultaneous bars the out-of-phase pulses become noise, so this is
   deliberately dim (.08 midpoint) and slow (2.4s) -- per-bar subtle, aggregate quiet. */
#sec-crunchbase .bar.queued{
  background:linear-gradient(90deg,var(--border) 25%,var(--accent-tint) 50%,var(--border) 75%);
  background-size:200% 100%;
  animation:cb-barShim 2.4s ease-in-out infinite;
}
@keyframes cb-barShim{0%{background-position:100% 0}100%{background-position:-100% 0}}
/* Brief tint on a newly-uploaded batch row so the eye lands on it after upload. */
@keyframes cb-rowNewFade{0%{background:var(--accent-tint-strong)}100%{background:transparent}}
#sec-crunchbase tr.row-new{animation:cb-rowNewFade 1.6s ease-out}
/* One-shot fade when a batch's audit pill resolves (auditing -> audited).
   Reuses the row-new tint; a real state transition gates it (JS), so it can't
   strobe every poll. Disabled under reduced-motion (the re-label still lands). */
#sec-crunchbase tr.cb-audit-resolved{animation:cb-rowNewFade 1.4s ease-out}
@media (prefers-reduced-motion: reduce){
  #sec-crunchbase tr.cb-audit-resolved{animation:none}
}
#sec-crunchbase .brow{display:flex;align-items:center;gap:10px}

/* form controls */
#sec-crunchbase select,#sec-crunchbase input.txt{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:6px 10px;font-size:13px}
#sec-crunchbase select:focus,#sec-crunchbase input.txt:focus{outline:none;border-color:var(--accent)}
#sec-crunchbase .iconbtn{background:none;border:1px solid var(--border);border-radius:5px;color:var(--muted);cursor:pointer;padding:4px 9px;font-size:12px;transition:all .12s}
#sec-crunchbase .iconbtn:hover{border-color:var(--accent);color:var(--accent)}
/* Batches row-actions kebab (⋮) + dropdown menu. The actions cell is the
   positioning context; the menu is absolutely positioned within it with a high
   z-index so the .dtable rows below it don't clip the open menu (the batches
   table has no overflow wrapper, so visible overflow is all that's needed). */
#sec-crunchbase .kebab-cell{position:relative;overflow:visible}
#sec-crunchbase .kebab-btn{background:none;border:1px solid var(--border);border-radius:5px;color:var(--muted);cursor:pointer;padding:4px 9px;font-size:14px;line-height:1;transition:all .12s}
#sec-crunchbase .kebab-btn:hover,#sec-crunchbase .kebab-btn[aria-expanded="true"]{border-color:var(--accent);color:var(--accent)}
/* Viewport-fixed (coords set in JS on open) so the menu escapes the enclosing
   card's overflow:hidden -- a kebab on the last/only row was being clipped. */
#sec-crunchbase .kebab-menu{position:fixed;z-index:1000;min-width:150px;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:4px;box-shadow:var(--shadow-lg);display:none;text-align:left}
#sec-crunchbase .kebab-menu.open{display:block}
#sec-crunchbase .kebab-item{display:block;width:100%;text-align:left;background:none;border:none;color:var(--text);cursor:pointer;padding:7px 10px;font-size:12.5px;border-radius:5px;white-space:nowrap;transition:background .12s}
#sec-crunchbase .kebab-item:hover{background:var(--accent-tint);color:var(--accent)}
#sec-crunchbase .kebab-item.danger:hover{background:var(--danger-tint);color:var(--red)}
/* The companies table sits inside a horizontal-scroll wrapper (overflow-x:auto),
   which computes overflow-y to auto as well and would clip the absolutely-
   positioned .kebab-menu that drops below its cell. Keep horizontal scrolling
   but let the menu overflow vertically. (The batches table has no such wrapper.) */
#sec-crunchbase .dtable-scroll{overflow-x:auto;overflow-y:visible}
/* Companies pagination — mirrors the SERP results-table control (index.html .pagination) */
#sec-crunchbase .pagination{display:flex;gap:8px;margin-top:16px;align-items:center;font-size:13px;color:var(--muted)}
#sec-crunchbase .pagination button{background:var(--surface);border:1px solid var(--border);color:var(--text);padding:6px 14px;border-radius:6px;cursor:pointer;font-size:13px}
#sec-crunchbase .pagination button:disabled{opacity:.4;cursor:default}
#sec-crunchbase .pagination button:hover:not(:disabled){border-color:var(--accent)}
/* Primary triage "Needs review" chip (Companies tab). Active = filled accent
   pill; idle = ghost. Lives in its own row above the demoted advanced filters. */
#sec-crunchbase .lens-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
#sec-crunchbase .chip{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:999px;padding:6px 14px 6px 12px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:8px;cursor:pointer;transition:all .12s}
#sec-crunchbase .chip:hover{border-color:var(--warn);color:var(--warn)}
#sec-crunchbase .chip .chip-dot{width:8px;height:8px;border-radius:50%;background:var(--warn);flex-shrink:0}
#sec-crunchbase .chip .chip-count{font-variant-numeric:tabular-nums;color:var(--muted);font-weight:500}
#sec-crunchbase .chip.active{background:var(--warn-tint);color:var(--warn);border-color:var(--warn)}
#sec-crunchbase .chip.active .chip-count{color:var(--warn)}
/* Errored chip: same shape as Needs-review but red (scrape-failure queue, a
   distinct triage bucket from the orange match-quality queue). */
#sec-crunchbase .chip-err .chip-dot{background:var(--red)}
#sec-crunchbase .chip-err:hover{border-color:var(--red);color:var(--red)}
#sec-crunchbase .chip-err.active{background:var(--danger-tint);color:var(--red);border-color:var(--red)}
#sec-crunchbase .chip-err.active .chip-count{color:var(--red)}
#sec-crunchbase .chip-clear{font-weight:500;color:var(--muted)}
#sec-crunchbase .chip-clear:hover{color:var(--accent);border-color:var(--accent)}
#sec-crunchbase .chip-clear .chip-dot{display:none}
/* Advanced filters: native <details> demoted to a discoverable disclosure. */
#sec-crunchbase .adv-filters{margin-bottom:14px}
#sec-crunchbase .adv-filters > summary{cursor:pointer;font-size:12px;color:var(--muted);user-select:none;padding:6px 0;list-style:none;display:inline-flex;align-items:center;gap:6px}
#sec-crunchbase .adv-filters > summary::-webkit-details-marker{display:none}
#sec-crunchbase .adv-filters > summary::before{content:'›';display:inline-block;transition:transform .15s;font-size:14px;color:var(--muted)}
#sec-crunchbase .adv-filters[open] > summary::before{transform:rotate(90deg)}
#sec-crunchbase .adv-filters > summary:hover{color:var(--text)}
/* Persistent upload summary banner — matches the toast pattern (left-border
   accent, subtle bg tint) and slides in. The close button gets its own
   right-anchored slot so it can't overlap the Done badge above the card. */
#sec-crunchbase .upload-summary{
  border-left:3px solid var(--green);
  background:var(--success-tint);
  padding:11px 14px;border-radius:6px;
  margin-top:12px;
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  opacity:0;transform:translateY(-4px);
  transition:opacity .18s ease-out, transform .18s ease-out;
}
#sec-crunchbase .upload-summary:not(.hidden){opacity:1;transform:none}
#sec-crunchbase .upload-summary .us-body{flex:1;font-size:13px;line-height:1.5}
#sec-crunchbase .upload-summary .us-body b{color:var(--green)}
#sec-crunchbase .upload-summary .us-foot{display:block;color:var(--muted);font-size:11.5px;margin-top:4px}
#sec-crunchbase .upload-summary .us-close{
  flex-shrink:0;background:none;border:none;color:var(--muted);
  font-size:18px;line-height:1;cursor:pointer;padding:2px 6px;border-radius:4px;
}
#sec-crunchbase .upload-summary .us-close:hover{color:var(--text);background:var(--surface-hover)}
/* Submit spinner (item 5). */
#sec-crunchbase .spinner{display:inline-block;width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:cb-spin .7s linear infinite;vertical-align:-2px;margin-right:6px}
@keyframes cb-spin{to{transform:rotate(360deg)}}
#sec-crunchbase .drop.locked{pointer-events:none;opacity:.55}
/* Override modal form (item 8). */
#sec-crunchbase .modal-form label{display:block;font-size:12px;color:var(--muted);margin:14px 0 6px;text-transform:uppercase;letter-spacing:.4px;font-weight:600}
#sec-crunchbase .modal-form input.txt{width:100%;font-family:'SF Mono','Fira Code',monospace;font-size:13px}
#sec-crunchbase .modal-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
#sec-crunchbase .modal-err{color:var(--red);font-size:12px;margin-top:8px;min-height:16px}
/* Per-batch logs expander row */
#sec-crunchbase .logrow td{background:var(--surface-sunken);padding:0!important}
#sec-crunchbase .logwrap{max-height:320px;overflow-y:auto;padding:10px 14px}
#sec-crunchbase .logtbl{width:100%;border-collapse:collapse;font-size:12px}
#sec-crunchbase .logtbl th{text-align:left;color:var(--muted);font-weight:600;padding:5px 8px;border-bottom:1px solid var(--border);text-transform:uppercase;letter-spacing:.4px;font-size:10.5px;white-space:nowrap}
#sec-crunchbase .logtbl td{padding:5px 8px;border-bottom:1px solid var(--border);vertical-align:top}
#sec-crunchbase .logtbl .dom{font-family:'SF Mono','Fira Code',monospace;font-size:11px;color:var(--muted)}

/* modal */
#sec-crunchbase .ovl{position:fixed;inset:0;background:var(--overlay);display:flex;align-items:center;justify-content:center;z-index:40;padding:24px}
#sec-crunchbase .modal{background:var(--surface);border:1px solid var(--border);border-radius:10px;max-width:680px;width:100%;max-height:84vh;overflow-y:auto;padding:22px 24px}
#sec-crunchbase .modal-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
#sec-crunchbase .modal-h h3{font-size:16px;font-weight:600}
#sec-crunchbase .modal pre{background:var(--surface-sunken);border:1px solid var(--border);border-radius:6px;padding:12px;font-family:'SF Mono','Fira Code',monospace;font-size:11.5px;line-height:1.55;overflow-x:auto;color:var(--text-muted);white-space:pre-wrap;word-break:break-all;margin:8px 0}
#sec-crunchbase .x{cursor:pointer;color:var(--muted);font-size:20px;line-height:1;background:none;border:none}#sec-crunchbase .x:hover{color:var(--text)}
#sec-crunchbase .ovr-row{display:flex;gap:8px;margin-top:6px}
#sec-crunchbase .ovr-row input{flex:1}

#sec-crunchbase .wide{grid-column:1/-1}
#sec-crunchbase .hidden{display:none!important}
@media(max-width:768px){#sec-crunchbase .grid{grid-template-columns:1fr}}

/* ── Audit Review tab ──────────────────────────── */
/* Buckets stack with even spacing; only non-empty ones show (empty get .hidden),
   and a centered all-clear card stands in when there are none. (gap ignores the
   display:none children, so the spacing stays correct as buckets show/hide.) */
#sec-crunchbase #pane-audit{display:flex;flex-direction:column;gap:16px}
#sec-crunchbase .cb-audit-allclear{font-size:14px;color:var(--muted);text-align:center;padding:48px 16px}
/* "N batches still auditing" hint: a muted strip above the buckets (populated
   queue) or an inline sub-line inside the all-clear card (empty queue). Calm,
   informative -- promises NO flag count (an auditing batch may come back clean). */
#sec-crunchbase .cb-audit-hint{font-size:12.5px;color:var(--muted);padding:9px 13px;background:var(--surface-sunken);border-radius:8px}
#sec-crunchbase .cb-audit-hint-sub{font-size:12.5px;color:var(--muted);margin-top:12px}
#sec-crunchbase .cb-audit-sub{font-size:12.5px;color:var(--muted);margin:0 0 14px}
#sec-crunchbase .cb-audit-list{display:flex;flex-direction:column;gap:12px}
#sec-crunchbase .cb-audit-empty{font-size:13px;color:var(--muted);padding:8px 0}
#sec-crunchbase .cb-audit-card{border:1px solid var(--border);border-radius:8px;padding:14px 16px;background:var(--surface-sunken)}
#sec-crunchbase .cb-audit-head{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
#sec-crunchbase .cb-audit-co{font-weight:600;font-size:14px;color:var(--text)}
#sec-crunchbase .cb-audit-dom{font-family:'SF Mono','Fira Code',monospace;font-size:12px;color:var(--muted)}
/* verdict + confidence chips reuse the .tg- tag look (pill, small caps). */
#sec-crunchbase .cb-audit-verdict,#sec-crunchbase .cb-audit-conf{display:inline-block;padding:2px 9px;border-radius:10px;font-size:10.5px;font-weight:600;letter-spacing:.3px;text-transform:uppercase}
#sec-crunchbase .cb-audit-verdict.tg-wrong_twin{background:var(--danger-tint);color:var(--red)}
#sec-crunchbase .cb-audit-verdict.tg-sub_entity{background:var(--info-tint,var(--accent-tint));color:var(--c-blue-700,var(--accent))}
#sec-crunchbase .cb-audit-verdict.tg-unsure{background:var(--warn-tint);color:var(--c-amber-700,var(--yellow))}
#sec-crunchbase .cb-audit-verdict.tg-ok{background:var(--success-tint);color:var(--green)}
#sec-crunchbase .cb-audit-conf.conf-high{background:var(--danger-tint);color:var(--red)}
#sec-crunchbase .cb-audit-conf.conf-medium{background:var(--warn-tint);color:var(--c-amber-700,var(--yellow))}
#sec-crunchbase .cb-audit-conf.conf-low{background:var(--surface);color:var(--muted);border:1px solid var(--border)}
#sec-crunchbase .cb-audit-reason{font-size:13px;color:var(--text);margin-top:8px;line-height:1.5}
#sec-crunchbase .cb-audit-prior{font-size:12px;color:var(--muted);margin-top:6px;word-break:break-all}
#sec-crunchbase .cb-audit-actions{display:flex;gap:8px;margin-top:12px}
@media(max-width:768px){#sec-crunchbase .cb-audit-actions{flex-wrap:wrap}}
