/* Monthly proxy price index (wave 6, 18/11/2026): what these four pages add to hero B of their product page and to the
   section kit of the best hubs (/best/datacenter-proxies/best-dc.css, html.qd-bdc). Generator: price-index-build.mjs.
   Only the blocks the kit does not have: the "last updated" strip, the sort buttons, the wide price table, the price
   ladder chart, the byline of the IPv6 hero. Colours from the kit (violet for the reading, green for our row). */

/* hero: byline on the residential and datacenter heroes, as the best hubs place it */
#rhb.pi-hero .tool-byline,#dhb.pi-hero .tool-byline{margin:12px 0 0;max-width:74ch;font-size:14.5px;line-height:1.5}
#dhb.pi-hero .dhb-crumbs,#rhb.pi-hero .rhb-crumbs,#ipv6-network.pi-hero .vhb-crumbs{flex-wrap:wrap;row-gap:2px}
#dhb.pi-hero h1{min-height:2.1em}
/* the hub's h1 is three short lines that never wrap (text-wrap:nowrap); this page's title is one sentence: let it wrap */
#ipv6-network.pi-hero h1{text-wrap:wrap;font-size:clamp(34px,3.4vw,46px);min-height:3.2em}
@media (max-width:959px){#ipv6-network.pi-hero h1{font-size:clamp(30px,8.6vw,42px);min-height:3.3em}}
@media (max-width:559px){
  #ipv6-network.pi-hero .vhb-cta-row,#rhb.pi-hero .rhb-cta-row{flex-direction:column;align-items:stretch}
  #ipv6-network.pi-hero .vhb-btn,#rhb.pi-hero .rhb-btn{flex:none;width:100%}
}

/* the "last updated" strip above the table of contents */
html.qd-bdc main .pi-updated{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 16px;padding:0;font:500 14.5px/1.4 var(--font-body,'InterVar',system-ui,sans-serif);color:var(--b-muted)}
html.qd-bdc main .pi-updated span:first-child{color:var(--b-ink);font-weight:600}
html.qd-bdc main .pi-updated span:first-child::before{content:"";display:inline-block;width:8px;height:8px;margin:0 8px 1px 0;border-radius:50%;background:var(--b-violet);vertical-align:middle}

/* sort buttons (shown by price-index.js; without the script the table keeps its default order) */
html.qd-bdc main .pi-sort{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:18px 0 12px;font-size:14.5px;color:var(--b-muted)}
html.qd-bdc main .pi-sort[hidden]{display:none}
html.qd-bdc main .pi-sort button{min-height:44px;padding:0 14px;border:1px solid var(--b-line2);border-radius:999px;background:var(--b-card);font:500 14.5px/1 var(--font-body,'InterVar',system-ui,sans-serif);color:var(--b-ink);cursor:pointer}
html.qd-bdc main .pi-sort button:hover{border-color:var(--b-violet);color:var(--b-violet-ink)}
html.qd-bdc main .pi-sort button[aria-pressed="true"]{border-color:var(--b-violet);background:var(--b-violet-wash);color:var(--b-violet-ink)}
html.qd-bdc main .pi-sort button:focus-visible{outline:2px solid var(--b-violet);outline-offset:3px}

/* the wide table: scrolls inside its card on a desktop, one card per provider on a phone (bdc-cards of the kit) */
html.qd-bdc main table.pi-table{min-width:1080px}
html.qd-bdc main table.pi-table :is(th,td){font-size:14.5px;padding:12px 14px}
html.qd-bdc main table.pi-table tbody th{min-width:9em}
html.qd-bdc main table.pi-table .pi-date{color:var(--b-muted);font-weight:400;white-space:nowrap}
html.qd-bdc main table.pi-table tr.pi-moved{background:var(--b-violet-wash)}
html.qd-bdc main .pi-empty{margin:6px 0 0;padding:16px 18px;border:1px dashed var(--b-line2);border-radius:14px;color:var(--b-body);font-size:16px;line-height:1.6}

/* the price ladder: two bars per provider on one scale from zero; they grow to their value once, when the chart comes
   into view (price-index.js adds .pi-in); without the script, or with reduced motion, they are drawn at their value */
html.qd-bdc main .pi-chart{margin:20px 0 0;padding:20px 22px 16px}
html.qd-bdc main .pi-chart figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 18px;margin:0 0 14px;font:600 15px/1.4 var(--font-body,'InterVar',system-ui,sans-serif);color:var(--b-ink)}
html.qd-bdc main .pi-key{display:inline-flex;align-items:center;gap:8px;font-weight:500;color:var(--b-muted);font-size:14px}
html.qd-bdc main .pi-key i{display:inline-block;width:12px;height:12px;border-radius:3px}
html.qd-bdc main .pi-key i+i,html.qd-bdc main .pi-key .pi-k-high{margin-left:8px}
html.qd-bdc main .pi-k-entry,html.qd-bdc main .pi-entry i{background:var(--b-violet,#4B3FD6)}
html.qd-bdc main .pi-k-high,html.qd-bdc main .pi-high i{background:#5B6378}
html.qd-bdc main .pi-bars{list-style:none;margin:0;padding:0;display:grid;gap:10px}
html.qd-bdc main .pi-bars li{display:grid;grid-template-columns:minmax(9em,13em) minmax(0,1fr);align-items:center;gap:6px 16px;padding:6px 8px;border-radius:10px}
html.qd-bdc main .pi-bars li.pi-us{background:var(--b-pick-soft)}
html.qd-bdc main .pi-name{font-size:14.5px;font-weight:600;color:var(--b-ink)}
html.qd-bdc main .pi-limit{display:block;margin-top:2px;font-size:12.5px;font-weight:400;line-height:1.35;color:var(--b-muted,#5b6475)}
html.qd-bdc main .pi-pair{display:grid;gap:4px;min-width:0}
html.qd-bdc main .pi-bar{display:flex;align-items:center;gap:8px;height:18px;min-width:0}
html.qd-bdc main .pi-bar i{display:block;height:100%;width:calc(var(--w) * (100% - 5.2em));min-width:2px;border-radius:0 5px 5px 0;transform-origin:left center}
html.qd-bdc main .pi-bar b{flex:none;font:600 13px/1 var(--font-body,'InterVar',system-ui,sans-serif);color:var(--b-ink);font-variant-numeric:tabular-nums}
html.qd-bdc main .pi-bar.pi-na b{font-weight:500;color:var(--b-muted)}
html.qd-bdc main .pi-axis{margin:14px 0 0;font-size:13.5px;color:var(--b-muted)}
html.qd-bdc main .pi-chart.pi-anim .pi-bar i{transform:scaleX(0);transition:transform .9s cubic-bezier(.2,.7,.2,1)}
html.qd-bdc main .pi-chart.pi-anim .pi-bars li:nth-child(2n) .pi-bar i{transition-delay:.06s}
html.qd-bdc main .pi-chart.pi-anim .pi-bars li:nth-child(3n) .pi-bar i{transition-delay:.12s}
html.qd-bdc main .pi-chart.pi-anim.pi-in .pi-bar i{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){html.qd-bdc main .pi-chart.pi-anim .pi-bar i{transform:none;transition:none}}
@media (max-width:640px){
  html.qd-bdc main table.pi-table{min-width:0}
  html.qd-bdc main .pi-chart{padding:16px 14px 12px}
  html.qd-bdc main .pi-bars li{grid-template-columns:minmax(0,1fr);padding:6px 4px}
}

/* the answer first: on these pages the lead (the dated price range) sits under the h1, as on the IPv6 hero, instead of
   under the tiles where the product hubs put it (the hubs themselves are not changed) */
#mhb.pi-hero .mhb-lead,#rhb.pi-hero .rhb-lead,#dhb.pi-hero .lead{grid-area:3/1/4/2;min-width:0;padding-right:20px;margin:14px 0 0}
#mhb.pi-hero .mhb-buy,#rhb.pi-hero .rhb-buy,#dhb.pi-hero .dhb-buy{grid-area:4/1/5/2}
#mhb.pi-hero .mhb-scene,#rhb.pi-hero .rhb-scene,#dhb.pi-hero .dhb-scene{grid-area:1/2/6/3}
#mhb.pi-hero .mhb-tiles,#rhb.pi-hero .rhb-tiles,#dhb.pi-hero .dhb-tiles{grid-area:6/1/7/3}
#mhb.pi-hero .tool-byline,#rhb.pi-hero .tool-byline,#dhb.pi-hero .tool-byline{grid-area:7/1/8/3}
@media (max-width:959px){
  #mhb.pi-hero .mhb-lead,#rhb.pi-hero .rhb-lead,#dhb.pi-hero .lead{order:2;padding-right:0;margin-top:14px;font-size:17px}
  #mhb.pi-hero .mhb-buy,#rhb.pi-hero .rhb-buy,#dhb.pi-hero .dhb-buy{order:3}
  #mhb.pi-hero .mhb-scene,#rhb.pi-hero .rhb-scene,#dhb.pi-hero .dhb-scene{order:4}
  #mhb.pi-hero .mhb-tiles,#rhb.pi-hero .rhb-tiles,#dhb.pi-hero .dhb-tiles{order:5}
  #mhb.pi-hero .tool-byline,#rhb.pi-hero .tool-byline,#dhb.pi-hero .tool-byline{order:6}
}
@media (min-width:960px){#mhb.pi-hero .mhb-in,#rhb.pi-hero .rhb-in,#dhb.pi-hero .dhb-in{grid-template-rows:minmax(0,1fr) auto auto auto minmax(0,1fr) auto auto}}
/* the mobile title takes five lines on a phone in the web font: its room is there from the first paint */
@media (max-width:559px){#mhb.pi-hero h1{min-height:5.3em}}
