.phone-handoff {
  box-sizing: border-box;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px 32px;
  overflow: auto;
  border: 1px solid var(--light-grey-lines);
  border-radius: var(--radius-l);
  background: var(--background-white);
  color: var(--black);
  font-family: var(--font-body);
  text-align: center;
  box-shadow: 0 24px 64px var(--shadow-soft);
}
.phone-handoff::backdrop { background: color-mix(in srgb, var(--black) 65%, transparent); }
.phone-handoff-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.phone-handoff-logo { display: block; width: 54px; height: 30px; object-fit: contain; }
.phone-handoff-close {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--light-grey-lines); border-radius: 50%;
  background: transparent; color: var(--black); cursor: pointer;
}
.phone-handoff h2 { margin: 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; color: var(--black); }
.phone-handoff #phone-handoff-copy { margin: 12px auto 24px; max-width: 32ch; font-size: 1rem; line-height: 1.6; color: var(--dark-slate-grey-text); }
.phone-handoff-qr { width: 248px; max-width: 100%; margin: 0 auto; padding: 8px; background: var(--background-white); border: 1px solid var(--light-grey-lines); border-radius: var(--radius-m); }
.phone-handoff-qr img { display: block; width: 100%; height: auto; }
.phone-handoff-number { white-space: nowrap; font: inherit; color: inherit; user-select: text; }
.phone-handoff-copy { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; width: 100%; min-height: 48px; margin-top: 24px; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--accent-green); color: var(--black); font-family: var(--font-display); font-size: .9375rem; font-weight: 600; line-height: 1.4; cursor: pointer; }
.phone-handoff-native { display: block; padding: 16px 0 8px; color: var(--dark-slate-grey-text); font-size: .9375rem; line-height: 1.6; text-underline-offset: 4px; }
.phone-handoff-status { min-height: 24px; margin: 8px 0 0; font-size: .9375rem; line-height: 1.6; color: var(--dark-slate-grey-text); }
.phone-handoff :is(button,a):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
@media (max-height: 720px) { .phone-handoff-qr { width: 192px; } .phone-handoff { padding: 16px 24px; } .phone-handoff #phone-handoff-copy { margin-bottom: 16px; } }
