/* The heading's children and phone row share the same two visual rows.
   Buttons stay in their original DOM parents: no React moves or clipboard changes. */
:is(#shared-auth-root dialog.webinar-otp,dialog.webinar-otp) .webinar-otp-phone:has(> .webinar-otp-phone-heading .webinar-otp-phone-paste) {
  display:grid; grid-template-columns:minmax(0,1fr); gap:0; isolation:isolate; min-inline-size:0;
}
:is(#shared-auth-root dialog.webinar-otp,dialog.webinar-otp) .webinar-otp-phone > .webinar-otp-phone-heading { display:contents!important; }
:is(#shared-auth-root dialog.webinar-otp,dialog.webinar-otp) .webinar-otp-phone > .webinar-otp-phone-heading > label { grid-area:1/1; }
:is(#shared-auth-root dialog.webinar-otp,dialog.webinar-otp) .webinar-otp-phone > .webinar-otp-phone-row {
  grid-area:2/1; margin:6px 0 0!important; min-inline-size:0;
}
:is(#shared-auth-root dialog.webinar-otp,dialog.webinar-otp) .webinar-otp-phone > .webinar-otp-phone-row > input {
  box-sizing:border-box; min-height:50px!important; padding-inline-end:54px!important; min-inline-size:0;
}
:is(#shared-auth-root dialog.webinar-otp,dialog.webinar-otp) .webinar-otp-phone .webinar-otp-phone-heading > .webinar-otp-phone-paste {
  grid-area:2/1; justify-self:end; align-self:center; align-items:center; justify-content:center;
  z-index:2; margin:6px 3px 0 0!important; min-inline-size:44px!important; inline-size:44px; min-block-size:44px; block-size:44px;
  padding:0!important; border:0!important; border-radius:8px; background:transparent!important; color:#285b36;
}
:is(#shared-auth-root dialog.webinar-otp,dialog.webinar-otp) .webinar-otp-phone .webinar-otp-phone-paste > span { display:none; }
:is(#shared-auth-root dialog.webinar-otp,dialog.webinar-otp) .webinar-otp-phone .webinar-otp-phone-paste svg { width:20px; height:20px; }
:is(#shared-auth-root dialog.webinar-otp,dialog.webinar-otp) .webinar-otp-phone .webinar-otp-phone-paste:focus-visible { outline:2px solid #285b36; outline-offset:-2px; }
:is(#shared-auth-root dialog.webinar-otp,dialog.webinar-otp) .webinar-otp-phone .webinar-otp-phone-paste:hover:enabled { background:#e5efe6; }
@media (forced-colors:active) { :is(#shared-auth-root dialog.webinar-otp,dialog.webinar-otp) .webinar-otp-phone .webinar-otp-phone-paste { color:ButtonText; } }

/* Match the installed NueSuite Desktop's live access surface without moving its controls.
   Portal itself supplies the same color stops, dot texture, ring pattern and mask. */
@media (min-width: 661px) and (hover: hover) and (pointer: fine) {
  html:not(.client-auth-phone-page) body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]):has([data-nuevita-access-hero="portal"]) {
    isolation: isolate;
    position: relative;
  }
  html:not(.client-auth-phone-page) body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]):has([data-nuevita-access-hero="portal"])::before {
    position: absolute;
  }
}
@media (max-width: 660px), (hover: none), (pointer: coarse) {
  html:not(.client-auth-phone-page) body.client-auth-enhanced:not([data-order-link="true"]):not([data-portal-authenticated="true"]):has([data-nuevita-access-hero="portal"])::before {
    content: none;
    background-image: none;
    mask-image: none;
    position: static;
    z-index: auto;
  }
}
