/* Same-origin POST confirmation uses the browser top layer, above page chrome. */
.ni-post-confirmation {
  box-sizing: border-box;
  width: min(28rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 1.5rem;
  overflow: auto;
  border: 1px solid var(--ni-color-border, #e6ddd2);
  border-radius: 1.25rem;
  background: var(--ni-color-surface, #fffdf9);
  color: var(--ni-color-text, #4a403b);
  box-shadow: 0 1rem 4rem rgb(48 39 35 / 18%);
}
.ni-post-confirmation::backdrop { background: rgb(35 29 26 / 36%); }
.ni-post-confirmation h2 { margin: 0 0 .75rem; font-size: 1.2rem; }
.ni-post-confirmation p { margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
.ni-post-confirmation__actions { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 1.5rem; }
.ni-post-confirmation__actions button {
  min-width: 5.5rem;
  min-height: 2.75rem;
  padding: .65rem 1rem;
  border: 1px solid #dfd4c8;
  border-radius: 999px;
  background: #fffdf9;
  color: #695c52;
  font: inherit;
  cursor: pointer;
}
.ni-post-confirmation__actions .ni-post-confirmation__confirm { background: #b7868a; color: #fff; border-color: #b7868a; }
.ni-post-confirmation__actions button:focus-visible { outline: 2px solid #8d6266; outline-offset: 3px; }
.ni-post-confirmation-unavailable { margin: 1rem; padding: 1rem; color: #9b3d36; }
