.pg-mobile-editor-views{display:none}
@media screen and (max-width:900px){
 html:has(body.pg-editor-page),html:has(body.pg-cover-page){height:100%;overflow:hidden!important}
 body.pg-editor-page,body.pg-cover-page{position:fixed;left:0;right:0;top:var(--pg-visible-top,0px);height:var(--pg-visible-height,100dvh)!important;min-height:0!important;max-width:100vw;overflow:hidden!important;display:flex;flex-direction:column}
 .pg-editor-page .editor-page{display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;max-width:100%;overflow:hidden!important}
 .editor-toolbar,.pg-cover-page>.topbar{position:relative!important;flex:none!important;min-height:54px!important;max-width:100%;width:100%;padding:7px 9px!important;gap:5px!important;z-index:30}
 .editor-toolbar .toolbar-right{min-width:0;gap:4px!important}.editor-toolbar .toolbar-logo{font-size:14px!important;min-width:0}.toolbar-logo img{max-width:100px!important;height:auto!important;max-height:28px!important}.editor-toolbar .toolbar-divider{display:none}.editor-toolbar button{min-height:34px}.editor-toolbar .toolbar-right>button{padding:6px!important}
 .pg-mobile-editor-views{display:flex;flex:none;gap:5px;padding:7px 10px;background:var(--ui-panel,var(--panel,#fff));border-bottom:1px solid var(--ui-line,var(--line,#dbe2ed))}
 .pg-mobile-editor-views button{flex:1;min-width:0;padding:9px 5px;min-height:38px;border:1px solid var(--ui-line,var(--line,#dbe2ed));border-radius:10px;background:transparent;color:var(--ui-text,var(--text,#172033));font:600 13px Outfit,sans-serif}
 .pg-mobile-editor-views button[aria-selected=true]{background:#6354e8;color:#fff;border-color:#6354e8}
 .pg-editor-page .editor-body{display:block!important;flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;padding:0!important;width:100%!important;max-width:100%!important}
 .editor-body>.editor-nav{display:none!important}.editor-body>.editor-sidebar,.editor-body>.template-browser,.editor-body>.editor-preview-area{display:none!important;min-width:0!important;width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain;padding:12px!important;margin:0!important;border-radius:0!important}
 body[data-editor-view=details] .editor-sidebar,body[data-editor-view=templates] .template-browser,body[data-editor-view=preview] .editor-preview-area{display:block!important}
 .pg-editor-page input,.pg-editor-page textarea,.pg-editor-page select,.pg-cover-page input,.pg-cover-page textarea,.pg-cover-page select{font-size:16px!important;max-width:100%!important;min-width:0;box-sizing:border-box}
 .editor-sidebar .grid{min-width:0}.editor-sidebar .form-group,.editor-sidebar label{min-width:0;max-width:100%}.editor-sidebar textarea,.pg-cover-page textarea{resize:vertical;max-height:300px}
 .pg-editor-page #previewContainer{max-width:100%!important}.template-browser .template-dropdown{position:static!important;max-width:100%!important;width:100%!important;max-height:none!important;overflow:visible!important}.template-browser #templateDropdownGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .pg-cover-page>.layout{display:block!important;flex:1 1 0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;overflow:hidden!important}.pg-cover-page .form-panel,.pg-cover-page .preview-panel{display:none!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:auto!important;overscroll-behavior:contain;margin:0;border-radius:0}
 .pg-cover-page[data-editor-view=details] .form-panel,.pg-cover-page[data-editor-view=preview] .preview-panel{display:block!important}.pg-cover-page .form{display:grid;grid-template-columns:minmax(0,1fr)!important;padding:12px!important}.pg-cover-page .preview-wrap{min-height:0!important;padding:10px!important;overflow:auto!important}.pg-cover-page .letter{width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:32px 22px!important}
 .pg-cover-page>.topbar .toolbar-tools{display:none!important}.pg-cover-page>.topbar .brand-sub{display:none}.pg-cover-page>.topbar .brand-logo{max-width:100px!important;max-height:28px!important;width:auto!important}.pg-cover-page .actions{min-width:0;flex-wrap:nowrap!important;gap:4px!important}.pg-cover-page>.topbar .actions button{padding:6px!important}
 .pg25-mobile-items{max-height:calc(var(--pg-visible-height,100dvh) - 80px)!important;overflow:auto!important;max-width:calc(100vw - 20px)!important}
}
@media print{.pg-mobile-editor-views{display:none!important}}

@media screen and (max-width:900px){.pg-editor-tabs{display:none!important}body.pg-editor-page #editorSidebar input,body.pg-editor-page #editorSidebar textarea,body.pg-editor-page #editorSidebar select,body.pg-cover-page .form-panel input,body.pg-cover-page .form-panel textarea,body.pg-cover-page .form-panel select{font-size:16px!important}body.pg-editor-page[data-editor-view=preview] #previewArea{display:block!important}body.pg-editor-page[data-editor-view=details] #editorSidebar{display:block!important}body.pg-editor-page[data-editor-view=templates] #pg-template-panel{display:block!important}}

@media screen and (max-width:900px){body.pg-editor-page[data-editor-view=templates] .template-browser{display:block!important}.pg-editor-page .template-browser-content{height:auto!important;min-height:0!important;overflow:visible!important;flex:none!important}}
@media print{#pgPrintDocument table,#pgPrintDocument tbody,#pgPrintDocument tr,#pgPrintDocument td{break-inside:auto!important;page-break-inside:auto!important}#pgPrintDocument table{break-before:auto!important;page-break-before:auto!important}}
@media print{html:has(body.pg-editor-page),body.pg-editor-page{width:210mm!important;max-width:none!important}body.pg-editor-page>#pgPrintDocument{width:210mm!important;max-width:none!important}}
