#ag-consent, #ag-consent * {box-sizing:border-box}
#ag-consent {font:400 11px/1.5 NotoSans,"Segoe UI",sans-serif;letter-spacing:normal;text-align:left}
#ag-consent section {
  position:fixed;inset:auto 4px 4px;z-index:10000;display:flex;align-items:center;
  gap:16px;padding:24px;margin:0;background:#000;color:white;border-radius:8px;
  max-height:calc(100dvh - 8px);overflow:auto;animation:ag-consent-in .24s ease-out
}
#ag-consent [hidden] {display:none}
#ag-consent section div {flex:auto}
#ag-consent section a {color:inherit;font-weight:700;text-decoration:underline;white-space:nowrap}
#ag-consent img {width:24px;height:24px;object-fit:contain;filter:brightness(0)}
#ag-consent section::before {content:"";position:absolute;top:0;left:0;border:16px solid transparent;border-top-color:white;border-left-color:white}
#ag-consent section img {position:absolute;top:4px;left:4px;width:12px;height:12px}
#ag-consent button,#ag-consent-reopen {
  cursor:pointer;font:inherit;text-transform:none;letter-spacing:normal;border:0;margin:0;
  background:none;color:inherit;padding:0
}
#ag-consent-reopen:hover {text-decoration:underline}
#ag-consent button {border-radius:4px;padding:8px 16px;transition:background .15s}
#ag-consent section button {background:white;color:black;flex:none;font-weight:600}
#ag-consent section button:hover {background:#dfdfdf}
#ag-consent :focus-visible {outline:2px solid #906640;outline-offset:3px}
#ag-consent section :focus-visible {outline-color:white}
#ag-consent dialog {
  position:fixed;inset:0;margin:auto;width:min(750px,100%);height:min(600px,100dvh);
  max-width:none;max-height:none;background:white;color:#111;border:none;
  border-radius:4px;padding:32px;font:inherit;font-size:16px
}
html:has(#ag-consent dialog[open]) {overflow:hidden}
#ag-consent dialog[open] {display:flex;flex-direction:column;animation:ag-consent-in .18s ease-out}
#ag-consent dialog::backdrop {background:rgba(0,0,0,.2)}
#ag-consent [data-close] {align-self:flex-start;font:28px/1 Arial;padding:6px;width:40px;margin:-8px -8px 8px}
#ag-consent-title {align-self:flex-start;border-bottom:2px solid;padding-bottom:4px}
#ag-consent .choices {flex:1;overflow:auto;margin:4px -4px 16px;padding:0 4px}
#ag-consent details {padding:0;margin:0;border:none;font:inherit}
#ag-consent details div {font-size:14px;line-height:1.6;padding:0 16px 20px 32px;color:#444}
#ag-consent summary {
  display:flex;align-items:center;min-height:64px;gap:22px;padding:0 60px 0 5px;
  cursor:pointer;list-style:none;font:inherit
}
#ag-consent summary::-webkit-details-marker {display:none}
#ag-consent summary::before {content:"";width:7px;height:7px;border:solid;border-width:1.5px 1.5px 0 0;transform:rotate(45deg)}
#ag-consent details[open] summary::before {transform:rotate(135deg)}
#ag-consent .optional {position:relative;border-top:1px solid #ccc}
#ag-consent input {
  appearance:none;position:absolute;right:0;top:10px;width:46px;height:44px;
  margin:0;padding:0;background:none;border:none;cursor:pointer
}
#ag-consent input::before,#ag-consent input::after {content:"";position:absolute;border-radius:15px}
#ag-consent input::before {inset:10px 0;background:#858991}
#ag-consent input::after {left:3px;top:13px;width:18px;height:18px;background:white;transition:transform .2s}
#ag-consent input:checked::before {background:black}
#ag-consent input:checked::after {transform:translateX(22px)}
#ag-consent .actions {display:flex;align-items:center;justify-content:space-between}
#ag-consent [data-save] {background:black;color:white}
#ag-consent [data-save]:hover {background:#333}
@media(max-width:767px){
  #ag-consent section {flex-direction:column;align-items:stretch;padding:16px 16px max(16px,env(safe-area-inset-bottom))}
  #ag-consent dialog {width:100%;height:100dvh;border-radius:0;font-size:14px;padding:16px 16px max(16px,env(safe-area-inset-bottom))}
}
@keyframes ag-consent-in {from{opacity:0;transform:translateY(8px)}}
@media(prefers-reduced-motion:reduce){
  #ag-consent section,#ag-consent dialog[open],#ag-consent input::after,#ag-consent button {animation:none;transition:none}
}
@media print {#ag-consent,#ag-consent-reopen {display:none}}
