/* The Web Scraping Club Benchmarks: one light theme for every page. Colour marks state (collecting data, not audited
   yet, a test round), never the quality of a figure. */

/* --- fonts: self-hosted, Latin subset; only the weights below exist, none is synthesised --- */
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/spectral-latin-400-normal.woff2?v=cf8daee3b8") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/static/fonts/spectral-latin-400-italic.woff2?v=db397149a9") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/static/fonts/spectral-latin-600-normal.woff2?v=33faca8b57") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/inter-latin-400-normal.woff2?v=8909904ab6") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/static/fonts/inter-latin-500-normal.woff2?v=f3779f1efc") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/static/fonts/inter-latin-600-normal.woff2?v=f9a06e79cd") format("woff2"); }

:root {
  --ground: #f7f8f5;
  --card: #ffffff;
  --border: #e3e6df;
  --rule: #d5d9d0;
  --rule-light: #eef0eb;
  --input-border: #c9cec4;
  --tint: #f1f4ee;
  --text: #232524;
  --text-soft: #3d423f;
  --muted: #5c625e;
  --green: #6ca47a;
  --green-text: #2f6b43;
  --green-dark: #1f4a2e;
  --green-tint: #e9f1ea;
  --green-border: #b9d3bf;
  --pool: #8a8f89;
  --state-bg: #fdf3cf;
  --state-text: #6b5200;
  --chart-1: #8fc19c;       /* the charts' three ordered steps of one hue, light to dark (static/charts.mjs reads them) */
  --chart-2: #4a8a5e;
  --chart-3: #1f4a2e;
  --press: #e3e8df;         /* a neutral control while it is held down */
  --green-press: #173a24;   /* the filled button while it is held down */
  --on-fill: #ffffff;       /* text on a dark fill (the selected pill, the filled button) */
  --bar-ink: #7c857f;       /* a share's in-cell bar and the panels' marks: one neutral grey, never a verdict */
  --row-hover: #fafbf8;     /* the row under the pointer, across a wide table */
  --radius: 16px;           /* cards, the phone menu */
  --radius-input: 10px;     /* form controls, the button, the menu's rows */
  --radius-pill: 999px;     /* navigation: header links, pills */
  --radius-sm: 4px;         /* small marks: logos, bars, the sort button's focus ring, swatches */
  --control-h: 46px;        /* inputs, selects, segmented choices, the button */
  --header-h: 65px;         /* the sticky header with its rule: what an anchor or a sticky row must clear */
  --shadow-pop: 0 16px 40px -16px rgb(35 37 36 / 0.3), 0 2px 8px rgb(35 37 36 / 0.06);
  --t-fast: 120ms;          /* a state change under the pointer */
  --t: 200ms;               /* something opening or moving */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --serif: Spectral, Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --width: 1120px;
  --gutter: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
/* A short page keeps its footer at the bottom of the window. */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 15px/1.5 var(--sans);
  font-synthesis: none;
}
a {
  color: var(--green-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--green);
  transition: color var(--t-fast) var(--ease), text-decoration-color var(--t-fast) var(--ease);
}
a:hover { color: var(--green-dark); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--green-text); outline-offset: 2px; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--green-text);
  border-radius: var(--radius-input);
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--width); margin: 0 auto; padding: 0 var(--gutter); }
body > main { flex: 1 0 auto; }
.muted { color: var(--muted); }
.state { color: var(--state-text); }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }

/* --- moving between pages: the browser's own cross-document view transition. The header, the proxy type pills, the
   row of country or site pills and the tab strip keep their place while the rest cross-fades; the mark under the
   selected tab slides to the next one. Each name is used once per page. --- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
nav.pills[aria-label="Proxy type"] { view-transition-name: type-pills; }
.pill-row { view-transition-name: scope-pills; }
.tabstrip { view-transition-name: view-tabs; }
.tab[aria-current]::after { view-transition-name: tab-mark; }
::view-transition-group(*) { animation-duration: 220ms; animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); }
::view-transition-old(root) { animation-duration: 120ms; }
::view-transition-new(root) { animation-duration: 200ms; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --- header: stays at the top of the window; --header-h is its height --- */
.site-header { background: var(--card); border-bottom: 1px solid var(--border); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: calc(var(--header-h) - 1px); padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: var(--radius-input); object-fit: cover; display: block; }
.brand-name { font: 600 20px/1.2 var(--serif); }
.brand-tag { font-size: 13px; color: var(--muted); border-left: 1px solid var(--rule); padding-left: 10px; }
/* The navigation carries the popover attribute for the phone menu below; here it is an ordinary part of the row, so
   everything the browser gives a popover is reset. */
