/* Only applied inside ?embedded=1 same-origin iframe. No changes to standalone/mobile guest page. */
html.ep-guest-embedded,html.ep-guest-embedded body{margin:0!important;min-height:100%!important;background:#fff!important;overflow-x:hidden!important}
html.ep-guest-embedded body::before,html.ep-guest-embedded body::after,html.ep-guest-embedded .side-decor,html.ep-guest-embedded .guest-topbar,html.ep-guest-embedded .ep-guest-paper-scene{display:none!important}
html.ep-guest-embedded .guest-page{max-width:100%!important;width:100%!important;min-height:0!important;padding:50px 34px 34px!important;margin:0!important;box-sizing:border-box!important}
html.ep-guest-embedded .guest-upload-section{max-width:640px!important;width:100%!important;margin:0 auto!important}
html.ep-guest-embedded .guest-upload-section>h1{font-size:clamp(28px,4vw,36px)!important;line-height:1.14!important;letter-spacing:-1px!important;margin-top:10px!important}
html.ep-guest-embedded .guest-subtitle{margin:12px auto 20px!important;font-size:13px!important}
html.ep-guest-embedded #filePreviewState,html.ep-guest-embedded #uploadingState{max-width:580px!important;width:100%!important;margin-inline:auto!important}
html.ep-guest-embedded .file-preview-card{border-radius:18px!important;box-shadow:none!important;border:1px solid #e0eef6!important;padding:15px!important}
html.ep-guest-embedded .file-preview-visual{height:310px!important;min-height:310px!important;max-height:310px!important;border-radius:13px!important;overflow:hidden!important}
html.ep-guest-embedded .file-preview-visual canvas,html.ep-guest-embedded .docx-real-preview{max-height:295px!important}
html.ep-guest-embedded #uploadRules{font-size:11px!important;margin-top:14px!important}
html.ep-guest-embedded .upload-file-btn{min-height:45px!important}
@media(max-height:720px){html.ep-guest-embedded .guest-page{padding-top:29px!important}html.ep-guest-embedded .file-preview-visual{height:225px!important;min-height:225px!important;max-height:225px!important}}
