#at-cookie-panel[hidden], #at-cookie-panel [hidden], #at-cookie-footer[hidden] { display: none !important; }
#at-cookie-panel {
    box-sizing: border-box;
    width: min(42rem, calc(100% - 2rem));
    margin: 1rem auto;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid #c9cfd4;
    border-radius: 12px;
    background: #fff;
    color: #252c30;
    font: inherit;
    font-family: var(--wd-text-font, system-ui, sans-serif);
    text-align: left;
    scroll-margin: 6rem;
}
#at-cookie-heading { font-size: 1.2rem; line-height: 1.3; margin: 0 0 .4rem; color: inherit; }
#at-cookie-panel p { font-size: .94rem; line-height: 1.5; margin: 0 0 .75rem; color: inherit; }
#at-cookie-panel a, #at-cookie-footer button { color: #244e60; text-decoration: underline; text-underline-offset: .18em; }
.at-cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
#at-cookie-panel button, #at-cookie-footer button {
    font: inherit; font-size: .9rem; line-height: 1.25; text-transform: none;
    min-height: 44px; box-shadow: none; cursor: pointer;
}
#at-cookie-panel button {
    padding: .5rem .85rem; border-radius: 6px; border: 1px solid #677982;
    background: #fff; color: #183c4b;
}
#at-cookie-panel button:hover { background: #eff4f5; }
#at-cookie-options { margin-top: .85rem; border-top: 1px solid #dce2e4; padding-top: .6rem; }
#at-cookie-options label { display: flex; align-items: center; gap: .65rem; min-height: 44px; margin: 0; font-size: .94rem; color: inherit; }
#at-cookie-options input { flex: none; margin: 0; }
#at-cookie-footer { background: #fff; text-align: center; padding: .25rem 1rem max(.25rem, env(safe-area-inset-bottom)); }
#at-cookie-footer button { padding: .4rem .65rem; background: transparent; border: 0; }
#at-cookie-panel :focus-visible, #at-cookie-footer :focus-visible { outline: 2px solid #24647e; outline-offset: 2px; }
@media (max-width: 480px) {
    #at-cookie-panel { width: calc(100% - 1rem); margin-block: .5rem; }
    #at-cookie-panel .at-cookie-actions button { flex: 1 1 auto; }
    #at-cookie-footer { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
}
