.doc-editor{width:min(1180px,calc(100vw - 24px))!important;background:#f3f3f5!important}.doc-editor>header,.doc-editor>input,.toolbar,.doc-editor>footer{background:#fff}.toolbar{align-items:center;overflow-x:auto;scrollbar-width:thin;flex:0 0 auto}.toolbar select{height:34px;border:0;border-radius:8px;background:#f2f2f7;padding:0 9px}.tool-separator{flex:0 0 1px;height:24px;background:#d2d2d7;margin:0 2px}.page-stage{flex:1;overflow:auto;padding:30px;background:#ececef}.doc-editor .page-stage article{width:min(794px,100%);min-height:1123px;margin:0 auto;padding:72px 82px!important;background:#fff;box-shadow:0 3px 18px rgba(0,0,0,.12);overflow:visible!important;font-family:Arial,sans-serif;font-size:16px;line-height:1.5}.doc-stats{margin-left:auto;color:#8e8e93;font-size:12px}.doc-editor>footer select{margin-right:0!important}
@media(max-width:760px){.doc-editor>input{background:#fff}.toolbar{padding:7px 10px!important}.toolbar select{max-width:105px}.page-stage{padding:0;background:#fff}.doc-editor .page-stage article{min-height:100%;padding:24px 22px!important;box-shadow:none}.doc-stats{order:3;width:100%;margin:0;text-align:center}.doc-editor>footer{flex-wrap:wrap}}
@media print{body>*:not(dialog){display:none!important}dialog#editor{position:static!important;display:block!important;width:auto!important;height:auto!important;background:#fff!important}.doc-editor{width:auto!important;height:auto!important;box-shadow:none!important}.doc-editor>header,.doc-editor>input,.toolbar,.doc-editor>footer{display:none!important}.page-stage{padding:0!important;overflow:visible!important;background:#fff!important}.doc-editor .page-stage article{box-shadow:none!important;width:auto!important;min-height:auto!important;margin:0!important;padding:18mm!important}}
