/* Auth polish using unslop by Damir Sokolovsky (@heydamir), CC BY 4.0. */
.policy-copy {
  white-space: pre-line;
}
.withdrawal-panel {
  margin: 24px 0 40px;
}
.withdrawal-panel [hidden] {
  display: none;
}
.withdrawal-panel input,
.withdrawal-panel select {
  font-size: 16px;
  min-height: 48px;
  width: 100%;
}
.withdrawal-panel strong,
.withdrawal-panel .small-note {
  overflow-wrap: anywhere;
}
.withdrawal-panel button {
  min-height: 44px;
}
.withdrawal-panel .button-row {
  margin-top: 24px;
}
.withdrawal-confirm,
.withdrawal-receipt {
  margin-top: 24px;
}
.auth-layout.auth-screen {
  width: min(1040px, calc(100% - 64px));
  margin: 64px auto 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 80px;
  align-items: center;
}
.auth-screen .auth-form {
  grid-column: 2;
  grid-row: 1;
  padding: 32px;
  gap: 24px;
  min-width: 0;
  border-radius: 16px;
}
.auth-screen .auth-tabs {
  gap: 24px;
  padding: 0;
}
.auth-screen .auth-tabs a {
  padding: 0 0 16px;
  margin-bottom: -1px;
  min-height: 40px;
  font-size: 15px;
}
.auth-screen .auth-tabs a[aria-current] {
  border-bottom: 2px solid var(--blue);
  font-weight: 500;
}
.auth-steps {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--muted);
}
.auth-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-steps span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-variant-numeric: tabular-nums;
}
.auth-steps [aria-current] {
  color: var(--ink);
}
.auth-steps [aria-current] span {
  background: var(--blue-wash);
  border-color: var(--blue);
  color: var(--blue);
}
.auth-heading h1 {
  font: 500 32px/1.2 var(--font, "IBM Plex Sans", sans-serif);
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.auth-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.auth-screen .form-stack {
  display: grid;
  gap: 20px;
  margin: 24px 0 0;
}
.auth-screen #verify-form {
  padding: 0;
  border: 0;
}
.auth-screen label {
  font-size: 15px;
}
.auth-screen input:not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  font-size: 16px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.auth-screen input[aria-invalid="true"] {
  border-color: var(--red);
}
.auth-screen .checkbox-row {
  display: flex;
  align-items: start;
  gap: 12px;
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
  font-weight: 400;
}
.auth-screen input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.auth-screen .button {
  min-height: 48px;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.auth-screen .auth-error {
  margin: 0;
  padding: 12px;
  border-inline-start: 3px solid var(--red);
  background: var(--red-wash);
  color: var(--red);
  font-size: 14px;
  line-height: 1.6;
}
.auth-screen [hidden] {
  display: none;
}
.auth-note {
  display: flex;
  align-items: start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 16px 0 0;
}
.auth-note .ui-icon {
  margin-top: 2px;
  flex-shrink: 0;
}
.auth-recipient {
  margin-top: 20px;
  padding: 16px;
  background: var(--soft);
  border-radius: 8px;
}
.auth-recipient strong {
  display: block;
  font-size: 15px;
  overflow-wrap: anywhere;
  font-weight: 500;
}
.auth-screen button:not(.button) {
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: var(--blue);
  padding: 8px 0;
  min-height: 40px;
  text-align: start;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.auth-screen button:not(.button):hover {
  text-decoration: underline;
}
.auth-screen button:disabled {
  cursor: default;
}
.auth-screen button:not(.button):disabled {
  color: var(--muted);
  text-decoration: none;
}
.auth-screen #otp {
  font-size: 28px;
  letter-spacing: 6px;
  font-variant-numeric: tabular-nums;
}
.auth-screen #otp::placeholder {
  letter-spacing: 4px;
  opacity: 0.55;
}
.auth-field-help {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.6;
}
.auth-resend {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.auth-resend p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.auth-resend #auth-status:empty {
  display: none;
}
.auth-unavailable {
  padding: 16px;
  background: var(--soft);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.auth-unavailable strong {
  font-weight: 500;
}
.auth-unavailable p {
  margin: 4px 0 8px;
  color: var(--ink);
}
.auth-unavailable a,
.auth-public a {
  color: var(--blue);
}
.auth-local {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.auth-local p {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 4px;
}
.auth-local > div {
  display: grid;
}
.auth-story {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.auth-kicker {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 16px;
}
.auth-story h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}
.auth-story > p:not(.auth-kicker) {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.auth-scene {
  margin: 32px 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}
.auth-scene-image {
  background: #d2ddc8;
  display: grid;
  place-items: center;
}
.auth-scene img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: contain;
}
.auth-scene figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}
.auth-scene figcaption > span {
  font-size: 13px;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  align-self: start;
  padding-top: 2px;
}
.auth-scene strong {
  font-size: 14px;
  font-weight: 500;
}
.auth-scene figcaption p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0 0;
}
.auth-scene .ui-icon {
  margin-inline-start: auto;
  flex-shrink: 0;
  color: var(--muted);
}
.auth-story > .auth-public {
  font-size: 14px;
}
.auth-public a {
  display: inline-block;
}
@media (max-width: 1000px) {
  .auth-layout.auth-screen {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  }
  .auth-story h2 {
    font-size: 32px;
  }
}
@media (max-width: 760px) {
  .auth-layout.auth-screen {
    width: min(480px, calc(100% - 32px));
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin: 24px auto 48px;
  }
  .auth-screen .auth-form {
    grid-column: 1;
    grid-row: 1;
    padding: 24px;
  }
  .auth-heading h1 {
    font-size: 28px;
  }
  .auth-story {
    grid-column: 1;
    grid-row: 2;
    padding: 0 8px;
  }
  .auth-story h2 {
    font-size: 24px;
  }
  .auth-scene {
    display: none;
  }
  .auth-story .auth-kicker {
    margin-bottom: 12px;
  }
  .auth-story > .auth-public {
    margin-top: 16px;
  }
}
@media (max-width: 360px) {
  .auth-screen .auth-form {
    padding: 20px;
  }
  .auth-steps {
    gap: 16px;
  }
}
/* Owner sign-in while public accounts are closed (/login?beheer=1). */
.auth-unavailable .auth-owner-link {
  display: flex;
  width: fit-content;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.auth-owner-note {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--blue-wash);
  color: var(--ink);
}
.auth-owner-note strong {
  display: block;
  margin-bottom: 4px;
}
.auth-owner-note p {
  margin: 0;
  font-size: 14px;
}
