.harko-cm-banner,.harko-cm-dialog{box-sizing:border-box;background:var(--hcm-panel,#243238);color:var(--hcm-text,#fff);font:inherit}
.harko-cm-banner[hidden],.harko-cm-backdrop[hidden],.harko-cm-reopen[hidden]{display:none!important}
.harko-cm-banner{position:fixed;z-index:99998;inset:auto 0 0;padding:22px max(24px,calc((100vw - 1180px)/2));box-shadow:0 -8px 28px rgba(0,0,0,.2)}
.harko-cm-inner{max-width:1180px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
.harko-cm-copy p,.harko-cm-dialog p{color:var(--hcm-muted,#dce7e5);margin:.45em 0;line-height:1.55}.harko-cm-copy a,.harko-cm-dialog>a{color:var(--hcm-accent,#55a098);text-underline-offset:3px}
.harko-cm-actions,.harko-cm-dialog-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.harko-cm-banner button,.harko-cm-dialog button{font:inherit;font-weight:650;min-height:48px;padding:10px 18px;border:2px solid var(--hcm-accept,#55a098);border-radius:2px;background:var(--hcm-accept,#55a098);color:var(--hcm-accept-text,#172321);cursor:pointer}
.harko-cm-banner button[data-cm-action="reject"],.harko-cm-dialog button[data-cm-action="reject"]{background:var(--hcm-reject,#fff);color:var(--hcm-reject-text,#243238);border-color:var(--hcm-reject,#fff)}
.harko-cm-banner button.harko-cm-secondary{background:transparent;color:var(--hcm-text,#fff);border-color:var(--hcm-muted,#dce7e5)}
.harko-cm-banner button:hover,.harko-cm-dialog button:hover{filter:brightness(1.08)}
.harko-cm-banner button:focus-visible,.harko-cm-dialog button:focus-visible,.harko-cm-reopen:focus-visible,.harko-cm-dialog a:focus-visible,.harko-cm-dialog input:focus-visible{outline:3px solid #ffd166;outline-offset:3px}
.harko-cm-reopen{position:fixed;z-index:99997;left:12px;bottom:12px;min-height:44px;padding:8px 13px;border:1px solid #243238;background:#fff;color:#243238;font:inherit;font-size:13px;cursor:pointer}
.harko-cm-backdrop{position:fixed;z-index:99999;inset:0;background:rgba(10,18,20,.72);display:grid;place-items:center;padding:18px;overflow:auto}
.harko-cm-dialog{position:relative;width:min(680px,100%);max-height:min(90vh,850px);overflow:auto;padding:30px;box-shadow:0 15px 50px rgba(0,0,0,.35)}
.harko-cm-dialog h2{margin:0 40px 10px 0;font-size:1.6rem}.harko-cm-close{position:absolute;right:16px;top:16px;min-width:44px!important;padding:4px!important;font-size:26px!important;background:transparent!important;color:var(--hcm-text)!important;border-color:var(--hcm-muted)!important}
.harko-cm-row{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;padding:15px 0;border-bottom:1px solid rgba(220,231,229,.3)}.harko-cm-row strong{display:block}.harko-cm-row p{margin:.35em 0 0;font-size:.93rem}.harko-cm-row input[type=checkbox]{width:24px;height:24px;accent-color:var(--hcm-accent)}
.harko-cm-switch{display:block;position:relative;width:52px;height:30px}.harko-cm-switch input{position:absolute;opacity:0;width:1px;height:1px}.harko-cm-switch span{position:absolute;inset:0;border:2px solid var(--hcm-muted);border-radius:20px;cursor:pointer}.harko-cm-switch span:after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;background:var(--hcm-muted);border-radius:50%;transition:transform .15s}.harko-cm-switch input:checked+span{background:var(--hcm-accent);border-color:var(--hcm-accent)}.harko-cm-switch input:checked+span:after{transform:translateX(22px);background:#172321}.harko-cm-switch input:focus-visible+span{outline:3px solid #ffd166;outline-offset:3px}
.harko-cm-dialog-actions{justify-content:flex-start;margin:20px 0 14px}.harko-cm-open{overflow:hidden}
@media(max-width:760px){.harko-cm-banner{padding:18px 16px}.harko-cm-inner{grid-template-columns:1fr;gap:14px}.harko-cm-actions{justify-content:stretch;display:grid;grid-template-columns:1fr 1fr}.harko-cm-actions button{width:100%;padding:9px 10px}.harko-cm-actions button:last-child{grid-column:1/-1}.harko-cm-dialog{padding:24px 18px}.harko-cm-dialog-actions{display:grid;grid-template-columns:1fr}.harko-cm-dialog-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.harko-cm-switch span:after{transition:none}}
