/* Comparison extensions stay scoped to their own content. */
.bc-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 0 28px 20px; border-bottom: 1px solid var(--bp-border, #d8dfd8); }
.bc-toolbar p { margin: 0 0 5px; font-size: 13px; font-weight: 600; }
.bc-toolbar small, .bc-footnote { color: var(--fd-text-mute, #67736d); font-size: 11px; line-height: 1.6; }
.bc-differences-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; cursor: pointer; }
.bc-differences-switch input { width: 16px; height: 16px; margin: 0; accent-color: var(--fd-teal, #2a6670); }
.bc-wrap { scrollbar-gutter: stable; }
.bc-table { min-width: 660px; }
.bc-table tbody tr.bc-different { background: color-mix(in srgb, var(--fd-teal, #2a6670) 5%, transparent); }
.bc-table tbody tr.bc-different > th { border-left: 3px solid color-mix(in srgb, var(--fd-teal, #2a6670) 55%, transparent); padding-left: 10px; }
.bc-table .bc-diff-label { display: block; margin-top: 4px; color: var(--fd-sage-soft, #597360); font-size: 9px; font-weight: 600; }
.bc-wrap.is-differences-only .bc-table tbody tr:not(.bc-different):not(.bc-always-visible) { display: none; }
.bc-property-heading { position: relative; }
.bc-table thead .bc-remove { position: absolute; top: 8px; right: 8px; display: block; padding: 5px 8px; border: 1px solid #fff9; border-radius: 5px; background: #fffef8ed; color: #30463d; font-size: 10px; font-weight: 500; }
.bc-table .bc-title:hover, .bc-table .bc-explain:hover { text-decoration: underline; text-underline-offset: 3px; }
.bc-table .bc-explain { display: block; margin-top: 8px; padding: 0; border: 0; background: transparent; color: var(--fd-teal, #2a6670); font: inherit; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bc-table strong.bc-match-score { display: block; color: var(--fd-teal, #2a6670); font-size: 28px; }
.bc-match-score > small { margin-left: 3px; font: 400 12px var(--fd-body, sans-serif); }
.bc-reasons { margin: 0; padding-left: 16px; font-size: 11px; line-height: 1.7; }
.bc-reasons li + li { margin-top: 5px; }
.bc-muted { color: var(--fd-text-mute, #67736d); }
.bc-uncertain { color: var(--fd-terracotta, #9c4d33); }
.bc-table td > small { display: block; margin-top: 5px; font-size: 10px; line-height: 1.5; color: var(--fd-text-mute, #67736d); }
.bc-table td > small.bc-uncertain { color: var(--fd-terracotta, #9c4d33); }
.bc-no-photo { display: grid; place-items: center; width: 100%; aspect-ratio: 1.6; margin-bottom: 14px; border-radius: 7px; color: var(--fd-text-mute, #67736d); background: var(--fd-surface-2, #e9ece5); font-size: 12px; }
.bc-note-label { display: block; margin-bottom: 7px; font-size: 10px; color: var(--fd-text-soft, #546259); }
.bc-note { display: block; box-sizing: border-box; width: 100%; min-height: 86px; padding: 10px; border: 1px solid var(--bp-border, #d8dfd8); border-radius: 7px; resize: vertical; background: var(--fd-surface, #fffef8); color: var(--fd-text, #17392f); font: 12px/1.6 var(--fd-body, sans-serif); }
.bc-note::placeholder { color: var(--fd-text-mute, #67736d); }
.bc-note:focus-visible, .bc-table button:focus-visible, .bc-differences-switch input:focus-visible { outline: 2px solid var(--fd-teal, #2a6670); outline-offset: 3px; }
.bc-footnote { margin: 0; padding: 0 28px 24px; }
.bc-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bc-empty { padding: 24px; color: var(--fd-text-soft, #546259); }
@media (max-width: 899px) {
  .bc-toolbar { align-items: flex-start; padding: 0 18px 16px; }
  .bc-toolbar > div { width: 100%; }
  .bc-wrap { padding: 0 18px 20px; overflow-x: auto; }
  .bc-table th, .bc-table td { padding: 13px 12px; font-size: 12px; line-height: 1.6; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bp-border, #d8dfd8); overflow-wrap: anywhere; }
  .bc-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
  .bc-table th:first-child { width: 105px; font-size: 11px; font-weight: 500; }
  .bc-table thead img { display: block; width: 100%; aspect-ratio: 1.6; margin-bottom: 12px; border-radius: 7px; object-fit: cover; }
  .bc-table thead .bc-title { padding: 0; border: 0; text-align: left; color: inherit; background: transparent; font: 600 13px/1.4 var(--fd-body, sans-serif); }
  .bc-table thead span { display: block; font-size: 10px; margin-top: 6px; color: var(--fd-text-mute, #67736d); }
  .bc-footnote { padding: 0 18px 20px; }
}
