.apo-consent-panel {
    box-sizing: border-box;
    color: #142d35;
    background: #fffdf7;
    border: 1px solid #c7bc9c;
    border-radius: 14px;
    box-shadow: 0 6px 38px rgb(11 30 34 / 22%);
    font: 400 15px/1.5 system-ui, sans-serif;
    text-align: start;
    padding: 20px 24px;
    color-scheme: light;
}
#apo-consent-banner {
    position: fixed;
    z-index: 100000;
    inset: auto auto max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    width: min(540px, calc(100% - 28px));
    max-height: 70vh;
    overflow-y: auto;
}
#apo-consent-banner[hidden], #apo-consent-preferences:not([open]) { display: none; }
.language-bar [data-apo-language-preferences][hidden],
.language-bar [data-apo-language-preferences]:not([hidden]) + .gtranslate_wrapper { display: none !important; }
#apo-consent-preferences {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(460px, calc(100% - 28px));
    max-height: 90vh;
    overflow-y: auto;
}
#apo-consent-preferences::backdrop { background: rgb(10 27 36 / 55%); }
.apo-consent-panel h2 {
    margin: 0 0 6px;
    font: 600 1.35rem/1.25 Georgia, serif;
    color: #102d3c;
    text-transform: none;
    letter-spacing: normal;
}
.apo-consent-panel p { margin: 4px 0 14px; font: inherit; color: inherit; }
.apo-consent-panel a { color: inherit; text-decoration: underline; }
.apo-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.apo-consent-panel .apo-consent-actions button {
    appearance: none;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #455e62;
    border-radius: 6px;
    background: #fffdf7;
    color: #183d43;
    cursor: pointer;
    font: 600 14px/1.3 system-ui, sans-serif;
    text-transform: none;
    letter-spacing: normal;
}
.apo-consent-panel .apo-consent-actions button:hover { background: #eeeadd; }
.apo-consent-panel :focus-visible { outline: 3px solid #285e92; outline-offset: 2px; }
.apo-consent-panel .apo-consent-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-top: 1px solid #d7d2c4;
    padding: 13px 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.apo-consent-option input[type="checkbox"] {
    appearance: auto;
    accent-color: #174947;
    flex: none;
    margin: 3px 0;
    width: 19px;
    height: 19px;
}
.apo-consent-option small { display: block; font: inherit; }
@media (max-width: 540px) {
    .apo-consent-panel { padding: 14px 16px; font-size: 14px; }
    .apo-consent-actions { gap: 6px; }
    .apo-consent-panel .apo-consent-actions button { padding-inline: 10px; }
}
