.zentry-rich-editor {
    --zre-ink: #10254b;
    --zre-primary: #245fb8;
    --zre-line: #d7e0ec;
    overflow: hidden;
    border: 1px solid var(--zre-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 37, 75, .05);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.zentry-rich-editor.is-focused {
    border-color: var(--zre-primary);
    box-shadow: 0 0 0 3px rgba(36, 95, 184, .12), 0 12px 30px rgba(16, 37, 75, .07);
}
.zentry-rich-editor__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 9px 10px;
    border-bottom: 1px solid var(--zre-line);
    background: #f6f8fb;
}
.zentry-rich-editor__toolbar select {
    width: auto;
    min-width: 126px;
    height: 34px;
    min-height: 34px;
    padding: 0 28px 0 9px;
    border: 1px solid #cad5e3;
    border-radius: 7px;
    background-color: #fff;
    color: var(--zre-ink);
    font: inherit;
    font-size: 12px;
}
.zentry-rich-editor__toolbar button {
    display: inline-grid;
    width: auto;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    place-items: center;
    padding: 0 9px;
    border: 0;
    border-radius: 7px;
    color: var(--zre-ink);
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}
.zentry-rich-editor__toolbar button:hover,
.zentry-rich-editor__toolbar button:focus-visible,
.zentry-rich-editor__toolbar button.is-active {
    color: #fff;
    background: var(--zre-primary);
    outline: 0;
}
.zre-divider {
    width: 1px;
    height: 23px;
    margin: 0 3px;
    background: #ccd7e5;
}
.zentry-rich-editor__canvas {
    min-height: 300px;
    padding: 20px;
    color: #26384f;
    font-size: 16px;
    line-height: 1.75;
    outline: 0;
}
.zentry-rich-editor__canvas p { margin: 0 0 1rem; }
.zentry-rich-editor__canvas h2,
.zentry-rich-editor__canvas h3,
.zentry-rich-editor__canvas h4 { margin: 1.65rem 0 .65rem; color: var(--zre-ink); }
.zentry-rich-editor__canvas h2 { font-size: 1.7rem; }
.zentry-rich-editor__canvas h3 { font-size: 1.38rem; }
.zentry-rich-editor__canvas h4 { font-size: 1.15rem; }
.zentry-rich-editor__canvas ul,
.zentry-rich-editor__canvas ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.zentry-rich-editor__canvas blockquote {
    margin: 1.35rem 0;
    padding: .7rem 1.1rem;
    border-left: 3px solid var(--zre-primary);
    color: #465a75;
    background: #f6f8fb;
}
.zentry-rich-editor__canvas a { color: #174f9f; text-decoration: underline; }
.zentry-rich-editor__canvas mark { padding: .05em .2em; background: #fff0a8; }
.zentry-rich-editor__canvas hr { margin: 2rem 0; border: 0; border-top: 1px solid #cbd7e5; }
.zentry-rich-editor__hint {
    margin: 0;
    padding: 9px 13px;
    color: #66758b;
    background: #f9fafc;
    font-size: 11px;
    line-height: 1.5;
}
.zentry-rich-editor.is-readonly .zentry-rich-editor__canvas { min-height: 180px; background: #f8fafc; }
@media (max-width: 600px) {
    .zentry-rich-editor__toolbar { gap: 2px; padding: 8px; }
    .zentry-rich-editor__toolbar select { min-width: 110px; }
    .zentry-rich-editor__toolbar button { padding: 0 7px; }
    .zre-divider { display: none; }
    .zentry-rich-editor__canvas { min-height: 260px; padding: 16px; font-size: 16px; }
}
