/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */.floating-toolbar{z-index:var(--z-editor-toolbar,1100);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:#fffffff2;border:1px solid #00000014;border-radius:12px;align-items:center;gap:4px;padding:6px 10px;display:flex;position:absolute;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 4px 24px #0000001a}.dark .floating-toolbar{background:#18181bf2;border-color:#0000;box-shadow:0 4px 24px #00000040}.floating-toolbar__btn-wrapper{position:relative}.floating-toolbar__btn,.floating-toolbar__btn-wrapper{justify-content:center;align-items:center;display:flex}.floating-toolbar__btn{cursor:pointer;color:#0000008c;background:0 0;border:none;border-radius:8px;width:36px;height:36px;transition:all .15s}.floating-toolbar__btn:hover:not(:disabled){color:#171717;background:#0000000f}.floating-toolbar__btn--active{color:#3b82f6;background:#3b82f61f}.floating-toolbar__btn--active:hover{color:#3b82f6;background:#3b82f62e}.dark .floating-toolbar__btn{color:#ffffffb3}.dark .floating-toolbar__btn:hover:not(:disabled){color:#fff;background:#ffffff1a}.dark .floating-toolbar__btn--active{color:#3b82f6;background:#3b82f64d}.dark .floating-toolbar__btn--active:hover{color:#3b82f6;background:#3b82f666}.floating-toolbar__btn--disabled,.floating-toolbar__btn:disabled{opacity:.3;cursor:not-allowed}.floating-toolbar__tooltip{color:#fff;white-space:nowrap;opacity:0;pointer-events:none;z-index:var(--z-editor-toolbar-popover,1250);background:#171717;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:500;transition:all .15s;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)translateY(4px);box-shadow:0 2px 8px #0000004d}.floating-toolbar__tooltip:after{content:"";border:5px solid #0000;border-top-color:#171717;position:absolute;top:100%;left:50%;transform:translate(-50%)}.floating-toolbar__btn-wrapper:hover .floating-toolbar__tooltip{opacity:1;transform:translate(-50%)translateY(0)}.floating-toolbar:hover,.floating-toolbar__tool-picker{z-index:var(--z-editor-toolbar-popover,1250)}.floating-toolbar__tool-picker:hover{z-index:calc(var(--z-editor-toolbar-popover,1250) + 10)}.floating-toolbar__tool-picker:before{content:"";pointer-events:none;width:172px;height:10px;position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.floating-toolbar__tool-picker:hover:before{pointer-events:auto}.floating-toolbar__tool-menu{opacity:0;pointer-events:none;background:#fffffffa;border:1px solid #00000014;border-radius:10px;flex-direction:column;gap:2px;width:172px;padding:6px;transition:opacity .15s,transform .15s;display:flex;position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%)translateY(4px);box-shadow:0 12px 30px #00000024}.floating-toolbar__tool-picker:focus-within .floating-toolbar__tool-menu,.floating-toolbar__tool-picker:hover .floating-toolbar__tool-menu{opacity:1;pointer-events:auto;transform:translate(-50%)translateY(0)}.floating-toolbar:focus-within{z-index:var(--z-editor-toolbar-popover,1250)}.floating-toolbar__tool-option{color:#000000c7;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;min-height:40px;padding:0 9px;font-size:13px;font-weight:500;display:grid}.floating-toolbar__tool-option--active,.floating-toolbar__tool-option:hover{color:#171717;background:#0000000f}.floating-toolbar__tool-shortcut{color:#00000061;text-align:center;background:0 0;border:0;min-width:18px;font-family:inherit;font-size:12px;font-weight:500}.dark .floating-toolbar__tool-menu{background:#18181bfa;border-color:#ffffff14;box-shadow:0 12px 30px #00000059}.dark .floating-toolbar__tool-option{color:#ffffffc7}.dark .floating-toolbar__tool-option--active,.dark .floating-toolbar__tool-option:hover{color:#fff;background:#ffffff1a}.dark .floating-toolbar__tool-shortcut{color:#fff6}.floating-toolbar__divider{background:#0000001a;width:1px;height:24px;margin:0 4px}.dark .floating-toolbar__divider{background:#ffffff26}.floating-toolbar__zoom-group{align-items:center;gap:2px;display:flex}.floating-toolbar__zoom-group .floating-toolbar__btn{min-width:44px;min-height:44px}.floating-toolbar__zoom-label{text-align:center;font-variant-numeric:tabular-nums;color:#00000080;-webkit-user-select:none;user-select:none;min-width:42px;font-size:11px;font-weight:600}.dark .floating-toolbar__zoom-label{color:#ffffff80}.floating-toolbar__rotate-group{align-items:center;gap:4px;display:flex}.floating-toolbar__rotate-slider{appearance:none;cursor:pointer;background:#0000001a;border-radius:2px;outline:none;width:72px;height:4px}.floating-toolbar__rotate-slider::-webkit-slider-thumb{-webkit-appearance:none;cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #0003}.floating-toolbar__rotate-slider::-moz-range-thumb{cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #0003}.dark .floating-toolbar__rotate-slider{background:#ffffff26}.dark .floating-toolbar__rotate-slider::-webkit-slider-thumb{border-color:#27272a}.dark .floating-toolbar__rotate-slider::-moz-range-thumb{border-color:#27272a}.floating-toolbar__rotate-label{font-variant-numeric:tabular-nums;color:#00000080;text-align:center;-webkit-user-select:none;user-select:none;min-width:32px;font-size:11px;font-weight:600}.dark .floating-toolbar__rotate-label{color:#ffffff80}.selection-actions-toolbar{top:24px;bottom:auto}.selection-opacity{align-items:center;gap:8px;padding:0 4px;display:flex}.selection-opacity__range{appearance:none;cursor:pointer;background:#0000001a;border-radius:2px;outline:none;width:80px;height:4px}.dark .selection-opacity__range{background:#ffffff1a}.selection-opacity__range::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#171717;border-radius:50%;width:14px;height:14px;transition:transform .2s}.dark .selection-opacity__range::-webkit-slider-thumb{background:#fff}.selection-opacity__range::-webkit-slider-thumb:hover{transform:scale(1.2)}.selection-opacity__range::-moz-range-thumb{cursor:pointer;background:#171717;border:none;border-radius:50%;width:14px;height:14px}.dark .selection-opacity__range::-moz-range-thumb{background:#fff}.selection-opacity__value{color:#525252;text-align:right;min-width:32px;font-size:11px;font-weight:500}.dark .selection-opacity__value{color:#ccc}.align-toolbar{top:24px;bottom:auto}@media (max-width:640px){.align-toolbar,.selection-actions-toolbar{top:16px;bottom:auto}.floating-toolbar{scrollbar-width:none;gap:2px;max-width:calc(100vw - 24px);padding:4px 8px;bottom:16px;overflow-x:auto}.floating-toolbar::-webkit-scrollbar{display:none}.floating-toolbar__btn{width:32px;height:32px}.floating-toolbar__btn svg{width:18px;height:18px}.floating-toolbar__divider{height:20px;margin:0 2px}.floating-toolbar__divider--before-zoom,.floating-toolbar__rotate-label,.floating-toolbar__rotate-slider,.floating-toolbar__zoom-group,.floating-toolbar__zoom-label{display:none}}@media (max-height:520px){.floating-toolbar{scrollbar-width:none;gap:2px;max-width:calc(100vw - 16px);padding:4px 8px;bottom:8px;overflow-x:auto}.floating-toolbar::-webkit-scrollbar{display:none}.floating-toolbar__btn{width:32px;height:32px}.floating-toolbar__btn svg{width:18px;height:18px}.floating-toolbar__divider{height:20px;margin:0 2px}.floating-toolbar__divider--before-zoom,.floating-toolbar__rotate-label,.floating-toolbar__rotate-slider,.floating-toolbar__zoom-group,.floating-toolbar__zoom-label{display:none}}.brush-settings-bar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:var(--z-editor-toolbar-panel,1150);background:#fffffff2;border-radius:24px;align-items:center;gap:12px;padding:8px 16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;bottom:90px;box-shadow:0 4px 24px #0000001f}.brush-settings-bar,.brush-settings-bar:after{position:absolute;left:50%;transform:translate(-50%)}.brush-settings-bar:after{content:"";border-top:8px solid #fffffff2;border-left:8px solid #0000;border-right:8px solid #0000;width:0;height:0;bottom:-8px}.brush-settings-bar__group{align-items:center;gap:8px;display:flex}.brush-settings-bar__label{color:#525252;white-space:nowrap;font-size:12px;font-weight:500}.brush-settings-bar__value{color:#171717;text-align:right;min-width:40px;font-size:12px;font-weight:500}.brush-settings-bar__divider{background:#0000001a;width:1px;height:24px}.brush-settings-bar__color-wrapper{position:relative}.brush-settings-bar__color-button{cursor:pointer;border:2px solid #0000001a;border-radius:6px;width:28px;height:28px;transition:transform .2s,box-shadow .2s}.brush-settings-bar__color-button:hover{transform:scale(1.1);box-shadow:0 2px 8px #00000026}.brush-settings-bar__color-picker{z-index:10;background:#fff;border-radius:8px;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px;display:grid;position:absolute;bottom:40px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #00000026}.brush-settings-bar__color-preset{cursor:pointer;border:2px solid #0000001a;border-radius:4px;width:24px;height:24px;transition:transform .2s}.brush-settings-bar__color-preset:hover{transform:scale(1.15)}.brush-settings-bar__color-rainbow{background:conic-gradient(red,#ff8000,#ff0,#0f0,#0ff,#00f,#8000ff,#ff0080,red);position:relative;border:none!important}.brush-settings-bar__custom-color-input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute}.brush-settings-bar__slider{appearance:none;cursor:pointer;background:#0000001a;border-radius:2px;outline:none;width:80px;height:4px}.brush-settings-bar__slider::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;transition:transform .2s;box-shadow:0 1px 3px #0003}.brush-settings-bar__slider::-webkit-slider-thumb:hover{transform:scale(1.2)}.brush-settings-bar__slider::-moz-range-thumb{cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #0003}@media (max-width:640px){.brush-settings-bar{box-sizing:border-box;scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;justify-content:flex-start;gap:6px;width:max-content;max-width:calc(100vw - 16px);padding:6px 12px;bottom:66px;left:50%;right:auto;overflow-x:auto;transform:translate(-50%)}.brush-settings-bar::-webkit-scrollbar{display:none}.brush-settings-bar:after{display:none}.brush-settings-bar>*{flex-shrink:0}.brush-settings-bar__group{gap:6px}.brush-settings-bar__value{min-width:34px}.brush-settings-bar__slider{width:64px}}@media (max-height:520px){.brush-settings-bar{bottom:56px}}@media (prefers-color-scheme:dark){.brush-settings-bar{background:#171717f2}.brush-settings-bar:after{border-top-color:#171717f2}.brush-settings-bar__label{color:#a3a3a3}.brush-settings-bar__value{color:#fafafa}.brush-settings-bar__divider{background:#ffffff1a}.brush-settings-bar__color-button{border-color:#ffffff1a}.brush-settings-bar__color-picker{background:#262626}.brush-settings-bar__color-preset{border-color:#ffffff1a}.brush-settings-bar__slider{background:#ffffff1a}}.eraser-settings-bar{bottom:90px;left:var(--eraser-settings-anchor-x,50%);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:var(--z-editor-toolbar-panel,1150);background:#fffffff2;border-radius:24px;align-items:center;gap:12px;padding:8px 16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 4px 24px #0000001f}.eraser-settings-bar:after{content:"";border-top:8px solid #fffffff2;border-left:8px solid #0000;border-right:8px solid #0000;width:0;height:0;position:absolute;bottom:-8px;left:50%;transform:translate(-50%)}.eraser-settings-bar__group{align-items:center;gap:4px;display:flex}.eraser-settings-bar__label{color:#525252;white-space:nowrap;margin-right:4px;font-size:12px;font-weight:500}.eraser-settings-bar__value{color:#171717;text-align:right;min-width:40px;font-size:12px;font-weight:500}.eraser-settings-bar__divider{background:#0000001a;width:1px;height:24px}.eraser-settings-bar__mode-btn{color:#525252;cursor:pointer;background:#0000000d;border:none;border-radius:6px;padding:6px 12px;font-size:12px;font-weight:500;transition:all .2s}.eraser-settings-bar__mode-btn:hover{background:#0000001a}.eraser-settings-bar__mode-btn--active{font-weight:600;color:#fff!important;background:#3b82f6!important}.eraser-settings-bar__mode-btn--active:hover{background:#2563eb!important}.eraser-settings-bar__slider{appearance:none;cursor:pointer;background:#0000001a;border-radius:2px;outline:none;width:80px;height:4px}.eraser-settings-bar__slider::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;transition:transform .2s;box-shadow:0 1px 3px #0003}.eraser-settings-bar__slider::-webkit-slider-thumb:hover{transform:scale(1.2)}.eraser-settings-bar__slider::-moz-range-thumb{cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #0003}@media (max-width:640px){.eraser-settings-bar{box-sizing:border-box;scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;justify-content:flex-start;gap:8px;width:max-content;max-width:calc(100vw - 16px);padding:6px 12px;bottom:66px;left:50%;right:auto;overflow-x:auto;transform:translate(-50%)}.eraser-settings-bar::-webkit-scrollbar{display:none}.eraser-settings-bar:after{display:none}.eraser-settings-bar>*{flex-shrink:0}.eraser-settings-bar__slider{width:64px}}@media (max-height:520px){.eraser-settings-bar{bottom:56px}}@media (prefers-color-scheme:dark){.eraser-settings-bar{background:#171717f2}.eraser-settings-bar:after{border-top-color:#171717f2}.eraser-settings-bar__label{color:#a3a3a3}.eraser-settings-bar__value{color:#fafafa}.eraser-settings-bar__divider{background:#ffffff1a}.eraser-settings-bar__mode-btn{color:#a3a3a3;background:#ffffff0d}.eraser-settings-bar__mode-btn:hover,.eraser-settings-bar__slider{background:#ffffff1a}}.text-settings-bar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:var(--z-editor-toolbar-panel,1150);background:#fffffff2;border-radius:24px;align-items:center;gap:12px;padding:8px 16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;bottom:90px;box-shadow:0 4px 24px #0000001f}.text-settings-bar,.text-settings-bar:after{position:absolute;left:50%;transform:translate(-50%)}.text-settings-bar:after{content:"";border-top:8px solid #fffffff2;border-left:8px solid #0000;border-right:8px solid #0000;width:0;height:0;bottom:-8px}.text-settings-bar__group{align-items:center;gap:8px;display:flex}.text-settings-bar__label{color:#525252;white-space:nowrap;font-size:12px;font-weight:500}.text-settings-bar__value{color:#171717;text-align:right;min-width:45px;font-size:12px;font-weight:500}.text-settings-bar__divider{background:#0000001a;width:1px;height:24px}.text-settings-bar__font-wrapper{position:relative}.text-settings-bar__font-button{color:#171717;cursor:pointer;text-align:left;background:#0000000d;border:1px solid #0000001a;border-radius:6px;min-width:100px;padding:4px 12px;font-size:13px;font-weight:500;transition:background .2s}.text-settings-bar__font-button:hover{background:#0000001a}.text-settings-bar__font-picker{z-index:10;background:#fff;border-radius:8px;flex-direction:column;gap:2px;min-width:140px;padding:6px;display:flex;position:absolute;bottom:40px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #00000026}.text-settings-bar__font-option{color:#171717;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:4px;padding:8px 12px;font-size:13px;transition:background .15s}.text-settings-bar__font-option:hover{background:#0000000d}.text-settings-bar__font-option--active{color:#3b82f6;background:#3b82f61a}.text-settings-bar__color-wrapper{position:relative}.text-settings-bar__color-button{cursor:pointer;border:2px solid #0000001a;border-radius:6px;width:28px;height:28px;transition:transform .2s,box-shadow .2s}.text-settings-bar__color-button:hover{transform:scale(1.1);box-shadow:0 2px 8px #00000026}.text-settings-bar__color-picker{z-index:10;background:#fff;border-radius:8px;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px;display:grid;position:absolute;bottom:40px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #00000026}.text-settings-bar__color-preset{cursor:pointer;border:2px solid #0000001a;border-radius:4px;width:24px;height:24px;transition:transform .2s}.text-settings-bar__color-preset:hover{transform:scale(1.15)}.text-settings-bar__color-rainbow{background:conic-gradient(red,#ff8000,#ff0,#0f0,#0ff,#00f,#8000ff,#ff0080,red);position:relative;border:none!important}.text-settings-bar__custom-color-input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute}.text-settings-bar__slider{appearance:none;cursor:pointer;background:#0000001a;border-radius:2px;outline:none;width:80px;height:4px}.text-settings-bar__slider::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;transition:transform .2s;box-shadow:0 1px 3px #0003}.text-settings-bar__slider::-webkit-slider-thumb:hover{transform:scale(1.2)}.text-settings-bar__slider::-moz-range-thumb{cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #0003}.text-settings-bar__format-group{gap:4px}.text-settings-bar__format-btn{color:#525252;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;transition:all .15s;display:flex}.text-settings-bar__format-btn:hover{color:#171717;background:#0000000d}.text-settings-bar__format-btn--active{color:#3b82f6;background:#3b82f626}.text-settings-bar__format-btn--active:hover{background:#3b82f640}@media (max-width:640px){.text-settings-bar{box-sizing:border-box;flex-wrap:wrap;justify-content:center;gap:6px;width:max-content;max-width:calc(100vw - 16px);padding:6px 12px;bottom:66px;left:50%;right:auto;transform:translate(-50%)}.text-settings-bar:after,.text-settings-bar__divider,.text-settings-bar__label{display:none}.text-settings-bar__group{gap:6px}.text-settings-bar__font-button{text-overflow:ellipsis;white-space:nowrap;min-width:64px;max-width:110px;overflow:hidden}.text-settings-bar__slider{width:72px}.text-settings-bar__value{min-width:34px}.text-settings-bar__color-picker,.text-settings-bar__font-picker{max-width:calc(100vw - 24px);max-height:50vh;overflow:auto}}@media (max-height:520px){.text-settings-bar{bottom:56px}}@media (prefers-color-scheme:dark){.text-settings-bar{background:#171717f2}.text-settings-bar:after{border-top-color:#171717f2}.text-settings-bar__label{color:#a3a3a3}.text-settings-bar__value{color:#fafafa}.text-settings-bar__divider{background:#ffffff1a}.text-settings-bar__font-button{color:#fafafa;background:#ffffff0d;border-color:#ffffff1a}.text-settings-bar__font-button:hover{background:#ffffff1a}.text-settings-bar__font-picker{background:#262626}.text-settings-bar__font-option{color:#fafafa}.text-settings-bar__font-option:hover{background:#ffffff0d}.text-settings-bar__color-button{border-color:#ffffff1a}.text-settings-bar__color-picker{background:#262626}.text-settings-bar__color-preset{border-color:#ffffff1a}.text-settings-bar__slider{background:#ffffff1a}.text-settings-bar__format-btn{color:#a3a3a3}.text-settings-bar__format-btn:hover{color:#fafafa;background:#ffffff0d}}.shape-settings-bar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:var(--z-editor-toolbar-panel,1150);background:#fffffff2;border-radius:24px;align-items:center;gap:12px;padding:8px 16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;bottom:90px;box-shadow:0 4px 24px #0000001f}.shape-settings-bar,.shape-settings-bar:after{position:absolute;left:50%;transform:translate(-50%)}.shape-settings-bar:after{content:"";border-top:8px solid #fffffff2;border-left:8px solid #0000;border-right:8px solid #0000;width:0;height:0;bottom:-8px}.shape-settings-bar__group{align-items:center;gap:8px;display:flex}.shape-settings-bar__label{color:#525252;white-space:nowrap;font-size:12px;font-weight:500}.shape-settings-bar__value{color:#171717;text-align:right;min-width:28px;font-size:12px;font-weight:500}.shape-settings-bar__divider{background:#0000001a;width:1px;height:24px}.shape-settings-bar__color-wrapper{position:relative}.shape-settings-bar__color-button{cursor:pointer;border:2px solid #0000001a;border-radius:6px;width:28px;height:28px;transition:transform .2s,box-shadow .2s}.shape-settings-bar__color-button:hover{transform:scale(1.1);box-shadow:0 2px 8px #00000026}.shape-settings-bar__color-button[data-empty=true],.shape-settings-bar__color-none{background-color:#fff;background-image:linear-gradient(45deg,#ccc 25%,#0000 0),linear-gradient(-45deg,#ccc 25%,#0000 0),linear-gradient(45deg,#0000 75%,#ccc 0),linear-gradient(-45deg,#0000 75%,#ccc 0);background-position:0 0,0 4px,4px -4px,-4px 0;background-size:8px 8px}.shape-settings-bar__color-picker{z-index:10;background:#fff;border-radius:8px;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px;display:grid;position:absolute;bottom:40px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #00000026}.shape-settings-bar__color-preset{cursor:pointer;border:2px solid #0000001a;border-radius:4px;width:24px;height:24px;transition:transform .2s}.shape-settings-bar__color-preset:hover{transform:scale(1.15)}.shape-settings-bar__color-none{position:relative}.shape-settings-bar__color-rainbow{background:conic-gradient(red,#ff8000,#ff0,#0f0,#0ff,#00f,#8000ff,#ff0080,red);position:relative;border:none!important}.shape-settings-bar__custom-color-input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute}.shape-settings-bar__slider{appearance:none;cursor:pointer;background:#0000001a;border-radius:2px;outline:none;width:70px;height:4px}.shape-settings-bar__slider::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #0003}.shape-settings-bar__slider::-moz-range-thumb{cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #0003}.shape-settings-bar__seg-group{gap:2px}.shape-settings-bar__seg-btn{color:#525252;cursor:pointer;background:#fff;border:1px solid #0000001f;border-radius:6px;min-width:28px;height:26px;padding:0 6px;font-size:12px;transition:all .15s}.shape-settings-bar__seg-btn--active{color:#fff;background:#3b82f6;border-color:#3b82f6}.shape-settings-bar__hint{color:#a3a3a3;align-items:center;display:inline-flex}@media (max-width:640px){.shape-settings-bar{scrollbar-width:none;flex-wrap:nowrap;gap:6px;width:max-content;max-width:calc(100vw - 16px);padding:6px 12px;bottom:66px;overflow-x:auto}.shape-settings-bar::-webkit-scrollbar{display:none}.shape-settings-bar:after{display:none}.shape-settings-bar>*{flex-shrink:0}.shape-settings-bar__slider{width:56px}}@media (max-height:520px){.shape-settings-bar{bottom:56px}}@media (prefers-color-scheme:dark){.shape-settings-bar{background:#171717f2}.shape-settings-bar:after{border-top-color:#171717f2}.shape-settings-bar__label{color:#a3a3a3}.shape-settings-bar__value{color:#fafafa}.shape-settings-bar__divider{background:#ffffff1a}.shape-settings-bar__color-button{border-color:#ffffff1a}.shape-settings-bar__color-picker{background:#262626}.shape-settings-bar__color-preset{border-color:#ffffff1a}.shape-settings-bar__slider{background:#ffffff1a}.shape-settings-bar__seg-btn{color:#a3a3a3;background:#262626;border-color:#ffffff1f}.shape-settings-bar__seg-btn--active{color:#fff;background:#3b82f6;border-color:#3b82f6}}.layer-panel{z-index:var(--z-editor-toolbar,1100);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-webkit-user-select:none;user-select:none;background:#fffffff2;border:1px solid #00000014;border-radius:12px;flex-direction:column;width:248px;min-height:0;max-height:calc(100% - 48px);display:flex;position:absolute;top:24px;right:24px;overflow:hidden;box-shadow:0 4px 24px #0000001a}.dark .layer-panel{background:#18181bf2;border-color:#0000;box-shadow:0 4px 24px #00000040}.layer-panel--collapsed{width:auto}.layer-panel--embedded{width:100%;height:auto;max-height:var(--left-panel-content-max-height,100%);min-height:0;position:static;top:auto;left:auto;right:auto;overflow:hidden}.layer-panel__header{cursor:pointer;border-bottom:1px solid #0000000f;align-items:center;gap:8px;padding:8px 10px;display:flex}.layer-panel--collapsed .layer-panel__header{border-bottom:none}.dark .layer-panel__header{border-bottom-color:#ffffff14}.layer-panel__title{color:#000000bf;flex:1;font-size:13px;font-weight:600}.dark .layer-panel__title{color:#fffc}.layer-panel__count{color:#0006;font-variant-numeric:tabular-nums;font-size:11px;font-weight:500}.dark .layer-panel__count{color:#fff6}.layer-panel__collapse-icon{color:#00000073;align-items:center;display:flex}.dark .layer-panel__collapse-icon{color:#ffffff80}.layer-panel__zorder{border-bottom:1px solid #0000000f;align-items:center;gap:2px;padding:6px 8px;display:flex}.dark .layer-panel__zorder{border-bottom-color:#ffffff14}.layer-panel__zbtn{cursor:pointer;color:#0000008c;background:0 0;border:none;border-radius:7px;justify-content:center;align-items:center;width:30px;height:30px;transition:all .15s;display:flex;position:relative}.layer-panel__zbtn[data-tip]:after{content:attr(data-tip);color:#fff;white-space:nowrap;opacity:0;pointer-events:none;z-index:60;background:#171717;border-radius:6px;padding:5px 8px;font-size:11px;font-weight:500;line-height:1.2;transition:opacity .15s,transform .15s;position:absolute;top:calc(100% + 6px);left:0;transform:translateY(3px);box-shadow:0 2px 8px #0000004d}.layer-panel__zbtn[data-tip]:hover:after{opacity:1;transform:translateY(0)}.layer-panel__zbtn:hover:not(:disabled){color:#171717;background:#0000000f}.layer-panel__zbtn:disabled{opacity:.3;cursor:not-allowed}.dark .layer-panel__zbtn{color:#ffffffb3}.dark .layer-panel__zbtn:hover:not(:disabled){color:#fff;background:#ffffff1a}.layer-panel__list{scrollbar-width:thin;scrollbar-color:transparent transparent;scrollbar-gutter:stable;overscroll-behavior:contain;flex-direction:column;flex:1;gap:2px;min-height:0;padding:6px;display:flex;overflow-y:auto}.layer-panel__list::-webkit-scrollbar{width:6px}.layer-panel__list::-webkit-scrollbar-track{background:0 0}.layer-panel__list::-webkit-scrollbar-thumb{background-color:#0000;border-radius:999px}.layer-panel:hover .layer-panel__list,.layer-panel__list:hover{scrollbar-color:#00000047 transparent}.layer-panel:hover .layer-panel__list::-webkit-scrollbar-thumb,.layer-panel__list:hover::-webkit-scrollbar-thumb{background-color:#0000003d}.layer-panel__list::-webkit-scrollbar-thumb:hover{background-color:#00000057}.dark .layer-panel__list{scrollbar-color:transparent transparent}.dark .layer-panel:hover .layer-panel__list,.dark .layer-panel__list:hover{scrollbar-color:#ffffff4d transparent}.dark .layer-panel:hover .layer-panel__list::-webkit-scrollbar-thumb,.dark .layer-panel__list:hover::-webkit-scrollbar-thumb{background-color:#ffffff42}.dark .layer-panel__list::-webkit-scrollbar-thumb:hover{background-color:#ffffff61}.layer-panel__empty{text-align:center;color:#0006;padding:16px 12px;font-size:12px}.dark .layer-panel__empty{color:#fff6}.layer-panel__row{cursor:pointer;color:#000000c7;border-radius:7px;grid-template-columns:16px 18px minmax(0,1fr) auto auto auto;align-items:center;gap:6px;min-height:34px;padding:0 6px;transition:background .12s;display:grid}.layer-panel__row:hover{background:#0000000d}.layer-panel__row--selected{color:#2563eb;background:#3b82f61f}.layer-panel__row--selected:hover{background:#3b82f62e}.layer-panel__row--hidden{opacity:.5}.layer-panel__row--drop-before{box-shadow:inset 0 2px #3b82f6}.layer-panel__row--drop-after{box-shadow:inset 0 -2px #3b82f6}.dark .layer-panel__row{color:#ffffffc7}.dark .layer-panel__row:hover{background:#ffffff14}.dark .layer-panel__row--selected{color:#93c5fd;background:#3b82f64d}.layer-panel__drag-handle{color:#0000004d;cursor:grab;justify-content:center;align-items:center;display:flex}.layer-panel__drag-handle:active{cursor:grabbing}.dark .layer-panel__drag-handle{color:#ffffff4d}.layer-panel__type-icon{color:#00000080;justify-content:center;align-items:center;display:flex}.layer-panel__row--selected .layer-panel__type-icon{color:inherit}.dark .layer-panel__type-icon{color:#ffffff8c}.layer-panel__name{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:13px;font-weight:500;overflow:hidden}.layer-panel__name-input{color:#171717;background:#fff;border:1px solid #3b82f6;border-radius:4px;outline:none;width:100%;padding:1px 4px;font-size:13px;font-weight:500}.dark .layer-panel__name-input{color:#fff;background:#18181b}.layer-panel__icon-btn{cursor:pointer;color:#00000080;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:24px;height:24px;transition:all .12s;display:flex}.layer-panel__icon-btn:hover{color:#171717;background:#00000014}.layer-panel__icon-btn--active{color:#3b82f6}.layer-panel__icon-btn--danger:hover:not(:disabled){color:#dc2626;background:#ef44441f}.dark .layer-panel__icon-btn{color:#ffffff8c}.dark .layer-panel__icon-btn:hover{color:#fff;background:#ffffff1a}.dark .layer-panel__icon-btn--danger:hover:not(:disabled){color:#fca5a5;background:#f871712e}@media (max-width:640px){.layer-panel{width:200px;top:16px;right:16px}.layer-panel--embedded{width:100%;top:auto;right:auto}}.mask-panel{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);width:180px;z-index:var(--z-editor-toolbar-panel,1150);background:#fffffff7;border-radius:14px;flex-direction:column;align-items:stretch;gap:8px;padding:12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;position:absolute;top:80px;right:16px;box-shadow:0 4px 24px #00000024}.mask-panel__title{color:#171717;font-size:13px;font-weight:600}.mask-panel__thumb{aspect-ratio:1;background-image:linear-gradient(45deg,#ddd 25%,#0000 0),linear-gradient(-45deg,#ddd 25%,#0000 0),linear-gradient(45deg,#0000 75%,#ddd 0),linear-gradient(-45deg,#0000 75%,#ddd 0);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #0000001f;border-radius:8px;width:100%;overflow:hidden}.mask-panel__thumb img{object-fit:contain;width:100%;height:100%;display:block}.mask-panel__thumb-empty{width:100%;height:100%}.mask-panel__divider{background:#0000001a;width:100%;height:1px}.mask-panel__group{align-items:center;gap:6px;display:flex}.mask-panel__label{color:#525252;white-space:nowrap;min-width:52px;font-size:11px;font-weight:500}.mask-panel__value{color:#171717;text-align:right;min-width:32px;font-size:11px;font-weight:500}.mask-panel__check{color:#525252;align-items:center;gap:6px;display:flex}.mask-panel__btn,.mask-panel__check{cursor:pointer;font-size:12px;font-weight:500}.mask-panel__btn{color:#404040;background:#fff;border:1px solid #0000001f;border-radius:8px;height:30px;padding:0 10px;transition:all .15s}.mask-panel__btn:hover{background:#f5f5f5}.mask-panel__btn--primary{color:#fff;background:#3b82f6;border-color:#3b82f6}.mask-panel__btn--primary:hover{background:#2563eb}.mask-panel__btn--active{color:#fff;background:#3b82f6;border-color:#3b82f6}.mask-panel__btn--danger{color:#dc2626;border-color:#dc262666}.mask-panel__btn--danger:hover{background:#dc262614}.mask-panel__seg{gap:2px;display:flex}.mask-panel__seg-btn{color:#525252;cursor:pointer;background:#fff;border:1px solid #0000001f;border-radius:6px;flex:1;height:28px;padding:0 4px;font-size:11px;transition:all .15s}.mask-panel__seg-btn--active{color:#fff;background:#3b82f6;border-color:#3b82f6}.mask-panel__slider{appearance:none;cursor:pointer;background:#0000001a;border-radius:2px;outline:none;flex:1;height:4px}.mask-panel__slider::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #0003}.mask-panel__slider::-moz-range-thumb{cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #0003}@media (prefers-color-scheme:dark){.mask-panel{background:#171717f7}.mask-panel__title{color:#fafafa}.mask-panel__check,.mask-panel__label{color:#a3a3a3}.mask-panel__value{color:#fafafa}.mask-panel__divider{background:#ffffff1a}.mask-panel__btn{color:#e5e5e5;background:#262626;border-color:#ffffff1f}.mask-panel__btn:hover{background:#333}.mask-panel__seg-btn{color:#a3a3a3;background:#262626;border-color:#ffffff1f}.mask-panel__btn--active,.mask-panel__btn--primary,.mask-panel__seg-btn--active{color:#fff;background:#3b82f6;border-color:#3b82f6}.mask-panel__slider{background:#ffffff1a}}@media (max-width:640px){.mask-panel{width:150px;padding:8px;top:64px;right:8px}}