.mly-document-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#edf1ee;color:#163d2e;font-family:Poppins,system-ui,sans-serif;z-index:2147483000;overscroll-behavior:none}
.mly-document-viewer::backdrop{background:#102c20a6}.mly-document-shell{height:100%;display:flex;flex-direction:column;min-height:0}.mly-document-top{display:flex;align-items:center;gap:16px;flex-shrink:0;padding:calc(12px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 12px max(20px,env(safe-area-inset-left));background:#fff;border-bottom:1px solid #dce4de}.mly-document-top>div{flex:1;min-width:0}.mly-document-top span{font-size:10px;letter-spacing:.15em;color:#718477}.mly-document-top h2{font-size:16px;line-height:1.4;margin:3px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mly-document-viewer button,.mly-document-actions a{font:500 13px Poppins,system-ui,sans-serif;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border-radius:12px;border:1px solid #d6e0d8;background:#fff;color:#163d2e;text-decoration:none;cursor:pointer;flex-shrink:0}.mly-document-viewer button:focus-visible,.mly-document-actions a:focus-visible{outline:3px solid #5ea67a;outline-offset:3px}.mly-document-viewer button:disabled{opacity:.45;cursor:default}.mly-document-top .mly-document-back{background:#173e2d;color:#fff;border-color:#173e2d}.mly-document-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:0;padding:10px max(20px,env(safe-area-inset-right)) 10px max(20px,env(safe-area-inset-left));background:#f8faf8;border-bottom:1px solid #dce4de}.mly-document-actions:empty{display:none}.mly-document-pages{display:flex;align-items:center;gap:8px;margin-left:auto}.mly-document-pages span{font-size:12px;min-width:60px;text-align:center}.mly-document-scroll{flex:1;min-height:0;overflow:auto;padding:22px max(20px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.mly-document-paper{width:100%;max-width:1050px;margin:0 auto}.mly-document-paper canvas{display:block;margin:0 auto;background:white;box-shadow:0 8px 32px #183e2e18}.mly-document-image{display:block;max-width:100%;height:auto;margin:auto;background:white}.mly-document-messages{max-width:1050px;margin:0 auto}.mly-document-messages [role=alert]{padding:16px;border:1px solid #d8c5a2;border-radius:12px;background:#fffaf0;color:#66512f}.mly-document-hint{max-width:1050px;margin:18px auto 0;font-size:12px;line-height:1.7;color:#617167}.mly-document-text{white-space:pre-wrap;overflow-wrap:anywhere;max-width:1050px;margin:0 auto;background:white;padding:20px;color:#294938;font:12px/1.7 ui-monospace,monospace;border-radius:12px}
@media(max-width:600px){.mly-document-top{gap:8px;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.mly-document-top h2{font-size:13px}.mly-document-top span{font-size:9px}.mly-document-viewer button,.mly-document-actions a{font-size:12px;padding:9px 11px}.mly-document-actions{gap:7px;padding:8px 12px}.mly-document-pages{width:100%;margin-left:0;justify-content:center}.mly-document-scroll{padding:12px 10px calc(24px + env(safe-area-inset-bottom))}.mly-document-top>button{min-width:68px}.mly-document-hint{padding:0 4px}}
