/* Shared by every block. */

/* Touch browsers draw a grey box over the tapped link's own text; the blocks
   show their own press on the whole control (--ui-press-scale). */
html {
  -webkit-tap-highlight-color: transparent;
}

/* Text for assistive technology only (headers of icon columns, notice kinds). */
.block_visually_hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

/* Hidden generated-control hosts must not inherit a static position below
   full-height content. Pair with block_visually_hidden and aria-hidden. */
.block_visually_hidden_origin {
  inset-block-start: 0;
  inset-inline-start: 0;
}

/* A row of actions. The gap owns the spacing, so the shared buttons' own
   margins (and their + .button offset) step aside. */
.block_actions {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: var(--ui-action-gap);
}

.block_actions > .button,
.block_actions > .button + .button,
.block_actions > select {
  margin: 0;
}

/* A choice beside the actions (a page header's address picker) never forces
   the row wider than its container. */
.block_actions > select {
  min-width: 0;
  max-width: 100%;
}
