.ap-consent-preferences,
.ap-consent-panel {
    position: fixed;
    z-index: 10000;
    right: 1rem;
    background: #111a23;
    color: #f4f7f9;
    border: 1px solid #637885;
    border-radius: .75rem;
    font: 400 1rem/1.5 system-ui, sans-serif;
}

.ap-consent-preferences {
    bottom: 1rem;
    padding: .5rem .8rem;
}

.ap-consent-panel {
    bottom: 4.2rem;
    width: min(25rem, calc(100% - 2rem));
    max-height: calc(100dvh - 6rem);
    overflow: auto;
    padding: 1.25rem;
    box-shadow: 0 .5rem 2rem #0006;
}

.ap-consent-panel[hidden] { display: none; }
.ap-consent-panel h2 { color: inherit; font: 600 1.25rem/1.3 system-ui, sans-serif; }
.ap-consent-panel p { margin: .5rem 0; padding: 0; }
.ap-consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .85rem 0; }

.ap-consent-actions button {
    background: #253948;
    color: #fff;
    border: 1px solid #849ba8;
    border-radius: .4rem;
    font: inherit;
    padding: .5rem .7rem;
}

.ap-consent-panel a { color: #a5e7ef; text-decoration: underline; }
.ap-consent-preferences:focus-visible,
.ap-consent-panel :focus-visible { outline: 3px solid #a5e7ef; outline-offset: 3px; }
