/* V50: self-hosted consent controls. All styles are scoped. */
.fgh-consent[hidden], .fgh-consent-open[hidden], .fgh-consent-preview[hidden] { display: none !important; }
.fgh-consent {
  position: fixed; z-index: 1000; inset: auto 18px 18px;
  max-width: 1120px; margin-inline: auto; box-sizing: border-box;
  padding: 24px 28px; border: 1px solid #c8b28f; border-radius: 8px;
  background: #f8f5ef; color: #2b2e34;
  box-shadow: 0 12px 48px rgb(25 22 18 / 16%);
  font-family: Manrope, Arial, sans-serif;
  max-height: calc(100dvh - 36px); overflow: auto;
  overscroll-behavior: contain;
}
.fgh-consent h2 { margin: 0 44px 9px 0; font: 600 21px/1.3 Manrope, Arial, sans-serif; letter-spacing: 0; color: #2b2e34; }
.fgh-consent p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; max-width: 80ch; color: #41434a; }
.fgh-consent a { color: #2b2e34; text-decoration: underline; text-underline-offset: 3px; }
#fgh-consent-reload { margin-top: 12px; }
#fgh-consent-reload[hidden] { display: none !important; }
.fgh-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fgh-consent-actions button {
  appearance: none; flex: 1 1 240px; min-height: 46px; border: 1px solid #2b2e34;
  border-radius: 4px; padding: 11px 18px; background: #f8f5ef; color: #2b2e34;
  font: 600 14px/1.45 Manrope, Arial, sans-serif; cursor: pointer;
}
.fgh-consent-actions button:hover { background: #ebe4d8; }
.fgh-consent button:focus-visible, .fgh-consent a:focus-visible, .fgh-consent-open:focus-visible {
  outline: 3px solid #8c682d; outline-offset: 4px;
}
.fgh-consent-close {
  appearance: none; position: absolute; top: 12px; right: 14px; width: 44px; height: 44px;
  display: grid; place-items: center; background: none; border: 0; color: #2b2e34;
  font: 28px/1 Arial, sans-serif; cursor: pointer;
}
.fgh-consent .fgh-consent-preview { font-size: 12px; line-height: 1.5; color: #685c48; margin-top: 12px; margin-bottom: 0; }
.fgh-consent-open {
  appearance: none; padding: 8px 0; border: 0; background: transparent; color: inherit;
  font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px;
}
.fgh-consent-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.fgh-consent-visible { padding-bottom: var(--fgh-consent-space, 320px); }
@media (max-width: 600px) {
  .fgh-consent { inset: auto 10px max(10px, env(safe-area-inset-bottom)); padding: 20px 18px 18px; max-height: calc(100dvh - 24px); }
  .fgh-consent h2 { font-size: 19px; }
  .fgh-consent p { font-size: 13px; line-height: 1.55; }
  .fgh-consent-actions { margin-top: 14px; gap: 8px; }
  .fgh-consent-actions button { flex-basis: 100%; min-height: 44px; }
}
