.article-header { max-width: 50rem; margin-inline: auto; }
.field-article .article-lead { font-size: 1.22rem; color: var(--green2); line-height: 1.6; }
.article-byline { font-size: .93rem; }
.article-toc, .field-article .article-body { max-width: 48rem; margin-inline: auto; }
.article-toc { margin-block: 2rem; padding: 1.35rem 1.65rem; border: 1px solid var(--line); }
.article-toc h2 { font-size: 1.35rem; }
.article-toc li + li, .field-article li + li { margin-top: .45rem; }
.article-toc a, .field-article .article-body a, .article-editor aside a { text-decoration: underline; text-underline-offset: .18em; }
.field-article .article-body { font-size: 1.08rem; line-height: 1.75; }
.field-article .article-body h2 { font-size: clamp(1.65rem, 4vw, 2.3rem); margin: 1.5em 0 .55em; line-height: 1.15; }
.field-article .article-body h3 { font-size: 1.35rem; margin: 1.45em 0 .5em; }
.field-article figure { margin: 1.75rem 0; }
.field-article figure img { width: 100%; height: auto; display: block; }
.field-article figcaption { font-size: .92rem; margin-top: .45rem; }
.field-article blockquote { margin: 1.5rem 0; padding: .35rem 1rem; border-inline-start: 4px solid var(--green2); background: #edf1e8; }
.article-table { overflow-x: auto; margin-block: 1.5rem; }
.article-table table { border-collapse: collapse; width: 100%; text-align: start; }
.article-table th, .article-table td { border-bottom: 1px solid var(--line); padding: .65rem; text-align: start; }
.article-table th { background: #e9ede4; }
.micro-tool { background: #edf1e8; border: 1px solid var(--line); margin-block: 1.5rem; padding: clamp(1rem, 4vw, 1.8rem); }
.field-article .micro-tool h3 { margin-top: 0; }
.micro-fields, .editor-images { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit,minmax(min(100%, 13rem),1fr)); }
.micro-fields label { display: grid; gap: .3rem; font-size: .95rem; font-weight: 600; }
.micro-fields input { width: 100%; min-width: 0; padding: .55rem; font: inherit; background: #fff; border: 1px solid var(--line); color: inherit; }
.micro-tool button { margin-top: 1rem; }
.micro-results { margin-top: .75rem; }
.micro-results dl { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; }
.micro-results dd { font-weight: 700; margin: 0; }
.article-editor { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 1.4rem; align-items: start; }
.article-editor fieldset { border: 1px solid var(--line); margin-block: .5rem; padding: .8rem; min-width: 0; }
.article-editor legend { font-weight: 700; }
.editor-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.editor-tools button, .editor-image button { padding: .4rem .65rem; border: 1px solid var(--line); font: inherit; font-size: .88rem; background: #fff; color: inherit; }
.editor-image input { width: 100%; min-width: 0; }
.editor-thumb { display: block; width: min(100%,12rem); aspect-ratio: 16/9; object-fit: cover; }
#article-body { font-family: ui-monospace, monospace; line-height: 1.6; }
@media (max-width: 760px) { .article-editor { grid-template-columns: minmax(0,1fr); } }
.article-word-meter { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; font-size: .95rem; }
.article-word-meter output strong { font-variant-numeric: tabular-nums; }
.article-word-meter [data-word-feedback] { color: var(--green2); }