.site-nav {
  position: static;
  inset: auto;
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  overflow: visible;
}
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav-link, .nav-newsletter {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav-link { color: var(--text-soft); }
/* The header carries both states; static/session.js marks <html> when a session is open. */
.site-nav .nav-in { display: none; }
.signed-in .site-nav .nav-in { display: list-item; }
.signed-in .site-nav .nav-out { display: none; }
.nav-link:hover { background: var(--tint); color: var(--text); }
.nav-link:active { background: var(--press); }
.nav-link[aria-current] { background: var(--green-tint); color: var(--green-dark); }
.nav-newsletter {
  min-height: 40px;
  margin-left: 8px;
  padding: 0 16px;
  border: 1px solid var(--green-text);
  color: var(--green-text);
  font-weight: 600;
}
.nav-newsletter:hover { background: var(--green-tint); color: var(--green-dark); }
.nav-newsletter:active { background: var(--green-border); }
.site-nav form { display: flex; }
button.nav-link { border: 0; background: none; font: inherit; font-weight: 500; cursor: pointer; }
.menu-button { display: none; }
@media (min-width: 1181px) {
  .site-header { position: sticky; top: 0; z-index: 10; }
}

/* Up to a small laptop's width (where the links stop fitting beside the name): the navigation is a menu opened by the button (a native popover: Esc and a press outside
   close it, and it lies over the page, so nothing moves). A browser without popovers keeps the links in the header,
   wrapped under the name, and the header scrolls away with the page. */
@media (max-width: 1180px) {
  .site-nav { margin-left: 0; }
  @supports selector(:popover-open) {
    .site-header { position: sticky; top: 0; z-index: 10; }
    .header-row { flex-wrap: nowrap; gap: 12px; }
    .menu-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: none;
      width: 44px;
      height: 44px;
      min-height: 0;
      margin-left: auto;
      padding: 0;
      border: 1px solid var(--border);
      border-radius: var(--radius-input);
      background: var(--card);
      color: var(--text);
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
    }
    .menu-button:hover { background: var(--tint); border-color: var(--input-border); color: var(--text); }
    .menu-button:active, .site-header:has(.site-nav:popover-open) .menu-button { background: var(--press); border-color: var(--input-border); }
    .menu-icon {
      width: 18px;
      height: 14px;
      background:
        linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat,
        linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
        linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat;
    }
    .site-nav {
      position: fixed;
      inset: calc(var(--header-h) + 8px) var(--gutter) auto auto;
      width: min(320px, calc(100vw - 2 * var(--gutter)));
      max-block-size: calc(100dvh - var(--header-h) - 24px);
      margin: 0;
      padding: 8px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--card);
      box-shadow: var(--shadow-pop);
      overflow: auto;
      opacity: 0;
      transform: translateY(-6px);
      transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease),
        overlay var(--t) allow-discrete, display var(--t) allow-discrete;
    }
    .site-nav:not(:popover-open) { display: none; }
    .site-nav:popover-open { opacity: 1; transform: none; }
    @starting-style {
      .site-nav:popover-open { opacity: 0; transform: translateY(-6px); }
    }
    .site-nav::backdrop { background: transparent; }
    .site-nav ul { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px; }
    .nav-link, .nav-newsletter { min-height: 48px; border-radius: var(--radius-input); }
    .nav-newsletter { justify-content: center; margin: 8px 0 0; }
  }
}
/* The narrowest phones: "Benchmarks" goes under the name, so the name and the menu button share one row. */
@media (max-width: 460px) {
  .brand { display: grid; grid-template-columns: 40px auto; gap: 0 10px; }
  .brand img { grid-row: 1 / span 2; }
  .brand .brand-name { align-self: end; font-size: 17px; }
  .brand .brand-tag { align-self: start; border-left: 0; padding-left: 0; font-size: 12px; line-height: 1.3; }
}
@media (max-width: 359px) {
  .brand .brand-name { font-size: 15px; }
}

/* --- page and title --- */
.page { display: flex; flex-direction: column; gap: 28px; padding-bottom: 72px; }
.page > * { min-width: 0; }
.tab-panel { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 48px; padding-top: 48px; }
.hero-title { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.trail ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.trail li::after { content: "/"; margin: 0 10px; color: var(--muted); }
.trail a { color: var(--text-soft); text-decoration: none; }
.trail a:hover { color: var(--text); text-decoration: underline; }
h1 { margin: 0; font: 400 52px/1.08 var(--serif); overflow-wrap: break-word; text-wrap: balance; }
h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; }
h2 { font-size: 26px; line-height: 1.2; }
h3 { font-size: 22px; line-height: 1.25; }
h2 a, h3 a { color: inherit; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
h2 a:hover, h3 a:hover { color: var(--green-dark); text-decoration-color: var(--green-text); }
.section-title { margin-top: 8px; }
.figures {
  flex: 1 1 320px;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 16px;
}
.figures dt { font-size: 13px; color: var(--muted); }
.figures dd { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.facts-line { font-size: 13px; color: var(--muted); }
/* Wide screens: the figures end at the page's right edge, like the cards under them. */
@media (min-width: 920px) {
  .figures { flex: 0 1 auto; grid-auto-columns: max-content; gap: 40px; }
}

/* --- pills: proxy type, exit country, site. One weight in every state, so selecting one moves none of the others --- */
.pills ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.pill:hover { background: var(--tint); border-color: var(--input-border); color: var(--text); }
.pill:active { background: var(--press); border-color: var(--input-border); }
.pill[aria-current] { background: var(--text); border-color: var(--text); color: var(--on-fill); }
.pill-sm { min-height: 40px; padding: 0 14px; }
.pill-sm[aria-current] { background: var(--green-tint); border-color: var(--green-border); color: var(--green-dark); }
.pill-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pill-label { font-size: 13px; font-weight: 600; }

/* --- the underlined tab strip of the proxy views: the mark under a tab is as wide as its word --- */
.tabstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; border-bottom: 1px solid var(--rule); }
.tabs { overflow-x: auto; max-width: 100%; }
.tabs ul { display: flex; gap: 4px; white-space: nowrap; }
.tab {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--t-fast) var(--ease);
}
/* ":after" with one colon here and below: after "tab", the two-colon form reads as an IPv6 address to the build's
   check that no address is published. */
