.evidence-root { min-width: 0; color: #283430; letter-spacing: 0; }
.evidence-root *, .evidence-version-actions * { box-sizing: border-box; letter-spacing: 0; }
.evidence-tabs { display: flex; gap: 4px; padding: 0 24px; border-bottom: 1px solid #dde2e0; }
.evidence-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #66736c; font: inherit; font-size: 14px; cursor: pointer; }
.evidence-tabs button[aria-selected=true] { border-bottom-color: #287b54; color: #17613e; font-weight: 600; }
.evidence-tabs button:hover { background: #f0f5f2; }
.evidence-root button:focus-visible, .evidence-root input:focus-visible, .evidence-root select:focus-visible { outline: 2px solid #258152; outline-offset: 2px; }
.evidence-root [hidden] { display: none !important; }
.evidence-root .kb-project-bar { display: none; }
.evidence-root .kb-layout { min-height: 0; margin-top: 18px; }
.evidence-root .kb-table .kb-empty { padding: 38px 12px; }
.evidence-root .kb-extraction-status { display: block; margin-top: 3px; }
.evidence-root .kb-heading { flex-wrap: wrap; }
.evidence-root .kb-heading h2 { margin: 0; }
.evidence-knowledge { padding: 24px; min-width: 0; }
.evidence-knowledge>.evidence-heading { flex-wrap: wrap; }
.evidence-knowledge-empty { padding: 36px 12px; text-align: center; color: #68756e; }
.evidence-knowledge-empty>svg { width: 28px; height: 28px; color: #2b806b; }
.evidence-knowledge-empty h3 { margin: 14px 0 8px; font-size: 18px; color: #283430; }
.evidence-knowledge-empty p { margin: 0; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.evidence-manual-review { border-top: 1px solid #dde2e0; }
.evidence-manual-review>summary { padding: 16px 0; color: #426977; font-size: 14px; cursor: pointer; }
.evidence-manual-review>summary:focus-visible { outline: 2px solid #258152; outline-offset: 2px; }
.evidence-manual-note { margin: 0 0 12px; color: #747e78; font-size: 12px; line-height: 1.7; }
.evidence-review-tabs { padding: 0; }
.evidence-manual-review .evidence-workspace, .evidence-manual-review .brand-workspace { padding: 20px 0 0; }
.evidence-manual-review .evidence-heading h2, .evidence-manual-review .brand-heading h2 { font-size: 18px; }
.evidence-workspace { min-width: 0; padding: 24px; }
.evidence-heading, .evidence-inspection>header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.evidence-heading h2 { margin: 0; font-size: 23px; }
.evidence-search-form { display: grid; grid-template-columns: minmax(180px,1fr) minmax(160px,210px) minmax(150px,190px); gap: 12px; margin: 18px 0 14px; }
.evidence-search-form label, .evidence-filters label { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: #657169; font-size: 12px; }
.evidence-search-form input, .evidence-search-form select, .evidence-filters select { width: 100%; min-width: 0; height: 36px; border: 1px solid #d4ded8; border-radius: 4px; background: #fff; color: #344b3e; font: inherit; font-size: 13px; padding: 6px 10px; }
.evidence-query>div { display: flex; gap: 4px; }
.evidence-query input { flex: 1 1 auto; }
.evidence-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #dde2e0; }
.evidence-filters label { flex: 0 1 160px; }
.evidence-filters select:disabled { opacity: .5; }
.evidence-source-filter { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; font-size: 12px; color: #63756b; }
.evidence-source-filter>span { min-width: 0; overflow-wrap: anywhere; }
.evidence-source-filter code { display: block; font-size: 11px; }
.evidence-text-button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 8px; border: 0; background: transparent; color: #286849; font: inherit; font-size: 12px; cursor: pointer; }
.evidence-error, .evidence-notice { margin: 12px 0; padding: 10px 12px; border-left: 3px solid #bd4755; background: #fff3f3; color: #973641; font-size: 13px; overflow-wrap: anywhere; }
.evidence-notice { border-left-color: #377ea0; color: #386678; background: #f0f6fa; }
.evidence-claim { padding: 20px 0; border-bottom: 1px solid #dde2e0; }
.evidence-claim>header { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.evidence-claim h3 { margin: 10px 0 14px; font-size: 15px; font-weight: 600; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.evidence-badge { display: inline-block; max-width: 100%; padding: 3px 7px; border-radius: 3px; color: #59655f; background: #edf0ee; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.evidence-green { color: #216543; background: #e5f3ea; }
.evidence-amber { color: #86601a; background: #faf1d9; }
.evidence-red { color: #a1384c; background: #fcebf0; }
.evidence-muted { color: #747e78; font-size: 12px; }
.evidence-provenance { display: grid; gap: 6px; margin: 10px 0; font-size: 12px; line-height: 1.6; }
.evidence-provenance>div { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 12px; }
.evidence-provenance dt { color: #7b837f; }
.evidence-provenance dd { min-width: 0; margin: 0; color: #535e58; overflow-wrap: anywhere; }
.evidence-provenance code { font: 11px/1.7 ui-monospace,Consolas,monospace; }
.evidence-sources { margin-top: 14px; }
.evidence-source { min-width: 0; padding: 0 0 0 14px; margin: 16px 0 0; border-left: 2px solid #bad3df; }
.evidence-source-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #426977; font-size: 12px; overflow-wrap: anywhere; }
.evidence-source-heading>span:first-child { min-width: 0; }
.evidence-source-heading .kb-icon-button { margin-left: auto; }
.evidence-source blockquote { max-width: 100%; margin: 10px 0 0; padding: 0; border: 0; background: transparent; color: #4c5951; font-size: 13px; font-style: normal; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.evidence-result-meta, .evidence-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 12px 0; color: #778078; font-size: 12px; }
.evidence-pagination>div { display: flex; }
.evidence-search-result { padding: 16px 0; border-bottom: 1px solid #dde2e0; }
.evidence-result-score { color: #798179; font-size: 11px; font-variant-numeric: tabular-nums; }
.evidence-empty { padding: 65px 12px; text-align: center; color: #7b857e; font-size: 13px; }
.evidence-inspection { padding: 16px 0; border-bottom: 1px solid #dde2e0; }
.evidence-inspection h3 { margin: 0; color: #315d70; font-size: 15px; }
.evidence-inspection .evidence-source { margin-bottom: 12px; }
.evidence-version-actions { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px; max-width: 100%; min-width: 0; }
.evidence-version-status { color: #66786c; font-size: 11px; overflow-wrap: anywhere; }
@media(max-width:360px) {
  .evidence-root .evidence-tabs { padding: 0 10px; gap: 2px; }
  .evidence-root .evidence-tabs button { padding-left: 8px; padding-right: 8px; }
}
@media(max-width:1150px) {
  .evidence-search-form { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .evidence-query { grid-column: 1 / -1; }
}
@media(max-width:600px) {
  .evidence-tabs { padding: 0 14px; }
  .evidence-tabs button { padding: 10px 12px; font-size: 13px; }
  .evidence-workspace { padding: 14px; }
  .evidence-heading h2 { font-size: 20px; }
  .evidence-search-form { gap: 10px 8px; }
  .evidence-search-form select { padding: 6px 4px; font-size: 12px; }
  .evidence-provenance>div { grid-template-columns: minmax(0,1fr); gap: 2px; }
  .evidence-source { padding-left: 10px; }
  .evidence-source-heading { gap: 6px; }
  .evidence-source-heading>span:first-child { flex: 1 1 100%; }
  .evidence-source-filter { flex-basis: 100%; }
  .evidence-version-actions { justify-content: flex-start; }
  .evidence-knowledge { padding: 18px 14px; }
  .evidence-knowledge-empty { padding: 28px 4px; }
  .evidence-root .kb-table th:nth-child(3), .evidence-root .kb-table td:nth-child(3) { display: none; }
  .evidence-root .kb-table th:nth-child(4), .evidence-root .kb-table td:nth-child(4) { display: table-cell; width: 34%; }
  .evidence-main-tabs { padding: 0 10px; gap: 0; }
  .evidence-main-tabs button { flex: 1 1 0; min-width: 0; padding: 10px 6px; gap: 5px; overflow-wrap: anywhere; }
  .evidence-main-tabs button svg { flex: 0 0 18px; }
}
