.rise-document-viewer { box-sizing:border-box; width:min(94vw,76rem); max-width:94vw; height:90vh; max-height:90vh; padding:1.25rem; margin:auto; border:1px solid #d7cdbb; border-radius:.75rem; background:#fcfaf5; color:#293e48; font:400 1rem/1.5 Montserrat,Arial,sans-serif; }
.rise-document-viewer[open] { display:flex; flex-direction:column; gap:1rem; }
.rise-document-viewer::backdrop { background:rgba(10,35,45,.72); }
.rise-document-viewer__head { display:flex; align-items:flex-start; gap:1rem; justify-content:space-between; }
.rise-document-viewer .rise-document-viewer__head h2 { margin:0; font:600 1.1rem/1.4 Montserrat,Arial,sans-serif; color:#006eae; overflow-wrap:anywhere; }
.rise-document-viewer__head button { flex-shrink:0; padding:.6rem .9rem; min-height:44px; border:1px solid #006eae; border-radius:.4rem; background:#006eae; color:#fff; font:600 .9rem/1.4 Montserrat,Arial,sans-serif; cursor:pointer; }
.rise-document-viewer__preview { flex:1; min-height:0; width:100%; background:#fff; }
.rise-document-viewer__preview iframe { width:100%; height:100%; border:0; }
.rise-document-viewer .rise-document-viewer__note { margin:0; font-size:.8rem; }
.rise-document-viewer__note a { color:#005d83; text-decoration:underline; }
.rise-document-viewer :is(button,a):focus-visible { outline:3px solid #9f8420; outline-offset:3px; }
@media(max-width:600px) { .rise-document-viewer { width:100%; max-width:100%; height:100dvh; max-height:100dvh; padding:.75rem; border-radius:0; } .rise-document-viewer .rise-document-viewer__head h2 { font-size:.95rem; } }
