/* Enable on the theme wrapper after checking the owner's Header and Band props. */
.pw-theme[data-actions="grouped"] :is(.pw-header__row,.pw-action-group) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .625rem;
}
.pw-theme[data-actions="grouped"] :is(.pw-header__row,.pw-action-group) > :is(.pw-action,.pw-phone,.pw-link) {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  min-block-size: 2.75rem;
  max-inline-size: 100%;
  padding: .55em .9em;
  border: 1px solid var(--pw-accent);
  border-radius: var(--pw-button-radius);
  font-size: var(--btn-font-size);
  font-weight: var(--pw-button-weight);
  line-height: var(--btn-line-height);
  text-decoration: none;
}
.pw-theme[data-actions="grouped"] :is(.pw-header__row,.pw-action-group) > .pw-link {
  background: var(--pw-surface);
  color: var(--pw-accent);
}
.pw-theme[data-actions="grouped"] :is(.pw-header__row,.pw-action-group):not(:has(> .pw-action)) > .pw-phone {
  background: var(--pw-primary);
  color: var(--pw-on-primary);
}
.pw-theme[data-actions="grouped"] :is(.pw-header__row,.pw-action-group) > .pw-link:hover {
  background: var(--pw-hover);
  color: var(--pw-on-primary);
}
.pw-theme[data-actions="grouped"] .pw-footer .pw-phone {
  background: transparent;
  border: 0;
  padding-inline: 0;
  text-decoration: none;
}
.pw-theme[data-actions="grouped"] :is(.pw-header,.pw-action-group,.pw-footer) a:focus-visible {
  outline: 3px solid var(--pw-focus);
  outline-offset: 3px;
}
