.mf-consent[hidden], [data-mf-consent-open][hidden] { display: none !important; }
.mf-consent, .mf-consent * { box-sizing: border-box; }
.mf-consent {
  position: fixed;
  z-index: 80;
  inset: auto 20px 20px auto;
  width: min(650px, calc(100% - 40px));
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--ink);
  background: var(--paper, #fff);
  color: var(--ink);
  box-shadow: 0 6px 30px rgba(41, 33, 18, .15);
  font-size: 15px;
  line-height: 1.6;
}
.mf-consent h2 { font-size: 26px; font-weight: 500; letter-spacing: -.025em; padding-right: 44px; margin: 0 0 14px; }
.mf-consent p { margin: 0 0 16px; }
.mf-consent a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.mf-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mf-consent-choice {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ink);
  padding: 12px 16px;
  font: inherit;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper, #fff);
}
.mf-consent-choice:hover { background: var(--mist); }
.mf-consent-close { position: absolute; top: 14px; right: 14px; min-height: 44px; min-width: 44px; font: inherit; font-size: 25px; line-height: 1; border: 1px solid var(--line); background: var(--paper, #fff); color: var(--ink); }
[data-mf-consent-open] { appearance: none; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font: inherit; text-align: left; padding: 8px 0; cursor: pointer; min-height: 44px; }
.mf-consent button:focus-visible, .mf-consent a:focus-visible, [data-mf-consent-open]:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.site-footer [data-mf-consent-open]:focus-visible { outline-color: var(--paper, #fff); }
@media (max-width: 600px) {
  .mf-consent { inset: auto 10px 10px; width: auto; max-height: calc(100svh - 20px); padding: 22px; font-size: 15px; }
  .mf-consent h2 { font-size: 24px; }
  .mf-consent-actions { grid-template-columns: 1fr; }
}
