/* Math equation styling for saved content */
.math-equation {
    cursor: pointer;
    pointer-events: auto;
    padding: 6px 10px;
    margin: 0 4px;
    border: 0.5px solid #636668;
    border-radius: 6px;
    transition: all 0.25s;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.math-equation:hover {
    background:none !important;
    border-color:rgb(13, 110, 253);
    box-shadow: 0 2px 6px rgba(33, 150, 243, 0.3);
}

.math-equation math,
.math-equation math * {
    pointer-events: none;
    user-select: none;
    cursor: inherit;
}
.custommath-symbol-grid svg > path, .custommath-symbol-grid svg > rect, .custommath-symbol-grid svg > line {
    stroke: #495057;

}