.prose a, .article-sources a { color: var(--accent); text-decoration: underline; text-underline-offset: .15em; }
.prose h2, .prose h3 { margin: 1.4em 0 .45em; line-height: 1.22; }
.prose li { margin: .35em 0; }
.prose blockquote, .article-pad .ql-editor blockquote {
  border-inline-start: 3px solid var(--accent); margin: 1em 0; padding: .3em 1em; color: var(--muted);
}
.article-figure, .rich-figure { margin: 1.3em 0; }
.article-figure img, .rich-figure img, .rich-figure canvas { display: block; max-width: 100%; max-height: 75vh; width: auto; height: auto; margin: auto; border-radius: 12px; }
.article-figure figcaption, .rich-figure figcaption { margin-top: .55em; color: var(--muted); font-size: .88rem; text-align: center; }
.article-sources { border-top: 1px solid var(--line); margin: 2rem 0 1.5rem; padding-top: 1.1rem; color: var(--muted); font-size: .875rem; line-height: 1.55; overflow-wrap: anywhere; }
.article-sources h2 { font-size: 1.05rem; color: var(--text); margin: 0 0 .65rem; }
.article-sources ol { margin: 0; padding-inline-start: 2em; }
.article-sources li { margin: .4em 0; scroll-margin-top: 5rem; }
.article-sources li:target { background: var(--surface2); }
.article-compose { display: grid; gap: .45rem; min-width: 0; }
.article-writing { border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.article-writing:focus-within { border-color: var(--accent); }
.article-tools { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.article-tools button { background: transparent; color: var(--text); border: 1px solid transparent; border-radius: 5px; padding: 4px 8px; font-size: .88rem; min-height: 32px; }
.article-tools button:hover, .article-tools button.ql-active { background: var(--surface2); border-color: var(--line); }
.article-tools button.ql-active { color: var(--accent); }
.article-compose .article-pad { font-family: inherit; font-size: 1rem; height: auto; }
.article-pad .ql-editor { min-height: 240px; padding: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.article-pad .ql-editor h2 { font-size: 1.45em; }
.article-pad .ql-editor h3 { font-size: 1.18em; }
.article-pad .ql-editor a { color: var(--accent); text-decoration: underline; }
.article-pad .rich-film, .article-pad .photo-placeholder { display: block; background: var(--surface2); padding: 12px; border-radius: 8px; }
.article-pad .rich-figure { cursor: var(--action-cursor); }
.article-insert { border-top: 1px solid var(--line); padding: 14px; }
.article-compose small:empty { display: none; }
