/* Portal guest cover only. Preserve authentication, QR sizing and the existing
   viewport fit observers. Relative to the published .85 product multiplier,
   .9775 is exactly a 15% increase. The eight-pixel lift affects only products. */
body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]) [data-nuevita-access-hero="portal"] .welcome-desktop-cluster {
  transform: translate(-50%, -50%) scale(calc(var(--product-fit, .966) * .9775));
  top: calc(50% + clamp(8px, 2dvh, 24px) - 8px);
}
body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]) [data-nuevita-access-hero="portal"] .client-auth-products {
  transform: translateY(calc(clamp(8px, 2dvh, 24px) - 8px)) scale(.9775);
  transform-origin: center;
}

/* The complete greeting remains a single line in the existing access panel.
   Syne's measured width for the new copy fits at 6.7% of that panel's width. */
body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]) [data-nuevita-access-hero="portal"] #access #client-access-title {
  white-space: nowrap;
  font-size: clamp(.95rem, 6.7cqi, 2.52rem);
  text-align: center;
}

/* Keep the footer in document flow at the viewport edge. The existing icon
   sizes (15 / 14 / 13 px) remain untouched; only text becomes 10% smaller. */
body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]) #portal-access-footer {
  align-self: end;
  min-block-size: 0;
  margin-block-end: 0;
  padding-block: 0 env(safe-area-inset-bottom, 0px);
}
body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]) #portal-access-footer .nuevita-footer-items {
  align-items: end;
  font-size: 10.8px;
}
body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]) #portal-access-footer :is(.nuevita-footer-separator, .nuevita-footer-socials, .nuevita-footer-privacy, .nuevita-social-link, .nuevita-social-inactive) {
  height: var(--portal-footer-icon);
  min-height: var(--portal-footer-icon);
  block-size: var(--portal-footer-icon);
  min-block-size: var(--portal-footer-icon);
}
body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]) #portal-access-footer :is(.nuevita-footer-socials, .nuevita-footer-privacy, .nuevita-social-link, .nuevita-social-inactive) {
  align-items: end;
}
body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]) #portal-access-footer :is(.nuevita-social-link, .nuevita-social-inactive) svg {
  height: var(--portal-footer-icon);
  width: auto;
  transform: none;
}
/* Expand hit areas upward, without reserving extra space or enabling scroll. */
body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]) #portal-access-footer a::after {
  inset-block-start: auto;
  inset-block-end: 0;
  block-size: max(44px, 100%);
}
@media (max-width: 640px) {
  body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]) #portal-access-footer .nuevita-footer-items {
    font-size: clamp(7.2px, 2.115vw, 9px);
  }
}
/* Reserve space above the footer's expanded touch targets on handheld screens. */
body.client-auth-enhanced.client-auth-mobile:not([data-order-link="true"]):not([data-portal-authenticated="true"]) [data-nuevita-access-hero="portal"].portal-entry {
  padding-block-end: 36px;
}
