
body[data-tool] .shell{max-width:1700px!important;padding:30px clamp(18px,2.4vw,42px) 45px!important}body[data-tool] .intro{min-height:150px!important;padding:0 310px 18px 0!important}body[data-tool] .intro h1{font-size:clamp(30px,3vw,44px)!important;line-height:1.19!important;margin:12px 0!important}body[data-tool] .intro:after{bottom:22px!important}body[data-tool] .intro p{font-size:13px!important}.v65-ad{display:none!important}.jr-breadcrumb{margin-bottom:20px!important}.layout-app{border:1px solid #d6dee9;border-radius:14px;background:#fff;box-shadow:0 12px 35px #1325420b;overflow:hidden;color:#263752;font-family:inherit}.layout-app button,.layout-app input,.layout-app select{font-family:inherit}.layout-app button:focus-visible,.layout-app select:focus-visible{outline:3px solid #78a5ec;outline-offset:2px}.layout-toolbar{padding:13px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-bottom:1px solid #dce3ed;background:#fff}.toolgroup{display:flex;gap:7px;align-items:center}.push{margin-left:auto}.lb{background:#fff!important;border:1px solid #d5dfed!important;border-radius:7px!important;color:#3d5575!important;font-size:12px!important;font-weight:650!important;padding:9px 11px!important;cursor:pointer;white-space:nowrap;line-height:1.4!important}.lb:hover{background:#edf3ff!important;border-color:#9bb6df!important}.lb.primary{background:#244f9a!important;color:white!important;border-color:#244f9a!important}.lb.primary:hover{background:#1b407e!important}.lb.tiny{padding:6px 8px!important;font-size:11px!important}.layout-app label{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap;color:#63758e}.layout-app select,.layout-app input[type=number]{background:white;border:1px solid #d4deeb;border-radius:6px;padding:6px;color:#334d70;font-size:11px}.layout-app input[type=number]{width:64px}.layout-workbench{display:grid;grid-template-columns:265px minmax(0,1fr);min-height:610px}.sources{background:#fff;display:flex;flex-direction:column;min-width:0;border-right:1px solid #dbe3ee}.pane-head{height:54px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dee5ef;padding:0 15px;font-size:12px;font-weight:700;background:#fff;gap:8px}.pane-head>span{display:flex;align-items:center;gap:7px}.pane-head small{font-size:10px;color:#7d8ba1}.step{background:#edf2fa;color:#5875a3;border-radius:6px;font-size:10px;padding:5px 7px}.pane-head i{font-style:normal;font-size:9px;color:#328366;background:#eaf7f0;border:1px solid #d3e9dc;padding:3px 6px;border-radius:5px}.source-hint{padding:13px 16px;font-size:11px;line-height:1.8;color:#77879f;background:#fcfdff;border-bottom:1px solid #edf0f6}.source-list{padding:12px;max-height:485px;overflow:auto;flex:1}.source-group{margin-bottom:14px}.source-filename{font-size:10px;display:flex;justify-content:space-between;color:#576e8c;font-weight:700;padding:0 2px 9px;word-break:break-all;gap:4px}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.source-card{position:relative;border:1px solid #dbe3ed;border-radius:7px;background:#f8fafc;padding:7px;cursor:grab;text-align:center;user-select:none}.source-card:hover{border-color:#5f8dd0;background:#eef4ff}.source-card img{display:block;width:100%;height:122px;object-fit:contain;pointer-events:none}.source-card span{display:block;font-size:9px;color:#7486a1;margin-top:6px}.source-card em{position:absolute;right:4px;top:4px;background:#e1ecfb;color:#2e5c97;border-radius:4px;padding:2px 5px;font-size:8px;font-style:normal}.source-bottom{padding:12px;border-top:1px solid #e1e8f1;color:#5f8a75;font-size:9px;margin-top:auto}.destination{display:flex;flex-direction:column;min-width:0}.iconbtn{border:1px solid #d9e2ee;background:#fff;width:25px;height:25px;border-radius:5px;cursor:pointer;color:#4b6384}.pane-head #zoomLabel{font-size:10px;color:#8391a5;min-width:35px;text-align:center}.arrangebar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:46px;padding:8px 12px;border-bottom:1px solid #e0e7f1;background:#fbfcff;font-size:10px;color:#7f8fa6}.arrangebar label{font-size:10px}.arrangebar #gap{width:44px}.snap{margin-left:auto}.layout-canvas{background-color:#eff3f8;background-image:radial-gradient(#bfcddd70 .8px,transparent .8px);background-size:14px 14px;padding:25px;overflow:auto;height:485px;min-height:350px;flex:1}.sheet-wrap{margin:0 auto 26px;position:relative}.sheet-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#697d99;margin-bottom:8px;height:20px}.sheet-actions{display:flex;gap:5px;align-items:center}.sheet-actions button{border:0;background:none;color:#7890ad;font-size:10px;cursor:pointer}.paper-shell{position:relative}.paper{position:absolute;top:0;left:0;background:white;box-shadow:0 4px 18px #23324e1c;transform-origin:0 0;overflow:hidden;outline:1px solid #d5deea;touch-action:none}.sheet-wrap.active .paper{outline:2px solid #9db7de}.paper.dropover{outline:3px solid #3974c8;background:#f5f9ff}.paper-empty{position:absolute;inset:0;display:grid;place-content:center;text-align:center;color:#adbbcd;font-size:13px;gap:10px;pointer-events:none}.paper-empty b{font-size:30px;font-weight:400;color:#bdcbdc}.placed{position:absolute;cursor:move;touch-action:none;user-select:none}.placed.selected{outline:1.5px solid #3c7ce0;z-index:inherit}.placed-inner{position:absolute;left:50%;top:50%;transform-origin:center;overflow:hidden;background:#fff;pointer-events:none}.placed-inner img{position:absolute;max-width:none!important;pointer-events:none;user-select:none}.placed.selected:after{content:attr(data-label);position:absolute;bottom:100%;left:-1px;padding:3px 6px;background:#3475d5;color:#fff;font-size:9px;white-space:nowrap;pointer-events:none}.handle{display:none;position:absolute;width:9px;height:9px;background:#fff;border:1.5px solid #3878d3;right:-5px;bottom:-5px;cursor:nwse-resize;z-index:5}.selected .handle{display:block}.outbound{box-shadow:inset 0 0 0 2px #d27e3a}.guide{position:absolute;background:#e287c6;pointer-events:none;z-index:999;opacity:.8}.bottom-status{display:flex;justify-content:space-between;gap:10px;min-height:34px;padding:9px 12px;border-top:1px solid #dee5ee;font-size:10px;color:#7b8da6;background:#fff}.selection-bar{border-top:1px solid #dbe4f0;padding:12px 15px;background:#fafcff}.selection-title{display:flex;align-items:center;gap:8px;font-size:11px;margin-bottom:10px}.selection-title small{font-size:10px;color:#8b9bb0;margin-left:auto}.selection-dot{width:7px;height:7px;background:#5f8ccc;border-radius:50%}.selection-controls{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.selection-controls label{font-size:10px}.selection-controls input{width:60px!important}.danger{color:#b95757!important}#cropPanel{margin-top:12px;border-top:1px dashed #d5dfec;padding-top:12px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:10px;color:#778ca8}#cropPanel[hidden]{display:none}#cropPanel input{width:48px}#cropPanel small{font-size:10px;color:#8b9bb0}.demo-note{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0 0;background:#f0f5fc;border:1px solid #d8e4f5;border-radius:9px;padding:12px 16px;font-size:11px;color:#7184a0}.demo-note strong{color:#426594}.context-menu{position:fixed;z-index:200;background:#fff;border:1px solid #d6dfeb;border-radius:10px;box-shadow:0 14px 40px #15294135;min-width:220px;padding:6px}.context-menu[hidden]{display:none}.context-menu>div{font-size:10px;padding:8px;color:#96a3b4}.context-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px;border:0;background:none;border-radius:5px;color:#3c5475;text-align:left;font:11px inherit;cursor:pointer;font-size:12px}.context-menu button:hover{background:#edf3fc}.context-menu kbd{font-family:inherit;font-size:10px;color:#9faec2}.context-menu hr{border:0;border-top:1px solid #edf0f6;margin:4px}#busy{position:fixed;inset:0;background:#11243a45;z-index:300;display:grid;place-items:center;backdrop-filter:blur(2px)}#busy[hidden]{display:none}#busy>div{background:white;padding:25px 35px;border-radius:15px;display:flex;align-items:center;gap:15px;color:#425c80;font-size:13px}.spinner{width:23px;height:23px;border-radius:50%;border:3px solid #dce7f7;border-top-color:#3669b8;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}button:disabled{opacity:.5;cursor:not-allowed!important}.site-main>footer{font-size:11px}
@media(max-width:1200px){body[data-tool] .intro{padding-right:0!important}body[data-tool] .intro:after{display:none!important}.layout-workbench{grid-template-columns:225px minmax(0,1fr)}.layout-toolbar{gap:8px}.selection-title small{display:none}}@media(max-width:800px){.layout-workbench{grid-template-columns:185px minmax(0,1fr)}.source-grid{grid-template-columns:1fr 1fr;gap:6px}.source-card img{height:95px}.layout-canvas{padding:16px}.layout-toolbar .push{margin-left:0}.pane-head{padding:10px;flex-wrap:wrap;height:auto;min-height:54px}.pane-head .toolgroup{gap:4px}.arrangebar{gap:6px}.arrangebar .snap{margin-left:0}}@media(max-width:540px){.layout-workbench{grid-template-columns:1fr}.sources{border-right:0;border-bottom:1px solid #dbe3ed}.source-list{max-height:180px;display:flex;gap:12px}.source-group{min-width:230px;margin:0}.source-hint{padding:7px 12px}.source-bottom{display:none}.source-card img{height:83px}.layout-canvas{height:390px}.selection-title{flex-wrap:wrap}.lb{font-size:11px!important}.layout-toolbar{padding:10px}}

/* Fullscreen editor: keep source pages, placement controls and export together. */
html.pdf-editor-fullscreen,html.pdf-editor-fullscreen body{overflow:hidden!important}
.layout-app.editor-expanded,.layout-app:fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;margin:0!important;max-width:none!important;border:0!important;border-radius:0!important;z-index:10000!important;display:flex!important;flex-direction:column!important;background:#fff!important;box-sizing:border-box}
.layout-app.editor-expanded .layout-toolbar{flex-shrink:0}
.layout-app.editor-expanded .layout-workbench{flex:1;min-height:0}
.layout-app.editor-expanded .sources,.layout-app.editor-expanded .destination{min-height:0}
.layout-app.editor-expanded .source-list{max-height:none;min-height:0}
.layout-app.editor-expanded .layout-canvas{height:auto;min-height:0}
.layout-app.editor-expanded .selection-bar{flex-shrink:0;max-height:35vh;overflow:auto}
@media(max-width:540px){.layout-app.editor-expanded .layout-workbench{grid-template-columns:1fr;grid-template-rows:minmax(130px,28vh) minmax(0,1fr)}.layout-app.editor-expanded .source-list{max-height:none}.layout-app.editor-expanded .selection-bar{max-height:27vh}}
