.pdf-local-shell { min-height: 1600px; }
#pdf-local-workspace { display: block; width: 100%; height: 2100px; border: 0; background: var(--bg); }
.pdf-intro { padding-bottom:0; }
.pdf-intro .pdf-hero { margin-bottom:28px; }
.pdf-public-content { max-width:1160px; padding-bottom:28px; }
.pdf-public-content .guide-benefits { margin-top:36px; }
.pdf-public-content .guide-benefit h2 { font-size:17px; line-height:1.4; letter-spacing:-.3px; margin:0 0 10px; }
.pdf-public-content .tool-guide { margin-top:24px; }

/* Shared public upload landing and full workspace. */
.pdf-local-shell[data-pdf-focus] { min-height:0; }
.pdf-local-shell[data-pdf-focus] .pdf-hero { width:100%;max-width:970px;margin-inline:auto;text-align:center; }
.pdf-local-shell[data-pdf-focus] .pdf-hero>p { max-width:700px;margin:0 auto;line-height:1.8; }
.pdf-local-shell[data-pdf-focus] .pdf-eyebrow,.pdf-local-shell[data-pdf-focus] .pdf-trust { justify-content:center;flex-wrap:wrap; }
.pdf-local-shell[data-pdf-focus] .pdf-trust { gap:10px 18px; }
.pdf-local-shell[data-pdf-focus] #pdf-local-workspace { width:min(1100px,calc(100% - clamp(32px,6vw,88px)));margin:0 auto;border-radius:22px; }
html:has(#main-content[data-pdf-focus="editor"]),body:has(#main-content[data-pdf-focus="editor"]) { overflow:hidden!important;height:100%; }
body:has(#main-content[data-pdf-focus="editor"])>*:not(#main-content):not(script):not(style) { display:none!important; }
#main-content[data-pdf-focus="editor"] { position:fixed;inset:0;z-index:1000;height:100dvh;min-height:0;overflow:hidden;padding:0;margin:0;width:100%;max-width:none; }
#main-content[data-pdf-focus="editor"]>.pdf-intro,#main-content[data-pdf-focus="editor"]>.pdf-public-content,#main-content[data-pdf-focus="editor"]>noscript { display:none!important; }
#main-content[data-pdf-focus="editor"] #pdf-local-workspace { width:100%;height:100dvh!important;max-height:100dvh;border-radius:0;margin:0; }
