/* Shared only by consent UI, including the standalone 404. */
body { padding-bottom: calc(var(--consent-original-end, 0px) + var(--consent-end, 0px)); }
html { scroll-padding-bottom: var(--consent-scroll-end, 0px); }

/* Consent is nonmodal. Only its copy scrolls; choices remain reachable. */
.consent[hidden], .consent [hidden], .ft__btnlink[hidden] { display: none !important; }
.consent {
  --white: #ffffff; --green-900: #103d2c; --green-950: #0a2a1e; --line-strong: #c3c9c0;
  --sc-font-text: "Inter", system-ui, sans-serif; --sc-font-display: "Newsreader", Georgia, serif;
  box-sizing: border-box;
  position: fixed; z-index: 40; left: 24px; bottom: 24px;
  width: min(420px, calc(100% - 48px)); max-height: min(50dvh, 360px);
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px 20px calc(16px + env(safe-area-inset-bottom));
  background: var(--white); color: var(--green-900); border: 1px solid var(--line-strong);
  border-radius: var(--sc-r-md, 12px); box-shadow: 0 4px 24px rgb(10 42 30 / 0.18);
}
.consent__text { order: -1; overflow-y: auto; min-height: 0; font: 400 14px/1.5 var(--sc-font-text); }
.consent__text h2 { margin: 0 0 8px; font: 500 24px/1.2 var(--sc-font-display); }
.consent__text p + p { margin-top: 8px; }
.consent__text a { color: inherit; text-decoration: underline; }
.consent__actions { display: grid; gap: 8px; flex: none; }
.consent .btn--choice { box-sizing: border-box; padding: 0 22px; border: 1px solid; border-radius: 6px; font: 600 15px/1.1 var(--sc-font-text); white-space: nowrap; cursor: pointer; min-height: 48px; width: 100%; color: var(--green-900); background: var(--white); border-color: var(--line-strong); box-shadow: none; transition: none; }
.consent .btn--choice:hover { color: var(--green-950); border-color: var(--green-950); }
.consent .btn--choice:active { transform: none; }
.consent__keep { min-height: 44px; background: none; border: 0; color: inherit; font: 500 14px/1.4 var(--sc-font-text); text-decoration: underline; }
.ft__btnlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--porcelain); font: inherit; border: 0; background: none; text-decoration: underline; }
.ft__links { flex-wrap: wrap; align-items: center; }
@media (max-width: 767px) {
  .consent { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
  .consent--reopened { max-height: min(60dvh, 432px); }
}

.consent__text p { margin: 0; }
.consent__text h2 { font-weight: 500; }
.consent button:focus-visible, .consent a:focus-visible, .ft__btnlink:focus-visible { outline: 2px solid #8a5c10; outline-offset: 3px; }
.consent__text:focus-visible { outline: 2px solid #8a5c10; outline-offset: -2px; }
.consent .btn--choice:disabled, .consent__keep:disabled { cursor: wait; }
.nf-foot .ft__btnlink { color: inherit; }
.nf-page { box-sizing: content-box; }
.nf-settings-slot { display: flex; min-height: 44px; }
.nf-skip { position: fixed; top: -80px; left: 12px; z-index: 200; padding: 12px; background: #103d2c; color: white; }
.nf-skip:focus { top: 12px; }
.nf-consent-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.consent__actions [data-consent-reload] { margin: 0; font: 400 13px/1.4 var(--sc-font-text); }
