/* Self-contained component. Site typography is used only when explicitly selected. */
.df-consent-root {
    --cc-bg: #ffffff;
    --cc-text: #25313c;
    --cc-button: #25313c;
    --cc-button-text: #ffffff;
    --cc-link: #234c73;
    --cc-border: #66737f;
    --cc-radius: 12px;
    color-scheme: light;
    color: var(--cc-text);
    font: 16px/1.55 system-ui, sans-serif;
}
.df-consent-root *, .df-consent-root *::before, .df-consent-root *::after { box-sizing: border-box; }
.df-consent-root [hidden] { display: none !important; }
.df-consent-banner {
    position: fixed;
    z-index: 1040;
    bottom: 72px;
    left: 20px;
    right: 20px;
    max-width: 1040px;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    margin: 0 auto;
    padding: 24px;
    background: var(--cc-bg);
    color: var(--cc-text);
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius);
    box-shadow: 0 8px 40px #18212a26;
}
.df-consent-position-top { top: 20px; bottom: auto; }
.df-consent-position-bottom-left { right: auto; margin: 0; max-width: 560px; }
.df-consent-position-bottom-right { left: auto; margin: 0; max-width: 560px; }
.df-consent-root h2 { font-family: inherit; font-weight: 650; font-size: 22px; line-height: 1.3; letter-spacing: normal; margin: 0 0 12px; color: var(--cc-text); }
.df-consent-root p { color: var(--cc-text); margin: 0 0 16px; font: inherit; }
.df-consent-root a { color: var(--cc-link); text-decoration: underline; text-underline-offset: 3px; }
.df-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.df-consent-root .df-consent-button {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--cc-button);
    border-radius: min(var(--cc-radius), 9px);
    color: var(--cc-button-text);
    background: var(--cc-button);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    text-align: center;
    white-space: normal;
}
.df-consent-root .df-consent-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.df-consent-root :is(button, a, input):focus-visible {
    outline: 3px solid var(--cc-link) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 2px var(--cc-bg) !important;
}
.df-consent-root .df-consent-reopen { position: fixed; z-index: 1039; left: 12px; bottom: 12px; box-shadow: 0 2px 10px #18212a1a; }
.df-consent-dialog {
    width: min(620px, calc(100% - 28px));
    max-height: calc(100dvh - 40px);
    padding: 24px;
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius);
    background: var(--cc-bg);
    color: var(--cc-text);
    font-family: inherit;
    overflow-y: auto;
}
.df-consent-dialog::backdrop { background: #18212a99; }
.df-consent-dialog > .df-consent-button { display: block; margin: 0 0 18px auto; }
.df-consent-root fieldset { min-width: 0; margin: 16px 0; padding: 16px; border: 1px solid var(--cc-border); border-radius: min(var(--cc-radius), 10px); }
.df-consent-root legend { float: none; width: auto; color: var(--cc-text); font: inherit; font-weight: 600; padding: 0 5px; }
.df-consent-category { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 14px 0; cursor: pointer; color: var(--cc-text); }
.df-consent-category + .df-consent-category { border-top: 1px solid var(--cc-border); }
.df-consent-category input { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--cc-button); }
.df-consent-category strong, .df-consent-category span span { display: block; }
.df-consent-category span span { font-weight: 400; margin-top: 4px; }
.df-consent-root :is(p, a, button, strong, span) { overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .df-consent-banner { left: 12px; right: 12px; bottom: 72px; padding: 18px; max-width: none; }
    .df-consent-position-top { top: 12px; bottom: auto; }
    .df-consent-actions .df-consent-button { flex: 1 1 150px; }
    .df-consent-dialog { padding: 18px; }
}
