/* Override older Portal button variants so both labels fit inside the shared row. */
body:not([data-order-link="true"]) #access .nuevita-access-pair {
  inline-size: min(100%, 21rem) !important;
  max-inline-size: 100%;
  justify-self: center;
}

body:not([data-order-link="true"]) #access .nuevita-access-pair > :is(#open-access, #client-auth-passkey) {
  display: grid;
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: none;
  min-block-size: 44px;
  padding-inline: .25rem;
  color: #102015;
  font: 600 clamp(.69rem, 2.85vw, .875rem)/1.2 Syne, Inter, system-ui, sans-serif !important;
  letter-spacing: 0;
}

body:not([data-order-link="true"]) #access .nuevita-access-pair > #open-access {
  background: #b6ed8e;
}

body:not([data-order-link="true"]) #access .nuevita-access-pair > #client-auth-passkey {
  background: #f7faf5;
}

#access #client-auth-qr-image:not([hidden]) {
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
}

body :is(.mg-qr-preview, #access, .guest-actions) .nuevita-access-pair >
:is(.nuevita-access-whatsapp, .nuevita-access-passkey, #open-access):not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

body .nuevita-access-pair >
:is(.nuevita-access-whatsapp, .nuevita-access-passkey, #open-access)::before {
  content: "";
  flex: none;
  inline-size: 1.1rem;
  block-size: 1.1rem;
  background: center / contain no-repeat url("./shared-acceso-whatsapp-fd7074dc7573.svg");
}

body .nuevita-access-pair > :is(.nuevita-access-passkey, #client-auth-passkey)::before {
  background-image: url("./shared-acceso-huella-aed92d686454.svg");
}

body[data-order-link="true"] .nuevita-access-pair > #open-access::before {
  content: none;
}
