/* Shared by the public article, read-only preview and editing area. Width attributes
   may contain percentages or the pixel dimensions written by DevExtreme resizing. */
.publication-content img,
#html-editor .dx-htmleditor-content img {
    max-width: 100%;
    height: auto !important;
    vertical-align: middle;
}
.publication-content { overflow-wrap: anywhere; }
.publication-photo-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: .75rem;
    padding: .85rem;
    border: 1px solid #cedfea;
    border-radius: .35rem;
    background: #f5f9fc;
}
.publication-photo-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
.publication-photo-tools button[aria-pressed="true"] { background: #002186; border-color: #002186; color: white; }
.publication-photo-help, .publication-photo-status { flex-basis: 100%; margin: 0; font-size: .875rem; }
.publication-photo-help { color: #455669; }
.publication-photo-status:empty { display: none; }
.publication-photo-status[data-error="true"] { color: #b42318; }
#html-editor .dx-htmleditor-content img[data-photo-selected] { outline: 2px solid #1469c0; outline-offset: 2px; }