.tab:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: transparent;
  transition: background-color var(--t-fast) var(--ease);
}
.tabs li:first-child .tab { padding-left: 0; }
.tabs li:first-child .tab:after { left: 0; }
.tab:hover { color: var(--text); }
.tab:hover::after { background: var(--rule); }
.tab:active { color: var(--green-dark); }
.tab[aria-current] { color: var(--text); }
.tab[aria-current]::after { background: var(--green-text); }
.tab:focus-visible { outline-offset: -2px; border-radius: var(--radius-sm); }
.tabstrip .facts-line { margin-left: auto; padding: 4px 0; }

/* --- cards --- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.card > :last-child:not(.scroll) { margin-bottom: 16px; }
.card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.card-meta { color: var(--muted); }
.card-small { padding: 22px; gap: 6px; }
.card-small > :last-child:not(.scroll) { margin-bottom: 0; }
.card-small p { color: var(--text-soft); }
.explainers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.subhead { font-size: 20px; }
.footnote { font-size: 13px; color: var(--muted); }
.inline-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--text-soft); }
.type-prices { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.type-prices .type-name { font-weight: 600; }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* --- tables ---
   A table sits in a .scroll box, which never has a height of its own: the page scrolls, never a box inside it. A
   table that fits its card (every table is built to on a wide screen; the calculator's results are stacked rows on a
   phone) scrolls with the page, and its column headers stop under the site header. sort.js marks a box whose table
   is still wider than it (.is-clipped): that box scrolls sideways, its first column staying at its left, and with a
   mouse its scrollbar is a rail kept at the bottom of the window while the table is in view (.scroll-rail). */
.scroll {
  --sticky-top: 0px;
  overflow-x: auto;
  overflow-y: hidden;
  min-width: 0;
  overscroll-behavior-x: contain;
}
.scroll:not(.is-clipped) { --sticky-top: var(--header-h); overflow: visible; }
.scroll-rail {
  position: sticky;
  bottom: 0;
  z-index: 4;
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--card);
}
.scroll-rail { margin-top: -16px; }
.scroll-rail > div { height: 1px; }
.scroll.has-rail { scrollbar-width: none; }
.scroll.has-rail::-webkit-scrollbar { display: none; }
table {
  --bar: var(--bar-ink);
  --bar-track: var(--rule-light);
  width: 100%;
  border-collapse: separate;      /* separate, so a cell that stays in place keeps its rule */
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
th, td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--rule-light);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}
tr > :first-child { padding-left: 0; }
tr > :last-child { padding-right: 0; }
tbody tr:last-child > * { border-bottom: 0; }
thead th {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  vertical-align: bottom;
}
tbody th { font-weight: 600; }
tbody th a { color: var(--text); text-decoration-color: var(--rule); }
tbody th a:hover { color: var(--green-text); text-decoration-color: var(--green); }
tbody tr:hover > * { background: var(--row-hover); }
.num { text-align: right; }
td.state { color: var(--state-text); }
.of { color: var(--muted); }
/* A product audited from an IP list provided by the vendor: the tag under its name, the note under a chart. */
.row-tag { display: block; font-size: 12px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.chart-note { font-size: 13px; color: var(--muted); }
/* What stays in place: the column headers (the last header row) and the first column; their corner over both. */
thead tr:last-child > * { position: sticky; top: var(--sticky-top, 0px); z-index: 2; background: var(--card); }
thead tr:last-child > :first-child { left: 0; z-index: 3; }
tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; background: var(--card); }
tbody tr:hover > th[scope="row"] { background: var(--row-hover); }
/* The first column's edge, while there is something to scroll to; darker once the rest has moved under it. */
.is-clipped thead tr:last-child > :first-child, .is-clipped tbody th[scope="row"] { box-shadow: inset -1px 0 0 var(--rule-light); }
.is-scrolled thead tr:last-child > :first-child, .is-scrolled tbody th[scope="row"] {
  box-shadow: inset -1px 0 0 var(--rule), 8px 0 10px -8px rgb(35 37 36 / 0.22);
}
/* The admin's and the Provider's area's tables (main.app): no header that stays. */
.app thead tr:last-child > * { position: static; }
.wrap-text { white-space: normal; min-width: 280px; }
#definitions-table td, #bench-definitions-table td, #bench-boxes-table td, #changelog-table td { white-space: normal; }
@media (min-width: 1181px) {
  /* The IP audit's fifteen columns: its card grows past the page's column, as far as the window allows. */
  .card-wide { width: min(100vw - 2 * var(--gutter), 1280px); align-self: center; }
}

