.p55d {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 24px;
  background: rgba(var(--p55-ink-rgb,13,27,34),0.42);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.16s ease;
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.p55d--open {
  opacity: 1;
}

.p55d__box {
  box-sizing: border-box;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  margin: 0;
  padding: 28px 28px 24px;
  border: 1px solid #e6e2d9;
  border-radius: 24px;
  background: #fff;
  color: var(--p55-ink,#0d1b22);
  text-align: left;
  box-shadow: 0 1px 2px rgba(var(--p55-ink-rgb,13,27,34),.051), 0 24px 48px -20px rgba(var(--p55-ink-rgb,13,27,34),.333);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.p55d--open .p55d__box {
  transform: none;
}

.p55d__title {
  margin: 0 0 10px;
  padding: 0;
  color: var(--p55-ink,#0d1b22);
  font: 700 18px/1.35 Unbounded, Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.p55d__text {
  margin: 0;
  padding: 0;
  color: var(--p55-ink-251,#33454d);
  font: 500 15px/1.55 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.p55d__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.p55d__btn {
  box-sizing: border-box;
  min-height: 44px;
  margin: 0;
  padding: 0 20px;
  border-radius: 999px;
  font: 700 14px/1.2 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.p55d__btn--ghost {
  border: 1.5px solid #e6e2d9;
  background: #fff;
  color: var(--p55-ink,#0d1b22);
  box-shadow: none;
}

.p55d__btn--ghost:hover {
  border-color: var(--p55-ink,#0d1b22);
}

.p55d__btn--main {
  border: 0;
  background: var(--p55-ink,#0d1b22);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(var(--p55-ink-rgb,13,27,34),.667);
}

.p55d__btn--main:hover {
  background: var(--p55-ink-167,#1d2f38);
}

.p55d__btn--danger {
  background: var(--p55-accent,#e6007e);
  box-shadow: 0 10px 24px -10px rgba(var(--p55-accent-rgb,230,0,126),.667);
}

.p55d__btn--danger:hover {
  background: var(--p55-accent-39,#c8006e);
}

.p55d__btn:focus {
  outline: none;
}

.p55d__btn:focus-visible {
  outline: 3px solid #00b4d8;
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .p55d {
    align-items: flex-end;
    padding: 0;
  }

  .p55d__box {
    max-width: none;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-width: 1px 0 0;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transition-duration: 0.24s;
  }

  .p55d__actions {
    flex-direction: column-reverse;
    gap: 8px;
  }

  .p55d__btn {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p55d,
  .p55d__box {
    transition: none;
  }

  .p55d__box {
    transform: none;
  }
}

#c3dux[tabindex="-1"]:focus {
  outline: none;
}
