.insight-stack { display:grid; gap:10px; min-width:0; }
.insight-stack:empty { display:none; }
.insight-card { display:grid; gap:8px; padding:13px; border:1px solid #e8dce0; border-radius:9px; background:#fff; min-width:0; }
.insight-card :is(h3,h4,p,dl),.desk-vehicle-checks h3 { margin:0; }
.insight-card h3,.desk-vehicle-checks h3 { font-size:1rem; line-height:1.25; }
.insight-card h4 { font-size:.9rem; }
.insight-meta { display:block; color:#685a60; font-size:.83rem; overflow-wrap:anywhere; }
.insight-card .insight-warning { padding:7px 9px; border-radius:6px; background:#f9edf0; color:#79213a; font-weight:650; font-size:.88rem; }
.insight-state { font-size:.9rem; font-weight:650; }
.insight-summary,.insight-history p { white-space:pre-wrap; overflow-wrap:anywhere; }
.insight-data { display:grid; gap:0; min-width:0; }
.insight-data:empty { display:none; }
.insight-data div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; padding:7px 0; border-bottom:1px solid #eee5e8; }
.insight-data div:last-child { border-bottom:0; }
.insight-data dt,.insight-data dd { margin:0; overflow-wrap:anywhere; }
.insight-data dt { color:#62545a; font-size:.89rem; }
.insight-data dd { font-size:.91rem; font-weight:650; text-align:right; }
.insight-data dd small { margin-top:2px; font-size:.74rem; font-weight:400; }
.insight-market-price { color:#79213a; font-size:1.14rem; }
.insight-findings,.insight-history { display:grid; gap:7px; margin:0; padding:0; list-style:none; }
.insight-findings li,.insight-history li { padding:8px 9px; border-radius:7px; background:#f7f4f5; min-width:0; }
.insight-findings li { display:flex; gap:9px; align-items:flex-start; justify-content:space-between; }
.insight-findings li p { margin-top:3px; overflow-wrap:anywhere; font-size:.86rem; }
.insight-findings li strong { overflow-wrap:anywhere; }
.insight-photo { flex:0 0 68px; display:block; }
.insight-photo img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:5px; }
.insight-card .inspection-expand { padding:5px 0; margin:0; }
.insight-card .inspection-expand summary { display:list-item; margin-bottom:6px; overflow-wrap:anywhere; }
.insight-check-options,.insight-history-editor {
  display:grid; gap:8px; margin:0; padding:10px; min-width:0; border:1px solid #e8dce0; border-radius:8px;
}
.insight-check-options legend,.insight-history-editor legend { padding-inline:4px; font-size:.9rem; font-weight:650; }
.insight-check-options label { display:flex; align-items:center; gap:8px; }
.insight-check-options input { flex:none; width:17px; height:17px; margin:0; accent-color:#852139; }
.desk-vehicle-checks { padding:12px; border:1px solid #e8dce0; border-radius:10px; }
.insight-check-editor summary { padding:7px 0; font-weight:650; cursor:pointer; }
.insight-check-form { border:0; margin:0; padding:4px 0 0; }
.insight-history-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; padding:8px; border:1px solid #e8dce0; border-radius:7px; }
.insight-history-row label:nth-child(5) { grid-column:1/-1; }
.insight-history-row button { justify-self:start; }
.insight-sources a,.insight-card a { color:#79213a; text-underline-offset:3px; }
.vehicle-section .insight-stack + .vehicle-actions,.vehicle-section #insight-content + .vehicle-actions { margin-top:10px; }
.vehicle-section #insight-content + .vehicle-actions:empty { display:none; }
.vehicle-history { display:grid; gap:12px; margin-block:12px; }
.vehicle-history-events { list-style:none; margin:10px 0 0; padding:0; }
.vehicle-history-events > li { border-inline-start:2px solid #dcb8c2; padding:3px 0 10px 14px; margin-block:10px; overflow-wrap:anywhere; }
.vehicle-history-events details { margin-top:8px; }
.vehicle-history-events details > strong { display:block; margin:10px 0 3px; font-size:.85rem; }
.vehicle-history-events details ul { padding-inline-start:1.35em; margin:0; }
@media print {
  .insight-findings li,.insight-history li { break-inside:avoid; }
  .insight-card h3,.insight-card h4 { break-after:avoid; }
  .insight-photo { flex-basis:18mm; }
}