/* Sorting (sort.js): each column header is a button with a mark, two arrowheads until the column is sorted, then the
   one of its direction in green, over a green rule like the selected tab's. */
th button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -6px 0;
  padding: 6px 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--t-fast) var(--ease);
}
th button:after {
  content: "";
  flex: none;
  width: 7px;
  height: 11px;
  background: var(--pool);
  clip-path: polygon(50% 0, 100% 40%, 0 40%, 50% 0, 50% 100%, 0 60%, 100% 60%, 50% 100%);
  transition: background-color var(--t-fast) var(--ease);
}
th button:hover { color: var(--text); }
th button:hover:after { background: var(--text-soft); }
th button:active { color: var(--green-dark); }
thead th[aria-sort] { color: var(--text); box-shadow: inset 0 -2px 0 var(--green); }
th[aria-sort] button:after, th[aria-sort] button:hover:after { background: var(--green-text); }
th[aria-sort="ascending"] button:after { clip-path: polygon(50% 0, 100% 40%, 0 40%); }
th[aria-sort="descending"] button:after { clip-path: polygon(0 60%, 100% 60%, 50% 100%); }

/* The quick filter above a long table (sort.js): a search box and, while it holds something, "n of m". */
.table-find { display: flex; align-items: center; gap: 12px; }
.table-find input {
  width: min(100%, 280px);
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  background: var(--card);
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t-fast) var(--ease);
}
.table-find input::placeholder { color: var(--muted); opacity: 1; }
.table-find input:hover { border-color: var(--pool); }
.table-find input:focus-visible { border-color: var(--green-text); }
.table-find-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (scripting: none) {
  .table-find { display: none; }
}

/* The audit table: column groups over the column headers; tighter cells, so its columns fit a wide screen. The
   column headers wrap, with the sort mark under the words. */
table.audit { font-size: 14px; }
table.audit th, table.audit td { padding: 12px 7px; }
table.audit tr > :first-child { padding-left: 0; padding-right: 14px; }
table.audit tr > :last-child { padding-right: 0; }
table.audit thead tr:last-child th { padding-top: 8px; padding-bottom: 8px; white-space: normal; line-height: 1.3; }
table.audit thead th button { flex-direction: column; align-items: flex-start; gap: 5px; }
table.audit thead th.num button { align-items: flex-end; }
table.audit td.state { white-space: normal; }
/* A share: the figure, its bar (the share of the cell's width, 0 to 100% in every column), its counts. */
table.audit td.share { min-width: 70px; }
table.audit td .of { display: block; font-size: 12px; line-height: 1.35; }
table.audit .sep { display: none; }
.bar { display: block; width: 100%; height: 5px; margin: 5px 0 4px; border-radius: var(--radius-sm); background: var(--bar-track); overflow: hidden; }
.bar rect { fill: var(--bar); }
@media (min-width: 1181px) {
  /* Fitting its card: the counts may take two lines ("14,709 of" over "30,699"). */
  .scroll:not(.is-clipped) > table.audit td .of { white-space: normal; }
  /* And a row's tag two ("IP list provided by" over "the vendor"), so a provider page's sixteen columns fit. */
  .scroll:not(.is-clipped) > table.audit .row-tag { white-space: normal; min-width: 8em; }
}
table.services { width: auto; min-width: 420px; }
table.audit thead tr.source > * { padding: 0 0 10px; border-bottom: 0; }
table.audit thead tr.source th {
  padding: 6px 12px;
  background: var(--tint);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
/* Two source lines side by side: a gap between them. Over one column, the line wraps so the column stays narrow. */
table.audit thead tr.source th + th { border-left: 6px solid var(--card); }
table.audit thead tr.source th { vertical-align: middle; }
table.audit thead tr.source th.narrow { padding: 6px; }
table.audit thead tr.source th.narrow .source-line { display: flex; flex-wrap: wrap; row-gap: 2px; font-size: 12px; line-height: 1.3; }
table.audit thead tr.source th.narrow .logo { margin-right: 4px; }
table.audit thead tr.source th.narrow a { margin-left: 0; }
.source-line { display: inline-flex; align-items: center; gap: 0; color: var(--text-soft); font-size: 13px; }
.source-line .logo { width: 16px; height: 16px; margin-right: 8px; top: 0; border-radius: var(--radius-sm); }
.source-line a { margin-left: 0.3em; }
.card-source { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--rule-light); }
table.audit thead tr.groups > * {
  padding: 0 7px 6px;
  border-bottom: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-align: left;
}
table.audit thead tr.groups > :first-child { padding-left: 0; }
table.audit thead tr.groups > :last-child { padding-right: 0; }
table.audit thead tr.groups th { box-shadow: inset 0 -2px 0 var(--green); }
table.audit thead tr.groups th.group-2 { box-shadow: inset 0 -2px 0 var(--text); }
table.audit thead tr.groups th.group-3 { box-shadow: inset 0 -2px 0 var(--pool); }
table.audit thead tr.groups th.group-4 { box-shadow: inset 0 -2px 0 var(--input-border); }
table.audit tbody tr.not-audited th { font-weight: 500; }
table.audit tbody tr.not-audited th a { color: var(--text-soft); }

