:root{--math-curves-editor-width:min(22rem, 100vw);--math-curves-editor-mobile-height:90dvh}@media (max-width:767px){[data-curve-row][data-editor-open]{scroll-margin-bottom:calc(var(--math-curves-editor-mobile-height) + .75rem)}li:has([data-slot-key][aria-pressed=true]){scroll-margin-bottom:calc(var(--math-curves-editor-mobile-height) + .75rem)}}body:has(.math-curves-mobile-sheet) [data-slot=drawer-overlay]{display:none}.math-curves-mobile-sheet{border-top-left-radius:var(--radius-shell,2rem);border-top-right-radius:var(--radius-shell,2rem)}.math-curves-mobile-sheet .math-curves-editor-close{z-index:50;background-color:color-mix(in oklab, var(--foreground) 8%, var(--background));border-radius:9999px;width:2rem;height:2rem;top:1rem;right:1rem}.math-curves-mobile-sheet .math-curves-editor-close svg{width:1rem;height:1rem}.math-curves-editor-preview{contain:layout style}.math-curves-editor-preview-slot{contain:strict;contain-intrinsic-size:11rem 11rem;width:min(11rem,100%);height:11rem;margin-inline:auto}.math-curves-editor-controls .dialkit-root[data-mode=inline]{width:100%;height:auto;min-height:0;max-height:none}.math-curves-editor-controls .dialkit-panel,.math-curves-editor-controls .dialkit-panel-inner,.math-curves-editor-controls .dialkit-panel-wrapper{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;box-shadow:none!important;background:0 0!important;border:none!important;border-radius:0!important;position:static!important;overflow:visible!important}.dialkit-preset-dropdown>.dialkit-preset-item:first-child,.dialkit-preset-dropdown .dialkit-preset-delete{display:none}.math-curves-editor-controls .dialkit-folder-root>.dialkit-folder-header .dialkit-folder-title-row{white-space:normal;align-items:flex-start;min-width:0;overflow:visible}.math-curves-editor-controls .dialkit-folder-root>.dialkit-folder-header .dialkit-folder-title-root{font-size:0;line-height:0;transform:none}.math-curves-editor-controls .dialkit-folder-root>.dialkit-folder-header .dialkit-folder-title-root:after{content:var(--math-curves-formula);letter-spacing:-.02em;white-space:pre-wrap;overflow-wrap:break-word;color:var(--dial-text-root);font-family:Geist Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.6875rem;font-weight:500;line-height:1.35;display:block}.math-curves-editor-controls .dialkit-folder-root>.dialkit-folder-content>.dialkit-folder-inner{gap:.375rem;padding-top:.875rem;padding-bottom:.375rem}.math-curves-editor-controls .dialkit-folder-root>.dialkit-folder-content>.dialkit-folder-inner>.dialkit-folder:not(.dialkit-folder-root){margin-block:0}.math-curves-editor-controls .dialkit-folder-root>.dialkit-folder-content>.dialkit-folder-inner>.dialkit-folder:not(.dialkit-folder-root)>.dialkit-folder-content>.dialkit-folder-inner{padding-top:.25rem;padding-bottom:.75rem}.math-curves-editor-controls .dialkit-text-control{display:none}.math-curves-editor-controls [data-curve-color-row=stroke]{height:auto;min-height:var(--dial-row-height);flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.math-curves-editor-controls [data-curve-color-row=stroke] .dialkit-slider{height:var(--dial-row-height);flex:1 1 0;order:1;min-width:0;position:relative;top:auto;left:auto}.math-curves-editor-controls [data-curve-color-row=fill]{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.math-curves-editor-controls [data-curve-color-row=fill] .dialkit-select-trigger{flex:1 1 0;order:1;min-width:0}.math-curves-editor-controls [data-curve-color-row] .curve-color-swatch{order:0}.math-curves-editor-controls [data-curve-color-row] .curve-color-panel{flex:100%;order:2}.math-curves-editor-controls [data-curve-export]>.dialkit-button,.math-curves-editor-controls [data-curve-component-export]>.dialkit-button{display:none}
