/* Wave 7 (wave7.py), linked last in every page's head, after wave6's. Existing tokens only; corners 6 px; no pills; 44 px targets. */

/* 1. Deal cards (c5ec63, 8c54a9): every link in the store block above the card's stretched link (STORE_BLOCK_ON's block had none, so View now
   opened the product page); on phones the stretched link covers the photo column too (deals-scroll.css gave every child column 2); an open More
   menu lifts its card over its neighbours (wave7.js's w7-open where :has isn't supported), under the sticky header (45) */
html main article.d3 .sb :is(a,button,summary){position:relative;z-index:2}
html main article.d3.deal-card>a.d3-hit{grid-column:auto!important;grid-row:auto!important;margin:0!important}
html main article.d3:has(.d3-more[open]),html main article.d3.w7-open{z-index:30}
/* the menu at the right end of the card's footer, above it: a More button wrapped to the middle of a 320px card put the menu 10px off the screen */
html main article.d3 .d3-foot>.d3-more{position:static}

/* 2. The availability switches (a45bc9, 69c9f6 (3)): the list bar's two at one size (With listed sellers was 13px); in the filter column the
   24 hours line under Available now's words, not under its box. The switch keeps its 48px row; the line lets taps through to it */
html main :is(.cx-quick,.le-pair,.sort-presets) .listed-toggle{font-size:14px;line-height:20px;font-weight:600}
html main .le-show .le-note{position:relative;margin:-13px 0 0;padding:0 12px 10px 38px;pointer-events:none}

/* 3. Sellers (5ea689 (2)): the row's price per kWh or W at the right of the store's name, above the yellow price, in the Buying panel's markup; the
   figure at 16px and its label at 12px in both (storerate.css had 13px and 9px, off the scale); a long name wraps beside it */
html main .pm-st .sb-store{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;column-gap:12px;row-gap:2px}
html main .pm-st .sb-store>b{min-width:0;overflow-wrap:anywhere}
html main .pm-st .sr-cu{flex:none;margin-left:auto;white-space:nowrap;color:var(--muted)}
html main :is(.pm-st,.pm-srows) .sr-cu .sr-un{font-size:16px;line-height:20px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
html main :is(.pm-st,.pm-srows) .sr-cu .sr-uu{font-size:12px;font-weight:500;margin-left:2px}
html main .pm-srows .sb-store>.sr-cl{flex:1 1 auto;min-width:0}  /* the Buying panel: the rating after the name, the unit at the right end */
html main .pm-srev .stars{margin-right:4px}

/* 4. Documents (8169fb (2), 933e7b (5)): the heading exactly where every other section's centred heading sits in its 52px row, (52 - 27.5) / 2
   (wave3.css's 12px left it a quarter pixel high), its count still on the heading's baseline; the backup a document's Source details links to is
   tinted while it is the address's target */
#main #member-documents>details>summary.section-head{padding-top:12.25px}
html main .ab-row:target{background:var(--surface-tint);border-radius:6px}
html main .w7-arch{margin:8px 0 0}

/* 5. Brand pages (7d0efd (1), 9d99d8 (7)): History's entries as one list, a line between them, each entry's lines together */
html main .page-top.bt~#history h2+h3{margin-top:0}
html main .page-top.bt~#history h3{margin:20px 0 0}
html main .page-top.bt~#history ul.hist{list-style:none;margin:8px 0 0;padding:0}
html main .page-top.bt~#history ul.hist>li{padding:12px 0;border-top:1px solid var(--line)}
html main .page-top.bt~#history ul.hist>li:first-child{border-top:0;padding-top:4px}
html main .page-top.bt~#history ul.hist>li>p{margin:0}
html main .page-top.bt~#history ul.hist>li>p+p{margin-top:4px}
