/* Collection fact tables. Hairline rules and type do the structure, one accent.
   From 769px up a normal table; below that every row stacks into a block, so the
   page never scrolls sideways. 768px is the collection template's own phone
   breakpoint. */
.hdm-cft{margin:34px 0 8px;padding-top:28px;border-top:1px solid var(--divider,#e3e8f0);color:var(--ink,#16243d);font-variant-numeric:tabular-nums}
.hdm-cft h2{font-size:24px;font-weight:800;line-height:1.15;letter-spacing:-.01em;margin:0 0 8px;color:var(--ink,#16243d)}
.hdm-cft h3{font-size:15px;font-weight:800;letter-spacing:.02em;margin:0 0 6px;color:var(--ink,#16243d)}
.hdm-cft-intro{margin:0 0 20px;max-width:80ch;font-size:16px;line-height:1.55;color:var(--body,#39435a)}
.hdm-cft a{color:var(--hdm-blue,#115FEB);text-decoration:none}
.hdm-cft a:hover{text-decoration:underline}

/* Quick picks: a ruled list, use / model / the figure that earns it */
.hdm-cft-picks{margin:0 0 24px;padding:16px 20px 6px;background:var(--spec-fill,#f4f8ff);border:1px solid var(--border,#cdd9ef)}
.hdm-cft-picks ul{list-style:none;margin:0;padding:0}
.hdm-cft-picks li{display:grid;grid-template-columns:minmax(150px,210px) 1fr auto;gap:4px 20px;align-items:baseline;padding:11px 0;border-top:1px solid var(--border,#cdd9ef);font-size:15px;line-height:1.4}
.hdm-cft-picks li:first-child{border-top:0}
.hdm-cft-use{font-weight:700;color:var(--ink,#16243d)}
.hdm-cft-pick a{font-weight:600}
.hdm-cft-why{color:var(--label,#6b7686);white-space:nowrap}

/* the chart */
.hdm-cft-wrap{border-top:2px solid var(--ink,#16243d)}
.hdm-col .hdm-cft table.hdm-cft-table{width:100%;min-width:0;border-collapse:collapse;margin:0;font-size:14.5px;line-height:1.4;white-space:normal;background:#fff}
.hdm-cft-table th,.hdm-cft-table td{padding:12px 12px 12px 0;text-align:left;vertical-align:top;border:0;border-bottom:1px solid var(--divider,#e6ebf3);background:transparent;white-space:normal}
.hdm-cft-table thead th{padding-top:10px;padding-bottom:10px;font-size:12.5px;font-weight:800;letter-spacing:.02em;color:var(--label,#6b7686);border-bottom:1px solid var(--border,#cdd9ef);vertical-align:bottom}
.hdm-cft-table tbody th{font-weight:700;width:30%;min-width:200px}
.hdm-cft-table tbody th a{color:var(--ink,#16243d)}
.hdm-cft-table tbody th a:hover{color:var(--hdm-blue,#115FEB)}
.hdm-cft-table td{color:var(--body,#39435a);white-space:nowrap}
.hdm-cft-table td.hdm-cft-best{white-space:normal;min-width:150px}
.hdm-cft-na{color:var(--muted,#9aa3b3)}
.hdm-cft-price{font-weight:700;color:var(--ink,#16243d)}
.hdm-cft-price .hdm-price--na{font-weight:600;color:var(--label,#6b7686)}
.hdm-cft-best ul{list-style:none;margin:0;padding:0}
.hdm-cft-best li{margin:0;padding:0;font-size:13.5px;line-height:1.45;color:var(--ink,#16243d)}

/* the scale: a thin bar above the figure, or three steps for weather cover */
.hdm-cft-v{display:block}
.hdm-cft-bar{display:block;width:72px;height:5px;margin:2px 0 6px;background:var(--divider,#e6ebf3)}
.hdm-cft-bar>span{display:block;height:100%;background:var(--hdm-blue,#115FEB)}
.hdm-cft-pips{display:flex;gap:3px;margin:2px 0 6px}
.hdm-cft-pips i{display:block;width:22px;height:5px;background:var(--divider,#e6ebf3)}
.hdm-cft-pips i.on{background:var(--hdm-blue,#115FEB)}

.hdm-cft-more{display:block;margin:14px 0 0;padding:10px 0;background:none;border:0;border-bottom:1px solid currentColor;border-radius:0;font:inherit;font-size:15px;font-weight:700;color:var(--hdm-blue,#115FEB);cursor:pointer}
.hdm-cft-more:hover{color:var(--hdm-blue-hover,#0d4ec4);background:none}
.hdm-cft-more:focus-visible{outline:2px solid var(--hdm-blue,#115FEB);outline-offset:3px}
.hdm-cft.is-folded .hdm-cft-extra{display:none}
.hdm-cft-note{margin:14px 0 0;font-size:13.5px;line-height:1.5;color:var(--label,#6b7686);max-width:80ch}

/* tips */
.hdm-cft-tips{margin:26px 0 0}
.hdm-cft-tips ul{list-style:none;margin:0;padding:0;max-width:86ch}
.hdm-cft-tips li{padding:10px 0;border-top:1px solid var(--divider,#e6ebf3);font-size:15px;line-height:1.55;color:var(--body,#39435a)}
.hdm-cft-tips li:first-child{border-top:0}
.hdm-cft-tips strong{color:var(--ink,#16243d);margin-right:4px}
.hdm-cft-tips a{text-decoration:underline}

.hdm-cft .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

@media (max-width:768px){
  .hdm-cft h2{font-size:21px}
  .hdm-cft-intro{font-size:15px}
  .hdm-cft-picks{padding:12px 14px 4px}
  .hdm-cft-picks li{grid-template-columns:1fr auto;gap:2px 12px}
  .hdm-cft-use{grid-column:1 / -1;font-size:13px;color:var(--label,#6b7686);font-weight:700}
  .hdm-cft-why{white-space:normal;text-align:right}

  /* one block per model: name, then label and value lines */
  .hdm-cft-table,.hdm-cft-table tbody,.hdm-cft-table tr,.hdm-cft-table th,.hdm-cft-table td{display:block;width:auto}
  .hdm-cft-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
  .hdm-cft-table tbody tr{padding:12px 0 10px;border-bottom:1px solid var(--border,#cdd9ef)}
  .hdm-cft-table tbody th{width:auto;min-width:0;padding:0 0 6px;border:0;font-size:16px;line-height:1.3}
  .hdm-cft-table td,.hdm-cft-table td.hdm-cft-best{display:flex;justify-content:space-between;align-items:baseline;gap:12px;min-width:0;padding:4px 0;border:0;white-space:normal;text-align:right;font-size:14.5px}
  .hdm-cft-table td::before{content:attr(data-label);flex:0 0 auto;text-align:left;font-size:13.5px;font-weight:600;color:var(--label,#6b7686)}
  .hdm-cft-best.is-empty{display:none}
  .hdm-cft-v{display:inline-flex;align-items:center;gap:8px}
  .hdm-cft-bar,.hdm-cft-pips{margin:0}
  .hdm-cft-bar{width:56px}
  .hdm-cft-pips i{width:14px}
  .hdm-cft-best ul{text-align:right}
}