/* Under an audit table: the providers without an audit, as names under the reason. */
.not-audited-list { display: grid; gap: 16px; padding-top: 18px; border-top: 1px solid var(--rule-light); }
.not-audited-title { font-size: 13px; font-weight: 600; color: var(--text-soft); }
.not-audited-title .of { margin-left: 6px; font-weight: 400; }
.not-audited-list ul { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 8px; }
.not-audited-list li { display: flex; align-items: center; min-height: 30px; font-size: 14px; }
.not-audited-list a { color: var(--text-soft); text-decoration-color: var(--rule); }
.not-audited-list a:hover { color: var(--green-text); text-decoration-color: var(--green); }

/* States: amber only here. */
.pill-state {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--state-bg);
  color: var(--state-text);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}
/* A promotional price: the price to pay stays the figure, the promotion is a state under it, with the list price. */
td .promo { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 8px; margin-top: 6px; font-weight: 400; white-space: normal; }
td .promo .pill-state { white-space: normal; text-align: left; }
.list-price { font-size: 13px; color: var(--text-soft); white-space: nowrap; }
td.collecting { white-space: normal; }
td.collecting > * { vertical-align: middle; margin-right: 8px; }
progress {
  width: 220px;
  max-width: 100%;
  height: 8px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--rule-light);
  color: var(--green);
  -webkit-appearance: none;
  appearance: none;
  overflow: hidden;
}
progress::-webkit-progress-bar { background: var(--rule-light); border-radius: var(--radius-pill); }
progress::-webkit-progress-value { background: var(--green); border-radius: var(--radius-pill); }
progress::-moz-progress-bar { background: var(--green); border-radius: var(--radius-pill); }

/* --- calculator: two rows of controls (what is compared, then the filters) over the readout and the results.
   Without JavaScript the form cannot recalculate: it is not shown, the results the build wrote stay. --- */
