/* Product evidence and browsing controls share the existing storefront palette. */
.offer-event {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 7px;
}
.offer-event svg { width: 14px; height: 14px; flex: 0 0 14px; }
.event-new { color: #71e0e8; }
.event-drop { color: #8ce6b8; }
.event-tracked { color: #acb4bf; font-weight: 400; }
.card-category { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-age { flex-shrink: 0; }
.card-reference, .home-merchant-grid .card-reference { font-size: 12px; line-height: 1.6; min-height: 22px; }
.card-reference del { color: #c1c5ce; margin-left: 3px; }
.card-saving, .home-merchant-grid .card-saving { font-size: 13px; line-height: 1.5; min-height: 22px; }
.card-content { min-width: 0; }
.merchant-heading > div:first-child { flex: 1 1 380px; }
.feed-modes { flex-wrap: wrap; column-gap: 20px; row-gap: 0; }
.feed-modes button { min-height: 48px; margin-bottom: 0; }
[data-activity-count] { font-size: 11px; color: #c6cbd2; padding: 2px 5px; background: #30353d; border-radius: 3px; min-width: 20px; text-align: center; }
.activity-context { color: #bec7d0; font-size: 13px; line-height: 1.6; margin: 0 0 16px; }
#subcategory { display: block; width: 100%; min-height: 42px; padding: 8px; background: #20242b; color: #e5e9ef; border: 1px solid #444b55; border-radius: 4px; font-size: 13px; }
.opportunity-section .home-section-heading h2 { display: flex; align-items: center; gap: 9px; }
.opportunity-section .home-section-heading h2 svg { width: 21px; height: 21px; color: var(--cyan); }
.opportunity-section .home-section-heading p { color: #b5bdc8; font-size: 14px; line-height: 1.6; margin: 6px 0 0; }
.home-opportunity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-opportunity-grid .card-title { font-size: 17px; }
.detail-taxonomy { color: #b3bfca; font-size: 12px; margin: 0 0 8px; }
.detail-copy .offer-event { margin-top: 10px; }
.detail-prices { margin-top: 14px; }
.detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; border-top: 1px solid var(--line); margin: 20px 0 0; padding: 18px 0 0; font-size: 12px; line-height: 1.6; }
.detail-facts dt { color: #a9b4c1; margin: 0 0 4px; }
.detail-facts dd { margin: 0; color: #e5e9ef; overflow-wrap: anywhere; }
.detail-facts small { display: block; color: #a9b4c1; font-size: 11px; margin-top: 3px; }
.detail-discount { white-space: nowrap; }
.detail-saving { line-height: 1.6; }
.detail-verification { line-height: 1.6; align-items: flex-start; }
.detail-verification svg { flex-shrink: 0; margin-top: 2px; }
.detail-actions { flex-wrap: wrap; }
.detail-dialog { max-height: 92vh; }
.detail-history-heading { gap: 8px; }
.history-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 22px 0 18px; }
.history-stats > div { border-left: 2px solid #454e59; padding: 2px 0 2px 13px; min-width: 0; }
.history-stats span { display: block; color: #b4bfcb; font-size: 12px; line-height: 1.5; }
.history-stats strong { display: block; margin-top: 7px; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.history-stats > div:last-child strong { font-size: 15px; }
.history-assessment { display: flex; gap: 9px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.65; color: #ccd4de; }
.history-assessment svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; color: #dcc67b; }
.history-assessment.has-history svg { color: var(--cyan); }
.chart-dates { display: flex; justify-content: space-between; gap: 14px; color: #aeb8c5; font-size: 11px; margin: 0 12px 18px; }
.chart-dates span:last-child:not(:first-child) { text-align: right; }
.history-table th { text-align: left; font-size: 12px; font-weight: 500; color: #aeb8c5; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.history-table th:last-child { text-align: right; }
.history-note { line-height: 1.7; }
.opportunity-section:empty { display: none; }
@media (max-width: 1100px) {
  .merchant-heading > div:first-child { flex: 1 1 100%; }
  .home-opportunity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-opportunity-grid { gap: 12px; }
  .home-opportunity-grid .card-title { font-size: 15px; }
  .card-reference, .home-merchant-grid .card-reference { min-height: 40px; }
  .card-saving, .home-merchant-grid .card-saving { font-size: 12px; min-height: 37px; }
  .feed-modes { flex-wrap: nowrap; max-width: 100%; }
  .feed-modes button { flex-shrink: 0; font-size: 13px; }
  .opportunity-section .home-section-heading { align-items: flex-start; }
  .opportunity-section .home-section-heading > div { min-width: 0; }
  .opportunity-section .home-section-heading h2 { font-size: 22px; }
  .opportunity-section .home-section-heading p { font-size: 13px; }
  .history-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .history-stats > div:last-child { grid-column: 1 / -1; }
  .history-stats strong { font-size: 18px; }
  .detail-facts { gap: 14px 12px; }
  .detail-copy { padding-right: 0; }
  .history-table { font-size: 12px; }
  .chart-dates { margin-left: 0; margin-right: 0; font-size: 10px; }
}
