.consent,.consent-panel{font-family:"DM Sans",sans-serif;font-size:14px;line-height:1.6;color:#1b1e22}
.consent[hidden],.consent-panel[hidden]{display:none}
.consent{position:fixed;left:24px;bottom:24px;z-index:9998;width:400px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:24px;background:#fff;border-top:4px solid #17567b;border-radius:6px;box-shadow:0 12px 40px rgba(27,30,34,.22)}
.consent--centre{left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%);width:480px}
.consent__title{margin:0 0 6px;font-size:18px;font-weight:500;color:#000}
.consent__text{margin:0 0 16px;color:#4b5158}
.consent__text a{color:#17567b;text-decoration:underline}
.consent__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.consent__actions--panel{grid-template-columns:repeat(3,1fr);margin-top:20px}
.consent .consent__btn,.consent-panel .consent__btn{appearance:none;display:block;width:100%;min-height:44px;padding:10px 12px;font:500 14px/1.2 "DM Sans",sans-serif;color:#fff;background:#17567b;border:1px solid #17567b;border-radius:4px;cursor:pointer;transition:background-color .2s}
.consent .consent__btn:hover,.consent .consent__btn:focus,.consent-panel .consent__btn:hover,.consent-panel .consent__btn:focus{color:#fff;background:#0f3f5b;border-color:#0f3f5b}
.consent .consent__link{appearance:none;display:block;margin:12px auto 0;padding:4px;font:400 13px/1.4 "DM Sans",sans-serif;color:#17567b;background:none;border:0;border-radius:0;text-decoration:underline;cursor:pointer}
.consent .consent__link:hover,.consent .consent__link:focus{color:#0f3f5b;background:none}
.consent :focus-visible,.consent-panel :focus-visible{outline:2px solid #17567b;outline-offset:2px}
.consent-panel{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(27,30,34,.55)}
.consent-panel__box{position:relative;box-sizing:border-box;width:560px;max-width:100%;max-height:calc(100vh - 32px);overflow:auto;padding:32px;background:#fff;border-top:4px solid #17567b;border-radius:6px;outline:0}
.consent-panel h2.consent-panel__title{margin:0 0 8px;font-family:"DM Sans",sans-serif;font-size:24px;font-weight:500;line-height:1.3;letter-spacing:0;color:#000}
.consent-panel .consent-panel__close{appearance:none;position:absolute;top:12px;right:12px;width:36px;height:36px;padding:0;font-size:24px;line-height:1;color:#1b1e22;background:none;border:0;border-radius:4px;cursor:pointer}
.consent-panel .consent-panel__close:hover,.consent-panel .consent-panel__close:focus{color:#17567b;background:#f5f5f7}
.consent-cat{padding:14px 0;border-top:1px solid #e4e6ea}
.consent-cat p{margin:6px 0 0;color:#4b5158}
.consent-cat__head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;color:#000}
.consent-cat__head strong{font-weight:500}
.consent-cat__head label{margin:0;cursor:pointer}
.consent-cat__always{font-size:13px;color:#17567b}
.consent-panel input.consent-switch[type=checkbox]{appearance:none;position:relative;flex:none;display:block;width:44px;height:24px;min-height:0;margin:0;padding:0;background:#6b7280;border:0;border-radius:12px;cursor:pointer;transition:background-color .2s}
.consent-panel input.consent-switch[type=checkbox]::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;background:#fff;border-radius:50%;transition:transform .2s}
.consent-panel input.consent-switch[type=checkbox]:checked{background:#17567b}
.consent-panel input.consent-switch[type=checkbox]:checked::after{transform:translateX(20px)}
@media (max-width:767px){
.consent{left:8px;right:8px;bottom:8px;width:auto;max-width:none;padding:14px 16px 10px;font-size:13px;line-height:1.5}
.consent__title{font-size:16px}
.consent__text{margin-bottom:10px}
.consent .consent__link{margin-top:6px}
.consent--centre{left:8px;right:8px;top:50%;bottom:auto;width:auto;transform:translateY(-50%)}
.consent__actions--panel{grid-template-columns:1fr}
.consent-panel__box{padding:24px}
}
@media (prefers-reduced-motion:reduce){.consent__btn,.consent-switch,.consent-panel input.consent-switch[type=checkbox]::after{transition:none}}
