/* MODE PLAN (touche B) : grille 12 colonnes par-dessus la page,
   contours pointillés et étiquettes générées par js/ui/blueprint.js
   à partir des attributs data-bp="..." du HTML. */

body.bp [data-bp] {
  outline: 1px dashed var(--info);
  outline-offset: 2px;
}
body.bp [data-bp]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.bp-grid {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  display: none;
}
body.bp .bp-grid {
  display: block;
}
.bp-grid .wrap {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--s6);
}
.bp-grid .wrap span {
  background: color-mix(in srgb, var(--info) 7%, transparent);
  border-inline: 1px solid color-mix(in srgb, var(--info) 22%, transparent);
}
@media (max-width: 767px) {
  .bp-grid .wrap {
    grid-template-columns: repeat(4, 1fr);
    column-gap: var(--s4);
  }
  .bp-grid .wrap span:nth-child(n+5) {
    display: none;
  }
}
#bp-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 46;
  pointer-events: none;
}
.bp-tag {
  position: absolute;
  max-width: 260px;
  padding: 3px 7px;
  background: var(--info);
  color: var(--canvas);
  font: 500 11px/1.35 var(--font-data);
  white-space: normal;
  box-shadow: 0 2px 8px #0000004d;
}
