
/* Full-screen in-page editor. Older form is retained for validated server-side saves. */
body:has(#cm1804-real-frame) .cm1806-shell{position:fixed;inset:0;z-index:100000;background:#edf3e9;display:flex;flex-direction:column;color:#20372b;font-family:inherit}
body:has(#cm1804-real-frame) .cm1806-toolbar{display:flex;gap:8px;align-items:center;padding:10px 16px;background:#fff;border-bottom:1px solid #d9e5d4;flex-wrap:wrap;min-height:62px}
.cm1806-toolbar strong{font-size:17px;margin-right:8px}.cm1806-toolbar button,.cm1806-toolbar select,.cm1806-dialog button{border:1px solid #ccddc6;border-radius:9px;background:#f7fbf5;color:#294b2d;padding:9px 12px;cursor:pointer;font:inherit;font-size:13px}.cm1806-toolbar .cm1806-publish{margin-left:auto;background:#669c36;color:white;border-color:#669c36;font-weight:750}.cm1806-toolbar button:focus-visible,.cm1806-dialog input:focus-visible{outline:2px solid #669c36;outline-offset:2px}
.cm1806-frame-area{min-height:0;flex:1;display:flex;justify-content:center;overflow:hidden;padding:10px}.cm1806-frame-area iframe{width:100%;height:100%;max-width:none;background:#fff;border:1px solid #cbdcc3;border-radius:10px;box-shadow:none}.cm1806-frame-area.mobile iframe{width:min(390px,100%)}
.cm1806-dialog{position:fixed;z-index:100005;inset:0;background:#102412a8;display:flex;align-items:center;justify-content:center;padding:16px}.cm1806-dialog[hidden]{display:none}.cm1806-panel{background:white;color:#172f1d;border-radius:15px;border:1px solid #c8dfc0;width:min(600px,100%);max-height:85vh;overflow:auto;padding:22px;box-shadow:none}.cm1806-panel h2{font-size:20px;margin:0 0 14px}.cm1806-panel label{display:block;font-size:13px;margin:10px 0}.cm1806-panel input,.cm1806-panel textarea,.cm1806-panel select{width:100%;border:1px solid #c8d9c0;border-radius:8px;padding:10px;color:#213b26;background:white}.cm1806-panel input[type=color]{height:43px;padding:3px}.cm1806-panel textarea{min-height:72px}.cm1806-panel-footer{display:flex;justify-content:end;gap:10px;margin-top:15px}.cm1806-panel-footer .primary{background:#669c36;color:white}.cm1806-menu{position:fixed;top:65px;left:12px;z-index:100003;background:#fff;border:1px solid #cedcc7;border-radius:12px;padding:14px;max-height:75vh;overflow:auto;min-width:280px}.cm1806-menu[hidden]{display:none}.cm1806-menu label{display:flex;justify-content:space-between;gap:20px;padding:8px;border-bottom:1px solid #edf2e9}.cm1806-menu input{width:20px;height:20px}.cm1806-menu button{padding:8px;border:1px solid #d2e0cb;background:#fff;border-radius:8px}
body:has(.cm1806-shell) .cm128-editor-head,body:has(.cm1806-shell) .cm128-editor{visibility:hidden}
@media(max-width:640px){.cm1806-toolbar{padding:8px;gap:5px;min-height:52px}.cm1806-toolbar strong{font-size:14px}.cm1806-toolbar button,.cm1806-toolbar select{font-size:11px;padding:7px}.cm1806-frame-area{padding:4px}}
/* Structural styles with visibly different layouts, not merely color substitutions. */
/* Header Style 2 layout is controlled by cm1813-header-category.css (desktop). */

body:has(#cm1804-style-data[data-hero="2"]) .hero .wrap{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:42px;align-items:center;min-height:410px}body:has(#cm1804-style-data[data-hero="2"]) .hero .hero-copy{max-width:620px;text-align:left}body:has(#cm1804-style-data[data-hero="2"]) .hero .hero-copy h1{font-size:clamp(36px,5vw,72px);line-height:1.05}body:has(#cm1804-style-data[data-hero="2"]) .hero .hero-copy p{font-size:17px}body:has(#cm1804-style-data[data-hero="2"]) .hero .hero-search{border:1px solid #477242;padding:16px;border-radius:18px;background:#f4f9f0;color:#183020}
body:has(#cm1804-style-data[data-categories="2"]) .category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}body:has(#cm1804-style-data[data-categories="2"]) .category-card{display:flex;align-items:center;gap:16px;min-height:115px;border-left:5px solid var(--cm-primary,#669c36);border-radius:8px!important;padding:24px!important}
.cm1804-footer-style-2 .cm1764-footer-inner,.cm1804-footer-style-2 .cm105-footer-inner{display:grid;grid-template-columns:minmax(200px,1.5fr) repeat(3,minmax(110px,1fr));gap:26px;align-items:start}.cm1804-footer-style-2 .cm1764-footer-bottom{border-top:1px solid #bbd1b5;margin-top:24px;padding-top:18px}
@media(max-width:900px){body:has(#cm1804-style-data[data-hero="2"]) .hero .wrap{grid-template-columns:1fr;min-height:0;gap:20px}.cm1804-footer-style-2 .cm1764-footer-inner,.cm1804-footer-style-2 .cm105-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){body:has(#cm1804-style-data[data-header="2"]) .top-inner{display:flex;flex-wrap:wrap;min-height:0}body:has(#cm1804-style-data[data-header="2"]) .top-inner>.desktop-nav{display:none}body:has(#cm1804-style-data[data-categories="2"]) .category-grid{grid-template-columns:1fr}}

.cm1804-system-block{display:block}

/* v1.18.09: edit access outside iframe, always visible and keyboard accessible */
#cm1809-edit-target{min-width:135px;max-width:230px;background:#fff;color:#26432c;border:1px solid #a5c994;border-radius:9px;padding:9px;font-size:13px}
#cm1809-edit-open{background:#e9f4e3;border-color:#669c36;color:#315f25;font-weight:700}
@media(max-width:700px){#cm1809-edit-target{min-width:110px;max-width:135px;font-size:11px;padding:7px}#cm1809-edit-open{font-size:11px;padding:7px}}

/* v1.18.10: visual block picker gallery */
.cm1810-gallery{position:fixed;inset:0;z-index:100006;background:#112717bb;display:flex;align-items:center;justify-content:center;padding:16px}
.cm1810-gallery[hidden]{display:none}.cm1810-gallery-panel{width:min(860px,100%);max-height:90vh;overflow:auto;background:#fff;border:1px solid #cee0c6;border-radius:18px;padding:22px;color:#20392a}
.cm1810-gallery-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.cm1810-gallery-head h2{margin:0;font-size:22px}.cm1810-gallery-head button{border:1px solid #c7dec0;border-radius:8px;background:#f1f7ec;color:#31582d;font-size:22px;padding:3px 12px;cursor:pointer}
.cm1810-gallery-panel>p{font-size:14px;color:#61715e;margin:8px 0 20px}.cm1810-gallery-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cm1810-preset{display:flex;flex-direction:column;gap:6px;text-align:left;border:1px solid #cfdfca;border-radius:12px;background:#fff;padding:12px;cursor:pointer;color:#28412d;font:inherit}
.cm1810-preset:hover,.cm1810-preset:focus-visible{border-color:#669c36;outline:2px solid #dceecf}.cm1810-preset strong{font-size:13px}.cm1810-preset small{font-size:11px;line-height:1.35;color:#62705e}.cm1810-preset em{font-style:normal;font-size:11px;color:#497b2b}
.cm1810-mini{height:92px;background:#ecf4e7;border:1px solid #d6e6d0;border-radius:9px;padding:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px}
.cm1810-mini i{display:block;border-radius:4px;background:#669c36;height:10px;width:75%}.cm1810-mini i:nth-child(2){width:56%;height:6px;background:#b4ceaa}.cm1810-mini i:nth-child(3){width:32%;height:15px}.cm1810-mini-style-2{align-items:flex-start;background:#e3eee0}.cm1810-mini-style-2 i:nth-child(1){width:95%;height:22px}.cm1810-mini-style-2 i:nth-child(2){width:68%}.cm1810-mini-style-2 i:nth-child(3){margin-left:auto;width:48%;height:20px}
.cm1810-mini-announcement{height:92px}.cm1810-mini-announcement i:nth-child(1){width:100%;height:18px}.cm1810-mini-announcement i:nth-child(2),.cm1810-mini-announcement i:nth-child(3){height:5px}
@media(max-width:760px){.cm1810-gallery-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cm1810-gallery-panel{padding:14px}}@media(max-width:390px){.cm1810-gallery-cards{gap:7px}.cm1810-preset{padding:8px}}

/* v1.18.14: dropdowns remain visible in both header styles. */
.top-inner,.nav-actions,.cm-menu-notices{overflow:visible!important}
