/* Deliberately outside the generic messaging cookie-widget selectors. */
#wm-privacy-prompt, #wm-privacy-dialog, #wm-privacy-launcher, #wm-privacy-status {
    font: 1rem/1.5 system-ui, sans-serif; color: #171717; background: #fff;
    border: 2px solid #404040; border-radius: .5rem; padding: 1rem;
}
#wm-privacy-prompt { position: fixed; inset: auto 1rem 4.5rem; z-index: 2147483645; max-height: 60dvh; overflow: auto; }
#wm-privacy-launcher { position: fixed; bottom: .5rem; right: .5rem; z-index: 2147483645; cursor: pointer; }
#wm-privacy-dialog { max-width: 38rem; width: calc(100% - 2rem); max-height: 85dvh; overflow: auto; }
#wm-privacy-dialog::backdrop { background: rgb(0 0 0 / .5); }
#wm-privacy-prompt[hidden] { display: none; }
#wm-privacy-prompt h2, #wm-privacy-dialog h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
#wm-privacy-prompt button, #wm-privacy-dialog button {
    font: inherit; color: #171717; background: #fff; border: 2px solid #404040;
    border-radius: .25rem; padding: .6rem .8rem; margin: .25rem; cursor: pointer;
}
#wm-privacy-dialog a { color: #1d4ed8; text-decoration: underline; }
#wm-privacy-optional { width: 1.2rem; height: 1.2rem; margin-right: .5rem; }
#wm-privacy-dialog :focus-visible, #wm-privacy-prompt :focus-visible, #wm-privacy-launcher:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; }
#wm-privacy-status { position: fixed; left: .5rem; bottom: 4.5rem; z-index: 2147483646; pointer-events: none; max-width: min(32rem, 70vw); }
#wm-privacy-status:empty { display: none; }
