.article-workspace { max-width: 1260px; margin: 0 auto; padding: 32px 0 64px; }
.article-workspace * { box-sizing: border-box; }
.article-page-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.article-page-heading h1, .article-public-main h1 { margin: 4px 0 12px; font-family: Georgia, serif; font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.05; }
.article-page-heading p, .article-public-lead { color: #625f5a; }
.article-eyebrow { color: #74695e; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.article-button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 10px 16px; border: 1px solid #263e35; border-radius: 6px; background: #263e35; color: white; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.article-button:hover { background: #3a5448; }
.article-button:disabled { cursor: not-allowed; opacity: .55; }
.article-button-secondary { color: #263e35; background: #fff; }
.article-button-secondary:hover { color: white; }
.article-list, .article-empty, .article-panel, .article-generation, .article-pipeline { background: #fff; border: 1px solid #e3dfd9; border-radius: 10px; }
.article-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 24px; border-bottom: 1px solid #ebe7e0; }
.article-row:last-child { border-bottom: 0; }
.article-row h2 { margin: 0 0 7px; font-size: 1.1rem; }
.article-row p { margin: 0; color: #6c6964; font-size: .85rem; }
.article-status { border-radius: 99px; background: #eaf1eb; color: #315c40; padding: 5px 10px; font-size: .8rem; white-space: nowrap; }
.article-empty { padding: 28px; }
.article-pipeline { display: flex; align-items: center; gap: 20px; padding: 16px 20px; margin-bottom: 18px; }
.article-pipeline ol { display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 0; padding-left: 22px; color: #495c50; }
.article-editor-grid { display: grid; grid-template-columns: minmax(270px, 360px) minmax(0, 1fr); gap: 18px; }
.article-panel { padding: 24px; min-width: 0; }
.article-panel h2, .article-generation h2 { margin: 0 0 20px; font: 400 1.6rem Georgia, serif; }
.article-panel label { display: block; margin: 0 0 18px; font-size: .89rem; font-weight: 600; }
.article-panel input, .article-panel textarea, .article-panel select { display: block; width: 100%; margin-top: 7px; padding: 10px 11px; border: 1px solid #c9c7c1; border-radius: 5px; background: #fff; color: #222; font-family: inherit; font-size: 1rem; font-weight: 400; line-height: 1.45; }
.article-panel textarea { resize: vertical; }
.article-panel input:focus, .article-panel textarea:focus, .article-panel select:focus { outline: 2px solid #5f856b; outline-offset: 1px; }
.article-panel fieldset { padding: 0; margin: 0; border: 0; }
.article-panel legend { margin-bottom: 6px; font-size: .89rem; font-weight: 600; }
.article-word-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.article-draft textarea { min-height: 480px; font-family: Georgia, serif; }
.article-actions { display: flex; align-items: center; gap: 16px; }
.article-generation { margin-top: 18px; padding: 24px; }
.article-generation h2 { margin-bottom: 8px; }
.article-generation p, .article-help { color: #625f5a; }
.article-generation form { display: inline-block; margin-right: 12px; }
#article-generation-status { margin: 12px 0; }
.article-message { margin-bottom: 16px; padding: 14px; border-radius: 6px; }
.article-error { background: #fff0ec; color: #8b3024; }
.article-public { margin: 0; background: #f8f7f3; color: #242d27; font: 16px/1.6 'Segoe UI', sans-serif; }
.article-public-header { display: flex; justify-content: space-between; gap: 16px; padding: 22px max(24px, calc((100vw - 1120px)/2)); border-bottom: 1px solid #dedfd7; font-weight: 600; }
.article-public a { color: #263e35; }
.article-public-main { max-width: 1120px; margin: 0 auto; padding: 70px 24px; }
.article-public-list { margin-top: 36px; border-top: 1px solid #dcded6; }
.article-public-list article { padding: 24px 0; border-bottom: 1px solid #dcded6; }
.article-public-list h2 { font: 400 1.7rem Georgia, serif; margin: 0 0 8px; }
.article-public-list h2 a { text-decoration: none; }
.article-public-list span { color: #5e7164; font-size: .9rem; }
.article-reading { max-width: 800px; }
.article-back { display: inline-block; margin-bottom: 36px; }
.article-body { overflow-wrap: anywhere; font: 1.1rem/1.8 Georgia, serif; }
.article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6 { margin: 1.8em 0 .5em; line-height: 1.25; }
.article-body p { margin: 1em 0; }
.article-body pre { max-width: 100%; overflow-x: auto; padding: 16px; background: #f0f1eb; white-space: pre-wrap; }
@media (max-width: 700px) {
  .article-page-heading, .article-pipeline { align-items: flex-start; flex-direction: column; }
  .article-editor-grid { grid-template-columns: 1fr; }
  .article-panel { padding: 18px; }
  .article-draft textarea { min-height: 340px; }
  .article-public-main { padding-top: 46px; }
}
