/* Price history (site/history_pages.py) */
.hfig{margin:8px 0 10px}.hchart{width:100%;height:auto;display:block;background:#fff;border:1px solid var(--line);border-radius:12px}
.hchart .grid{stroke:#efece6;stroke-width:1}.hchart .ax{font:11px var(--mono);fill:var(--mute)}
.hchart .obs{stroke-width:2.5;stroke-linecap:round}.hchart .gap{stroke-width:1.5;stroke-dasharray:4 4;opacity:.7}
.legend{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin-top:6px;font-size:13px}
.legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:5px;vertical-align:-1px}
#latest,#pick,#download{scroll-margin-top:72px}

/* hub */
.hist-hero{padding-bottom:4px}.hist-hero h1{margin-bottom:6px}.hist-hero .lead{margin-bottom:0}
.chg-list{list-style:none;margin:0;padding:0;background:#fff;border:1px solid var(--line);border-radius:12px}
.chg-list li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 16px;padding:10px 14px;border-bottom:1px solid #efece6}
.chg-list li:last-child{border-bottom:0}.chg-list li[hidden]{display:none}
.chg-price{font-family:var(--mono);font-size:14px;white-space:nowrap}
.chg-empty p{color:var(--ink);font-size:15px}.chg-empty p.small{color:var(--mute);font-size:13px;margin-top:4px}
.hpick select:disabled{background:#f6f4ef;color:var(--ink);opacity:1}
.hpick label[hidden]{display:none}
.hsum{font-size:17px;margin:10px 0 4px}.hsum .chg-up,.hsum .chg-down{font-weight:600}
#download .btn{margin-right:8px}
.all-prods{margin:36px 0 0;color:var(--mute)}
.all-prods>summary{cursor:pointer}
.all-prods .hlinks{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 20px;margin-top:8px}
.all-prods ul{margin:4px 0;padding-left:16px}.all-prods li{margin:1px 0}.all-prods a{color:var(--mute)}

/* product pages */
.byreg>summary{cursor:pointer;font-weight:600}.byreg .tblwrap{margin-top:8px}.byreg p{margin:6px 0 0}

@media(max-width:760px){
  .hchart .ax{font-size:12px}.legend{font-size:12px}
  .hpick label{flex:1 1 100%}
  .chg-list li{padding:10px 12px}.chg-price{white-space:normal}
  .hsum{font-size:16px}
  .all-prods .hlinks{grid-template-columns:1fr}
  #download p .small{display:block;margin-top:8px}
}
.hist-hero,#latest,#pick,#download{max-width:820px}
.hsum .chg-up,.hsum .chg-down{font-family:inherit}
