/* ke-editor.css – Markdown toolbar styly */
.ke-md-toolbar {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #f6f7f8;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    padding: 4px 6px;
    flex-wrap: wrap;
}
.ke-md-btn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2px 8px;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.6;
    color: #333;
    transition: background .1s, border-color .1s;
    min-width: 26px;
    text-align: center;
}
.ke-md-btn:hover {
    background: #e8f0fb;
    border-color: #1B4F8A;
    color: #1B4F8A;
}
.ke-md-hint {
    font-size: 10.5px;
    color: #aaa;
    margin-left: auto;
    white-space: nowrap;
}
/* Textarea s toolbarem – zaoblení jen dole */
.ke-md-toolbar + textarea {
    border-radius: 0 0 5px 5px !important;
    border-top: none !important;
}
/* Výstup Markdown na frontendu */
.ke-md-output { line-height: 1.7; }
.ke-md-output ul { margin: 6px 0 6px 20px; padding: 0; }
.ke-md-output ol { margin: 6px 0 6px 20px; padding: 0; }
.ke-md-output li { margin-bottom: 2px; }
.ke-md-output hr { border: none; border-top: 1px solid #ddd; margin: 10px 0; }
.ke-md-output p  { margin: 0 0 6px; }
.ke-md-output p:last-child { margin-bottom: 0; }
