/* The same content styles are used by Astro, the writing canvas and preview. */
.published-content,.document-surface{--doc-ink:#27302c;--doc-line:#dce0d8;--doc-sage:#e3ece0;--doc-peach:#fae3d9;--doc-lavender:#eee8f5;color:var(--doc-ink);line-height:1.7;overflow-wrap:anywhere}
.published-content>:first-child,.document-surface .ProseMirror>:first-child{margin-top:0}
.published-content p,.document-surface p{margin:0 0 1.1em}
.published-content h2,.published-content h3,.published-content h4,.document-surface h2,.document-surface h3,.document-surface h4{font-family:Georgia,"Times New Roman",serif;line-height:1.25;margin:1.6em 0 .6em}
.published-content h2,.document-surface h2{font-size:1.8em}.published-content h3,.document-surface h3{font-size:1.4em}.published-content h4,.document-surface h4{font-size:1.15em}
.published-content blockquote,.document-surface blockquote{border-left:3px solid #a9bba7;margin:1.4em 0;padding:.8em 1.2em;color:#536c5a;background:#f1f5ee}
.published-content blockquote p:last-child,.document-surface blockquote p:last-child{margin-bottom:0}
.published-content mark,.document-surface mark{background:#f4dcb8;color:inherit;border-radius:2px;padding:0 .08em}
.doc-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,4vw,44px);margin:1.8em 0;align-items:start}
.doc-columns[data-ratio="wide-left"]{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.doc-columns[data-ratio="wide-right"]{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.doc-column{min-width:0}.doc-column>:first-child{margin-top:0}.doc-column>:last-child{margin-bottom:0}
.doc-callout{border-radius:12px;padding:1.3em 1.5em;background:var(--doc-sage,#e3ece0);margin:1.6em 0}
.doc-callout[data-callout="peach"]{background:var(--doc-peach,#fae3d9)}.doc-callout[data-callout="lavender"]{background:var(--doc-lavender,#eee8f5)}
.doc-callout>:first-child{margin-top:0}.doc-callout>:last-child{margin-bottom:0}
.doc-figure{margin:1.5em auto;max-width:620px}.doc-figure[data-width="wide"]{max-width:100%}
.doc-figure img{display:block;width:100%;height:auto;border-radius:10px;object-fit:contain}
.doc-figure figcaption{color:#5f6963;font-size:.85em;margin-top:.6em;line-height:1.5}
.doc-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px;margin:1.6em 0}
.doc-gallery .doc-figure{margin:0;width:100%}.doc-gallery img{aspect-ratio:4/3;object-fit:cover}
.doc-attachment{margin:1.3em 0}.doc-attachment a{display:inline-flex;align-items:center;gap:8px;padding:.8em 1em;border:1px solid #bccabd;border-radius:9px;background:#f0f5ed;text-decoration:none;font-weight:650;color:#3e6249}
.published-content hr,.document-surface hr{border:0;border-top:1px solid #ccd7ca;margin:2em 0}
.published-content table,.document-surface table{border-collapse:collapse;table-layout:fixed;width:100%;margin:1.2em 0}
.published-content th,.published-content td,.document-surface th,.document-surface td{border:1px solid #cbd5cc;padding:.65em;vertical-align:top;min-width:60px}
.published-content th,.document-surface th{background:#edf3eb;text-align:left;font-weight:700}.published-content td p:last-child,.published-content th p:last-child,.document-surface td p:last-child,.document-surface th p:last-child{margin-bottom:0}
.doc-table-wrap{width:100%;overflow-x:auto}.published-content a,.document-surface a{color:#3e6951;text-underline-offset:3px}
.published-content ul,.published-content ol,.document-surface ul,.document-surface ol{padding-left:1.5em;margin:0 0 1.2em}.published-content li p,.document-surface li p{margin-bottom:.4em}
@media(max-width:640px){.doc-columns,.doc-columns[data-ratio]{grid-template-columns:minmax(0,1fr);gap:20px}.doc-callout{padding:1em}.doc-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
