#modal.export-document-open{width:min(1580px,calc(100vw - 32px));max-width:none;height:min(960px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden}#modal.export-document-open>.dialog-body{height:100%;width:100%;max-width:none;padding:0;overflow:hidden}.export-document{height:100%;display:flex;flex-direction:column;min-height:0}.export-document-head{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid #dce3d5;gap:12px}.export-document-head h2{margin:0;font-size:21px}.export-document-head p{margin:4px 0 0}.export-document-head>button{align-self:flex-start}.export-document-grid{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:0;flex:1}.export-document-controls{overflow:auto;padding:20px;border-right:1px solid #dce3d5;display:flex;flex-direction:column;gap:18px}.export-document-controls label{display:block}.export-document-controls select{width:100%;margin-top:6px}.export-document-controls fieldset{margin:0;padding:12px;border:1px solid #d6dfce;border-radius:10px;min-width:0}.export-document-controls legend{font-weight:700;padding:0 5px}.export-document-controls .check{display:flex;gap:8px;align-items:center;margin:9px 0}.export-model-check{flex-wrap:wrap}.export-model-check small{display:block;width:100%;padding-left:24px;color:#6b775e}.export-document-controls .export-view-list{margin:6px 0 12px;display:block}.export-document-controls button{white-space:normal}.export-document-preview{min-width:0;min-height:0;display:flex;flex-direction:column;background:#e9ede4}.export-document-toolbar{position:relative;background:#f8faf5;border-bottom:1px solid #d6dfce;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;flex-wrap:wrap}.export-document-toolbar .row{gap:6px;margin:0}.export-document-status{margin:0;padding:8px 20px;font-size:12px;color:#5a6c50;background:#f8faf5}.export-document-pages{overflow:auto;overscroll-behavior:contain;padding:12px 28px 36px;min-height:0;flex:1}.export-page-card{width:calc(600px * var(--export-zoom,1));max-width:calc(100% * var(--export-zoom,1));margin:0 auto 26px;scroll-margin-top:12px}.export-page-card.landscape{width:calc(840px * var(--export-zoom,1))}.export-page-card h3{font-size:12px;font-weight:600;margin:0 0 8px;color:#59694d}.export-page-paper{background:white;box-shadow:0 3px 14px #28381b20;aspect-ratio:595/842;overflow:hidden}.export-page-paper>span{display:block;text-align:center;padding:30px}.export-page-paper canvas{display:block;width:100%;height:auto}.export-document-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 24px;border-top:1px solid #dce3d5;background:#fff}.export-document-footer>span{font-size:12px;color:#657458}.export-document-footer .row{margin:0}.export-mobile-tabs{display:none}[data-export-contents]{position:absolute;z-index:4;top:calc(100% - 4px);right:12px;background:white;border:1px solid #d6dfce;box-shadow:0 8px 28px #0002;border-radius:8px;max-height:40vh;overflow:auto;padding:8px;min-width:240px}[data-export-contents] button{display:block;width:100%;text-align:left;margin:3px 0}.export-render-host{position:fixed;left:-10000px;top:0;width:1200px;height:750px;pointer-events:none;overflow:hidden}.export-render-host .model3d-dimension{font-size:22px}.export-camera-dialog{width:min(1220px,calc(100vw - 32px));max-width:none;padding:20px;max-height:calc(100dvh - 32px);overflow:auto}.export-camera-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.export-camera-head h2{margin:0}.export-camera-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.export-camera-host{height:min(58vh,600px);min-height:230px;position:relative;overflow:hidden;background:white}.export-camera-dialog .dialog-actions{position:sticky;bottom:0;background:white;padding:12px 0 0}.export-document [hidden],.export-camera-dialog [hidden]{display:none!important}@media(max-width:1000px){.export-document-grid{grid-template-columns:270px minmax(0,1fr)}.export-document-controls{padding:14px}.export-document-toolbar{padding:10px}.export-document-pages{padding:12px}.export-document-head{padding:14px 18px}.export-document-footer{padding:12px 18px}}@media(max-width:700px){#modal.export-document-open{width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.export-document-head h2{font-size:18px}.export-document-head{padding:12px}.export-mobile-tabs{display:flex;gap:8px;padding:8px 12px;border-bottom:1px solid #d6dfce}.export-mobile-tabs button{flex:1}.export-document-grid{display:flex;flex-direction:column}.export-document-controls{flex:1;border:0}.export-document-preview{flex:1}.export-document[data-tab=settings] .export-document-preview,.export-document[data-tab=pages] .export-document-controls{display:none}.export-document-footer{padding:10px 12px}.export-document-footer>span{display:none}.export-document-footer>.row{justify-content:flex-end;width:100%}.export-document-toolbar{font-size:12px}.export-document-pages{padding:10px 12px}.export-camera-dialog{width:100vw;max-height:100dvh;margin:0;padding:12px}.export-camera-host{height:53dvh}.export-camera-head h2{font-size:18px}}
/* The camera uses the same 8:5 frame as the exported image. */
.export-camera-host{width:min(100%,calc(58dvh * 1.6));height:auto;min-height:0;aspect-ratio:8/5;margin:0 auto}.export-camera-dialog .dialog-actions{display:flex;gap:9px;justify-content:flex-end}@media(max-width:700px){.export-camera-host{width:100%;height:auto;min-height:0;aspect-ratio:8/5}}
