:root{--green:#0b6958;--ink:#173b32;--muted:#586f68;--line:#dce8e3;--paper:#f7faf8;--card:#fff;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.65;color-scheme:light}
*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-underline-offset:4px}img{max-width:100%;display:block}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #bd7925;outline-offset:3px}.site-header{max-width:1160px;margin:auto;padding:22px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink);font-size:1.1rem}.site-header nav{display:flex;align-items:center;gap:22px}.site-header nav a{text-decoration:none}.button,button{border:1px solid var(--green);background:var(--green);color:white;padding:10px 18px;border-radius:10px;font-weight:600;cursor:pointer;text-decoration:none;display:inline-block}.secondary{background:white;color:var(--green)}button:disabled{opacity:.55;cursor:wait}main{max-width:1120px;margin:auto;padding:10px 22px 65px}h1,h2,h3{font-family:Georgia,serif;line-height:1.2}h1{font-size:clamp(2rem,5vw,3.5rem);letter-spacing:-.035em}.intro{max-width:750px;padding:45px 0 35px}.intro p,.summary{font-size:1.15rem;color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:750;color:var(--green);margin:12px 0}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.post-card{background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden}.post-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.post-card>div{padding:22px}.post-card h2{font-size:1.5rem}.post-card h2 a{color:var(--ink);text-decoration:none}.post-card p{color:var(--muted)}.article{max-width:780px;margin:32px auto}.article h1{margin-top:12px}.byline{color:var(--muted)}.cover{width:100%;max-height:500px;object-fit:cover;border-radius:18px;margin:28px 0}.article-body{font-size:1.08rem;overflow-wrap:anywhere}.article-body h2,.article-body h3{margin-top:1.6em}.video{width:100%;aspect-ratio:16/9;border:0;border-radius:14px;margin:16px 0}.callout{background:#e5f1eb;border-radius:18px;padding:28px;margin-top:45px}.pagination{display:flex;justify-content:space-between;margin:30px 0}footer{border-top:1px solid var(--line);padding:30px 22px;text-align:center;color:var(--muted)}[hidden]{display:none!important}.admin-intro{padding:20px 0}.admin-intro h1{font-size:2.3rem}.admin-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:25px}.panel{border:1px solid var(--line);background:white;border-radius:16px;padding:24px}.editor label,.login label{display:block;margin:14px 0 4px;font-weight:650}.editor input,.editor textarea,.editor select,.login input{width:100%;padding:10px 12px;border:1px solid #a8beb4;border-radius:8px;background:white;color:var(--ink)}textarea{resize:vertical;min-height:100px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.help{font-size:.9rem;color:var(--muted);margin:5px 0 15px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.status{padding:12px 16px;margin:10px 0 22px;background:#e5f1eb;border-radius:8px;overflow-wrap:anywhere}.status.error{background:#fff0eb;color:#8c291b}.post-list{list-style:none;padding:0}.post-list li{margin:10px 0}.post-list button{display:block;width:100%;text-align:left;background:white;color:var(--ink);border-color:var(--line)}.post-list small{display:block;color:var(--muted)}.login{max-width:450px}.preview-frame{width:100%;height:75vh;border:1px solid var(--line);border-radius:12px;background:white}.preview-label{background:#fff2ca;padding:12px;border-radius:8px}details{margin-top:20px}summary{cursor:pointer;font-weight:650}.cover-preview{max-height:180px;border-radius:10px;margin-top:10px}.admin-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.admin-heading h2{margin:0}.editor fieldset{padding:0;border:0;margin:0;min-width:0}.editor input:read-only{background:#f2f5f3}@media(max-width:800px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-layout{grid-template-columns:1fr}.site-header{align-items:flex-start}.site-header nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}}@media(max-width:540px){.post-grid,.fields{grid-template-columns:1fr}.site-header{flex-direction:column}.site-header nav{justify-content:flex-start}.panel{padding:18px}.article{margin-top:20px}}
/* Article editor: override form controls without changing the rest of the form. */
#body-toolbar{border:1px solid #a8beb4;border-radius:8px 8px 0 0;background:#f5f8f6;line-height:1.4}
#body-toolbar .ql-formats{margin:4px 10px 4px 0}
#body-toolbar button{border-radius:3px;min-height:28px;padding:3px 5px;background:transparent;color:#173b32;border:0}
#body-toolbar .ql-picker{color:#173b32}
#body-toolbar .ql-picker-options{z-index:10}
#body-toolbar .ql-picker-label{font-family:system-ui,sans-serif}
#body-toolbar .ql-undo,#body-toolbar .ql-redo{font-size:21px;line-height:1}
#body.ql-container{border:1px solid #a8beb4;border-top:0;border-radius:0 0 8px 8px;font:1rem/1.65 system-ui,sans-serif;background:white}
#body .ql-editor{min-height:360px;max-height:720px;overflow-y:auto;overflow-wrap:anywhere}
#body .ql-editor h2,#body .ql-editor h3{font-family:Georgia,serif}
#body .ql-editor.ql-blank::before{color:#586f68}
#body .ql-tooltip{white-space:normal;max-width:100%;z-index:11}
#body .ql-tooltip input{width:170px;padding:3px;border-radius:0}
.emoji-row{display:flex;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap}
.editor .emoji-row label{margin:0;font-weight:500}
.editor .emoji-row select{width:auto;max-width:100%;padding:6px 10px}
.article-body li>p{margin:0}.article-body span{overflow-wrap:anywhere}
@media(max-width:540px){#body-toolbar .ql-formats{margin-right:6px}#body .ql-editor{min-height:300px}}
