/* FEW-owned UI only; third-party policy and cookie content is not overridden. */
:root {
  --a11y-contact-bronze: #5E492B;
  --a11y-control-line: #857D70;
  --a11y-focus-light: var(--paper);
  --a11y-focus-dark: var(--forest);
}
.a11y-nav { display: contents; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100000; transform: translateY(-150%); background: var(--paper); color: var(--umber); padding: 12px 18px; font: 500 16px var(--sans); }
.skip-link:focus { transform: none; }
:is(#nav, .x-foot, .x-mbar, .bio-dlg, main:not(.iubenda-main)) :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible:not(#iub-legalDoc *) {
  outline: 2px solid var(--a11y-focus-light);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--a11y-focus-dark);
}
.skip-link:focus-visible { outline: 3px solid var(--a11y-focus-dark); }
#top { scroll-margin-top: 80px; }
#top :is(a, button, input, select, textarea, summary, [tabindex]):not(#iub-legalDoc *) { scroll-margin-block: 90px; }
.x-ccard .x-k, .x-ccard label:not(.consent) { color: var(--a11y-contact-bronze); }
.prog li, .track li { color: var(--muted); }
.f :is(input:not([type=radio]):not([type=checkbox]), select, textarea), .opt, .ticks label, .menu-btn, .x, .links a { border-color: var(--a11y-control-line); }
.opt:hover { border-color: var(--bronze); }
.x-ccard :is(input, select, textarea), .x-sage .tcard .links a { border-color: var(--muted); }
.x-ccard :is(input, textarea)::placeholder { color: var(--a11y-contact-bronze); opacity: 1; }
.p-form :is(input, textarea)::placeholder { color: var(--muted); opacity: 1; }
.p-notes h2 { font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.2; margin: 12px 0 14px; color: var(--ink); }
.p-notes h2 a { color: inherit; text-decoration: none; }
.p-notes h2 a:hover { color: var(--bronze); }
.s-fact-list { display: contents; }
.mk-legend .market-label { font: 500 13px var(--sans); color: var(--paper); border: 1px solid var(--a11y-control-line); border-radius: 16px; padding: 6px 12px; margin: 0; }
.mk-map.paused *, .mk-map.paused *::before, .mk-map.paused *::after { animation-play-state: paused !important; }
.mk-legend .map-motion { border-color: var(--gold); color: var(--paper); width: 44px; height: 44px; padding: 0; margin-left: auto; }
@media (max-width: 960px) {
  .menu-btn, .x, .links a, .tcard .links a, .bio-dlg .links a, .x-li { min-width: 44px; min-height: 44px; }
  .x-fl a:not(.x-li), .biolink { min-height: 44px; display: inline-flex; align-items: center; }
  #menu.open { max-height: calc(100dvh - 150px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-map .m-run { display: none; }
  .mk-map .map-motion { display: none; }
}