.calc { display: flex; flex-direction: column; gap: 16px; }
.calc-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend, .field > span { display: block; padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.calc .group { display: flex; flex-wrap: wrap; gap: 16px; }
.field { display: flex; flex-direction: column; }
@media (scripting: none) {
  .calc { display: none; }
}
/* The controls: one height, one radius, and the same states (rest, hover, held down, keyboard focus, selected,
   disabled) for the fields and the segmented choices. */
.calc input[type="number"], .calc select {
  height: var(--control-h);
  padding: 0 12px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  background-color: var(--card);
  font: inherit;
  color: inherit;
  width: 10em;
  transition: border-color var(--t-fast) var(--ease);
}
.calc input[type="number"]:hover, .calc select:hover { border-color: var(--pool); }
.calc input[type="number"]:focus-visible, .calc select:focus-visible { border-color: var(--green-text); }
/* The select's arrow is drawn here (two gradients), so it sits where the other controls' text ends. */
.calc select {
  width: auto;
  min-width: 10em;
  padding-right: 38px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 19px center, right 14px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.calc input[type="number"] { font-variant-numeric: tabular-nums; }
.segments { display: flex; flex-wrap: wrap; border: 1px solid var(--input-border); border-radius: var(--radius-input); overflow: hidden; }
.segments input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.segments label {
  display: flex;
  align-items: center;
  min-height: calc(var(--control-h) - 2px);
  padding: 0 14px;
  cursor: pointer;
  background: var(--card);
  font-weight: 500;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.segments label + input + label { border-left: 1px solid var(--input-border); }
.segments label:hover { background: var(--tint); }
.segments label:active { background: var(--press); }
.segments input:checked + label { background: var(--green-tint); color: var(--green-dark); }
.segments input:focus-visible + label { outline: 2px solid var(--green-text); outline-offset: -2px; }
.calc input:disabled, .calc select:disabled, .segments input:disabled + label { opacity: 0.5; cursor: not-allowed; }
#calc-status { color: var(--muted); }
#calc-status:empty { display: none; }
.readout { padding: 14px 16px; border-radius: var(--radius-input); background: var(--tint); color: var(--text-soft); }
.readout:empty { display: none; }
.readout-head { display: block; color: var(--text); }
.readout-line { display: block; margin-top: 4px; }
.link-button { padding: 0; border: 0; background: none; font: inherit; color: var(--green-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--green-dark); }

/* Calculator results: seven columns that fit the card on a wide screen. Text cells wrap (a " · " part stays on one
   line); amounts never wrap. A cell's second line (.sub) is muted. The answer, Period cost, is set apart. */
#calc-table { font-size: 14px; }
#calc-table th, #calc-table td { padding: 12px 8px; }
#calc-table tr > :first-child { padding-left: 0; }
#calc-table tr > :last-child { padding-right: 0; }
#calc-table thead th { white-space: normal; }
#calc-table td:not(.num) { white-space: normal; }
#calc-table .sub, #calc-table .approx { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
#calc-table .approx { font-size: 12px; }
#calc-table td.plan { min-width: 10.5em; }
#calc-table td.terms { min-width: 14.5em; }
#calc-table td.unit .promo { max-width: 13em; margin-left: auto; }
#calc-table td.unit .pill-state { font-size: 12px; }
#calc-table td.period { font-weight: 600; color: var(--text); background: var(--tint); }
#calc-table th[data-col="period"], #calc-table td.period { padding-left: 12px; padding-right: 12px; }
#calc-table tbody tr:hover > td.period { background: var(--press); }
/* The provider: logo and name on one line, the website link after them. */
#calc-table tbody th { white-space: nowrap; }
.who { display: inline-flex; align-items: center; }
.who .logo { top: 0; }
.site-link {
  display: inline-block;
  margin-left: 2px;
  padding: 0 4px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 400;
  text-decoration: none;
}
.site-link:hover { background: var(--tint); color: var(--green-text); }

/* Narrower than the seven columns (phones, tablets): each plan is a block, the provider and its period cost on the
   first line, the rest under them, each with its column's name. The column headers stay as the sort buttons, in one
   wrapped line. */
@media (max-width: 1099px) {
  #calc-table, #calc-table tbody { display: block; }
  #calc-table thead { display: block; }
  #calc-table thead tr { display: flex; flex-wrap: wrap; gap: 2px 16px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
  #calc-table thead tr > * { position: static; padding: 6px 0; border: 0; background: none; }
  #calc-table thead th[data-col="period"] { padding: 6px 0; }
  #calc-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule-light);
  }
  #calc-table tbody tr:last-child { border-bottom: 0; }
  #calc-table tbody tr > * { display: block; position: static; min-width: 0; padding: 0; border: 0; background: none; text-align: left; }
  #calc-table tbody tr:hover > * { background: none; }
  #calc-table tbody th { grid-column: 1; grid-row: 1; align-self: center; white-space: normal; }
  #calc-table td.period { grid-column: 2; grid-row: 1; padding: 0; background: none; text-align: right; font-size: 16px; }
  #calc-table tbody tr:hover > td.period { background: none; }
  #calc-table td:not(.period) { grid-column: 1 / -1; }
  #calc-table td:not(.period)::before { content: attr(data-label) " "; margin-right: 4px; color: var(--muted); font-size: 13px; }
  #calc-table td.plan .sub { display: inline; margin-left: 6px; }
  #calc-table td.unit .promo { max-width: none; margin-left: 0; }
  #calc-table td .promo { justify-content: flex-start; }
}
@media (max-width: 699px) {
  .calc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .calc .segmented { grid-column: 1 / -1; }
  .calc .group { display: contents; }
}

/* --- facts lists (methodology, rounds, tools) --- */
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
dl.facts-inline { display: flex; flex-wrap: wrap; gap: 4px 12px; }
dl.facts-inline dd { margin-right: 16px; }
code { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--green-dark); }

/* --- Scraping APIs tables: long headers wrap on wide screens; a share and its counts break only at the "·" --- */
@media (min-width: 900px) {
  table[id^="attempts-"] thead th, table[id^="fields-"] thead th, #tool-attempts thead th, #tool-fields thead th {
    white-space: normal;
  }
  table[id^="attempts-"] td, table[id^="fields-"] td, #tool-attempts td, #tool-fields td { white-space: normal; }
}

/* --- footer --- */
.site-footer { border-top: 1px solid var(--border); background: var(--card); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; padding-top: 8px; padding-bottom: 8px; font-size: 13px; color: var(--muted); }
.footer-row > * { display: flex; align-items: center; min-height: 44px; }

/* --- the line pointing to the Scraping Bundle: a quiet note right under the calculator or the plan tables --- */
.bundle-note { margin: -16px 0 0; font-size: 13px; color: var(--muted); }
.bundle-note a { color: var(--text-soft); }

/* --- the "What proxies cost" table of /proxies/, a provider's "Compare with" line, the comparison pages --- */
.card-note { margin: 0; font-size: 13px; color: var(--muted); }
.compare-line { margin: 0; color: var(--text-soft); }
table.compare { table-layout: fixed; }
table.compare th[scope="row"] { width: 26%; font-weight: 500; }
table.compare th, table.compare td { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  table.compare th[scope="row"] { width: 34%; }
}

/* --- the media kit: badges on their own ground, the snippets, the logos, the colour swatches --- */
.kit-section { display: flex; flex-direction: column; gap: 16px; }
.kit-line { margin: 0; color: var(--text-soft); }
.kit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 24px; }
.kit-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
}
.kit-panel-light { background: var(--ground); }
.kit-panel-dark { background: var(--text); border-color: var(--text); }
.kit-panel img { display: block; max-width: 100%; height: auto; }
.kit-panel-logo { min-height: 200px; }
.kit-panel-logo img { width: auto; max-height: 168px; }
.kit-snippet { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.kit-snippet label { font-size: 13px; color: var(--muted); }
.kit-snippet textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  background: var(--tint);
  color: var(--text);
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
}
.kit-copy {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-input);
  background: var(--green-text);
  color: var(--on-fill);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}
