.c-consent{box-sizing:border-box;width:min(var(--consent-width,920px),calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0!important;overflow:hidden;border:1px solid;border-radius:24px;background:#fff;color:#222;font:inherit}
.c-consent[open]{display:flex;flex-direction:column}
.c-consent::backdrop{background:#0008}
.c-consent__header{flex:0 0 auto;padding:24px 32px 16px;border-bottom:1px solid #ffffff30}
.c-consent h2{margin:0;font-size:clamp(1.4rem,3vw,2rem);line-height:1.2}
.c-consent__scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 32px;scrollbar-gutter:stable}
.c-consent p{line-height:1.6;margin:0 0 16px}
.c-consent__footer{flex:0 0 auto;padding:20px 32px;background:inherit;border-top:1px solid #ffffff30}
.c-consent__actions{display:flex;flex-wrap:wrap;gap:12px}
.c-consent button,.c-cookie-policy button{padding:12px 18px;min-height:44px;border:1px solid currentColor;border-radius:24px;font:inherit;cursor:pointer}
.c-consent__actions button{flex:1 1 150px}
.c-consent .c-consent__close{display:block;margin:10px auto 0;padding:4px 12px;min-height:32px;font-size:.85em;background:transparent;color:inherit;border-color:transparent}
.c-consent [hidden],.c-cookie-policy [hidden]{display:none!important}
.c-consent a{color:inherit}
.c-consent :focus-visible,.c-cookie-policy :focus-visible{outline:2px solid currentColor;outline-offset:3px}
.c-consent-catalog{margin:20px 0}
.c-consent-category{position:relative;border-top:1px solid currentColor;padding:16px 0}
.c-consent-category>details>summary{font-weight:700;min-height:32px;padding-right:150px}
.c-cookie-policy .c-consent-category>details>summary{padding-right:0}
.c-consent-category__choice{position:absolute;right:0;top:16px;display:flex;align-items:center;gap:8px;font-size:.8em;min-height:32px;cursor:pointer}
.c-consent-category__choice input{width:22px;height:22px;margin:0}
.c-consent-catalog summary{cursor:pointer;padding:8px 0;overflow-wrap:anywhere}
.c-consent-service{margin:12px 0;padding:12px 16px;border:1px solid #8886;border-radius:12px}
.c-consent-cookie{padding:10px 0;border-top:1px solid #8886}
.c-consent-catalog dl{margin:12px 0;display:flex;flex-direction:column;gap:16px}
.c-consent-catalog dl>div{display:grid;grid-template-columns:minmax(100px,1fr) 3fr;gap:16px}
.c-consent-catalog dt{font-weight:700}
.c-consent-catalog dd{margin:0;overflow-wrap:anywhere}
.c-consent-catalog code,.c-consent-record code{font-size:.85em;overflow-wrap:anywhere;color:inherit;background:transparent}
.c-consent-record{margin:20px 0;padding:16px;border:1px solid #8886;border-radius:12px;font-size:.85em}
.c-consent-record p:last-child{margin-bottom:0}
@media(max-width:600px){.c-consent{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.c-consent__header,.c-consent__scroll,.c-consent__footer{padding:16px}.c-consent__actions{gap:8px}.c-consent__actions button{flex:1 1 100px;padding:10px;font-size:.85em}.c-consent-catalog dl>div{grid-template-columns:1fr;gap:4px}.c-consent-category>details>summary{padding-right:125px}.c-consent-category__choice{font-size:.7em}.c-consent-service{padding:8px}}
@media(max-height:450px){.c-consent__header,.c-consent__footer{padding:8px 16px}.c-consent .c-consent__close{margin-top:4px}}