.gn-safe-editor {
    width: 100%;
    border: 1px solid #d9dde3;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.gn-safe-editor__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px;
    border-bottom: 1px solid #e8ebef;
    background: #f7f8fa;
}

.gn-safe-editor__toolbar button {
    min-width: 30px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: #333;
    cursor: pointer;
    font-size: 13px;
    line-height: 26px;
}

.gn-safe-editor__toolbar button:hover,
.gn-safe-editor__toolbar button:focus {
    border-color: #c9d0d9;
    background: #fff;
    outline: none;
}

.gn-safe-editor__body {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    outline: none;
    overflow-y: auto;
}

.gn-safe-editor__body:focus {
    box-shadow: inset 0 0 0 1px rgba(226, 59, 46, .25);
}

.gn-safe-editor__body img {
    max-width: 100%;
    height: auto;
}

.gn-safe-editor__body table {
    max-width: 100%;
    border-collapse: collapse;
}

.gn-safe-editor__body td,
.gn-safe-editor__body th {
    padding: 4px 8px;
    border: 1px solid #d9dde3;
}
