.fp-editor-dialog{--fp-editor-ink:#f1f5ff;--fp-editor-muted:#9aaac0;--fp-editor-line:rgba(211,226,255,.14);--fp-editor-line-strong:rgba(152,183,238,.32);--fp-editor-blue:#4b7dff;--fp-editor-cyan:#35c6f4;color-scheme:dark;border:1px solid var(--fp-editor-line);border-radius:12px;padding:0;width:calc(100vw - 24px);max-width:none;height:calc(100vh - 24px);height:calc(100dvh - 24px);max-height:none;margin:12px;box-shadow:0 24px 80px #0009;color:var(--fp-editor-ink);background:#0b1b30;font:13px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.fp-editor-dialog::backdrop{background:rgba(3,8,18,.78)}.fp-editor-dialog *{box-sizing:border-box}.fp-editor-dialog [hidden]{display:none!important}
.fp-editor-dialog button,.fp-editor-dialog select,.fp-editor-dialog input{font:inherit}.fp-editor-dialog button{cursor:pointer}.fp-editor-dialog button:disabled{cursor:not-allowed;opacity:.44}.fp-editor-dialog :focus-visible{outline:2px solid var(--fp-editor-cyan);outline-offset:2px}
.fp-editor-shell{position:relative;display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:hidden}
.fp-editor-toolbar{height:54px;min-height:54px;display:flex;align-items:center;gap:8px;padding:4px 10px;background:#0b1b30;border-bottom:1px solid var(--fp-editor-line);z-index:3}
.fp-editor-title{font-size:14px;font-weight:700;letter-spacing:-.02em;white-space:nowrap;margin:0 10px 0 4px}.fp-editor-primary,.fp-editor-toolbar-end{display:flex;align-items:center;gap:4px}.fp-editor-primary{min-width:0;overflow-x:auto;scrollbar-width:none}.fp-editor-primary::-webkit-scrollbar{display:none}.fp-editor-toolbar-end{position:relative;margin-left:auto;flex:none}
.fp-editor-toolbar button,.fp-editor-popover button,.fp-editor-navigation button,.fp-editor-help button,.fp-editor-save{min-width:44px;min-height:44px;border:1px solid #34445e;border-radius:6px;background:#142238;color:var(--fp-editor-ink);padding:6px 10px;font-weight:650;transition:background 160ms ease,border-color 160ms ease,color 160ms ease}.fp-editor-toolbar button{display:flex;align-items:center;justify-content:center;white-space:nowrap}.fp-editor-toolbar button:hover:not(:disabled),.fp-editor-navigation button:hover:not(:disabled),.fp-editor-help button:hover:not(:disabled){border-color:#7897d5;background:#1b2b43;color:var(--fp-editor-ink)}.fp-editor-toolbar button[aria-pressed=true],.fp-editor-navigation button[aria-pressed=true]{border-color:#7897d5;background:#1b2b43;color:var(--fp-editor-ink)}.fp-editor-save,.fp-editor-popover [data-action=resize],.fp-editor-popover [data-action=apply-crop]{border-color:#557df0;background:#557df0;color:#fff;font-weight:700}.fp-editor-save:hover:not(:disabled),.fp-editor-popover [data-action=resize]:hover:not(:disabled),.fp-editor-popover [data-action=apply-crop]:hover:not(:disabled){border-color:#7897d5;background:#688bfa;color:#fff}.fp-editor-save{position:absolute;z-index:4;right:12px;bottom:12px;min-width:76px;box-shadow:0 5px 22px #0009}
.fp-editor-stage{flex:1;min-height:0;background:#07101f;overflow:auto;scrollbar-color:#526987 #07101f;touch-action:none;position:relative}.fp-editor-work{position:relative;min-width:100%;min-height:100%}.fp-editor-work canvas{position:absolute;display:block;image-rendering:auto}.fp-editor-overlay{position:absolute;inset:0;display:block;overflow:visible;touch-action:none}
.fp-editor-overlay [data-shape-index],.fp-editor-overlay [data-crop-body]{cursor:move}
.fp-editor-overlay [data-shape-handle=from],.fp-editor-overlay [data-shape-handle=to]{cursor:grab}
.fp-editor-overlay [data-shape-handle=n],.fp-editor-overlay [data-shape-handle=s],.fp-editor-overlay [data-crop-handle=n],.fp-editor-overlay [data-crop-handle=s]{cursor:ns-resize}
.fp-editor-overlay [data-shape-handle=e],.fp-editor-overlay [data-shape-handle=w],.fp-editor-overlay [data-crop-handle=e],.fp-editor-overlay [data-crop-handle=w]{cursor:ew-resize}
.fp-editor-overlay [data-shape-handle=nw],.fp-editor-overlay [data-shape-handle=se],.fp-editor-overlay [data-crop-handle=nw],.fp-editor-overlay [data-crop-handle=se]{cursor:nwse-resize}
.fp-editor-overlay [data-shape-handle=ne],.fp-editor-overlay [data-shape-handle=sw],.fp-editor-overlay [data-crop-handle=ne],.fp-editor-overlay [data-crop-handle=sw]{cursor:nesw-resize}
.fp-editor-popover,.fp-editor-help-panel{position:absolute;z-index:5;background:#0f223a;border:1px solid var(--fp-editor-line-strong);border-radius:10px;box-shadow:0 12px 30px #0009;padding:10px;display:flex;align-items:center;gap:8px;max-width:calc(100% - 20px)}.fp-editor-popover{top:62px;left:10px}.fp-editor-popover label{display:grid;gap:3px;font-size:11px;font-weight:650;color:var(--fp-editor-muted)}.fp-editor-popover input,.fp-editor-popover select{min-height:40px;border:1px solid var(--fp-editor-line-strong);border-radius:6px;padding:5px 9px;background:#091626;color:var(--fp-editor-ink)}.fp-editor-popover input{width:80px}.fp-editor-popover select{min-width:86px}.fp-editor-fields,.fp-editor-presets{display:flex;align-items:end;gap:6px}.fp-editor-presets button{background:#142238;border-color:#34445e;min-width:44px;padding:6px 8px}.fp-editor-popover button:hover:not(:disabled){border-color:#7897d5;background:#1b2b43;color:var(--fp-editor-ink)}.fp-editor-popover .fp-editor-delete{border-color:var(--fp-editor-line);background:transparent;color:var(--fp-editor-muted);font-size:12px;font-weight:750}.fp-editor-popover .fp-editor-delete:hover:not(:disabled),.fp-editor-popover .fp-editor-delete:focus-visible{border-color:#ff8d96;background:transparent;color:var(--fp-editor-ink)}.fp-editor-popover output{white-space:nowrap;color:var(--fp-editor-cyan)}.fp-editor-popover button{white-space:nowrap}.fp-editor-dialog .fp-editor-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #34445e;border-radius:6px;background:#142238;color:#aebbd0;font-size:22px;font-weight:500;line-height:1}.fp-editor-dialog .fp-editor-close:hover:not(:disabled){border-color:#7897d5;background:#1b2b43;color:var(--fp-editor-ink)}
.fp-editor-dialog .fp-editor-close{position:relative;font-size:0}.fp-editor-dialog .fp-editor-close::before,.fp-editor-dialog .fp-editor-close::after{content:"";position:absolute;left:50%;top:50%;width:16px;height:2px;border-radius:2px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}.fp-editor-dialog .fp-editor-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
.fp-editor-exit-confirm{position:absolute;z-index:8;top:50px;right:0;display:grid;gap:10px;width:max-content;max-width:min(280px,calc(100vw - 20px));padding:12px;border:1px solid var(--fp-editor-line-strong);border-radius:10px;background:#0f223a;box-shadow:0 12px 30px #0009}.fp-editor-exit-confirm strong{font-size:12px;line-height:1.5}.fp-editor-exit-confirm>div{display:flex;justify-content:flex-end;gap:8px}.fp-editor-exit-confirm button{min-width:72px}.fp-editor-exit-confirm [data-action=save-exit]{border-color:#557df0;background:#557df0;color:#fff}.fp-editor-exit-confirm [data-action=save-exit]:hover{border-color:#7897d5;background:#688bfa}
.fp-editor-toolbar .fp-editor-icon-button{width:44px;height:44px;min-width:44px;padding:0}.fp-editor-icon-button svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.fp-editor-navigation{display:flex;align-items:center;gap:3px;margin:0;padding:0;border:0;background:transparent}.fp-editor-navigation button{height:44px;min-width:44px;padding:5px 7px;font-weight:700}.fp-editor-navigation [data-action=zoom-out],.fp-editor-navigation [data-action=zoom-in]{width:44px;padding:0}.fp-editor-navigation [data-id=zoom]{min-width:54px;font-size:12px}.fp-editor-zoom-panel{left:auto;right:10px}.fp-editor-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.fp-editor-help{position:absolute;z-index:4;left:12px;bottom:12px}.fp-editor-help>button{width:44px;height:44px;padding:0;border:1px solid #34445e;border-radius:6px;background:#142238;box-shadow:0 5px 22px #0009;font-weight:700;color:var(--fp-editor-ink)}.fp-editor-help-panel{left:0;bottom:52px;display:block;width:min(340px,calc(100vw - 30px));max-width:min(340px,calc(100vw - 30px));max-height:min(55vh,320px);overflow:auto}.fp-editor-help-panel p{margin:6px 0;color:var(--fp-editor-muted)}.fp-editor-help-panel [data-id=shape-list]{display:grid;gap:4px}.fp-editor-help-panel [data-id=shape-list] button{width:100%;text-align:left;background:#142238;border-color:#34445e}.fp-editor-help-panel [data-id=shape-list] button[aria-pressed=true]{border-color:#7897d5;background:#1b2b43;color:var(--fp-editor-ink)}
.fp-editor-status{position:absolute;z-index:6;left:50%;bottom:8px;transform:translateX(-50%);width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.fp-editor-status[data-error=true]{width:auto;height:auto;clip:auto;white-space:normal;max-width:calc(100% - 24px);padding:9px 12px;border:1px solid rgba(255,141,150,.4);border-radius:8px;background:#2b1d2a;color:#ffadb4;box-shadow:0 5px 22px #0009}
@media(max-width:900px){.fp-editor-title{display:none}.fp-editor-toolbar{gap:3px}.fp-editor-primary{flex:1}}
@media(max-width:600px){.fp-editor-dialog{border:0;border-radius:0;width:100vw;height:100vh;height:100dvh;margin:0}.fp-editor-toolbar{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:48px 44px;height:96px;min-height:96px;padding:2px 4px;gap:0}.fp-editor-primary{grid-column:1;grid-row:1;gap:0;min-width:0;overflow-x:auto}.fp-editor-primary button{min-width:44px;min-height:44px;padding:5px;font-size:11px}.fp-editor-toolbar-end{grid-column:1;grid-row:2;justify-self:end;margin:0}.fp-editor-popover{top:102px;left:6px;max-width:calc(100% - 12px);flex-wrap:wrap}.fp-editor-zoom-panel{left:auto;right:6px}.fp-editor-save{right:6px;bottom:6px}.fp-editor-help{left:6px;bottom:6px}}
@media(max-width:900px) and (max-height:500px){.fp-editor-dialog{border:0;border-radius:0;width:100vw;height:100vh;height:100dvh;margin:0}}
@media(max-width:360px){.fp-editor-primary button{padding:4px;font-size:10px}.fp-editor-navigation button{min-width:44px;padding:4px}.fp-editor-navigation [data-id=zoom]{min-width:48px}.fp-editor-popover{gap:6px}.fp-editor-presets button{min-width:44px;padding:5px}}
