.consent-banner, .consent-preferences { --consent-ink: #19211e; --consent-forest: #31584a; --consent-cream: #f3eadc; --consent-line: rgba(49, 88, 74, .22); font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: var(--consent-ink); }
.consent-banner { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(390px, .65fr); gap: 24px; align-items: center; width: 100%; padding: 14px clamp(18px, 4vw, 64px); border: 0; border-top: 1px solid var(--consent-line); border-radius: 0; background: rgba(250, 247, 241, .98); box-shadow: 0 -10px 36px rgba(25, 33, 30, .1); }
.consent-banner h2, .consent-preferences h2 { margin: 2px 0 5px; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.05; }
.consent-banner p, .consent-preferences p { margin: 0; color: #4b5752; font-size: .8rem; line-height: 1.45; }
.consent-kicker { color: var(--consent-forest); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.consent-banner-controls { display: grid; gap: 12px; }
.consent-banner-actions, .consent-preference-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.consent-button { min-height: 42px; border: 1px solid var(--consent-forest); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: .75rem; font-weight: 760; cursor: pointer; }
.consent-button.primary { background: var(--consent-forest); color: white; }
.consent-button.secondary { background: transparent; color: var(--consent-forest); }
.consent-button:focus-visible, .consent-settings-link:focus-visible, .consent-dialog-close:focus-visible { outline: 3px solid #7ba896; outline-offset: 3px; }
.consent-policy-links { display: flex; justify-content: flex-end; gap: 8px; font-size: .7rem !important; }
.consent-policy-links a { color: var(--consent-forest); text-decoration: underline; text-underline-offset: 3px; }
.consent-preferences { width: min(680px, calc(100% - 32px)); max-height: min(760px, calc(100% - 32px)); margin: auto; padding: 0; overflow: auto; border: 1px solid var(--consent-line); border-radius: 16px; background: #faf7f1; box-shadow: 0 30px 100px rgba(25, 33, 30, .28); }
.consent-preferences::backdrop { background: rgba(20, 29, 25, .5); backdrop-filter: blur(3px); }
.consent-preferences-card { display: grid; gap: 16px; padding: 28px; }
.consent-heading-row { display: flex; justify-content: space-between; gap: 20px; }
.consent-dialog-close { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid var(--consent-line); border-radius: 50%; background: transparent; color: var(--consent-ink); font-size: 1.4rem; cursor: pointer; }
.consent-category { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 17px; border: 1px solid var(--consent-line); border-radius: 10px; background: white; cursor: pointer; }
.consent-category div { display: grid; gap: 4px; }
.consent-category strong { font-size: .9rem; }
.consent-category small { color: #5e6964; line-height: 1.4; }
.consent-category > span { color: var(--consent-forest); font-size: .7rem; font-weight: 760; }
.consent-category input { position: absolute; opacity: 0; pointer-events: none; }
.consent-category i { position: relative; width: 44px; height: 24px; border-radius: 999px; background: #c8ceca; transition: background 160ms ease; }
.consent-category i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: white; transition: transform 160ms ease; }
.consent-category input:checked + i { background: var(--consent-forest); }
.consent-category input:checked + i::after { transform: translateX(20px); }
.consent-category input:focus-visible + i { outline: 3px solid #7ba896; outline-offset: 3px; }
.consent-settings-link { border: 0; padding: 4px 0; background: transparent; color: inherit; font: inherit; font-size: .72rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent-footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.consent-footer-links a { font-size: .72rem; text-decoration: underline; text-underline-offset: 3px; }
body > .consent-settings-link { position: fixed; z-index: 50; right: 14px; bottom: 12px; padding: 8px 11px; border: 1px solid rgba(49, 88, 74, .18); border-radius: 999px; background: rgba(250, 247, 241, .92); color: #31584a; }
@media (max-width: 760px) { .consent-banner { grid-template-columns: 1fr; gap: 11px; padding-block: 12px; } .consent-banner-actions, .consent-policy-links { justify-content: flex-start; } .consent-button { flex: 1 1 130px; } }
@media (max-width: 760px) { .footer-inner .consent-footer-links { width: 100%; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(49, 88, 74, .15); gap: 12px; } .footer-inner .consent-footer-links a, .footer-inner .consent-settings-link { font-size: .68rem; white-space: nowrap; } }
@media (max-width: 440px) { .consent-banner { padding: 12px; } .consent-banner-copy p { max-height: 3.7em; overflow: auto; } .consent-preferences-card { padding: 20px; } .consent-preference-actions .consent-button { flex-basis: 100%; } .footer-inner .consent-footer-links { gap: 9px; } }
@media (prefers-reduced-motion: reduce) { .consent-category i, .consent-category i::after { transition: none; } }
