/* CEMKA - deliberately scoped, independent of active WordPress theme */
.cemka-cc[hidden], .cemka-cc__reopen[hidden], .cemka-cc__custom[hidden], .cemka-cc__choices[hidden]{display:none!important}
.cemka-cc,.cemka-cc *{box-sizing:border-box}
.cemka-cc{position:fixed;z-index:2147480000;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(980px,calc(100vw - 30px));max-height:calc(100dvh - 28px);overflow:auto;padding:22px 24px 18px;border-radius:20px;border:1px solid #d8e3d8;box-shadow:0 18px 72px rgba(10,27,21,.23);background:#fafcf9;color:#263c34;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left;line-height:1.55}
.cemka-cc__intro{display:grid;grid-template-columns:40px 1fr;gap:14px;align-items:start}
.cemka-cc__symbol{height:40px;width:40px;display:grid;place-items:center;font-size:23px;border-radius:13px;color:#305343;background:#e8f1eb}
.cemka-cc h2{font:700 21px/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1f372d;margin:0 0 8px}
.cemka-cc p{font-size:14px;color:#4e5d55;margin:0}
.cemka-cc__links{display:flex;flex-wrap:wrap;gap:15px;margin-top:10px;font-size:12px;color:#586c60}
.cemka-cc__links a{color:#275e44;text-decoration:underline;text-underline-offset:3px}
.cemka-cc__choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.cemka-cc__choices button,.cemka-cc__save{appearance:none!important;min-height:45px;border-radius:11px!important;border:1px solid #426b51!important;background:#f4f8f5!important;color:#254635!important;padding:9px 10px!important;font-family:inherit;font-size:14px!important;font-weight:700!important;line-height:1.35!important;cursor:pointer!important;text-shadow:none!important;box-shadow:none!important;transition:background-color .15s}
.cemka-cc__choices button:hover,.cemka-cc__save:hover{background:#e4eee7!important}
.cemka-cc :focus-visible,.cemka-cc__reopen:focus-visible{outline:3px solid #c68e37!important;outline-offset:2px!important}
.cemka-cc__custom{margin-top:16px;padding-top:12px;border-top:1px solid #dce6de}
.cemka-cc__custom-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px;gap:10px}
.cemka-cc__custom-heading strong{font-size:16px}
.cemka-cc__custom-heading button{border:0!important;background:transparent!important;color:#365d46!important;cursor:pointer!important;text-decoration:underline;padding:7px!important}
.cemka-cc__setting{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #e4eae5;position:relative;cursor:pointer;margin:0}
.cemka-cc__setting strong{display:block;font-size:14px;color:#203a2f}
.cemka-cc__setting p,.cemka-cc__setting small{display:block;font-size:12px;color:#596d60;font-weight:400}
.cemka-cc__always{font-size:11px;white-space:nowrap;border-radius:30px;padding:5px 9px;background:#e8eee9;color:#3a5545}
.cemka-cc__setting input[type=checkbox]{height:26px!important;width:44px!important;opacity:0;position:absolute;right:2px;margin:0;cursor:pointer;z-index:2}
.cemka-cc__switch{height:24px;width:44px;flex:0 0 44px;border-radius:20px;background:#cbd5ce;position:relative;pointer-events:none}
.cemka-cc__switch:after{content:"";position:absolute;top:3px;left:3px;height:18px;width:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #65796b;transition:transform .16s}
.cemka-cc__setting input:checked+.cemka-cc__switch{background:#336747}
.cemka-cc__setting input:checked+.cemka-cc__switch:after{transform:translateX(20px)}
.cemka-cc__setting input:focus-visible+.cemka-cc__switch{outline:3px solid #c68e37;outline-offset:3px}
.cemka-cc__save{display:block;width:100%;margin-top:16px;background:#2e5a43!important;color:#fff!important}
.cemka-cc__save:hover{background:#214734!important}
.cemka-cc__reopen{position:fixed;z-index:2147479998;bottom:max(12px,env(safe-area-inset-bottom));left:12px;min-height:32px!important;line-height:1.2!important;max-width:160px;border:1px solid #b9caba!important;border-radius:8px!important;padding:7px 10px!important;background:#f9fbf8!important;color:#244a32!important;font-size:12px!important;font-weight:650!important;cursor:pointer!important;box-shadow:0 3px 18px rgba(0,0,0,.10)!important}
@media(max-width:600px){.cemka-cc{width:calc(100vw - 16px);bottom:max(8px,env(safe-area-inset-bottom));padding:16px;border-radius:16px;max-height:calc(100dvh - 16px)}.cemka-cc__intro{grid-template-columns:30px 1fr;gap:10px}.cemka-cc__symbol{width:30px;height:30px;font-size:18px;border-radius:9px}.cemka-cc h2{font-size:18px}.cemka-cc p{font-size:13px}.cemka-cc__choices{grid-template-columns:1fr;gap:8px}.cemka-cc__choices button{min-height:42px}.cemka-cc__setting{gap:8px}.cemka-cc__reopen{bottom:max(8px,env(safe-area-inset-bottom));font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.cemka-cc *, .cemka-cc__switch:after{transition:none!important}}
