.editor-header{display:flex;align-items:center;justify-content:space-between;padding:25px 4%;background:#bfd5c6}.editor-header img{width:280px;height:auto}.editor-page h1{font-size:clamp(40px,5vw,70px);font-weight:500;letter-spacing:-.05em;margin:0}.editor-page h1 span{color:#397156}.editor-note{padding:16px 22px;background:#deebe1;border-left:3px solid #a88648;border-radius:16px;line-height:1.6}.editor-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:28px;margin-top:28px;align-items:start}.draft-panel,.writing-panel{padding:26px;border-radius:26px;background:#e2ece4;border:1px solid #adc6b4}.draft-heading{display:flex;justify-content:space-between;align-items:center}.draft-heading h2{font-size:22px;margin:0}.draft-heading span{background:#bfd5c6;padding:6px 12px;border-radius:20px}.draft-panel ul{list-style:none;padding:0;margin:24px 0}.draft-panel li{margin-bottom:10px}.draft-choice{width:100%;text-align:left;border:1px solid #b9cdbf;border-radius:16px;padding:15px;background:#d3e3d7;color:#203b2f;cursor:pointer}.draft-choice[aria-current="true"]{border:2px solid #397156}.draft-choice strong,.draft-choice small{display:block;overflow-wrap:anywhere}.draft-choice small{margin-top:8px;color:#4a6354}.draft-panel>.button{display:flex;width:100%;margin-top:12px;justify-content:center}.secondary{background:#c9dcd0!important;color:#285947!important;border:1px solid #9ebba8}.editor-tabs{display:flex;gap:10px;margin-bottom:28px}.writing-panel label{display:grid;gap:9px;font-size:14px;margin-bottom:22px}.writing-panel input,.writing-panel textarea,.writing-panel select{width:100%;border:1px solid #a8c0b0;border-radius:15px;padding:14px 16px;background:#f0f5ef;color:#203b2f;font:inherit;font-size:16px}.writing-panel textarea{resize:vertical;line-height:1.65}.editor-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.editor-actions{display:flex;align-items:center;gap:25px}.text-button{border:0;background:none;color:#285947;text-decoration:underline;cursor:pointer;font:inherit}.format-help{font-size:13px;color:#4a6354}.cover-preview img{max-height:250px;width:100%;object-fit:contain;margin-bottom:10px;border-radius:18px}.cover-preview{margin-bottom:25px}.article-preview{overflow-wrap:anywhere}.article-preview h1{font-size:clamp(32px,4vw,52px);line-height:1.1}.article-preview h2{font-size:28px;margin:35px 0 15px}.article-preview p{line-height:1.85;white-space:pre-wrap}.article-preview .preview-image{width:100%;max-height:450px;object-fit:cover;border-radius:22px;margin:25px 0}.preview-meta{color:#4a6354;font-size:13px}.editor-page :focus-visible{outline:3px solid #a88648;outline-offset:3px}[hidden]{display:none!important}@media(max-width:800px){.editor-layout{grid-template-columns:1fr}.editor-row{grid-template-columns:1fr;gap:0}.editor-header img{width:190px}.editor-header .button{padding:12px 16px}.writing-panel,.draft-panel{padding:20px}.editor-actions{flex-wrap:wrap}}

/* Match the public site's beige and green glass theme. */
.editor-page .editor-note{background:rgba(255,255,255,.35);border-left-color:#a88648}.editor-page .draft-panel,.editor-page .writing-panel{background:linear-gradient(145deg,rgba(255,255,255,.6),rgba(255,255,255,.25)),rgba(247,240,230,.35);border:1px solid rgba(255,255,255,.85);backdrop-filter:blur(18px) saturate(130%);-webkit-backdrop-filter:blur(18px) saturate(130%);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 10px 28px rgba(66,55,37,.1)}.editor-page .writing-panel input,.editor-page .writing-panel textarea,.editor-page .writing-panel select{background:rgba(255,255,255,.6);border-color:#c6cebd}.editor-page .secondary{background:linear-gradient(145deg,rgba(255,255,255,.65),rgba(255,255,255,.15)),rgba(201,220,208,.5)!important;color:#173b32!important;border-color:rgba(255,255,255,.8)}.editor-page .draft-choice{background:rgba(201,220,208,.45);border-color:#a8c0b0}.editor-page .draft-choice[aria-current="true"]{border-color:#285947}.editor-page .section{padding-top:50px}.editor-page .header img{max-height:none}
/* Visual document workspace. */
.document-editor{margin:28px 0}.document-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.document-heading h2{font-size:18px;font-weight:600;line-height:1.3;margin:0}.document-heading span{font-size:13px;color:#655c54}.format-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:12px;background:#f3eee8;border:1px solid #d7d1c8;border-radius:16px 16px 0 0;position:sticky;top:100px;z-index:2}.format-toolbar button,.format-toolbar select{border:1px solid #d5d1c7;background:#fff;color:#173b32;padding:9px 12px;border-radius:7px;font-family:inherit;font-size:14px;line-height:1.3;cursor:pointer;margin:0;min-height:38px}.format-toolbar select{width:auto!important;max-width:100%;font-size:14px!important;padding:9px!important;border-radius:7px!important}.format-toolbar button:hover,.format-toolbar button[aria-pressed="true"]{background:#d9e8de;border-color:#397156}.format-toolbar button:disabled{opacity:.5;cursor:wait}.rich-text:empty:before{content:attr(data-placeholder);color:#91897e;pointer-events:none}.editor-dialog{border:1px solid #d8d3c9;background:#fffaf5;border-radius:20px;padding:28px;width:min(520px,92vw);color:#173b32}.editor-dialog::backdrop{background:#173b3280}.editor-dialog h2{font-size:26px;margin:0 0 24px}.dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}.editor-dialog p{line-height:1.6}.editor-dialog #link-error{color:#963e38}.article-preview .article-reading{padding:0!important;max-width:100%}.article-preview p{white-space:normal}.article-preview img{max-width:100%;height:auto}.article-preview ul{list-style:disc;padding-left:1.6em}.article-preview ol{list-style:decimal;padding-left:1.6em}.editor-actions{flex-wrap:wrap;gap:16px}.writing-panel{min-width:0}@media(max-width:800px){.format-toolbar{top:82px;position:static}.format-toolbar button{padding:8px;font-size:13px}.document-heading{flex-wrap:wrap}}

.document-sheet{background:#FFF8F5;border:1px solid #e6c9c3;border-top:0;border-radius:0 0 16px 16px;padding:20px 0;color:#5F5754;font-family:Arial,'Helvetica Neue',sans-serif}.document-sheet .article-reading{padding:20px!important;max-width:1040px}.document-sheet .rich-text{min-height:380px;overflow-wrap:anywhere;font:inherit;background:transparent;border:0;border-radius:0;padding:0;color:inherit;box-shadow:none}.editor-page .article-reading h1{font-size:clamp(36px,4.5vw,64px);line-height:1.12;letter-spacing:-.055em;font-weight:500;margin:22px 0;text-align:center}.editor-page .article-reading h2{font-size:32px;line-height:1.2;letter-spacing:-.035em;margin:48px 0 22px;text-align:center}.editor-page .article-reading h3{font-size:23px;font-weight:500;line-height:1.35;margin:30px 0 15px;text-align:center}.editor-page .article-reading p{font-size:18px;line-height:1.85;margin:18px 0;white-space:normal}.editor-page .article-reading li{font-size:18px;line-height:1.85;padding-left:5px;margin-bottom:9px}.editor-page .article-reading ul,.editor-page .article-reading ol{padding-left:25px;margin:20px 0}.editor-page .article-reading img{max-width:100%;height:auto}.editor-page .article-reading .article-cover img{border-radius:22px}.editor-page .article-reading .article-lab-photo{max-width:552px;margin:30px auto}.editor-page .article-reading .article-lab-photo img{border-radius:20px}.editor-page .article-preview{font-family:Arial,'Helvetica Neue',sans-serif;color:#5F5754}.rich-text:focus-visible{outline:2px solid #a88648;outline-offset:8px}.editor-page .rich-text h2:first-child{margin-top:20px}@media(max-width:760px){.document-sheet .article-reading{padding:12px!important}.editor-page .article-reading h1{font-size:32px}.editor-page .article-reading h2{font-size:28px}.editor-page .article-reading p,.editor-page .article-reading li{font-size:17px}.document-sheet .rich-text{padding:0;font-size:inherit}.document-sheet{padding:12px 0}}