.kit-copy:hover { background: var(--green-dark); }
.kit-copy:active { background: var(--green-press); }
.kit-copy[hidden] { display: none; }
.kit-colours { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.kit-colours li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.kit-swatch { grid-row: 1 / 3; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.kit-swatch-green { background: var(--green); }
.kit-swatch-green-text { background: var(--green-text); }
.kit-swatch-text { background: var(--text); }
.kit-swatch-ground { background: var(--ground); }
.kit-colour-name { font-weight: 500; }

/* --- the public version of the audit: a muted bar in place of every figure, the charts' frames without a value, and
   one box per page saying who the figures are for --- */
.redacted { display: inline-block; width: 40px; max-width: 100%; height: 10px; border-radius: var(--radius-pill); background: var(--rule-light); vertical-align: middle; }
.members-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 22px;
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  background: var(--green-tint);
  color: var(--green-dark);
}
.members-box p { font-weight: 500; }
.members-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.members-actions a { color: var(--green-dark); font-weight: 600; }
.members-actions .members-sign-in {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-input);
  background: var(--green-text);
  color: var(--on-fill);
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease);
}
.members-actions .members-sign-in:hover { background: var(--green-dark); }
.members-actions .members-sign-in:active { background: var(--green-press); }
.locked-chart { margin: 0; padding: 0; list-style: none; }
.locked-stack, .locked-bars { display: grid; gap: 10px; }
.locked-stack li { display: grid; grid-template-columns: minmax(96px, 180px) minmax(0, 1fr); gap: 12px; align-items: center; }
.locked-bars li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; }
.locked-label { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--text-soft); }
.locked-bar { display: flex; gap: 2px; height: 18px; }
.locked-bar i { flex: 1; border-radius: var(--radius-sm); background: var(--rule-light); }
.locked-bar i:nth-child(2) { background: var(--border); }
.locked-bar i:nth-child(3) { background: var(--rule); }
.locked-donut {
  width: 168px;
  height: 168px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--rule-light) 0 33.33%, var(--border) 0 66.66%, var(--rule) 0);
  -webkit-mask: radial-gradient(circle, transparent 0 56%, #000 57%);
  mask: radial-gradient(circle, transparent 0 56%, #000 57%);
}

/* --- charts (static/charts.mjs draws them with Apache ECharts; closed until it does) --- */
.chart { display: none; width: 100%; min-width: 0; }
.chart.chart-on { display: block; }
.chart-donut { width: 168px; height: 168px; flex: none; }
.charts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 40px; align-items: start; }
.chart-split { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.chart-block { display: grid; gap: 10px; }
.chart-title { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-soft); }
.chart-legend { display: grid; gap: 10px; }
.chart-legend li { display: grid; grid-template-columns: 12px auto; gap: 0 8px; align-items: center; }
.chart-legend .legend-value { grid-column: 2; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart-legend .of { font-weight: 400; }
.chart-block .chart-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.swatch { width: 12px; height: 12px; border-radius: var(--radius-sm); }
.swatch-1 { background: var(--chart-1); }
.swatch-2 { background: var(--chart-2); }
.swatch-3 { background: var(--chart-3); }
@media (min-width: 900px) {
  .charts { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

/* --- a provider page's IP audit: one panel per proxy type. A group is a list of measures, one line each: label,
   figure with its counts, and its mark on the group's common scale (a share's bar from 0 to 100%, an abuse score's dot
   on a line from 0 to 1). Static markup; the marks wear the tables' neutral grey. --- */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 8px; }
.section-head .section-title { margin-top: 0; }
.panel { gap: 22px; --bar: var(--bar-ink); --bar-track: var(--rule-light); }  /* the tables' in-cell bar and its track */
.panel-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 56px; align-items: start; }
.measure-group { display: grid; gap: 4px; min-width: 0; max-width: 620px; }
.group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 16px;
  padding-bottom: 7px;
  box-shadow: inset 0 -2px 0 var(--rule);
}
.group-head h4 { margin: 0; font: 600 12px/1.5 var(--sans); letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-soft); }
.group-service .group-head { box-shadow: inset 0 -2px 0 var(--green); }
.group-pool .group-head { box-shadow: inset 0 -2px 0 var(--text); }
.group-reputation .group-head { box-shadow: inset 0 -2px 0 var(--pool); }
.group-match .group-head { box-shadow: inset 0 -2px 0 var(--input-border); }
.group-source { display: flex; flex-wrap: wrap; gap: 2px 14px; padding-top: 6px; font-size: 12px; color: var(--muted); }
.panel-spur .group-source { padding-top: 0; }
.group-source .source-line { font-size: 12px; }
.group-source .source-line .logo { width: 14px; height: 14px; margin-right: 6px; }
.source-item { display: inline-flex; align-items: center; gap: 0.3em; }
.measures { display: grid; margin: 0; }
.measure {
  display: grid;
  grid-template-columns: 10.5em minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  min-height: 36px;
  padding: 5px 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 14px;
  line-height: 1.35;
}
.measure:last-child { border-bottom: 0; }
.measure dt { color: var(--text-soft); }
.measure dd { display: grid; grid-template-columns: 11.5em minmax(0, 1fr); gap: 4px 14px; align-items: center; margin: 0; min-width: 0; }
.measure-plain dd { grid-template-columns: minmax(0, 1fr); }
.measure-value { font-variant-numeric: tabular-nums; }
.measure-figure { font-size: 15px; font-weight: 600; }
.measure-value.muted .measure-figure { font-size: 14px; font-weight: 400; }
.measure-value .of { font-size: 13px; }
.meter, .meter-frame { display: block; width: 100%; height: 8px; }
.meter-bar { border-radius: var(--radius-sm); background: var(--bar-track); overflow: hidden; }
.meter-bar rect { fill: var(--bar); }
.meter-line { overflow: visible; background: linear-gradient(var(--rule), var(--rule)) center / 100% 2px no-repeat; }
.meter-line circle { fill: var(--bar); stroke: var(--card); stroke-width: 2px; }
.meter-frame.meter-bar { background: var(--bar-track); }
.meter-frame.meter-line { background: linear-gradient(var(--rule), var(--rule)) center / 100% 2px no-repeat; }
.panel-collecting { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.panel-spur { display: grid; gap: 18px; padding-bottom: 24px; margin-bottom: 4px; border-bottom: 1px solid var(--rule-light); }
.panel-spur > .group-head { padding-bottom: 0; box-shadow: none; }
.panel-col { display: grid; gap: 14px; min-width: 0; align-content: start; }
.panels-rest { padding-top: 0; border-top: 0; }
@media (min-width: 1000px) {
  .panel-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-collecting { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .measure { grid-template-columns: 9.5em minmax(0, 1fr); }
  .measure dd { grid-template-columns: minmax(0, 1fr); }
}

/* --- phone width --- */
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .brand-name { font-size: 18px; }
  .pill-sm { min-height: 44px; }
  .page { gap: 22px; }
  .hero { padding-top: 28px; gap: 20px; }
  h1 { font-size: 36px; }
  h2 { font-size: 22px; }
  .figures dd { font-size: 22px; }
  .card { padding: 20px 16px 8px; }
  .card-small { padding: 18px 16px; }
  /* The rule sits right under the tabs; the page's facts go below it. */
  .tabstrip { border-bottom: 0; }
  .tabs { flex: 1 1 100%; border-bottom: 1px solid var(--rule); }
  .tabstrip .facts-line { margin-left: 0; padding: 10px 0 0; }
  dl.facts { grid-template-columns: 1fr; gap: 2px; }
  dl.facts dd { margin-bottom: 8px; }
  .wrap-text { min-width: 220px; }
  /* An audit table's first column keeps to a third of the screen: a long name wraps. The short tables (types,
     providers) wrap their text instead of scrolling. */
  tbody th[scope="row"] { white-space: normal; }
  table.audit tbody th[scope="row"] { min-width: 9.5em; }
  #providers td, #types td, #providers thead th, #types thead th { white-space: normal; }
  /* A name that wraps keeps its logo at its left, not on a line of its own. */
  #providers tbody th[scope="row"] { padding-left: 28px; }
  #providers tbody th[scope="row"] .logo { position: absolute; left: 0; top: 15px; }
  #types .go, #types .plans { display: none; }
  #providers th, #providers td { padding-left: 8px; padding-right: 8px; }
  .not-audited-list li { min-height: 40px; }
  .table-find input { width: 100%; height: 44px; }
  .calc .field { width: 100%; min-width: 0; }
  .calc input[type="number"], .calc select { width: 100%; min-width: 0; }
  .segments label { flex: 1 1 auto; justify-content: center; }
}

@media print {
  body { background: var(--card); }
  .skip, .site-nav, .menu-button, .pills, .tabs, .calc, .site-footer { display: none; }
  .site-header { position: static; }
  .card { border-color: var(--pool); break-inside: avoid; }
  .scroll { overflow: visible; max-height: none; }
  thead tr:last-child > *, tbody th[scope="row"] { position: static; }
  .table-find, th button:after { display: none; }
  a { text-decoration: none; color: inherit; }
}

/* A provider's logo before its name (20 px; 40 px in a provider page's heading); without a file, its initial in a
   circle. Fixed size, so rows do not move while images load. */
.logo { display: inline-block; width: 20px; height: 20px; margin-right: 8px; vertical-align: middle; position: relative; top: -1px; border-radius: var(--radius-sm); object-fit: contain; flex-shrink: 0; }
.logo-blank { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint); color: var(--muted); border: 1px solid var(--rule); box-sizing: border-box; font: 600 11px/1 var(--sans); }
h1 .logo { width: 40px; height: 40px; margin-right: 14px; top: -4px; border-radius: var(--radius-input); }
h1 .logo-blank { border-radius: 50%; font-size: 20px; }
.logo-blank::before { content: attr(data-initial); }
