.ropdf-app [hidden]{display:none!important}
.ropdf-app{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;max-width:1280px;margin:30px auto;color:#171717}.ropdf-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.ropdf-kicker{letter-spacing:3px;font-size:11px;font-weight:800;color:#a47d25}.ropdf-top h2{margin:3px 0;font-size:30px}.ropdf-top p{margin:0;color:#69707a}.ropdf-badge{background:#f6f1e5;border:1px solid #e6d9b9;border-radius:30px;padding:10px 15px;font-size:13px;font-weight:700}.ropdf-dropzone{border:2px dashed #cfcfcf;border-radius:20px;padding:70px 25px;text-align:center;background:#fafafa;cursor:pointer;transition:.15s}.ropdf-dropzone.drag{border-color:#111;background:#f0f0f0;transform:scale(1.005)}.ropdf-pdficon{width:64px;height:64px;margin:0 auto 16px;background:#111;color:#d6b15d;border-radius:14px;display:grid;place-items:center;font-weight:900}.ropdf-dropzone h3{margin:0 0 6px;font-size:20px}.ropdf-dropzone p{margin:0 0 18px;color:#727272}.ropdf-dropzone small{display:block;margin-top:14px;color:#777}.ropdf-btn{border:1px solid #d5d5d5;background:#fff;border-radius:9px;padding:10px 15px;font-weight:650;cursor:pointer}.ropdf-primary{background:#111;color:#fff;border-color:#111}.ropdf-editor-shell{display:grid;grid-template-columns:235px 1fr;border:1px solid #dedede;border-radius:16px;overflow:hidden;min-height:720px}.ropdf-tools{background:#fafafa;padding:12px;overflow:auto}.ropdf-tool-title{font-size:10px;letter-spacing:2px;font-weight:800;color:#888;padding:5px 10px 10px}.ropdf-tools button{width:100%;border:0;background:transparent;padding:11px 10px;text-align:left;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:8px}.ropdf-tools button:hover,.ropdf-tools button.active{background:#eaeaea}.ropdf-tools em{font-style:normal;font-size:9px;background:#d8b55f;padding:3px 5px;border-radius:4px}.ropdf-canvas{background:#f1f2f4;min-width:0}.ropdf-filebar{display:flex;gap:9px;align-items:center;background:#fff;border-bottom:1px solid #ddd;padding:12px;position:sticky;top:0;z-index:3}.ropdf-filebar strong{margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ropdf-filebar span{font-size:12px;color:#777}.ropdf-workspace{padding:25px;min-height:590px;overflow:auto}.ropdf-pages{display:flex;flex-direction:column;align-items:center;gap:25px}.ropdf-page-card{position:relative;background:#fff;box-shadow:0 5px 25px #00000018;padding:0;max-width:850px;width:100%;border:2px solid transparent}.ropdf-page-card.selected{border-color:#b28a2e}.ropdf-page-head{height:34px;background:#fff;border-bottom:1px solid #ddd;display:flex;align-items:center;justify-content:space-between;padding:0 9px;font-size:11px;color:#666}.ropdf-page-head button{font-size:11px;padding:4px 7px}.ropdf-page-body{position:relative;line-height:0}.ropdf-page-body canvas{width:100%;height:auto;display:block}.ropdf-overlay{position:absolute;inset:0;cursor:crosshair}.ropdf-overlay .ropdf-text{position:absolute;background:rgba(255,255,255,.78);padding:2px 4px;line-height:1.2;cursor:move;border:1px dashed #777}.ropdf-overlay .ropdf-highlight{position:absolute;background:rgba(255,230,0,.35);border:1px dashed #c4a500}.ropdf-overlay .ropdf-draw{position:absolute;pointer-events:none}.ropdf-status{padding:10px 18px 16px;font-size:13px;color:#555}.ropdf-status.error{color:#a40000}.ropdf-status.ok{color:#176b2c}.ropdf-modal{position:fixed;inset:0;background:#0008;display:grid;place-items:center;z-index:999999;padding:20px}.ropdf-modal-card{background:#fff;border-radius:14px;padding:24px;max-width:560px;width:100%;position:relative;box-shadow:0 20px 60px #0005}.ropdf-modal-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:28px;cursor:pointer}.ropdf-form-row{display:flex;gap:10px;align-items:center;margin:10px 0}.ropdf-form-row input,.ropdf-form-row select,.ropdf-form-row textarea{width:100%;padding:9px;border:1px solid #ccc;border-radius:7px}.ropdf-thumb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.ropdf-thumb{border:1px solid #ddd;padding:5px;border-radius:8px;background:#fff}.ropdf-thumb img{width:100%;display:block}.ropdf-thumb button{width:100%;margin-top:5px}.ropdf-file-input{margin:12px 0}@media(max-width:760px){.ropdf-top{flex-direction:column;align-items:flex-start}.ropdf-editor-shell{grid-template-columns:1fr}.ropdf-tools{display:flex;overflow:auto;gap:4px}.ropdf-tool-title{display:none}.ropdf-tools button{width:auto;white-space:nowrap}.ropdf-filebar{flex-wrap:wrap}.ropdf-filebar strong{width:100%}.ropdf-workspace{padding:12px}}

.ropdf-object{box-sizing:border-box;min-width:30px;min-height:18px;user-select:none;touch-action:none;overflow:visible}.ropdf-object .ropdf-resize{position:absolute;right:-5px;bottom:-5px;width:12px;height:12px;background:#111;border:2px solid #fff;border-radius:3px;cursor:nwse-resize;z-index:5}.ropdf-stamp img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}.ropdf-text{white-space:pre-wrap;word-break:break-word;line-height:1.2}.ropdf-text textarea{white-space:pre-wrap}
