/* LibertyCarz /recalls/ section. One shared file, every class starts with sr-.
   Relies on the site style.css for type, links, .wrap, .crumbs, .muted, .lead, .note, table.specs. */

/* Amazon strip under the site header */
.sr-shop{background:#fff6dd;border-bottom:1px solid #ecd9a0;color:#1d2330;font-size:15px;line-height:1.4}
.sr-shop .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding-top:8px;padding-bottom:8px}
.sr-shop-txt{flex:1 1 250px;min-width:0}
.sr-shop-tag{display:inline-block;font-size:12px;line-height:1;color:#5b4a12;border:1px solid #c9ae55;border-radius:3px;padding:3px 5px;margin-right:8px;vertical-align:1px;white-space:nowrap}
.sr-shop-btn{flex:0 0 auto;display:inline-block;background:#0f1e33;color:#fff;font-weight:600;text-decoration:none;border-radius:6px;padding:7px 14px;white-space:nowrap}
.sr-shop-btn:hover,.sr-shop-btn:focus{background:#1c3a63;color:#fff}

/* headline numbers */
.sr-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:10px;margin:14px 0 18px;padding:0;list-style:none}
.sr-tiles li{border:1px solid #e1e4ea;border-radius:8px;padding:10px 12px;background:#fff}
.sr-tiles b{display:block;font-size:26px;line-height:1.15;font-weight:700;font-variant-numeric:tabular-nums}
.sr-tiles span{display:block;font-size:13px;line-height:1.35;color:#667;margin-top:3px}

/* model-year switcher */
.sr-years{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 14px;padding:0;list-style:none;font-size:15px;line-height:1.4}
.sr-years a,.sr-years span{display:block;padding:3px 10px;border:1px solid #d5dae3;border-radius:999px;text-decoration:none;background:#fff}
.sr-years span{background:#0f1e33;border-color:#0f1e33;color:#fff;font-weight:600}

/* horizontal bar list */
.sr-bars{margin:8px 0 14px;padding:12px 14px;border:1px solid #e3e6ec;border-radius:8px;background:#fff}
.sr-bar{display:grid;grid-template-columns:minmax(118px,34%) 1fr 3.6rem;align-items:center;gap:10px;margin:0 0 7px;font-size:15px;line-height:1.3}
.sr-bar:last-child{margin-bottom:0}
.sr-bar>span:first-child{min-width:0;overflow-wrap:anywhere}
.sr-track{height:16px;min-width:0}
.sr-track i{display:block;height:100%;background:#257de0;border-radius:0 4px 4px 0;min-width:2px}
.sr-bar>b{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}

/* column chart, no script */
.sr-cols{margin:8px 0 14px;padding:12px 14px 8px;border:1px solid #e3e6ec;border-radius:8px;background:#fff}
.sr-cols-plot{display:flex;align-items:flex-end;gap:3px;height:150px;border-bottom:1px solid #c9ced8}
.sr-cols-plot div{flex:1 1 0;min-width:0;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}
.sr-cols-plot i{display:block;width:100%;max-width:44px;background:#257de0;border-radius:4px 4px 0 0;min-height:2px}
.sr-cols-plot b{font-size:12px;line-height:1.5;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.sr-cols-x{display:flex;gap:3px;font-size:12px;line-height:1.6;color:#667}
.sr-cols-x span{flex:1 1 0;min-width:0;display:flex;justify-content:center;white-space:nowrap}

/* recall cards and owner reports */
.sr-recall{border:1px solid #e1e4ea;border-radius:8px;padding:12px 14px 8px;margin:0 0 12px;background:#fff}
.sr-recall h3{font-size:17px;line-height:1.35;margin:0 0 2px}
.sr-recall p{margin:0 0 6px;font-size:16px;line-height:1.55}
.sr-meta{font-size:14px;line-height:1.45;color:#667;margin:0 0 8px}
.sr-report{border-left:3px solid #c9d3e2;padding:1px 0 1px 12px;margin:0 0 16px}
.sr-report p{margin:0 0 4px;font-size:16px;line-height:1.55}
.sr-report .sr-meta{margin:0}
.sr-flag{display:inline-block;font-size:14px;line-height:1.3;font-weight:600;border-radius:4px;padding:2px 8px;margin:0 6px 6px 0}
.sr-flag-crit{background:#fde8e8;color:#8f1d1d;border:1px solid #f0b4b4}
.sr-flag-warn{background:#fff1d6;color:#6f4400;border:1px solid #efd08a}

/* tables */
.sr-table-wrap{overflow-x:auto;margin:8px 0 14px}
table.sr-table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.45}
table.sr-table th,table.sr-table td{border:1px solid #e1e4ea;padding:7px 10px;text-align:left;vertical-align:top}
table.sr-table th{background:#f3f5f8}
table.sr-table .n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
table.sr-wide{min-width:640px}
table.sr-wide th:first-child{min-width:190px}
table.sr-table tr.sr-cur td{background:#fff9e8;font-weight:600}
table.sr-table td.sr-cell{min-width:120px;width:34%;vertical-align:middle}
table.sr-table td.sr-cell i{display:block;height:14px;background:#257de0;border-radius:0 4px 4px 0;min-width:2px}
.sr-stars{white-space:nowrap}
.sr-stars i{font-style:normal;color:#b87f00;letter-spacing:1px;margin-left:4px}

/* link lists and the data note */
ul.sr-list{columns:3 190px;column-gap:26px;padding-left:20px;margin:8px 0 14px;font-size:16px}
ul.sr-list li{break-inside:avoid;margin:0 0 3px}
ul.sr-list small{color:#667;font-size:13px}
.sr-about{background:#f3f6fa;border-radius:8px;padding:8px 16px 10px;margin-top:26px;font-size:15px;line-height:1.55}
.sr-about h2{font-size:18px;margin:.2em 0 .2em}
.sr-about p{margin:.45em 0}
.sr-aff{font-size:14px;color:#667;margin:14px 0 0}

/* long unbroken strings in NHTSA texts (URLs, part numbers) must wrap, not widen the page */
main{overflow-wrap:break-word}
main table.specs{table-layout:fixed}
main table.specs th,main table.specs td{overflow-wrap:anywhere}
.sr-shop-txt{overflow-wrap:anywhere}

@media(max-width:640px){
  .sr-shop-btn{padding:6px 12px}
  .sr-tiles{grid-template-columns:repeat(2,1fr)}
  .sr-tiles b{font-size:23px}
  .sr-bar{grid-template-columns:minmax(96px,38%) 1fr 3rem;gap:8px;font-size:14px}
  .sr-cols-plot{height:120px;gap:2px}.sr-cols-x{gap:2px}
  ul.sr-list{columns:2 140px}
}
