.ft-dialog{box-sizing:border-box;width:min(600px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #dce4f1;border-radius:18px;padding:24px;color:#172b4d;background:white;box-shadow:0 24px 80px #13254544}.ft-dialog::backdrop{background:#14264070}.ft-dialog h2{font-size:21px;margin:0 0 15px}.ft-dialog button{font:inherit;min-height:42px;cursor:pointer;border:1px solid #d8e2f1;border-radius:9px;background:#f7f9ff;color:#204d96;padding:8px 13px}.ft-dialog button.primary{background:#2855df;color:white}.ft-dialog button:disabled{opacity:.5;cursor:wait}.ft-dialog .ft-note,.ft-location,.ft-edit-status{font-size:13px;color:#64758c;line-height:1.65}.ft-actions{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:16px}.ft-error{color:#ac2635;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.ft-path{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin:14px 0}.ft-path button{min-height:36px;padding:5px 9px}.ft-folder-list{min-height:130px;max-height:35dvh;overflow:auto;border:1px solid #e1e7f0;border-radius:10px;padding:8px}.ft-folder{display:block;width:100%;text-align:left;margin:4px 0;overflow-wrap:anywhere}.ft-selection{overflow-wrap:anywhere;line-height:1.5}.ft-editor{width:min(880px,calc(100vw - 28px))}.ft-editor-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.ft-editor-top h2{margin:0}.ft-editor .ft-label{display:block;font-weight:600;margin:14px 0 7px}.ft-editor input,.ft-editor textarea{box-sizing:border-box;width:100%;border:1px solid #cad6e9;border-radius:9px;padding:11px;font-size:16px;color:#172b4d;background:white}.ft-editor textarea{height:clamp(180px,42dvh,480px);resize:vertical;font-family:ui-monospace,Consolas,monospace;line-height:1.6;tab-size:2}.ft-discard{background:#fff6e5;border:1px solid #e5ce9c;padding:12px;border-radius:10px}.ft-discard[hidden]{display:none}.ft-history-entry{display:block;margin:8px 0;width:100%;text-align:left}.ft-drop-target{outline:3px solid #3865e8!important;background:#e5edff!important}.ft-dragging{opacity:.5}.ft-new-text,.ft-move-selected{white-space:nowrap}@media(max-width:760px){.ft-dialog{padding:18px;max-height:calc(100dvh - env(safe-area-inset-top) - 24px);margin:auto}.ft-dialog .ft-actions{position:sticky;bottom:-18px;background:white;padding:12px 0}.ft-editor textarea{height:36dvh}.ft-folder-list{max-height:28dvh}.ft-dialog button{min-height:44px}.ft-editor .ft-actions button{flex:1}.ft-editor .ft-history{flex-basis:100%}}
.ft-dialog .ft-label{display:block;margin:12px 0 8px;font-weight:600}.ft-dialog #ftFolderName{box-sizing:border-box;width:100%;padding:12px;font-size:16px;border:1px solid #cad6e9;border-radius:9px}.ft-move-record{border-bottom:1px solid #e1e7f0;padding:10px 0;overflow-wrap:anywhere}.ft-move-record .ft-note{white-space:pre-wrap}

.batch-save{border:1px solid #2855df;background:#2855df;color:white;border-radius:9px;padding:8px 12px;min-height:42px;font:inherit;font-size:13px;cursor:pointer}.batch-save[hidden],.batch-save-note[hidden]{display:none!important}.batch-save:disabled{opacity:.65;cursor:wait}.batch-save-note{display:block;font-size:12px;line-height:1.6;color:#64758c;margin:6px 0;overflow-wrap:anywhere}.transfer-alerts{flex-wrap:wrap;gap:8px}
