:root { color-scheme: light; font: 17px/1.6 system-ui, sans-serif; color: #202820; background: #faf9f4; }
body { margin: 0; }
header, main { max-width: 48rem; padding: 1.5rem; margin: auto; }
header { border-bottom: 1px solid #c7cec3; }
h1 { font: 600 clamp(2rem, 7vw, 4rem)/1.1 Georgia, serif; margin: 2rem 0 1rem; }
a { color: #254b37; }
nav { display: flex; gap: 1rem; justify-content: space-between; }
label, input, select, textarea { display: block; }
input, select, textarea, button { font: inherit; }
button { padding: .35rem .75rem; }
form, article { margin-block: 1rem; }
[role="status"] { min-height: 1.6em; }
body { border-top: .35rem solid #294f39; }
header a:first-child { font-weight: 700; text-decoration: none; }
section + section { border-top: 1px solid #c7cec3; margin-top: 2rem; padding-top: 1rem; }
label { margin-bottom: .75rem; }
input, select, button { max-width: 100%; box-sizing: border-box; border: 1px solid #758274; border-radius: .3rem; }
input, select { margin-top: .25rem; padding: .45rem .65rem; background: #fffefa; color: inherit; }
button { color: #fff; background: #294f39; cursor: pointer; }
button:hover:not(:disabled) { background-color: #1c3728; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 2px solid #9c452a; outline-offset: 3px; }
a { text-underline-offset: .18em; }
.page-title, .actions { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.page-title { justify-content: space-between; }
article { border-top: 1px solid #c7cec3; padding-top: 1rem; overflow-wrap: anywhere; }
.actions { margin-top: .5rem; }
.published-article { border-top: 0; }
.published-article img, .editor-content img { display: block; max-width: 100%; height: auto; }
.comment-body { white-space: pre-wrap; }
textarea { box-sizing: border-box; width: 100%; padding: .45rem .65rem; color: inherit; background: #fffefa; }
.draft-list { list-style: none; padding: 0; }
.draft-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-bottom: 1px solid #c7cec3; padding: .45rem 0; }
.draft-list button { text-align: left; }
.editor-frame { border: 1px solid #758274; border-radius: .3rem; background: #fffefa; }
.editor-content { padding: .75rem 1rem; min-height: 12rem; outline-offset: 1px; overflow-wrap: anywhere; white-space: pre-wrap; }
.article-preview .editor-content { min-height: 0; padding: 0; }
.article-editor fieldset { margin: .75rem 0; border: 1px solid #c7cec3; border-radius: .3rem; }
.article-editor details { margin: .65rem 0; }
.article-editor details input { width: 100%; }
.secondary { background: #fffefa; color: #294f39; }
.secondary:hover:not(:disabled), .secondary[aria-pressed="true"] { background: #e2ebe1; }
