
/* Formatting reference is confined to the article create/edit form. */
.articles-editor .article-body-heading{position:relative;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;margin-bottom:8px}
.articles-editor .article-body-heading>label{display:block;margin:0}
.articles-editor .article-format-help{position:static;border:0;padding:0;margin:0;font:inherit;color:#526879}
.articles-editor .article-format-help>summary{display:inline-flex;align-items:center;min-height:32px;padding:4px 7px;border-radius:6px;list-style:none;font-size:.95rem;color:#526879;cursor:pointer}
.articles-editor .article-format-help>summary::-webkit-details-marker{display:none}
.articles-editor .article-format-help>summary:hover,.articles-editor .article-format-help[open]>summary{background:rgba(82,104,121,.09)}
.articles-editor .article-format-panel{position:absolute;z-index:5;top:calc(100% + 6px);left:0;right:0;max-height:min(60dvh,530px);overflow:auto;padding:18px;border:1px solid #d6dde0;border-radius:14px;background:#fff;color:#30483b;box-shadow:0 12px 34px rgba(40,55,48,.14);font-size:1rem;line-height:1.55;overscroll-behavior:contain}
.articles-editor .article-format-panel p{margin:0 0 12px}
.articles-editor .article-format-panel .article-format-intro{color:#596b61}
.articles-editor .article-format-examples{margin:0}
.articles-editor .article-format-examples>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;padding:9px 0;border-bottom:1px solid #edf0ed}
.articles-editor .article-format-examples dt,.articles-editor .article-format-examples dd{min-width:0;margin:0;overflow-wrap:anywhere}
.articles-editor .article-format-panel code{font-size:.95em;color:#526879;background:#f2f5f6;padding:1px 4px;border-radius:4px;white-space:normal;overflow-wrap:anywhere}
.articles-editor .article-format-examples ul,.articles-editor .article-format-examples ol{margin:0;padding-left:19px}
.articles-editor .article-format-quote{display:block;border-left:2px solid #b37f40;padding-left:10px;color:#5c6b61}
.articles-editor .article-format-link{color:#526879;text-decoration:underline;text-underline-offset:3px}
.articles-editor .article-format-panel .article-format-footnote{margin-top:13px;color:#596b61}
.articles-editor .article-format-panel .article-format-close-hint{margin-bottom:0;color:#687a82;font-size:.95rem}
@media(max-width:500px){.articles-editor .article-format-panel{padding:14px}.articles-editor .article-format-examples>div{grid-template-columns:minmax(0,1fr);gap:5px}}
@media(pointer:coarse){.articles-editor .article-format-help>summary{min-height:44px}}
