@font-face {
  font-family: Onest;
  src: url('/brand/id-receipts/onest.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* Customer notices use the same centered signature and surface as the public ID forms. */
.customer {
  --customer-accent: #53388e;
  --customer-hover: #3f286e;
  --customer-focus: #a99acc;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: safe center;
  padding: clamp(24px, 5vh, 52px) 16px;
  box-sizing: border-box;
  background: #f8f8f2;
  color: #18243d;
  font:
    1rem/1.5 Onest,
    system-ui,
    sans-serif;
}
.customer *,
.customer *::before,
.customer *::after {
  box-sizing: border-box;
}
.customer-screen {
  width: min(100%, 508px);
  min-width: 0;
  margin: auto;
}
.customer-brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 28px);
  text-align: center;
}
.customer-brand a {
  display: grid;
  align-items: center;
  min-height: 44px;
  width: min(100%, clamp(200px, 28vw, 280px));
  border-radius: 8px;
}
.customer-brand img,
.customer-brand svg {
  width: 100%;
  height: auto;
  display: block;
}
.customer-brand p,
.customer-panel p {
  margin: 0;
  color: #566072;
}
.customer-brand p {
  font-size: clamp(16px, 2vw, 20px);
}
.customer-panel {
  min-width: 0;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid #d6d8d5;
  border-radius: 22px;
  background: #fff;
  overflow-wrap: anywhere;
}
.customer-panel > * + * {
  margin-block-start: 1rem;
}
.customer-panel h1 {
  margin: 0;
  color: #18243d;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.customer-panel h1 + p,
.customer-panel noscript p {
  margin-top: 0.75rem;
}
.customer-action,
.customer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}
.customer-action {
  color: white;
  background: var(--customer-accent);
  text-decoration: none;
}
.customer-link {
  color: var(--customer-accent);
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
/* Inherited required actions keep their native field and button behavior on the public form palette. */
.customer-panel :is(input, button, select, textarea) {
  font-family: inherit;
}
.customer-panel .pf-v5-c-button.pf-m-primary {
  --pf-v5-c-button--m-primary--BackgroundColor: var(--customer-accent);
  --pf-v5-c-button--m-primary--hover--BackgroundColor: var(--customer-hover);
}
.customer-tasks {
  padding-inline-start: 1.25rem;
}
.customer-email {
  display: grid;
  gap: 0.65rem;
}
.customer-email label {
  font-weight: 600;
}
.customer-email input {
  min-height: 46px;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #929baa;
  border-radius: 8px;
  color: inherit;
  font: inherit;
}
.customer-email .customer-action {
  border: 0;
  margin-top: 0.5rem;
}
.customer .customer-feedback {
  padding: 0.7rem 1rem;
  border-radius: 10px;
  color: #18243d;
  background: #f4eee5;
}
.customer :focus-visible {
  outline: 3px solid var(--customer-focus);
  outline-offset: 3px;
}
.customer-brand a:focus-visible {
  outline-color: var(--customer-accent);
}
.customer-retry {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  justify-self: start;
  color: var(--customer-accent);
  font-weight: 600;
  text-underline-offset: 0.2em;
}
[data-stage-loading] > * + * {
  margin: 0;
}
@media (hover: hover) {
  .customer-action:hover {
    color: white;
    background: var(--customer-hover);
  }
  .customer-link:hover {
    background: #eee8fa;
  }
}

/* The redirect document has no interactive step. Reveal its recovery link if navigation stalls. */
@media (scripting: enabled) {
  [data-credential-navigating] [data-credential-bridge] main {
    animation: reveal-credential-recovery 4s step-end both;
  }
  @keyframes reveal-credential-recovery {
    from {
      visibility: hidden;
    }
    to {
      visibility: visible;
    }
  }
}

/* Reserve the product row in the normal document flow, including long provider forms. */
.customer:has(.pleyso-product-footer) {
  grid-template-rows: 1fr auto;
  padding-bottom: 0;
}
.customer-panel > :is(h1, p) {
  text-align: center;
  text-wrap: balance;
}
@media (scripting: enabled) {
  [data-credential-navigating] [data-credential-bridge] .pleyso-product-footer {
    animation: reveal-credential-recovery 4s step-end both;
  }
}
.customer-feedback-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.16em;
}
.customer .customer-feedback {
  text-align: center;
  text-wrap: balance;
}
