/* Free basic editor: isolated to edit-pdf.html. The global 3D homepage styling is untouched. */
#nx-editor-root[hidden]{display:none!important}
.nx-editor-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:14px 0}
.nx-editor-toolbar label{display:flex;flex:1 1 120px;min-width:120px;max-width:200px;margin:0;gap:6px;font-size:12px}
.nx-editor-toolbar .nx-editor-textfield{flex:2 1 220px;max-width:320px}
.nx-editor-toolbar input,.nx-editor-toolbar select{width:100%;min-width:0;height:42px;box-sizing:border-box}
.nx-editor-nav,.nx-editor-export{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:15px 0}
.nx-editor-nav button{padding:9px 13px;font-size:13px}.nx-editor-nav button:disabled{opacity:.45;cursor:not-allowed}
#nx-editor-page{font-weight:800;color:#173a74;min-width:100px;text-align:center}
.nx-editor-preview-scroller{display:flex;justify-content:center;overflow:auto;max-height:74vh;background:#e8eef7;border:1px solid #b8cce3;border-radius:16px;padding:10px}
.nx-editor-stage{position:relative;width:100%;max-width:760px;flex:0 0 auto;box-shadow:0 4px 16px #15264a30;background:white;line-height:0;touch-action:pan-y}
#nx-editor-pdf{display:block;width:100%;height:auto}
#nx-editor-ink{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}
.nx-editor-tip{font-size:13px;color:#46617e}
.nx-editor-export{justify-content:space-between}
#nx-editor-download{background:#197d59!important;color:#fff!important}
#nx-editor-count{font-weight:700;font-size:13px;color:#254a69}
.nx-editor-warning{font-size:12px!important;color:#975025!important;background:#fff6e7;border:1px solid #f4d8ac;border-radius:12px;padding:12px}
#extra-message{margin:12px 0}
@media(max-width:600px){.nx-editor-preview-scroller{padding:5px;max-height:62vh}.nx-editor-toolbar label{min-width:105px}.nx-editor-toolbar .nx-editor-textfield{flex-basis:100%;max-width:none}.nx-editor-nav{gap:6px}.nx-editor-nav button{padding:8px!important}}
