.corporate-risk {
  --cr-surface: var(--panel, #fff);
  --cr-ink: var(--ink, #182026);
  --cr-muted: var(--muted, #65727c);
  --cr-line: var(--line, #dbe2e8);
  --cr-link: var(--brand, #194d5f);
  color: var(--cr-ink);
  background: var(--cr-surface);
  padding: 20px;
  min-width: 0;
  letter-spacing: 0;
}
:root[data-theme="dark"] .corporate-risk,
body.dark-theme .corporate-risk {
  color-scheme: dark;
  --cr-surface: #182026;
  --cr-ink: #edf2f6;
  --cr-muted: #bac6ce;
  --cr-line: #43515c;
  --cr-link: #8fcbea;
}
.cr-meta, .cr-filters, .cr-pagination, .cr-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cr-meta { padding-bottom: 18px; border-bottom: 1px solid var(--cr-line); font-size: 14px; color: var(--cr-muted); }
.cr-meta strong { color: var(--cr-ink); }
.cr-filters { align-items: end; padding: 20px 0; }
.cr-filters label { display: grid; gap: 8px; font-weight: 600; font-size: 14px; }
.corporate-risk input, .corporate-risk select, .corporate-risk button {
  min-height: 40px; max-width: 100%; border: 1px solid var(--cr-line); border-radius: 4px;
  padding: 8px 12px; color: var(--cr-ink); background: var(--cr-surface); font: inherit;
}
.corporate-risk button { cursor: pointer; font-weight: 600; }
.corporate-risk button:disabled { cursor: default; opacity: .55; }
.corporate-risk :focus-visible { outline: 2px solid var(--cr-link); outline-offset: 3px; }
.cr-feedback { padding: 12px 0; color: var(--cr-muted); }
.cr-feedback:empty { display: none; }
.cr-table { max-width: 100%; overflow: auto; }
.cr-table table { width: 100%; min-width: 640px; table-layout: fixed; border-collapse: collapse; }
.cr-table th, .cr-table td { padding: 16px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--cr-line); overflow-wrap: anywhere; }
.cr-table th { color: var(--cr-muted); font-size: 13px; }
.cr-table th:nth-child(1) { width: 23%; }
.cr-table th:nth-child(2) { width: 43%; }
.cr-table th:nth-child(3) { width: 20%; }
.cr-table th:nth-child(4) { width: 14%; }
.cr-table td > span, .cr-table td > small { display: block; margin-top: 8px; }
.cr-table small { color: var(--cr-muted); }
.cr-table details { margin-top: 14px; }
.cr-table summary { color: var(--cr-link); cursor: pointer; }
.cr-table dt { color: var(--cr-muted); font-size: 13px; margin-top: 12px; }
.cr-table dd { margin: 4px 0 12px; white-space: pre-wrap; }
.cr-links a { color: var(--cr-link); }
.cr-intake { padding: 16px 0; border-bottom: 1px solid var(--cr-line); }
.cr-intake summary { cursor: pointer; color: var(--cr-link); }
.cr-file { display: grid; gap: 8px; margin: 16px 0; }
.cr-file span { overflow-wrap: anywhere; min-width: 0; }
.cr-file input { width: 100%; min-width: 0; box-sizing: border-box; }
.cr-preview { max-height: 360px; overflow: auto; margin: 16px 0; overflow-wrap: anywhere; }
.cr-preview details { padding: 12px 0; border-bottom: 1px solid var(--cr-line); }
.cr-preview dd { margin: 4px 0 12px; white-space: pre-wrap; }
.cr-preview dt { color: var(--cr-muted); }
.cr-review { display: flex; align-items: center; gap: 10px; margin: 16px 0; }
.cr-review input { flex: 0 0 18px; }
.cr-status { border-left: 3px solid var(--gold); padding-left: 8px; }
.cr-status[data-status="CONFIRMED"] { border-color: var(--good); }
.cr-status[data-status="DISPUTED"] { border-color: var(--danger); }
.cr-status[data-status="RETRACTED"], .cr-status[data-status="RESOLVED"] { border-color: var(--cr-muted); }
.cr-pagination { margin-top: 20px; font-size: 14px; }
.cr-pagination span { margin-right: auto; }
@media (max-width: 600px) {
  .corporate-risk { padding: 12px; }
  .cr-filters label { width: 100%; }
  .cr-filters input, .cr-filters select { width: 100%; }
  .cr-pagination span { flex-basis: 100%; }
}
