/* Duit website: the Duit Boosted page (boosted.html, served at /boosted; written by tools/pages.py, SPEC15). Loaded
   after site.css, window.css, sections.css, products.css and grow.css, which give the tokens, both themes, the window,
   the sections, the cards and the labels. This file adds only the hero window's map grid: an Example of local rankings,
   25 points around a business (the middle cell, ringed), each with its rank for one search, coloured by band (1 to 3,
   4 to 10, 11 to 20, not in the top 20), with a key under it. The window is aria-hidden; the .sr line beside it says
   what it shows, so colour is never the only carrier. No inline styles or scripts, so the page runs under the site's
   strict CSP. */

.bo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
  max-width: 360px;
}
.bo-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: max(12px, .9em);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--wtext);
  background: color-mix(in srgb, var(--bo-band) 22%, var(--win));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bo-band) 70%, var(--win));
}
.bo-cell.is-top { --bo-band: var(--ok); }
.bo-cell.is-mid { --bo-band: var(--warn); }
.bo-cell.is-low { --bo-band: var(--bad); }
.bo-cell.is-out { --bo-band: var(--wmuted); font-weight: 500; font-size: max(12px, .78em); } /* text stays --wtext: 4.5:1 */
/* the business itself: the middle point, ringed in the text colour */
.bo-cell.is-you { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bo-band) 70%, var(--win)), 0 0 0 2px var(--win), 0 0 0 3.5px var(--wtext); }

.bo-key {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: max(12px, .82em);
  color: var(--wmuted);
}
.bo-key li { display: inline-flex; align-items: center; gap: 6px; }
.bo-key i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bo-band) 22%, var(--win));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bo-band) 70%, var(--win));
}
.bo-key i.is-top { --bo-band: var(--ok); }
.bo-key i.is-mid { --bo-band: var(--warn); }
.bo-key i.is-low { --bo-band: var(--bad); }
.bo-key i.is-out { --bo-band: var(--wmuted); }
