/* Blur faces in photos: the editing canvas and the list of boxes. Tokens from styles.css only. */
.bf-editor { display: grid; gap: 16px; }
.bf-editor[hidden] { display: none; }

/* Keep the whole photo on screen (a tall phone photo would otherwise block page scrolling). */
.bf-stage {
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: var(--r-group);
  background: var(--tile);
  box-shadow: inset 0 0 0 .5px var(--line);
}

.bf-stage canvas {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--r-chip);
  touch-action: none;
  cursor: crosshair;
}

.bf-stage canvas:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.bf-pick {
  flex: 1 1 200px;
  min-height: 40px;
  padding: 6px 10px;
  border: 0;
  border-radius: var(--r-chip);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.bf-pick[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--safelight); font-weight: 600; }
.bf-pick:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.bf-remove { min-height: 40px; }

.bf-keys { font-size: 13px; color: var(--muted); }
.bf-keys kbd {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--fill);
  box-shadow: inset 0 0 0 .5px var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
}
