/* Shared functional modules use each site's restrained native palette. */
.cg-public-modules{--cgm-ink:#26352c;--cgm-muted:#626d65;--cgm-accent:#405e4b;--cgm-surface:#fff;--cgm-soft:#f2f4ef;--cgm-line:#dce3da;color:var(--cgm-ink);font:15px/1.75 Arial,Helvetica,sans-serif}
.cg-public-modules[data-theme=koz-restaurant]{--cgm-ink:#ede5d3;--cgm-muted:#c0b6a4;--cgm-accent:#dba869;--cgm-surface:#28251f;--cgm-soft:#302b23;--cgm-line:#514a3d;background:#211f1b}
.cg-public-modules[data-theme=mizan-law]{--cgm-ink:#343c2e;--cgm-muted:#697061;--cgm-accent:#586648;--cgm-surface:#faf9f3;--cgm-soft:#efeee3;--cgm-line:#dedfd0;background:#f6f5ed}
.cg-public-modules[data-theme=eksen-architecture]{--cgm-ink:#222b2b;--cgm-muted:#667070;--cgm-accent:#4d635f;--cgm-soft:#eff2ef}
.cg-public-modules[data-theme=duru-dental]{--cgm-ink:#254d49;--cgm-muted:#617d78;--cgm-accent:#36796e;--cgm-soft:#eef7f4;--cgm-line:#d7e8e2}
.cg-public-modules[data-theme=atlas-property]{--cgm-ink:#283e37;--cgm-muted:#62746d;--cgm-accent:#365e4e;--cgm-soft:#edf3ee;--cgm-line:#d9e4dc}
.cg-public-modules *,.cg-module-admin *{box-sizing:border-box;min-width:0}.cg-public-modules [hidden],.cg-module-admin [hidden]{display:none!important}
.cg-site-module{width:min(1240px,calc(100% - 80px));margin:0 auto;padding:70px 0;border-top:1px solid var(--cgm-line);scroll-margin-top:35px}
.cg-module-section-head{max-width:760px;margin-bottom:30px}.cg-module-overline{font-size:10px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--cgm-accent);line-height:1.7;margin:0 0 14px}
.cg-module-section-head h2{font:500 clamp(30px,3.5vw,47px)/1.15 Georgia,serif;letter-spacing:-.04em;margin:0 0 17px;color:var(--cgm-ink)}
.cg-public-modules[data-theme=eksen-architecture] h2,.cg-public-modules[data-theme=duru-dental] h2,.cg-public-modules[data-theme=atlas-property] h2{font-family:Arial,Helvetica,sans-serif;font-weight:500}
.cg-module-section-head>p:not(.cg-module-overline){font-size:14px;line-height:1.8;color:var(--cgm-muted);margin-bottom:0}
.cg-module-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.cg-module-card{background:var(--cgm-surface);border:1px solid var(--cgm-line);overflow:hidden;border-radius:8px;overflow-wrap:anywhere;min-width:0}
.cg-module-image{display:block;width:100%;aspect-ratio:1.45;object-fit:cover}.cg-module-card-copy{padding:25px}.cg-module-card :is(h3,h4){font:500 23px/1.3 Georgia,serif;letter-spacing:-.025em;color:var(--cgm-ink);margin:0 0 15px}
.cg-module-card-copy>.cg-module-overline{font-size:10px;margin-bottom:10px}.cg-module-copy{font-size:13px;line-height:1.9;color:var(--cgm-muted);margin:0 0 18px;white-space:normal}
.cg-module-meta{font-size:12px;line-height:1.8;color:var(--cgm-muted);margin:9px 0}.cg-module-rate{font-size:23px;letter-spacing:-.04em;font-weight:600;color:var(--cgm-accent);margin:18px 0 10px}.cg-module-rate small{font:400 11px/1.5 Arial,sans-serif;letter-spacing:0}
.cg-module-link{display:inline-flex;align-items:center;gap:20px;font-size:12px;font-weight:600;color:var(--cgm-accent);padding:8px 0;text-decoration:underline;text-underline-offset:5px}
.cg-project-group+.cg-project-group{margin-top:40px}.cg-project-heading{font-size:15px;font-weight:600;line-height:1.6;letter-spacing:0;color:var(--cgm-accent);margin:0 0 18px}
.cg-module-faq{border-top:1px solid var(--cgm-line)}.cg-module-faq details{border-bottom:1px solid var(--cgm-line)}.cg-module-faq summary{font-size:17px;font-weight:500;line-height:1.6;padding:22px 8px;cursor:pointer}.cg-module-faq details>div{padding:0 8px 24px;font-size:14px;line-height:1.85;color:var(--cgm-muted)}.cg-module-faq .cg-module-image{max-width:480px;margin-bottom:18px;border-radius:5px}
.cg-module-public-form{max-width:900px;background:var(--cgm-soft);border:1px solid var(--cgm-line);padding:32px;border-radius:12px}.cg-module-public-form fieldset{border:0;padding:0;margin:0}.cg-module-public-form fieldset:disabled{opacity:.6}
.cg-module-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.cg-module-fields label{display:flex;flex-direction:column;gap:8px;font:500 12px/1.65 Arial,Helvetica,sans-serif}.cg-module-field-wide{grid-column:1/-1}
.cg-module-fields :is(input:not([type=checkbox]),select,textarea){font:400 14px/1.6 Arial,Helvetica,sans-serif;border:1px solid var(--cgm-line,#dce3e9);background:var(--cgm-surface,#fff);color:var(--cgm-ink,#28364c);border-radius:7px;padding:12px 13px;width:100%;min-height:47px;max-width:100%}.cg-module-fields textarea{resize:vertical;min-height:120px}.cg-module-fields small{font-size:11px;font-weight:400;color:var(--cgm-muted,#67758b);line-height:1.65}
.cg-public-form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.cg-module-button{display:inline-flex;justify-content:center;align-items:center;gap:20px;border:1px solid var(--cgm-accent);border-radius:6px;background:var(--cgm-accent);color:var(--cgm-surface);padding:13px 20px;min-height:48px;font:600 12px/1.6 Arial,Helvetica,sans-serif;cursor:pointer}.cg-module-button-secondary{background:transparent;color:var(--cgm-accent)}.cg-module-contact .cg-module-button{margin-top:22px}
.cg-module-result,.cg-module-preview-note{max-width:900px;border:1px solid var(--cgm-line);border-left:4px solid var(--cgm-accent);padding:18px 22px;background:var(--cgm-soft);font-size:13px;line-height:1.85;margin-bottom:24px}.cg-module-result p{margin:0}.cg-module-result p+p{margin-top:10px}.cg-result-error{border-left-color:#b44d3c}
.cg-module-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cg-whatsapp-link{position:fixed;bottom:24px;display:flex;align-items:center;gap:10px;z-index:80;background:#126b45;color:#fff;border-radius:28px;padding:13px 19px;box-shadow:0 5px 25px #102a252b;text-decoration:none;font:600 13px/1.4 Arial,sans-serif;min-height:48px}.cg-whatsapp-link svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.cg-whatsapp-right{right:24px}.cg-whatsapp-left{left:24px}
.cg-public-modules :is(a,button,input,select,textarea,summary):focus-visible,.cg-module-admin :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #9c7ad0;outline-offset:4px}
.cg-module-admin{--cgm-ink:#29384e;--cgm-muted:#69768a;--cgm-accent:#56668d;--cgm-line:#dbe1eb;--cgm-surface:#fff;color:#29384e}.cg-module-admin h2{font-size:28px;letter-spacing:-.04em;line-height:1.25;margin-bottom:16px}.cg-module-intro{font-size:13px;color:#68758b;line-height:1.85;max-width:820px;margin-bottom:25px}
.cg-module-switch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:25px 0}.cg-module-switch{display:flex!important;align-items:flex-start;gap:12px;padding:17px;border:1px solid #dfe5ed;border-radius:10px;background:#fafbfd;cursor:pointer}.cg-module-switch input{width:18px!important;height:18px;accent-color:#586d91;margin:2px 0 0;flex-shrink:0;min-height:0!important}.cg-module-switch b{display:block;font-size:13px;line-height:1.7;font-weight:600}.cg-module-switch small{display:block;color:#758095;font-size:11px;font-weight:400;line-height:1.7;margin-top:4px}
.cg-whatsapp-settings{border:1px solid #dce6e0;border-radius:12px;padding:20px;margin:25px 0}.cg-whatsapp-settings legend{font-size:13px;font-weight:600;padding:0 8px}.cg-whatsapp-settings>.cg-module-switch{margin-bottom:20px}.cg-module-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.cg-module-heading h2,.cg-module-heading h3{margin-bottom:0}.cg-module-count,.cg-module-status{font-size:10px;line-height:1.6;border-radius:6px;padding:6px 10px;background:#edf1f7;color:#556781;white-space:nowrap}
.cg-module-empty,.cg-module-hint{padding:15px 19px;background:#f2f5fa;border-radius:8px;font-size:12px;line-height:1.85;color:#69768b;margin-bottom:20px}.cg-module-hint{border-left:3px solid #8a9bb8}.cg-module-edit,.cg-module-add{border:1px solid #dfe5ed;border-radius:10px;margin-top:12px;overflow:hidden}.cg-module-edit>summary,.cg-module-add>summary{padding:17px 20px;cursor:pointer;line-height:1.7;font-size:13px;font-weight:600;overflow-wrap:anywhere}.cg-module-edit>summary small{font-size:10px;color:#778296;font-weight:400;margin-left:13px}.cg-module-add>summary{background:#f6f8fc}.cg-module-edit-body{padding:22px;border-top:1px solid #e5e9f0}.cg-entry-image{display:block;max-width:200px;max-height:130px;width:auto;object-fit:contain;border-radius:6px;margin:7px 0}
.cg-module-required{font-size:10px;font-weight:400;color:#7a7090;display:inline}.cg-module-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:15px;margin-top:23px}.cg-module-form-actions>span,.cg-module-edit-body form>small{font-size:10px;line-height:1.8;color:#788397}.cg-module-archive{display:inline-block;background:#fff;border:1px solid #e2d7d6;color:#985c57;padding:10px 15px;border-radius:6px;min-height:42px;font:500 11px/1.5 Arial,sans-serif;cursor:pointer}.cg-module-edit-body form+form{margin-top:24px;padding-top:17px;border-top:1px solid #edf0f5}.cg-module-edit-body form>small{margin-left:12px}
.cg-booking-admin{padding:23px 0;border-top:1px solid #e4e9f0}.cg-booking-admin h3{font-size:18px;line-height:1.5;letter-spacing:-.02em}.cg-booking-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:0 0 20px}.cg-booking-facts dt{font-size:10px;color:#7c8799;margin-bottom:5px}.cg-booking-facts dd{font-size:12px;color:#465671;line-height:1.8;margin:0;overflow-wrap:anywhere}.cg-booking-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.cg-booking-actions form{margin:0}.cg-booking-actions .button{font-size:11px;min-height:42px;padding:10px 16px}.cg-state-confirmed{background:#e8f2ea;color:#456e51}.cg-state-cancelled{background:#f5ecea;color:#98645d}.cg-lead-meta{font-size:11px;line-height:1.7;color:#778296;overflow-wrap:anywhere}.cg-lead-body{font-size:13px;line-height:1.85;color:#4e5e78;overflow-wrap:anywhere}
@media(max-width:1000px){.cg-module-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.cg-site-module{width:calc(100% - 50px);padding:55px 0}}
@media(max-width:640px){.cg-site-module{width:calc(100% - 36px);padding:45px 0}.cg-module-card-grid,.cg-module-fields,.cg-module-switch-grid,.cg-booking-facts{grid-template-columns:1fr}.cg-module-fields{gap:16px}.cg-module-card-grid{gap:20px}.cg-module-card-copy{padding:22px}.cg-module-card :is(h3,h4){font-size:24px}.cg-module-public-form{padding:22px 18px}.cg-public-form-actions{flex-direction:column}.cg-module-button{width:100%;padding-inline:14px}.cg-module-section-head h2{font-size:34px}.cg-module-heading{gap:12px}.cg-module-admin h2{font-size:25px}.cg-module-count{font-size:9px}.cg-module-edit-body{padding:18px 15px}.cg-module-edit>summary,.cg-module-add>summary{padding:16px}.cg-module-edit>summary small{display:block;margin:6px 0 0}.cg-module-edit-body form>small{display:block;margin:10px 0 0}.cg-whatsapp-settings{padding:15px 12px}.cg-module-switch{padding:15px}.cg-module-form-actions{align-items:stretch;flex-direction:column}.cg-whatsapp-link{bottom:18px;padding:12px 15px;font-size:12px}.cg-whatsapp-right{right:15px}.cg-whatsapp-left{left:15px}}
@media(prefers-reduced-motion:reduce){.cg-public-modules *,.cg-module-admin *{scroll-behavior:auto!important;transition:none!important}}
.cg-module-jump{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.cg-module-jump a{display:inline-flex;padding:10px 14px;border:1px solid #dce2ee;border-radius:8px;color:#304b9b;background:#fff;text-decoration:none;font-size:12px;line-height:1.4}.cg-module-jump a:hover{background:#edf0fb}.cg-module-jump a:focus-visible{outline:3px solid #304b9b;outline-offset:3px}

/* Customer-selected optional module library; existing saved contents stay editable. */
.cg-module-library .cg-module-switch-grid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:12px}.cg-module-library .cg-library-option{align-items:flex-start;padding:17px;border:1px solid #dde3ef;border-radius:15px;background:#fbfcff;min-width:0;transition:border-color .15s,background .15s}.cg-module-library .cg-library-option:has(input:checked){background:linear-gradient(120deg,#eff3ff,#f4effb);border-color:#aab6da}.cg-library-option input{margin-top:23px;accent-color:#7055ab}.cg-library-type{display:block;font-size:9px!important;text-transform:uppercase;letter-spacing:.07em;color:#7a69a4!important;margin-bottom:6px}.cg-library-option b{display:block;margin-bottom:6px}.cg-library-state{display:inline-block;font-size:10px;font-weight:700;margin-top:10px;color:#6c7590}.cg-library-option:has(input:checked) .cg-library-state{color:#38715e}.cg-library-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none}.cg-library-editor>summary::-webkit-details-marker{display:none}.cg-library-editor>summary small{display:block;font-size:9px;letter-spacing:.08em;color:#7a6a9d;margin-bottom:7px}.cg-library-editor>summary strong{font-size:20px;color:#293952}.cg-library-editor>summary:focus-visible{outline:3px solid #8e77bd;outline-offset:6px;border-radius:5px}.cg-library-editor-body{padding-top:22px}.cg-library-editor:not([open])>summary:after{content:'+';font-size:24px;color:#7a63a6}.cg-library-editor[open]>summary:after{content:'−';font-size:24px;color:#7a63a6}@media(max-width:560px){.cg-module-library .cg-module-switch-grid{grid-template-columns:1fr}.cg-library-editor>summary strong{font-size:17px}.cg-library-editor>summary .cg-module-count{font-size:10px}}
