/* Buy module: check before you buy, model pages, inspection, seller tool. Extra rules only; base styles are in site.css / tools.css. */
.buy-page details { border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem 1rem; margin: 1rem 0; }
.buy-page summary { cursor: pointer; font-weight: 600; }
.buy-page .row { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 640px) { .buy-page .row { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); } }
.issue { border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: var(--radius); padding: .6rem 1rem; margin: .8rem 0; background: var(--bg); }
.issue.sev-4, .issue.sev-5 { border-left-color: var(--err); }
.issue.sev-3 { border-left-color: var(--warn); }
.issue h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.issue h3 .badge { margin-left: .3rem; font-weight: 400; }
.issue dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .2rem .8rem; }
.issue dt { color: var(--muted); }
.issue dd { margin: 0; }
.issue .km-note { margin: .5rem 0 0; font-size: .9rem; color: var(--muted); }
.engine-links a { margin-right: .6rem; }
.engine-links a.current { font-weight: 700; text-decoration: none; }
dl.scope dt { font-weight: 600; margin-top: .6rem; }
dl.scope dd { margin: 0; color: var(--muted); }
.buy-page textarea[readonly] { width: 100%; font-family: inherit; }
.buy-page .checklist em.badge { margin-left: .4rem; font-style: normal; }

/* R7-R9: source line, year filter, recall pointers; single-column definition list on phones */
@media (max-width: 479px) { .issue dl { grid-template-columns: 1fr; gap: 0; } .issue dd { margin-bottom: .4rem; } }
.issue-source { overflow-wrap: anywhere; }
.year-filter { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; margin: 1rem 0; }
.year-filter input { width: 7rem; }
.recall-notes { padding-left: 1.1rem; }
.recall-notes li { margin: .4rem 0; overflow-wrap: anywhere; }
