.pc-shell,
.pc-shell *,
.pc-shell *::before,
.pc-shell *::after {
  box-sizing: border-box;
}

.pc-shell {
  --pc-accent: #01614d;
  --pc-accent-strong: #014c3d;
  --pc-accent-soft: #e6f1ee;
  --pc-accent-faint: #f4f9f7;
  --pc-accent-contrast: #ffffff;
  --pc-focus: rgba(1, 97, 77, 0.22);
  --pc-ink: #221e1e;
  --pc-muted: #5c667f;
  --pc-line: #d6dde9;
  --pc-page: #ebedf4;
  --pc-card: #fdfdfe;
  display: grid;
  grid-template-columns: minmax(21rem, 2fr) minmax(0, 3fr);
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
  color: var(--pc-ink);
  background: var(--pc-page);
  font-family: var(--font-general, "General Sans", system-ui, sans-serif);
}

.pc-shell[data-theme="blue"] {
  --pc-accent: #016187;
  --pc-accent-strong: #014d6b;
  --pc-accent-soft: #e4edf2;
  --pc-accent-faint: #f2f7fa;
  --pc-accent-contrast: #ffffff;
  --pc-focus: rgba(1, 97, 135, 0.22);
}

.pc-shell[data-theme="yellow"] {
  --pc-accent: #f4b300;
  --pc-accent-strong: #d69c00;
  --pc-accent-soft: #fff1bd;
  --pc-accent-faint: #fffaf0;
  --pc-accent-contrast: #221e1e;
  --pc-focus: rgba(244, 179, 0, 0.28);
}

.pc-visual {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 2rem 3rem;
  background: var(--pc-card);
}

.pc-visual__logo {
  position: absolute;
  top: max(2.25rem, calc(env(safe-area-inset-top) + 1.5rem));
  left: max(2.3125rem, calc(env(safe-area-inset-left) + 1.5rem));
  width: 8.9rem;
  height: auto;
}

.pc-visual__image-wrap {
  display: flex;
  width: min(100%, 31rem);
  min-height: 0;
  align-items: center;
  justify-content: center;
}

.pc-visual__image {
  display: block;
  width: 100%;
  max-width: 31rem;
  max-height: 58vh;
  object-fit: contain;
}

.pc-visual__caption {
  width: min(100%, 25rem);
  margin-top: 1.5rem;
  color: var(--pc-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-align: center;
}

.pc-main {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding:
    max(4.75rem, calc(env(safe-area-inset-top) + 3rem))
    max(1.25rem, calc(env(safe-area-inset-right) + 1rem))
    max(2rem, calc(env(safe-area-inset-bottom) + 1.5rem))
    max(1.25rem, calc(env(safe-area-inset-left) + 1rem));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), transparent 48%),
    var(--pc-page);
}

.pc-main__inner {
  display: flex;
  width: min(100%, 39rem);
  min-width: 0;
  flex-direction: column;
  gap: 0.75rem;
}

