/* A document's PDF shown in the page: a same-origin frame of the document's own stream route
   (SecurityHeaders lets only those routes be framed, and only by this origin). */
.document-viewer {
    display: block;
    width: 100%;
    height: 75vh;
    min-height: 420px;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-sm);
    background: var(--color-surface-sunk);
}

/* The e-mail signing page sits in the narrow auth column; reading a contract there needs room. */
.auth-shell__form-wrapper:has(.document-viewer) {
    max-width: min(880px, 100%);
}
