.value-shape-editor {
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

.value-shape-editor .dx-texteditor,
.value-shape-editor .dx-numberbox,
.value-shape-editor .dx-texteditor-container,
.value-shape-editor .dx-texteditor-input-container {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    outline: none !important;
    padding: 0 !important;
}

.value-shape-editor .dx-texteditor-input {
    font-family: "Katex_Main";
    font-size: 14px;
    text-align: left;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    line-height: 1;
}

.value-shape-editor .dx-numberbox-spin-container {
    display: none !important;
}

.mdl-value-editing [data-value-edit] {
    opacity: 0;
}

.text-shape-editor {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    resize: none;
    border: 1px dashed #4039d7;
    border-radius: 4px;
    outline: none;
    background: rgba(255, 255, 255, 0.92);
    font-family: "Nunito", sans-serif;
    line-height: 1.25;
    text-align: center;
    padding: 2px 4px;
    pointer-events: auto;
}

.mdl-text-editing [data-text-edit] text {
    visibility: hidden;
}

.mdl-cell-math-editor {
    overflow: visible;
}

.mdl-cell-math-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

.mdl-cell-math-field {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0 4px;
    border: none;
    outline: 1px solid;
    outline-offset: -1px;
    --caret-color: currentColor;
    --selection-background-color: rgba(24, 113, 194, 0.25);
}

.mdl-cell-math-field::part(container) {
    min-height: 0;
    height: 100%;
    align-items: center;
}

.mdl-cell-math-field:focus-within {
    outline: 1px solid;
}

.mdl-cell-math-field::part(content) {
    padding: 0;
}

.mdl-cell-math-field::part(menu-toggle),
.mdl-cell-math-field::part(virtual-keyboard-toggle) {
    display: none;
}
