/* Compact contact actions — intentionally scoped to the retained wrapper. */
.pp-contact-bar.pp-contact-bar {
  --pp-contact-ink: #203047;
  --pp-contact-muted: #718096;
  --pp-contact-rule: #e6ebef;
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--pp-contact-ink);
  background: #fff;
  border-block: 1px solid #edf0f2;
  container-type: inline-size;
}

.pp-contact-bar.pp-contact-bar *,
.pp-contact-bar.pp-contact-bar *::before,
.pp-contact-bar.pp-contact-bar *::after {
  box-sizing: border-box;
}

.pp-contact-bar.pp-contact-bar .pp-contact-bar-actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Repeat wrapper class to outrank old .pp-secondary-contact .pp-action rules. */
.pp-contact-bar.pp-contact-bar .pp-action {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 64px;
  height: auto;
  align-self: stretch;
  margin: 0;
  padding: 9px 12px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: var(--pp-contact-ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  transform: none;
  filter: none;
  transition: background-color 140ms ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pp-contact-bar.pp-contact-bar .pp-action::before,
.pp-contact-bar.pp-contact-bar .pp-action::after {
  content: none;
  display: none;
  background: none;
  box-shadow: none;
}

.pp-contact-bar.pp-contact-bar .pp-action:not(:last-child)::after {
  content: "";
  display: block;
  position: absolute;
  inset: 13px 0 13px auto;
  width: 1px;
  height: auto;
  background: var(--pp-contact-rule);
}

.pp-contact-bar.pp-contact-bar .pp-action:hover {
  background: #f8fafb;
  background-image: none;
  box-shadow: none;
  transform: none;
}

.pp-contact-bar.pp-contact-bar .pp-action:hover .pp-action-icon,
.pp-contact-bar.pp-contact-bar .pp-action:hover .pp-action-icon svg,
.pp-contact-bar.pp-contact-bar .pp-action:hover .pp-action-chevron {
  box-shadow: none;
  filter: none;
  transform: none;
}

.pp-contact-bar.pp-contact-bar .pp-action:focus-visible {
  z-index: 1;
  outline: 2px solid #416f91;
  outline-offset: -3px;
  background: #f6f9fb;
}

.pp-contact-bar.pp-contact-bar .pp-action:active {
  background: #f2f6f8;
  box-shadow: none;
  transform: none;
}

.pp-contact-bar.pp-contact-bar .pp-action-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--pp-contact-icon-wash, #edf7f1);
  color: var(--pp-contact-action-color, #178858);
  box-shadow: none;
  filter: none;
}

.pp-contact-bar.pp-contact-bar .pp-action-icon svg,
.pp-contact-bar.pp-contact-bar .pp-action-chevron {
  display: block;
  width: 24px;
  height: 24px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: none;
  box-shadow: none;
  transition: none;
  transform: none;
}

.pp-contact-bar.pp-contact-bar .pp-action-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.25;
}

.pp-contact-bar.pp-contact-bar .pp-action-copy strong {
  display: block;
  overflow: visible;
  margin: 0;
  color: var(--pp-contact-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  white-space: normal;
}

.pp-contact-bar.pp-contact-bar .pp-action-copy small {
  display: block;
  overflow: visible;
  margin: 0;
  color: var(--pp-contact-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  white-space: normal;
}

.pp-contact-bar.pp-contact-bar .pp-action-chevron {
  width: 16px;
  height: 16px;
  color: var(--pp-contact-action-color, #718096);
  stroke-width: 2;
}

.pp-contact-bar.pp-contact-bar .pp-action-wa {
  --pp-contact-action-color: var(--pp-contact-wa, #178858);
  --pp-contact-icon-wash: color-mix(in srgb, var(--pp-contact-wa, #178858) 11%, white);
}

.pp-contact-bar.pp-contact-bar .pp-action-viewing {
  --pp-contact-action-color: var(--pp-contact-viewing, #286da8);
  --pp-contact-icon-wash: color-mix(in srgb, var(--pp-contact-viewing, #286da8) 10%, white);
}

.pp-contact-bar.pp-contact-bar .pp-action-message {
  --pp-contact-action-color: var(--pp-contact-message, #286da8);
  --pp-contact-icon-wash: color-mix(in srgb, var(--pp-contact-message, #286da8) 10%, white);
}

/* Proof badges keep their legacy visibility toggle; only their visible finish is set. */
.pp-contact-bar.pp-contact-bar .av-cta-proof {
  color: #667788;
  font-size: 11px;
  line-height: 1.35;
}

@container (max-width: 640px) {
  .pp-contact-bar.pp-contact-bar .pp-contact-bar-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .pp-contact-bar.pp-contact-bar .pp-action {
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    gap: 12px;
    min-height: 58px;
    padding: 7px 14px;
  }

  .pp-contact-bar.pp-contact-bar .pp-action:not(:last-child)::after {
    inset: auto 14px 0 66px;
    width: auto;
    height: 1px;
  }

  .pp-contact-bar.pp-contact-bar .pp-action-copy strong {
    white-space: normal;
  }

  .pp-contact-bar.pp-contact-bar .pp-action-copy small {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .pp-contact-bar.pp-contact-bar .pp-contact-bar-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .pp-contact-bar.pp-contact-bar .pp-action {
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    gap: 12px;
    min-height: 58px;
    padding: 7px 14px;
  }

  .pp-contact-bar.pp-contact-bar .pp-action:not(:last-child)::after {
    inset: auto 14px 0 66px;
    width: auto;
    height: 1px;
  }

  .pp-contact-bar.pp-contact-bar .pp-action-copy strong,
  .pp-contact-bar.pp-contact-bar .pp-action-copy small {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-contact-bar.pp-contact-bar .pp-action {
    transition: none;
  }
}

/*
 * The legacy storefront sheets (and two late inline styles) use !important
 * for the old pills. Higher specificity keeps these resets inside this bar;
 * the separate "more property requests" actions retain their original look.
 */
.pp-contact-bar.pp-contact-bar .pp-contact-bar-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.pp-contact-bar.pp-contact-bar .pp-contact-bar-actions .pp-action {
  height: auto !important;
  min-height: 64px !important;
  padding: 9px 12px !important;
  gap: 10px !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--pp-contact-ink) !important;
  filter: none !important;
  transform: none !important;
}

.pp-contact-bar.pp-contact-bar .pp-contact-bar-actions .pp-action:hover,
.pp-contact-bar.pp-contact-bar .pp-contact-bar-actions .pp-action:active {
  background: #f8fafb !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

.pp-contact-bar.pp-contact-bar .pp-contact-bar-actions .pp-action .pp-action-icon {
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  flex-basis: 38px !important;
  background: var(--pp-contact-icon-wash) !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  color: var(--pp-contact-action-color) !important;
  filter: none !important;
  transform: none !important;
}

.pp-contact-bar.pp-contact-bar .pp-contact-bar-actions .pp-action .pp-action-icon svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  filter: none !important;
  transform: none !important;
}

.pp-contact-bar.pp-contact-bar .pp-contact-bar-actions .pp-action strong {
  margin: 0 !important;
  color: var(--pp-contact-ink) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  letter-spacing: normal !important;
  line-height: 1.3 !important;
}

.pp-contact-bar.pp-contact-bar .pp-contact-bar-actions .pp-action small {
  margin: 0 !important;
  color: var(--pp-contact-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  line-height: 1.3 !important;
}

.pp-contact-bar.pp-contact-bar .pp-contact-bar-actions .pp-action .pp-action-chevron {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  flex-basis: 16px !important;
  fill: none !important;
  stroke: var(--pp-contact-action-color) !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

@container (max-width: 640px) {
  .pp-contact-bar.pp-contact-bar .pp-contact-bar-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .pp-contact-bar.pp-contact-bar .pp-contact-bar-actions .pp-action {
    min-height: 58px !important;
    padding: 7px 14px !important;
    gap: 12px !important;
  }
}

@media (max-width: 600px) {
  .pp-contact-bar.pp-contact-bar .pp-contact-bar-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .pp-contact-bar.pp-contact-bar .pp-contact-bar-actions .pp-action {
    min-height: 58px !important;
    padding: 7px 14px !important;
    gap: 12px !important;
  }
}