.light-rte-container {
    border: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.light-rte-container.light-rte-invalid {
    border-color: var(--mud-palette-error, #b00020);
}

.light-rte-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 6px 8px;
    background: #f5f5f5;
    border-bottom: 1px solid var(--mud-palette-lines-default, #e0e0e0);
}

.light-rte-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1;
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.light-rte-btn:hover {
    background: #e0e0e0;
}

.light-rte-select {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 12px;
    height: 28px;
    background: #fff;
}

.light-rte-color {
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1px;
    cursor: pointer;
}

.light-rte-separator {
    width: 1px;
    height: 20px;
    background: #ccc;
    margin: 0 4px;
}

.light-rte-content {
    padding: 12px 16px;
    overflow-y: auto;
    outline: none;
    font-size: 14px;
    line-height: 1.6;
}

.light-rte-content:empty:before {
    content: attr(placeholder);
    color: var(--mud-palette-text-disabled, #9e9e9e);
    pointer-events: none;
}

.light-rte-readonly {
    background: #fafafa;
    cursor: default;
}
