/* MGFR-EXEC-0A.5 — administrator-only publication switcher preview. */
.mgfr-switcher-preview-card{
  --mgfr-switcher-green:#0b3b2e;
  --mgfr-switcher-green-2:#104a3a;
  --mgfr-switcher-gold:#e6d3a3;
  --mgfr-switcher-ivory:#f7f2e8;
  --mgfr-switcher-muted:#d7dfda;
  margin:22px 0;
  padding:0;
  border:1px solid #c3c4c7;
  background:#fff;
}
.mgfr-publication-switcher{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  background:var(--mgfr-switcher-green);
  color:var(--mgfr-switcher-ivory);
  padding:18px 22px;
  border-top:3px solid #d5b15a;
  font-family:inherit;
}
.mgfr-publication-switcher__label{
  color:var(--mgfr-switcher-gold);
  font-size:.78rem;
  line-height:1.2;
  letter-spacing:.11em;
  text-transform:uppercase;
  font-weight:750;
  white-space:nowrap;
}
.mgfr-publication-switcher__list{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px 12px;
  list-style:none;
  margin:0;
  padding:0;
}
.mgfr-publication-switcher__item{display:flex;align-items:center;gap:7px;margin:0}
.mgfr-publication-switcher__link{display:inline-flex;align-items:center;gap:4px;color:var(--mgfr-switcher-ivory);text-decoration:none;padding:9px 10px;border-radius:2px;line-height:1.25}
.mgfr-publication-switcher__link:hover{color:var(--mgfr-switcher-gold);background:rgba(255,255,255,.05)}
.mgfr-publication-switcher__link:focus-visible{outline:3px solid #f7d87a;outline-offset:3px}
.mgfr-publication-switcher__item.is-current .mgfr-publication-switcher__link{background:var(--mgfr-switcher-green-2);box-shadow:inset 0 -2px 0 #d5b15a}
.mgfr-publication-switcher__external{color:var(--mgfr-switcher-gold);font-size:.9em}
.mgfr-publication-switcher__badge{font-size:.68rem;line-height:1;text-transform:uppercase;letter-spacing:.06em;color:#4f420f;background:#f6e9b8;border-radius:999px;padding:4px 7px;font-weight:700}
.mgfr-publication-switcher__pending{color:var(--mgfr-switcher-muted);opacity:.8;padding:9px 10px}
.mgfr-publication-switcher__sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mgfr-switcher-contexts{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}
.mgfr-switcher-contexts .button.is-active{background:#0b3b2e;border-color:#0b3b2e;color:#fff}
.mgfr-switcher-inspector table,.mgfr-switcher-validation table{margin-top:10px}
.mgfr-switcher-state--pass{color:#08783d;font-weight:700}.mgfr-switcher-state--fail{color:#b32d2e;font-weight:700}
@media(max-width:760px){
  .mgfr-publication-switcher{display:block;padding:16px}
  .mgfr-publication-switcher__label{margin-bottom:10px}
  .mgfr-publication-switcher__list{display:block}
  .mgfr-publication-switcher__item{display:flex;margin:2px 0}
  .mgfr-publication-switcher__link,.mgfr-publication-switcher__pending{width:100%;padding:11px 8px}
}


/* MGFR-CORE-0.9.0.4 / EXEC-0A.9D — switcher touch/reflow hardening. */
.mgfr-publication-switcher,
.mgfr-publication-switcher__list,
.mgfr-publication-switcher__item{min-width:0;max-width:100%}
.mgfr-publication-switcher__link{min-height:44px}
@media(max-width:760px){
  .mgfr-publication-switcher__link,
  .mgfr-publication-switcher__pending{min-height:44px;white-space:normal;overflow-wrap:anywhere}
}


/* MGFR-CORE-0.9.0.4-R1A / EXEC-0A.9D-R1A
 * Desktop federation presentation: all public publication names stay on one line.
 * Below the deliberate tablet/mobile threshold the switcher may reflow/stack. */
@media(min-width:900px){
  .mgfr-publication-switcher{
    gap:16px;
  }
  .mgfr-publication-switcher__label{
    flex:0 0 auto;
  }
  .mgfr-publication-switcher__list{
    flex:1 1 auto;
    flex-wrap:nowrap;
    gap:6px 8px;
    white-space:nowrap;
  }
  .mgfr-publication-switcher__item{
    flex:0 0 auto;
    white-space:nowrap;
  }
  .mgfr-publication-switcher__link,
  .mgfr-publication-switcher__current{
    white-space:nowrap;
  }
  .mgfr-publication-switcher__link{
    padding-inline:6px;
  }
}
@media(min-width:900px) and (max-width:1220px){
  .mgfr-publication-switcher{
    gap:10px;
    padding-inline:14px;
  }
  .mgfr-publication-switcher__label{
    font-size:.72rem;
    letter-spacing:.085em;
  }
  .mgfr-publication-switcher__list{
    gap:4px 6px;
    font-size:clamp(.84rem,1.12vw,.96rem);
  }
}
@media(max-width:899px){
  .mgfr-publication-switcher__list{
    white-space:normal;
  }
  .mgfr-publication-switcher__item,
  .mgfr-publication-switcher__link,
  .mgfr-publication-switcher__current{
    white-space:normal;
    overflow-wrap:anywhere;
  }
}


/* MGFR-CORE-0.9.0.4-R1B / EXEC-0A.9D-R1B
 * Publication names are peer identities. Current/resolved/pending state is not
 * expressed through materially different font size, weight or opacity. */
.mgfr-publication-switcher__link,
.mgfr-publication-switcher__current,
.mgfr-publication-switcher__pending{
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-height:44px;
  padding:9px 6px;
  color:var(--mgfr-switcher-ivory);
  opacity:1;
  font-size:inherit;
  line-height:1.25;
  font-weight:400;
  border-radius:2px;
}
.mgfr-publication-switcher__current{
  cursor:default;
}
.mgfr-publication-switcher__pending{
  width:auto;
}
/* A current publication may retain semantic aria-current, but no heavier type. */
.mgfr-publication-switcher__item.is-current .mgfr-publication-switcher__current{
  font-weight:400;
  color:var(--mgfr-switcher-ivory);
}
@media(max-width:760px){
  .mgfr-publication-switcher__link,
  .mgfr-publication-switcher__current,
  .mgfr-publication-switcher__pending{
    width:100%;
    padding:11px 8px;
    white-space:normal;
    overflow-wrap:anywhere;
  }
}


/* MGFR-CORE-0.9.0.4-R1C / EXEC-0A.9D-R1C
 * Publication-switcher keyboard focus must be visually unmistakable and
 * equivalent to the rest of the governed footer. */
.mgfr-publication-switcher__link:focus,
.mgfr-publication-switcher__link:focus-visible{
  outline:3px solid #f7d87a!important;
  outline-offset:4px!important;
  box-shadow:0 0 0 2px #0b3b2e,0 0 0 6px #f7d87a!important;
  background:rgba(255,255,255,.14)!important;
  color:var(--mgfr-switcher-ivory)!important;
}
@media (forced-colors:active){
  .mgfr-publication-switcher__link:focus,
  .mgfr-publication-switcher__link:focus-visible{
    outline:3px solid Highlight!important;
    box-shadow:none!important;
  }
}
