.news-rich-text {
    white-space: normal;
    overflow-wrap: anywhere;
}
.news-rich-text > :first-child { margin-top: 0; }
.news-rich-text > :last-child { margin-bottom: 0; }
.news-rich-text p { margin: 0 0 16px; }
.news-rich-text strong { font-weight: 700; }
.news-rich-text em { font-style: italic; }
.news-rich-text h1,
.news-rich-text h2,
.news-rich-text h3,
.news-rich-text h4,
.news-rich-text h5,
.news-rich-text h6 {
    margin: 24px 0 12px;
    color: #191b20;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
}
.news-rich-text h1 { font-size: 28px; }
.news-rich-text h2 { font-size: 24px; }
.news-rich-text h3 { font-size: 21px; }
.news-rich-text h4,
.news-rich-text h5,
.news-rich-text h6 { font-size: 18px; }
.news-rich-text ul,
.news-rich-text ol {
    margin: 12px 0 20px;
    padding-left: 26px;
}
.news-rich-text ul { list-style: disc; }
.news-rich-text ol { list-style: decimal; }
.news-rich-text li { margin: 6px 0; }
.news-rich-text a { color: #0068df; text-decoration: underline; }
.news-rich-text blockquote {
    margin: 20px 0;
    padding: 12px 20px;
    border-left: 3px solid #087bff;
    background: #f1f6ff;
    border-radius: 0 14px 14px 0;
}
.news-rich-text pre {
    padding: 16px;
    overflow-x: auto;
    background: #f1f4f8;
    border-radius: 14px;
}
.news-rich-text img { max-width: 100%; height: auto; }
.news-rich-text table { display: block; max-width: 100%; overflow-x: auto; }
.news-rich-text th,
.news-rich-text td { padding: 8px; border: 1px solid #dfe3ea; }

/* News editor toolbar */
.news-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}
.news-editor-toolbar button {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #cfe0f7;
    border-radius: 12px;
    background: #edf5ff;
    color: #0068df;
    font-size: 14px;
    cursor: pointer;
}
.news-editor-toolbar button:hover { background: #dcecff; }
.news-editor-toolbar button:focus-visible {
    outline: 3px solid #087bff;
    outline-offset: 2px;
}

/* News preview panel */
.news-preview-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.news-preview-controls button {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #cfe0f7;
    border-radius: 14px;
    background: #edf5ff;
    color: #0068df;
    cursor: pointer;
}
.news-preview-controls button:disabled { opacity: .6; cursor: wait; }
.news-preview-controls button:focus-visible {
    outline: 3px solid #087bff;
    outline-offset: 2px;
}
#news-preview-status { font-size: 13px; color: #6b7280; }
.news-preview-panel {
    margin-top: 16px;
    padding: 22px;
    border: 1px solid #dfe3ea;
    border-radius: 20px;
    background: #fbfcfe;
    line-height: 1.8;
}
.news-preview-panel[hidden] { display: none; }
