.tero-cookie-toggle[hidden],#tero-cookie-dialog:not([open]){display:none}
.tero-cookie-toggle{position:fixed;bottom:max(14px,env(safe-area-inset-bottom));left:max(14px,env(safe-area-inset-left));z-index:1000;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #777;border-radius:50%;background:#171817;color:#f3f2ec;cursor:pointer}
#tero-cookie-dialog{position:fixed;inset:0;box-sizing:border-box;margin:auto;width:min(430px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #666;border-radius:8px;background:#202120;color:#f4f3ef;text-align:left;font:16px/1.45 AvenirNextCyr-Light,Arial,sans-serif;color-scheme:dark}
#tero-cookie-dialog::backdrop{background:rgba(0,0,0,.66)}
.tero-cookie-heading,.tero-cookie-actions{display:flex;align-items:center;gap:12px}
.tero-cookie-heading{justify-content:space-between}
#tero-cookie-dialog h2{margin:0;font-weight:600;font-family:inherit;font-size:23px;line-height:1.2}
#tero-cookie-dialog p{margin:12px 0;color:#deded7;font:inherit}
#tero-cookie-dialog a{color:inherit;text-decoration:underline}
.tero-cookie-option{padding-top:12px;margin-top:14px;border-top:1px solid #50514f}
.tero-cookie-option label{font-weight:600}.tero-cookie-option input{margin-right:8px}
#tero-cookie-dialog button{font:inherit;cursor:pointer;color:inherit}
#tero-cookie-dialog [data-settings-close]{border:0;background:transparent;width:40px;height:40px;padding:0;font-size:26px;line-height:1}
.tero-cookie-actions button,#tero-cookie-dialog [data-choice="selected"]{border:1px solid #a0a199;background:#2c2d2a;border-radius:4px;padding:8px 10px;min-height:42px}
.tero-cookie-actions button{flex:1}.tero-cookie-actions{margin-top:16px}
#tero-cookie-dialog [data-choice="selected"]{width:100%;margin-top:8px}
#tero-cookie-dialog [data-settings-status]{font-size:14px;color:#cacbc4}
.tero-cookie-toggle:focus-visible,#tero-cookie-dialog :focus-visible{outline:2px solid #eee;outline-offset:3px}
