/* Shared consent controls use the existing funnel palette, leaving layouts intact. */
.fb-honeypot { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
/* Bottom consent banner: no preselection, three equally styled choices, page stays usable. */
.fb-consent { position: fixed; inset: auto 0 0 0; z-index: 2147483000; max-height: min(70dvh, 560px); overflow-y: auto; color: var(--slate, #20392e); background: var(--paper, #fff); border-top: 1px solid var(--line, #dddfd6); box-shadow: 0 -12px 40px rgb(15 27 20 / 0.18); font: 14px/1.55 Arial, Helvetica, sans-serif; }
.fb-consent[hidden] { display: none; }
body::after { content: ""; display: block; block-size: var(--fb-consent-space, 0px); }
.fb-consent-inner { max-width: 1168px; margin-inline: auto; padding: 20px 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 40px; }
.fb-consent-copy { max-width: 78ch; }
.fb-consent-copy h2 { margin: 0; font: 600 17px/1.3 Arial, Helvetica, sans-serif; color: inherit; letter-spacing: 0; }
.fb-consent-copy p { margin: 6px 0 0; }
.fb-consent-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.fb-consent a, .fb-consent-dialog a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.fb-consent-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fb-consent-button { min-height: 46px; min-width: 150px; padding: 10px 18px; border: 1px solid var(--h2-green, #254f3d); border-radius: 3px; background: var(--h2-green, #254f3d); color: #fff; font: 600 14px/1.2 Arial, Helvetica, sans-serif; cursor: pointer; }
.fb-consent-button:hover { background: #183d2c; border-color: #183d2c; }
.fb-consent-button:focus-visible, .fb-consent-close:focus-visible, .fb-consent-switch input:focus-visible + span, .fb-consent-option summary:focus-visible { outline: 3px solid var(--h2-green, #254f3d); outline-offset: 3px; }
.fb-consent-dialog { position: relative; color: var(--slate, #20392e); background: var(--paper, #fff); border: 0; border-radius: 4px; width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 28px; font: 15px/1.55 Arial, Helvetica, sans-serif; box-sizing: border-box; }
.fb-consent-dialog::backdrop { background: rgb(15 27 20 / 0.64); }
.fb-consent-dialog h2 { font: 600 22px/1.25 Arial, Helvetica, sans-serif; margin: 0 40px 12px 0; overflow-wrap: normal; word-break: normal; hyphens: auto; }
.fb-consent-dialog > p { margin: 0 0 18px; }
.fb-consent-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 1px solid var(--line, #dddfd6); border-radius: 3px; background: #fff; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.fb-consent-option { border-top: 1px solid var(--line, #dddfd6); padding: 16px 0; }
.fb-consent-option:last-of-type { border-bottom: 1px solid var(--line, #dddfd6); }
.fb-consent-option-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fb-consent-option-head strong { font-size: 16px; }
.fb-consent-option > p { margin: 6px 0 0; font-size: 14px; color: var(--slate-soft, #57665e); }
.fb-consent-always { font-size: 13px; font-weight: 600; color: var(--h2-green, #254f3d); white-space: nowrap; }
.fb-consent-switch { position: relative; display: inline-flex; flex-shrink: 0; cursor: pointer; }
.fb-consent-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.fb-consent-switch span { display: block; width: 48px; height: 28px; border-radius: 999px; background: #c9cfc5; transition: background 0.15s ease; }
.fb-consent-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.3); transition: transform 0.15s ease; }
.fb-consent-switch input:checked + span { background: var(--h2-green, #254f3d); }
.fb-consent-switch input:checked + span::after { transform: translateX(20px); }
.fb-consent-option details { margin-top: 8px; font-size: 13px; }
.fb-consent-option summary { cursor: pointer; font-weight: 600; }
.fb-consent-option dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 10px 0 0; }
.fb-consent-option dt { font-weight: 600; }
.fb-consent-option dd { margin: 0; color: var(--slate-soft, #57665e); }
.fb-consent-dialog .fb-consent-links { margin: 16px 0 0; }
.fb-consent-dialog .fb-consent-actions { margin-top: 20px; }
.fb-consent-dialog .fb-consent-button { min-width: 0; }
.fb-preview { background: #e9eee5; color: #20392e; padding: 8px 20px; font: 14px/1.5 Arial, Helvetica, sans-serif; text-align: center; }
@media (max-width: 1000px) { .fb-consent-inner { grid-template-columns: minmax(0, 1fr); padding-inline: 28px; } }
@media (max-width: 640px) {
  .fb-consent-inner { padding: 16px 18px; }
  .fb-consent-copy p { font-size: 13px; }
  .fb-consent-actions { gap: 6px; }
  .fb-consent-button { min-width: 0; width: 100%; padding: 10px 4px; font-size: 13px; }
  .fb-consent-dialog h2 { font-size: 19px; }
  .fb-consent-dialog { padding: 22px 18px; }
  .fb-consent-option dl { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .fb-consent-switch span, .fb-consent-switch span::after { transition: none; } }
@media print { .fb-consent, .fb-consent-dialog { display: none !important; } body::after { display: none; } }
