/* ──────────────────────────────────────────────────────────────────────
   ranked-bars.css — the ranked list of bars (components/ranked_bars.html).

   The rows themselves are `.dd-rail-bar-row` (device-detail.css), shared
   with the rail cards. This file only lays them out in two columns inside
   a full-width card: four rows in one column made the Models tab's card
   332px tall, which left the table body 135px at a 900px viewport and 2px
   at 700px (measured 2026-10-30). Two columns halve that and the card still
   spans the row, which is what was asked for.
   ────────────────────────────────────────────────────────────────────── */
.ranked-bars--2col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 2rem;
}

/* The grid's last ROW has no rule under it, not just the last cell. */
.ranked-bars--2col > .dd-rail-bar-row:nth-last-child(-n + 2) {
    border-bottom: none;
}

@media (max-width: 640px) {
    .ranked-bars--2col {
        grid-template-columns: minmax(0, 1fr);
    }
}
