.eagle-editor {
    width: 100%;
    border: 1px solid #d7dde4;
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.eagle-editor-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    min-height: 42px;
    padding: 5px 7px;
    border-bottom: 1px solid #d7dde4;
    background: #f7f9fb;
}

.eagle-editor-btn,
.eagle-editor-select,
.eagle-editor-colour {
    height: 30px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: #4d5966;
    box-sizing: border-box;
}

.eagle-editor-btn {
    min-width: 30px;
    padding: 0 8px;
    cursor: pointer;
}

.eagle-editor-btn:hover,
.eagle-editor-btn:focus,
.eagle-editor-select:hover,
.eagle-editor-select:focus,
.eagle-editor-colour:hover {
    border-color: #cbd3dc;
    background: #fff;
    color: #252d35;
    outline: none;
}

.eagle-editor-select {
    min-width: 125px;
    padding: 0 8px;
    cursor: pointer;
}

.eagle-editor-divider {
    width: 1px;
    height: 24px;
    margin: 0 4px;
    background: #d7dde4;
}

.eagle-editor-colour {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    cursor: pointer;
}

.eagle-editor-colour input[type="color"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.eagle-editor-content {
    width: 100%;
    min-height: 300px;
    padding: 12px 14px;
    overflow: auto;
    color: #333;
    background: #fff;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    outline: none;
}

.eagle-editor-content:focus {
    box-shadow: inset 0 0 0 1px #b9c7d5;
}

.eagle-editor-content p {
    margin: 0 0 10px;
}

.eagle-editor-content ul,
.eagle-editor-content ol {
    padding-left: 28px;
}

.eagle-editor-content blockquote {
    margin: 10px 0;
    padding: 8px 14px;
    border-left: 3px solid #cbd3dc;
    color: #66727e;
}

.eagle-editor-content img {
    max-width: 100%;
    height: auto;
}

.eagle-editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.eagle-editor-content th,
.eagle-editor-content td {
    padding: 6px 8px;
    border: 1px solid #d7dde4;
    vertical-align: top;
}

.eagle-editor-readonly {
    border-color: #e1e5e9;
}

.eagle-editor-readonly .eagle-editor-content {
    background: #fafbfc;
}

@media (max-width: 768px) {
    .eagle-editor-toolbar {
        gap: 1px;
    }

    .eagle-editor-btn {
        min-width: 28px;
        padding: 0 6px;
    }

    .eagle-editor-divider {
        margin: 0 2px;
    }
}
