.consent-banner {
    position: fixed;
    z-index: 90;
    inset: auto 24px 24px;
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
    gap: 32px;
    color: #212529;
    background: white;
    border: 1px solid #cbd5d2;
    border-radius: 8px;
    box-shadow: 0 8px 40px #00000026;
}
.consent-banner[hidden] { display: none; }
.consent-banner h2 { font-size: 19px; line-height: 1.3; margin: 0 0 10px; }
.consent-banner p { font-size: 13px; line-height: 1.7; margin: 0; }
.consent-banner a, .consent-dialog a { text-decoration: underline; }
.consent-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.consent-actions button, .consent-dialog-actions button { font-size: 13px; min-height: 44px; padding: 10px 14px; background: white; color: #212529; border: 1px solid #536260; }
.consent-actions button:hover, .consent-dialog-actions button:hover { background: #edf3f1; color: #172723; }
.consent-actions .consent-settings-link { border-color: transparent; text-decoration: underline; min-height: 32px; padding-block: 4px; }
.consent-dialog { width: 600px; max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 26px; background: white; color: #212529; border-radius: 8px; overscroll-behavior: contain; }
.consent-dialog-heading { display: flex; gap: 20px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.consent-dialog h2 { font-size: 24px; }
.consent-dialog-heading button { flex: none; width: 44px; height: 44px; padding: 4px; border: 0; background: white; color: #212529; font-size: 28px; }
.consent-dialog > p { font-size: 13px; line-height: 1.7; }
.consent-categories { margin-block: 22px; border-top: 1px solid #d6dfdc; }
.consent-category { padding-block: 16px; border-bottom: 1px solid #d6dfdc; }
.consent-category h3, .consent-category label { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 28px; font-size: 15px; font-weight: 600; }
.consent-category h3 span { font-size: 11px; font-weight: 400; color: #56645d; }
.consent-category input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: #304f46; }
.consent-category p { margin: 7px 0 0; font-size: 13px; line-height: 1.6; color: #4c5953; }
.consent-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-dialog-actions button { flex: 1; }
.consent-dialog-actions [data-consent-action=save] { background: #212529; color: white; }
.consent-dialog .consent-details { margin-top: 16px; font-size: 12px; color: #4c5953; }
@media (max-width: 700px) {
    .consent-banner { inset: auto 12px 12px; width: calc(100% - 24px); padding: 18px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .consent-banner h2 { font-size: 17px; }
    .consent-banner p { font-size: 12px; line-height: 1.6; }
    .consent-actions { grid-template-columns: 1fr 1fr; }
    .consent-actions .consent-settings-link { grid-column: 1 / -1; }
    .consent-dialog { padding: 20px; }
    .consent-dialog h2 { font-size: 22px; }
    .consent-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .consent-dialog-actions [data-consent-action=save] { grid-column: 1 / -1; }
}
