#entoma-privacy-link{padding:16px 24px;background:#f5f6f4;text-align:center}
#entoma-privacy-link button{background:transparent;border:0;color:#566575;text-decoration:underline;text-underline-offset:3px;font:13px/1.5 system-ui;padding:8px;cursor:pointer}
#entoma-consent[hidden],#entoma-consent [hidden]{display:none!important}
#entoma-consent{position:fixed;left:20px;bottom:max(20px,env(safe-area-inset-bottom));z-index:9997;box-sizing:border-box;width:min(420px,calc(100vw - 40px));max-height:65dvh;overflow:auto;background:#fff;color:#20364b;border:1px solid #dfe7ed;border-radius:18px;padding:18px;box-shadow:0 8px 35px #17334d1a;font:14px/1.55 system-ui;animation:ec-appear .22s ease-out}
#entoma-consent *{box-sizing:border-box}
#entoma-consent p{font:14px/1.55 system-ui;color:#40556a;margin:10px 0}
#entoma-consent .ec-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#entoma-consent strong{font:650 15px/1.4 system-ui;color:#20364b}
#entoma-consent button{position:static;transform:none;width:auto;min-height:44px;margin:0;padding:10px 14px;border:1px solid #c8d5e6;border-radius:12px;background:#f3f6fb;color:#183b65;box-shadow:none;font:600 14px/1.3 system-ui;cursor:pointer;transition:background .18s,color .18s}
#entoma-consent button:hover{background:#e7eef8;color:#102c4d}
#entoma-consent .ec-close{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;background:transparent;border:0;font:24px/1 system-ui}
#entoma-consent .ec-actions{display:flex;gap:10px;margin-top:14px}
#entoma-consent .ec-actions button{flex:1}
#entoma-consent summary{cursor:pointer;color:#31577e;font:13px/1.6 system-ui;padding:4px 0}
#entoma-consent a{color:#2558d1;text-decoration:underline}
#entoma-consent :focus-visible,#entoma-privacy-link :focus-visible{outline:3px solid #94b7f3;outline-offset:3px}
#entoma-consent .ec-status:empty{display:none}
@keyframes ec-appear{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}
@media(max-width:640px){#entoma-consent{left:12px;bottom:calc(88px + env(safe-area-inset-bottom));width:calc(100vw - 24px);padding:14px;max-height:55dvh}body:has(#entoma-chat-panel:not([hidden])) #entoma-consent,body:has(#entoma-contact-menu:not([hidden])) #entoma-consent,body:has(dialog[open]) #entoma-consent{display:none}}
@media(prefers-reduced-motion:reduce){#entoma-consent{animation:none}#entoma-consent button{transition:none}}