.pc-step-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 0.375rem;
  color: var(--pc-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pc-step-row__step {
  color: var(--pc-accent-strong);
}

.pc-card {
  width: 100%;
  min-width: 0;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border: 1px solid rgba(34, 30, 30, 0.055);
  border-radius: 1.5rem;
  background: var(--pc-card);
  box-shadow:
    0 1px 2px rgba(34, 30, 30, 0.04),
    0 1.5rem 4.5rem rgba(34, 30, 30, 0.1);
  animation: pc-card-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pc-card__header,
.pc-success {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pc-card__phone-illustration {
  display: block;
  width: 7rem;
  height: 5.25rem;
  margin-bottom: 0.875rem;
  object-fit: contain;
}

.pc-eyebrow {
  margin: 0;
  color: var(--pc-accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pc-title {
  max-width: 18ch;
  margin: 0.45rem 0 0;
  color: var(--pc-ink);
  font-family: var(--font-recia, "Recia", Georgia, serif);
  font-size: clamp(2rem, 4.3vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.pc-lede {
  max-width: 30rem;
  margin: 0.9rem 0 0;
  color: var(--pc-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.pc-lede strong {
  color: var(--pc-ink);
  font-weight: 600;
  white-space: nowrap;
}

.pc-alert {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.pc-alert--notice {
  color: var(--pc-accent-strong);
  border-color: color-mix(in srgb, var(--pc-accent) 25%, white);
  background: var(--pc-accent-faint);
}

.pc-alert--error {
  color: #8a1c1e;
  border-color: #fecaca;
  background: #fff5f5;
}

.pc-alert__title {
  font-weight: 650;
}

.pc-alert__detail {
  margin-top: 0.125rem;
  color: #9d3133;
  font-size: 0.75rem;
}

.pc-verify-form {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pc-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.pc-label {
  margin-bottom: 0.55rem;
  color: var(--pc-ink);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.pc-code-control {
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: 0.75rem;
}

.pc-code-input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0.01;
  color: transparent;
  background: transparent;
  caret-color: transparent;
  font-size: 1rem;
  -webkit-text-fill-color: transparent;
}

.pc-code-input:focus {
  outline: none;
}

.pc-code-cells {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  gap: clamp(0.375rem, 1.8vw, 0.625rem);
}

.pc-code-cell {
  display: flex;
  min-width: 0;
  aspect-ratio: 1 / 1.06;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--pc-line);
  border-radius: 0.75rem;
  color: var(--pc-ink);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  font-size: clamp(1.4rem, 6vw, 1.9rem);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  line-height: 1;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.pc-code-control:focus-within .pc-code-cell[data-active="true"] {
  border-color: var(--pc-accent);
  background: var(--pc-accent-faint);
  box-shadow: 0 0 0 4px var(--pc-focus);
  transform: translateY(-1px);
}

.pc-code-cell[data-filled="true"] {
  border-color: color-mix(in srgb, var(--pc-accent) 48%, white);
  background: var(--pc-accent-faint);
}

.pc-code-control[data-error="true"] .pc-code-cell {
  border-color: #ed7779;
  background: #fffafa;
}

.pc-code-control[data-error="true"]:focus-within .pc-code-cell[data-active="true"] {
  border-color: #b42318;
  background: #fff5f5;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.14);
}

.pc-code-control[data-complete="true"] .pc-code-cell {
  border-color: var(--pc-accent);
}

.pc-field__support {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.625rem;
  color: var(--pc-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.pc-field__support p:first-child {
  max-width: 28rem;
}

.pc-field__support p:last-child {
  flex: 0 0 auto;
  color: var(--pc-accent-strong);
  font-weight: 600;
  white-space: nowrap;
}

.pc-button {
  display: inline-flex;
  min-height: 2.75rem;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.6875rem 1.125rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
  touch-action: manipulation;
}

.pc-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.pc-button:active:not(:disabled) {
  transform: translateY(0);
}

.pc-button:focus-visible {
  outline: 3px solid var(--pc-focus);
  outline-offset: 3px;
}

.pc-button:disabled,
.pc-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
}

.pc-button--primary {
  color: var(--pc-accent-contrast);
  background: var(--pc-accent);
  box-shadow: 0 0.625rem 1.75rem color-mix(in srgb, var(--pc-accent) 22%, transparent);
}

.pc-button--primary:hover:not(:disabled) {
  background: var(--pc-accent-strong);
}

.pc-button--wide {
  width: 100%;
}

.pc-button--secondary {
  color: var(--pc-accent-strong);
  border-color: color-mix(in srgb, var(--pc-accent) 26%, white);
  background: var(--pc-accent-faint);
}

.pc-button--secondary:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--pc-accent) 44%, white);
  background: var(--pc-accent-soft);
}

.pc-button--text {
  color: var(--pc-muted);
  background: transparent;
}

.pc-button--text:hover:not(:disabled) {
  color: var(--pc-ink);
  background: rgba(34, 30, 30, 0.045);
}

.pc-button[aria-busy="true"] {
  cursor: progress;
}

.pc-code-meta {
  margin-top: 1rem;
  color: var(--pc-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
}

.pc-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 1rem;
}

.pc-inline-form {
  display: inline-flex;
  min-width: 0;
}

.pc-safety-note {
  margin: 1.25rem 0 0;
  color: var(--pc-muted);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.pc-success {
  padding-block: 0.25rem;
}

.pc-success__illustration {
  display: block;
  width: min(100%, 16rem);
  height: auto;
  margin-bottom: 0.75rem;
  object-fit: contain;
  animation: pc-success-settle 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pc-success .pc-lede {
  margin-bottom: 1.5rem;
}

.pc-success__redirect {
  margin: 0.875rem 0 0;
  color: var(--pc-muted);
  font-size: 0.75rem;
}

.pc-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes pc-card-enter {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pc-success-settle {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 56rem) {
  .pc-shell {
    display: block;
  }

  .pc-visual {
    display: none;
  }

  .pc-main {
    min-height: 100vh;
    min-height: 100svh;
    overflow: visible;
  }
}

@media (max-width: 32rem) {
  .pc-main {
    align-items: flex-start;
    padding:
      max(3.75rem, calc(env(safe-area-inset-top) + 2.75rem))
      max(0.75rem, calc(env(safe-area-inset-right) + 0.625rem))
      max(1rem, calc(env(safe-area-inset-bottom) + 0.75rem))
      max(0.75rem, calc(env(safe-area-inset-left) + 0.625rem));
  }

  .pc-main__inner {
    gap: 0.625rem;
  }

  .pc-card {
    padding: 1.375rem;
    border-radius: 1.125rem;
  }

  .pc-card__phone-illustration {
    width: 5.75rem;
    height: 4.3125rem;
    margin-bottom: 0.5rem;
  }

  .pc-title {
    font-size: clamp(1.8rem, 9vw, 2.15rem);
  }

  .pc-lede {
    margin-top: 0.65rem;
    font-size: 0.9375rem;
  }

  .pc-verify-form {
    margin-top: 1.25rem;
  }

  .pc-code-cell {
    border-radius: 0.625rem;
  }

  .pc-field__support {
    display: block;
  }

  .pc-field__support p:last-child {
    margin-top: 0.3rem;
  }

  .pc-actions {
    flex-direction: column;
  }

  .pc-inline-form,
  .pc-actions .pc-button {
    width: 100%;
  }

  .pc-success__illustration {
    width: min(100%, 12rem);
  }
}

@media (max-width: 22rem) {
  .pc-step-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .pc-card {
    padding: 1.125rem;
  }

  .pc-code-cells {
    gap: 0.3125rem;
  }

  .pc-button {
    padding-inline: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-card,
  .pc-success__illustration {
    animation: none;
  }

  .pc-code-cell,
  .pc-button {
    transition: none;
  }

  .pc-button:hover:not(:disabled),
  .pc-button:active:not(:disabled),
  .pc-code-control:focus-within .pc-code-cell[data-active="true"] {
    transform: none;
  }
}

@media (forced-colors: active) {
  .pc-card,
  .pc-code-cell,
  .pc-alert,
  .pc-button {
    border: 1px solid CanvasText;
  }

  .pc-code-control:focus-within .pc-code-cell[data-active="true"],
  .pc-button:focus-visible {
    outline: 3px solid Highlight;
  }
}

/* Reusable in-page profile phone confirmation dialog. */
.ppc-dialog,
.ppc-dialog *,
.ppc-dialog *::before,
.ppc-dialog *::after {
  box-sizing: border-box;
}

.ppc-dialog {
  --ppc-accent: #01614d;
  --ppc-accent-strong: #014c3d;
  --ppc-accent-faint: #f1f8f6;
  --ppc-focus: rgba(1, 97, 77, 0.2);
  --ppc-ink: #221e1e;
  --ppc-muted: #5c667f;
  --ppc-line: #d6dde9;
  width: min(calc(100% - 1.5rem), 32rem);
  max-width: 32rem;
  max-height: min(calc(100dvh - 1.5rem), 46rem);
  z-index: 2147483000;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 1.5rem;
  color: var(--ppc-ink);
  background: transparent;
  font-family: var(--font-general, "General Sans", system-ui, sans-serif);
}

.ppc-dialog [hidden] {
  display: none !important;
}

.ppc-dialog[open] {
  animation: ppc-dialog-enter 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ppc-dialog::backdrop {
  background: rgba(20, 24, 32, 0.62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  animation: ppc-backdrop-enter 180ms ease-out both;
}

.ppc-card {
  position: relative;
  width: 100%;
  max-height: min(calc(100dvh - 1.5rem), 46rem);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(34, 30, 30, 0.06);
  border-radius: 1.5rem;
  background: #fdfdfe;
  box-shadow: 0 1.75rem 5rem rgba(17, 24, 39, 0.24);
}

.ppc-close {
  position: absolute;
  z-index: 3;
  top: 0.875rem;
  right: 0.875rem;
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--ppc-muted);
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.ppc-close:hover {
  color: var(--ppc-ink);
  background: rgba(34, 30, 30, 0.055);
}

.ppc-close:active {
  transform: scale(0.96);
}

.ppc-close:focus-visible,
.ppc-button:focus-visible {
  outline: 3px solid var(--ppc-focus);
  outline-offset: 3px;
}

.ppc-close svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.ppc-stage {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ppc-stage[hidden],
.ppc-notice[hidden],
.ppc-error[hidden],
.ppc-button-progress[hidden] {
  display: none !important;
}

.ppc-icon,
.ppc-success-icon {
  display: flex;
  width: 4.25rem;
  height: 4.25rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 1.25rem;
  color: var(--ppc-accent);
  background: var(--ppc-accent-faint);
}

.ppc-icon svg,
.ppc-success-icon svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ppc-success-icon {
  border-radius: 999px;
  color: #fff;
  background: var(--ppc-accent);
  box-shadow: 0 0.75rem 2rem rgba(1, 97, 77, 0.22);
}

.ppc-eyebrow {
  margin: 0;
  color: var(--ppc-accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ppc-title {
  max-width: 22ch;
  margin: 0.45rem 0 0;
  color: var(--ppc-ink);
  font-family: var(--font-recia, "Recia", Georgia, serif);
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.ppc-description {
  max-width: 28rem;
  margin: 0.8rem 0 0;
  color: var(--ppc-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.ppc-description strong {
  color: var(--ppc-ink);
  font-weight: 650;
  white-space: nowrap;
}

.ppc-loader {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0.5rem 0 1.25rem;
  border: 3px solid rgba(1, 97, 77, 0.16);
  border-top-color: var(--ppc-accent);
  border-radius: 999px;
  animation: ppc-spin 720ms linear infinite;
}

.ppc-notice,
.ppc-error {
  width: 100%;
  margin-top: 1.1rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
}

.ppc-notice {
  border-color: #b8d8d0;
  color: var(--ppc-accent-strong);
  background: var(--ppc-accent-faint);
}

.ppc-error {
  border-color: #f1b8b7;
  color: #8f1d18;
  background: #fff5f5;
}

.ppc-form {
  width: 100%;
  margin-top: 1.35rem;
}

.ppc-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ppc-ink);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.3;
  text-align: left;
}

.ppc-code-control {
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: 0.75rem;
}

.ppc-code-input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0.01;
  color: transparent;
  background: transparent;
  caret-color: transparent;
  font-size: 1rem;
  -webkit-text-fill-color: transparent;
}

.ppc-code-input:focus {
  outline: none;
}

.ppc-code-cells {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  gap: clamp(0.35rem, 2vw, 0.625rem);
}

.ppc-code-cell {
  display: flex;
  min-width: 0;
  aspect-ratio: 1 / 1.04;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ppc-line);
  border-radius: 0.75rem;
  color: var(--ppc-ink);
  background: #fff;
  font-size: clamp(1.35rem, 6vw, 1.75rem);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  line-height: 1;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ppc-code-control:focus-within .ppc-code-cell[data-active="true"] {
  border-color: var(--ppc-accent);
  background: var(--ppc-accent-faint);
  box-shadow: 0 0 0 4px var(--ppc-focus);
  transform: translateY(-1px);
}

.ppc-code-cell[data-filled="true"] {
  border-color: #79ad9f;
  background: var(--ppc-accent-faint);
}

.ppc-code-control[data-complete="true"] .ppc-code-cell {
  border-color: var(--ppc-accent);
}

.ppc-code-control[data-error="true"] .ppc-code-cell {
  border-color: #cf5a57;
  background: #fffafa;
}

.ppc-code-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1rem;
  margin-top: 0.65rem;
  color: var(--ppc-muted);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: left;
}

.ppc-code-meta p {
  margin: 0;
}

.ppc-code-meta p:first-child {
  grid-row: 1 / span 2;
}

.ppc-code-meta p:not(:first-child) {
  color: var(--ppc-accent-strong);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.ppc-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.6875rem 1.125rem;
  color: var(--ppc-ink);
  background: transparent;
  cursor: pointer;
  font: 650 0.9375rem/1.25 var(--font-general, "General Sans", system-ui, sans-serif);
  text-align: center;
  touch-action: manipulation;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.ppc-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.ppc-button:active:not(:disabled) {
  transform: translateY(0);
}

.ppc-button:disabled,
.ppc-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

.ppc-button--primary {
  width: 100%;
  margin-top: 1.1rem;
  color: #fff;
  background: var(--ppc-accent);
  box-shadow: 0 0.7rem 1.8rem rgba(1, 97, 77, 0.2);
}

.ppc-button--primary:hover:not(:disabled) {
  background: var(--ppc-accent-strong);
}

.ppc-button--quiet {
  min-height: 2.5rem;
  padding: 0.55rem 0.8rem;
  color: var(--ppc-muted);
}

.ppc-button--quiet:hover:not(:disabled) {
  color: var(--ppc-ink);
  background: rgba(34, 30, 30, 0.05);
}

.ppc-actions {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.65rem;
}

.ppc-resend-status {
  min-height: 1.1rem;
  margin: 0.25rem 0 0;
  color: var(--ppc-muted);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.ppc-button-progress {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ppc-button-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 999px;
  animation: ppc-spin 700ms linear infinite;
}

.ppc-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes ppc-spin {
  to { transform: rotate(360deg); }
}

@keyframes ppc-dialog-enter {
  from { opacity: 0; transform: translateY(0.5rem) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ppc-backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 30rem) {
  .ppc-dialog {
    width: min(calc(100% - 1rem), 32rem);
    max-height: calc(100dvh - 1rem);
  }

  .ppc-card {
    max-height: calc(100dvh - 1rem);
    padding: 1.4rem 1rem 1.25rem;
    border-radius: 1.15rem;
  }

  .ppc-close {
    top: 0.5rem;
    right: 0.5rem;
  }

  .ppc-icon,
  .ppc-success-icon {
    width: 3.75rem;
    height: 3.75rem;
    margin-bottom: 0.75rem;
  }

  .ppc-code-cell {
    border-radius: 0.6rem;
  }

  .ppc-code-meta {
    display: block;
    text-align: center;
  }

  .ppc-code-meta p:not(:first-child) {
    margin-top: 0.2rem;
    text-align: center;
  }

  .ppc-actions {
    flex-direction: column;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ppc-dialog[open],
  .ppc-dialog::backdrop {
    animation: none;
  }

  .ppc-close,
  .ppc-button,
  .ppc-code-cell {
    transition: none;
  }

  .ppc-button:hover:not(:disabled),
  .ppc-code-control:focus-within .ppc-code-cell[data-active="true"] {
    transform: none;
  }
}

@media (forced-colors: active) {
  .ppc-card,
  .ppc-code-cell,
  .ppc-notice,
  .ppc-error,
  .ppc-button {
    border: 1px solid CanvasText;
  }

  .ppc-code-control:focus-within .ppc-code-cell[data-active="true"],
  .ppc-button:focus-visible,
  .ppc-close:focus-visible {
    outline: 3px solid Highlight;
  }
}
