.ks-editor-shell {
    background: linear-gradient(135deg, #111827, #1f2937);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
    overflow: hidden;
}

.ks-editor-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.ks-editor-title {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.3px;
}

.ks-editor-subtitle {
    color: rgba(255,255,255,.55);
    font-size: 13px;
    margin-top: 2px;
}

.ks-editor-toolbar {
    background: rgba(255,255,255,.94);
    border-radius: 18px 18px 0 0;
    border: none !important;
    padding: 12px !important;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.08);
}

    .ks-editor-toolbar .ql-formats {
        margin-right: 12px !important;
    }

    .ks-editor-toolbar button,
    .ks-editor-toolbar .ql-picker {
        border-radius: 10px;
    }

        .ks-editor-toolbar button:hover,
        .ks-editor-toolbar .ql-picker:hover {
            background: rgba(37,99,235,.10);
        }

.ks-editor-host {
    background: #fff;
    color: #111827;
    border-radius: 0 0 18px 18px;
    border: none !important;
    overflow-y: auto;
}

    .ks-editor-host .ql-editor {
        min-height: 280px;
        font-size: 16px;
        line-height: 1.75;
        padding: 24px;
    }

        .ks-editor-host .ql-editor img {
            max-width: 100%;
            border-radius: 16px;
            box-shadow: 0 14px 34px rgba(0,0,0,.18);
            margin: 14px 0;
        }

        .ks-editor-host .ql-editor h1,
        .ks-editor-host .ql-editor h2 {
            font-weight: 800;
            color: #111827;
        }

        .ks-editor-host .ql-editor a {
            color: #2563eb;
            font-weight: 600;
        }

@media (max-width: 768px) {
    .ks-editor-shell {
        padding: 12px;
        border-radius: 18px;
    }

    .ks-editor-title {
        font-size: 17px;
    }

    .ks-editor-toolbar {
        overflow-x: auto;
        white-space: nowrap;
    }

    .ks-editor-host .ql-editor {
        padding: 16px;
        font-size: 15px;
    }
}
