/* Local, scoped styles. No remote assets. */
:root{--cmc-accent:#86b72b;--cmc-bg:#fff;--cmc-text:#243028;--cmc-reserve:0px}
body.cmc-public{padding-bottom:var(--cmc-reserve)}
.cmc-root{font:13px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--cmc-text);position:relative;z-index:2147483647}
.cmc-card{position:fixed;z-index:999998;bottom:calc(84px + env(safe-area-inset-bottom) + var(--cmc-sticky,0px));left:50%;transform:translateX(-50%);width:min(640px,calc(100% - 24px));box-sizing:border-box;padding:14px 16px;border:1px solid #e0e5dc;background:var(--cmc-bg);border-radius:10px;box-shadow:0 4px 20px #25382118}
.cmc-card[data-position=bottom-left]{left:12px;transform:none}.cmc-card[data-position=bottom-right]{left:auto;right:12px;transform:none}
.cmc-card h2,.cmc-dialog h2{font-size:16px;line-height:1.3;font-weight:600;margin:0 0 7px}.cmc-card p{font-size:13px;line-height:1.45;margin:0 0 10px}
.cmc-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.cmc-actions button,.cmc-save,.cmc-close{font:inherit;font-size:12px;line-height:1.3;text-transform:none;letter-spacing:normal;cursor:pointer;border:1px solid #c8d2c0;border-radius:6px;padding:8px 10px;background:#fff;color:#243028;min-height:36px;margin:0;box-shadow:none}
.cmc-actions button[data-choice=accept],.cmc-actions button[data-choice=reject]{background:var(--cmc-accent);color:#152000;border-color:var(--cmc-accent);font-weight:600}
.cmc-actions button:focus-visible,.cmc-dialog button:focus-visible,.cmc-open:focus-visible{outline:3px solid #245e8c;outline-offset:3px}
.cmc-open{font:inherit;background:transparent;color:inherit;text-decoration:underline;border:0;cursor:pointer;padding:8px}
.cmc-dialog{position:fixed;z-index:1000000;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(500px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #dce5d5;border-radius:12px;box-sizing:border-box;padding:18px;background:var(--cmc-bg);box-shadow:0 0 0 100vmax #10200866}
.cmc-dialog p{font-size:13px;line-height:1.45}.cmc-row{display:flex;align-items:flex-start;gap:10px;margin:8px 0;padding:10px;border:1px solid #e0e6dc;border-radius:8px}.cmc-row input{width:18px;height:18px;margin-top:3px;accent-color:var(--cmc-accent);flex-shrink:0}.cmc-row strong{display:block;font-size:13px}.cmc-row small{display:block;color:#54634c;font-size:12px}
.cmc-save{background:var(--cmc-accent);font-weight:600;width:100%;margin-top:8px}.cmc-close{float:right;padding:4px 9px;min-height:32px}.cmc-status{font-size:12px;margin:6px 0}.cmc-hidden{display:none!important}
.cmc-privacy{display:inline-block;font-size:11px;margin-top:7px;text-decoration:underline;color:inherit}.cmc-footer-link{text-align:center;padding:8px 16px}.cmc-row input:disabled{opacity:.6}
@media(max-width:520px){.cmc-card{padding:12px;bottom:calc(80px + env(safe-area-inset-bottom) + var(--cmc-sticky,0px));width:calc(100% - 16px);border-radius:9px}.cmc-card h2{font-size:15px}.cmc-card p{font-size:12px;margin-bottom:9px}.cmc-actions{gap:6px}.cmc-actions button{font-size:12px;padding:7px 5px;min-height:40px}.cmc-dialog{padding:14px}.cmc-card[data-position=bottom-left]{left:8px}.cmc-card[data-position=bottom-right]{right:8px}}

.cmc-dialog .cmc-save,.cmc-dialog>.cmc-open{display:block;float:none;clear:both;box-sizing:border-box;width:100%;font:13px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif;text-transform:none;letter-spacing:normal;white-space:normal;min-height:40px;padding:9px 12px;border-radius:6px;margin:10px 0 0}
.cmc-dialog .cmc-save{background:var(--cmc-accent);color:#152000;border:1px solid var(--cmc-accent);font-weight:600;box-shadow:none}
.cmc-dialog>.cmc-open{margin-top:6px;background:transparent;color:#54634c;border:1px solid #dce5d5;text-decoration:none;box-shadow:none}

@media(max-width:1024px){.cmc-footer-link{padding-bottom:calc(88px + env(safe-area-inset-bottom));}}
