/**
 * The booth map: area labels, badges and the legend, plus the vendor
 * portal card's frame. Shared by every map that draws with view.js (the admin Assign tab,
 * the vendor portal card, the public map) and by the Layout Studio, so a plan
 * is drawn the way vendors and the public will see it. Ported from the Pride
 * site's lawn.css.
 */

/* ---- The map ----
   The tile-seam and background rules ride with view.js (ensureCss), scoped to
   the map element it draws into. */
.kvbm-area-label{background:rgba(255,255,255,.9);border:0;box-shadow:none;color:#111827;
  font-weight:700;font-size:11px;padding:2px 8px;border-radius:999px}
.kvbm-area-label::before{display:none}
.kvbm-map-key{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:10px 2px 0;
  font-size:13px;color:#4b5563}
.kvbm-key-item{display:inline-flex;align-items:center;gap:7px}
.kvbm-swatch{width:13px;height:13px;border-radius:50%;display:inline-block}
.kvbm-key-hint{opacity:.75}

/* ---- Map badges ----
   Accessibility markers are a white square with a glyph, not another
   coloured dot. Someone looking for a restroom should not have to decode
   a palette. */
.kvbm-badge-wrap{background:none;border:0}
/* 30px, not 24: a marker on a satellite photograph competes with grass, tents
   and shadow, and the smaller badge disappeared into it. The ring gives it an
   edge whatever it lands on. */
.kvbm-badge{display:flex;align-items:center;justify-content:center;width:30px;height:30px;
  border-radius:8px;border:3px solid;background:#fff;box-sizing:border-box;
  box-shadow:0 0 0 2px rgba(255,255,255,.65), 0 2px 8px rgba(8,2,12,.55);
  font:800 13px/1 system-ui,-apple-system,sans-serif;letter-spacing:-.02em}
/* No character dependably means "ramp", so it is drawn. */
.kvbm-ramp{display:block;width:0;height:0;border-style:solid;border-width:0 0 7px 11px;
  border-color:transparent transparent currentColor transparent}

/* ---- Legend (vendor card, public map) ---- */
.kvbm-swatch--open{background:#fff;border:2px solid #f97316}
.kvbm-swatch--booked{background:#374151;border:2px solid #1f2937}
.kvbm-swatch--mine{background:#0a4a8c;border:2px solid #fff;box-shadow:0 0 0 1px #0a4a8c}
/* ---- The vendor portal card's map ---- */
.kvbm-mini{margin:12px 0 0}
/* From 700px the theme makes li.kvltx-reg a grid with every cell placed explicitly (main, facts, actions,
   documents); an unplaced map would auto-place into the narrow first column. Full width, like .kvltx-reg__pay. */
.kvltx-reg > .kvbm-mini{grid-column:1 / -1}
.kvbm-mini__map{height:240px;border-radius:12px;overflow:hidden;border:1px solid #e5e7eb;background:#1e2a24}
.kvbm-mini__actions{margin:8px 2px 0;font-size:14px}
/* The card is told only the vendor's own booths, so every other booth reaches view.js as 'available', taken
   or not. Drawn plain grey here, not the orange "open" outline, so a vendor doesn't read them as free. */
.kvbm-mini .kvbm-booth.is-available:not(.is-selected):not(.is-hover){stroke:#9ca3af;fill:#f3f4f6}
