@import url("./tokens.css");

html {
  min-height: 100%;
  background: var(--page-bg);
}

body.mpc-shell-page {
  --shell-sticky-offset: 78px;
  min-height: 100vh;
  margin: 0;
  padding: 34px 40px 0;
  overflow-x: clip;
  background: var(--page-bg);
  color: var(--text-strong);
  font-family: var(--font-ui);
}

body.mpc-shell-page::after {
  content: "";
  display: block;
  height: 34px;
}

html body.mpc-shell-page,
html body.mpc-production-shell-page,
html body.shell.shell--module.mpc-shell-page.mpc-production-shell-page {
  background: var(--page-bg) !important;
}

.mpc-shell-page :where(a) {
  color: inherit;
}

.mpc-shell {
  --ambient-accent: var(--programs);
  --shell-frame-inset: 13px;
  --shell-topbar-rest-h: 62px;
  --shell-topbar-stuck-h: 54px;
  --shell-topbar-stick-top: 0px;
  position: relative;
  isolation: isolate;
  max-width: 1280px;
  margin: 0 auto;
  overflow: visible;
  padding: var(--shell-frame-inset) var(--shell-frame-inset) 0;
  border: 0;
  border-radius: 18px;
  background:
    linear-gradient(
      125deg,
      var(--navy-dark) 0%,
      var(--navy) 55%,
      color-mix(in srgb, var(--navy) 78%, var(--ambient-accent)) 100%
    );
  box-shadow:
    0 22px 55px color-mix(in srgb, var(--navy-dark) 30%, transparent),
    0 4px 12px color-mix(in srgb, var(--navy-dark) 18%, transparent);
}

.mpc-shell[data-active-module="grants"],
.mpc-shell:has(.mpc-shell__nav-link[data-shell-module="grants"][aria-current="page"]) {
  --ambient-accent: var(--programs);
}

.mpc-shell[data-active-module="donors"],
.mpc-shell:has(.mpc-shell__nav-link[data-shell-module="donors"][aria-current="page"]) {
  --ambient-accent: var(--donors);
}

.mpc-shell[data-active-module="finances"],
.mpc-shell:has(.mpc-shell__nav-link[data-shell-module="finances"][aria-current="page"]) {
  --ambient-accent: var(--finances);
}

.mpc-shell[data-active-module="board"],
.mpc-shell:has(.mpc-shell__nav-link[data-shell-module="board"][aria-current="page"]) {
  --ambient-accent: var(--board);
}

.mpc-shell[data-active-module="volunteers"],
.mpc-shell:has(.mpc-shell__nav-link[data-shell-module="volunteers"][aria-current="page"]) {
  --ambient-accent: var(--volunteers);
}

.mpc-shell__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: auto;
  overflow: hidden;
  border-radius: inherit;
  background: transparent;
}

.mpc-shell__ambient::before,
.mpc-shell__ambient::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: var(--r-pill);
  filter: blur(32px);
}

.mpc-shell__ambient::before {
  width: 380px;
  height: 380px;
  right: 120px;
  top: -150px;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 30%, transparent), transparent 65%);
}

.mpc-shell__ambient::after {
  width: 320px;
  height: 320px;
  left: 120px;
  top: -130px;
  background: radial-gradient(circle, color-mix(in srgb, var(--board) 34%, transparent), transparent 65%);
}

.mpc-shell__chrome {
  position: relative;
  z-index: 1;
}

.mpc-shell__topbar {
  position: sticky;
  top: var(--shell-topbar-stick-top);
  z-index: 80;
  height: var(--shell-topbar-rest-h);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--surface) 12%, transparent);
  border-radius: 13px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--navy) 92%, var(--ambient-accent)) 0%,
    var(--navy-dark) 100%
  );
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--surface) 14%, transparent);
  color: var(--surface);
  transition:
    height 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    border-radius 0.22s ease;
}

.mpc-shell--topbar-scrolled .mpc-shell__topbar {
  height: var(--shell-topbar-stuck-h);
  border-color: color-mix(in srgb, var(--surface) 12%, transparent);
  background: rgba(20, 33, 68, 0.74);
  box-shadow:
    0 8px 24px color-mix(in srgb, var(--navy-dark) 22%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--surface) 14%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .mpc-shell--topbar-scrolled .mpc-shell__topbar {
    background: linear-gradient(
      90deg,
      color-mix(in srgb, var(--navy) 92%, var(--ambient-accent)) 0%,
      var(--navy-dark) 100%
    );
  }
}

@media (prefers-reduced-transparency: reduce) {
  .mpc-shell--topbar-scrolled .mpc-shell__topbar {
    background: linear-gradient(
      90deg,
      color-mix(in srgb, var(--navy) 92%, var(--ambient-accent)) 0%,
      var(--navy-dark) 100%
    );
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.mpc-shell__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  text-decoration: none;
}

.mpc-shell__brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  font: 700 13px/1 var(--font-display);
}

.mpc-shell__brand-copy {
  display: block;
  line-height: 1;
}

.mpc-shell__brand-title {
  display: block;
  color: var(--surface);
  font: 700 16px/1 var(--font-display);
  letter-spacing: 0;
}

.mpc-shell__brand-title strong {
  color: var(--gold-light);
  font-weight: 700;
}

.mpc-shell__brand-subtitle {
  display: none;
}

.mpc-shell__logo-asset {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mpc-shell__nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  min-width: 0;
  margin-left: 10px;
}

.mpc-shell__nav-link,
.mpc-shell__bottom-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  white-space: nowrap;
}

.mpc-shell__nav-link {
  height: var(--shell-topbar-rest-h);
  padding: 0 10px;
  color: color-mix(in srgb, var(--surface) 76%, transparent);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.15s ease, height 0.22s ease;
}

.mpc-shell--topbar-scrolled .mpc-shell__nav-link {
  height: var(--shell-topbar-stuck-h);
}

.mpc-shell__nav-link svg,
.mpc-shell__bottom-link svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.mpc-shell__nav-link:hover {
  color: var(--surface);
}

.mpc-shell__nav-link[aria-current="page"] {
  color: var(--surface);
}

.mpc-shell__nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2.5px;
  border-radius: 2px 2px 0 0;
  background: var(--gold-light);
}

.mpc-shell__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  min-width: 0;
}

.mpc-shell__command,
.mpc-shell__icon-button,
.mpc-shell__avatar {
  font: inherit;
  color: var(--surface);
}

.mpc-shell__command {
  min-width: 230px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--surface) 22%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 13%, transparent);
  color: color-mix(in srgb, var(--surface) 78%, transparent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.mpc-shell__command svg {
  width: 14px;
  height: 14px;
}

.mpc-shell__command span {
  flex: 1 1 auto;
  text-align: left;
}

.mpc-shell__command kbd {
  min-width: 36px;
  padding: 3px 7px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--navy-dark) 32%, transparent);
  color: color-mix(in srgb, var(--surface) 75%, transparent);
  font: 700 11px/1 var(--font-ui);
}

.mpc-shell__icon-button,
.mpc-shell__avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--surface) 16%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface) 10%, transparent);
  cursor: pointer;
}

.mpc-shell__icon-button svg {
  width: 16px;
  height: 16px;
}

.mpc-shell__avatar {
  border-color: color-mix(in srgb, var(--surface) 18%, transparent);
  background: var(--programs);
  font: 800 12px/1 var(--font-ui);
}

.mpc-shell__org-strip {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 51px;
  padding: 11px 6px 12px;
  color: var(--surface);
}

.mpc-shell__org-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mpc-shell__org-pill,
.mpc-shell__status-pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
}

.mpc-shell__org-pill {
  max-width: 280px;
  padding: 0 13px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold-light) 36%, transparent);
  background: color-mix(in srgb, var(--surface) 10%, transparent);
  color: color-mix(in srgb, var(--surface) 92%, transparent);
}

.mpc-shell__org-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mpc-shell__status-pill {
  padding: 0;
  color: color-mix(in srgb, var(--surface) 86%, transparent);
  font-weight: 600;
}

.mpc-shell__org-dot,
.mpc-shell__status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: var(--r-pill);
}

.mpc-shell__org-dot {
  background: var(--gold-light);
}

.mpc-shell__status-dot {
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 18%, transparent);
}

.mpc-shell__user {
  display: none;
}

.mpc-shell__canvas {
  position: relative;
  z-index: 3;
  min-height: 420px;
  margin: 0;
  padding: 26px 28px 30px;
  border-radius: 13px;
  background: var(--surface);
  color: var(--text-strong);
  outline: none;
}

.mpc-shell__footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0;
  padding: 16px 10px var(--shell-frame-inset);
  border-top: 0;
  background: transparent;
  color: var(--surface);
  box-shadow: none;
}

.mpc-shell__footer a,
.mpc-shell__footer button {
  font: inherit;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.foot-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  font: 700 12px/1 var(--font-display);
}

.foot-id {
  min-width: 0;
}

.foot-id .fn {
  color: var(--surface);
  font: 700 14px/1.2 var(--font-display);
}

.foot-id .ft {
  margin-top: 2px;
  color: color-mix(in srgb, var(--surface) 60%, transparent);
  font-size: 12px;
}

.foot-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.foot-links a,
.foot-fb {
  color: color-mix(in srgb, var(--surface) 78%, transparent);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--surface);
}

.foot-fb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--surface) 25%, transparent);
  border-radius: 8px;
  background: transparent;
  color: var(--surface);
  font-weight: 600;
  cursor: pointer;
}

.foot-fb:hover {
  border-color: color-mix(in srgb, var(--surface) 45%, transparent);
}

.foot-fb svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.foot-copy {
  width: 100%;
  margin-top: 0;
  padding: 6px 10px 0;
  color: color-mix(in srgb, var(--surface) 50%, transparent);
  font-size: 12px;
}

.mpc-shell__bottom-nav {
  display: none;
}

.mpc-shell :where(button, a):focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.mpc-shell .mpc-donors-screen .btn.bnavy,
.shell-reference .mpc-donors-screen .btn.bnavy {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--surface);
}

.mpc-shell .mpc-donors-screen .btn.bnavy:hover,
.shell-reference .mpc-donors-screen .btn.bnavy:hover {
  background: var(--navy-dark);
}

.mpc-shell .mpc-grants-screen .btn.bgrants,
.shell-reference .mpc-grants-screen .btn.bgrants {
  border-color: var(--grants);
  background: var(--grants);
  color: var(--surface);
}

.mpc-shell .mpc-grants-screen .btn.bgrants:hover,
.shell-reference .mpc-grants-screen .btn.bgrants:hover {
  background: color-mix(in srgb, var(--grants) 86%, var(--navy-dark));
}

body.mpc-production-shell-page [data-mpc-legacy-shell-hidden="true"],
body.mpc-production-shell-page [data-mpc-legacy-chrome-hidden="true"] {
  display: none !important;
}

body.mpc-production-shell-page #mpc-bug-reporter-root .mpc-bug-stack {
  display: none;
}

body.mpc-production-shell-page .mpc-shell__canvas {
  overflow: visible;
}

body.mpc-production-shell-page .mpc-shell__canvas > :where(.content-area, .main, .module-main) {
  width: 100%;
  min-height: 0;
  overflow: visible;
  background: transparent;
}

body.mpc-production-shell-page .mpc-shell__canvas > #view-dashboard {
  width: 100%;
  min-height: 0;
}

body.mpc-production-shell-page .mpc-shell__canvas :where(.page-wrap) {
  padding: 0;
  overflow: visible;
  background: transparent;
}

body.mpc-production-shell-page .mpc-shell__canvas :where(.page-wrap)::before {
  display: none;
}

body.mpc-production-shell-page .mpc-shell__canvas :where(.module-layout) {
  min-width: 0;
}

body.mpc-production-shell-page :where([id]) {
  scroll-margin-top: var(--shell-sticky-offset);
}

.shell-reference .head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.shell-reference .eyebrow {
  color: var(--grants);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.shell-reference .ptitle {
  margin: 7px 0 0;
  color: var(--text-strong);
  font: 700 34px/1.05 var(--font-display);
  letter-spacing: 0;
}

.shell-reference .psub {
  max-width: 480px;
  margin: 9px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.shell-reference .hact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
}

.shell-reference .seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--page-bg) 55%, var(--surface));
}

.shell-reference .seg button {
  border: 0;
  padding: 6px 15px;
  border-radius: 7px;
  background: transparent;
  color: color-mix(in srgb, var(--text-muted) 84%, var(--text-faint));
  font: 600 12.5px/1 var(--font-ui);
  cursor: pointer;
}

.shell-reference .seg .active,
.shell-reference .seg .on {
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: var(--elev-page);
}

.shell-reference .brow {
  display: flex;
  gap: 10px;
}

.shell-reference .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--grants);
  color: var(--surface);
  font: 600 14px/1 var(--font-ui);
  text-decoration: none;
  cursor: pointer;
}

.shell-reference .btn.secondary,
.shell-reference .btn.bg {
  border-color: var(--line);
  background: var(--surface);
  color: var(--navy);
}

.shell-reference .btn.bp {
  border-color: var(--grants);
  background: var(--grants);
  color: var(--surface);
}

.shell-reference .tabs {
  display: flex;
  gap: 2px;
  margin-top: 24px;
  border-bottom: 1px solid var(--line);
}

.shell-reference .tabs a,
.shell-reference .tab {
  position: relative;
  padding: 11px 15px;
  color: color-mix(in srgb, var(--text-muted) 86%, var(--text-faint));
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.shell-reference .tabs a:hover,
.shell-reference .tab.active {
  color: var(--navy);
}

.shell-reference .tabs a.active {
  color: var(--navy);
  font-weight: 600;
}

.shell-reference .tabs a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2.5px;
  background: var(--grants);
}

.shell-reference .kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.shell-reference .kpi,
.shell-reference .nextstep {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--elev-page);
}

.shell-reference .kpi {
  padding: 18px;
}

.shell-reference .label,
.shell-reference .kl {
  color: var(--text-faint);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.shell-reference .val,
.shell-reference .kv {
  margin-top: 7px;
  color: var(--text-strong);
  font: 700 28px/1 var(--font-display);
  letter-spacing: 0;
}

.shell-reference .kv.amber {
  color: var(--warning);
}

.shell-reference .note,
.shell-reference .kn {
  margin-top: 5px;
  color: color-mix(in srgb, var(--text-muted) 78%, var(--text-faint));
  font-size: 12.5px;
}

.shell-reference .nextstep {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 20px 22px;
  border-color: color-mix(in srgb, var(--grants) 16%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--grants-tint) 72%, var(--surface));
}

.shell-reference .nsm {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--grants);
  color: var(--gold-light);
}

.shell-reference .nsm svg {
  width: 20px;
  height: 20px;
}

.shell-reference .nst {
  min-width: 0;
}

.shell-reference .nst strong {
  display: block;
  color: var(--text-strong);
  font: 700 15.5px/1.3 var(--font-display);
}

.shell-reference .nst span {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.shell-reference .nextstep .btn {
  margin-left: auto;
  flex: 0 0 auto;
}

.shell-reference .adv-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: color-mix(in srgb, var(--text-faint) 88%, var(--text-muted));
  font-size: 12.5px;
}

.shell-reference .adv-hint svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

@media (max-width: 1180px) {
  .mpc-shell__command {
    min-width: 190px;
  }

  .mpc-shell__nav-link {
    padding-inline: 9px;
  }
}

@media (max-width: 1040px) {
  body.mpc-shell-page {
    padding: 18px 14px 86px;
  }

  .mpc-shell__nav {
    display: none;
  }

  .mpc-shell__command {
    min-width: 170px;
  }
}

@media (max-width: 760px) {
  body.mpc-shell-page {
    --shell-sticky-offset: 70px;
    padding: 0 0 calc(76px + env(safe-area-inset-bottom));
  }

  body.mpc-shell-page::after {
    display: none;
  }

  .mpc-shell {
    --shell-topbar-rest-h: 58px;
    --shell-topbar-stuck-h: 54px;
    min-height: 100vh;
    max-width: none;
    margin: 0;
    padding: 0;
    border-width: 0;
    border-radius: 0;
  }

  .mpc-shell__ambient {
    height: auto;
  }

  .mpc-shell__topbar {
    height: var(--shell-topbar-rest-h);
    margin: 0;
    padding: 0 14px;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .mpc-shell__brand-title {
    font-size: 15px;
  }

  .mpc-shell__command {
    width: 34px;
    min-width: 34px;
    padding: 0;
    justify-content: center;
  }

  .mpc-shell__command span,
  .mpc-shell__command kbd {
    display: none;
  }

  .mpc-shell__org-strip {
    min-height: 52px;
    padding: 8px 14px 17px;
  }

  .mpc-shell__org-meta {
    width: 100%;
  }

  .mpc-shell__org-pill {
    max-width: 50vw;
  }

  .mpc-shell__status-pill {
    font-size: 12px;
  }

  .mpc-shell__canvas {
    min-height: calc(100vh - 112px);
    margin: 0;
    padding: 24px 16px calc(106px + env(safe-area-inset-bottom));
    border-radius: 13px 13px 0 0;
  }

  .mpc-shell__bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 -8px 22px color-mix(in srgb, var(--navy-dark) 12%, transparent);
  }

  .mpc-shell__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 22px 16px calc(96px + env(safe-area-inset-bottom));
  }

  .foot-links {
    gap: 18px;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .foot-copy {
    margin-top: 0;
    padding: 0;
  }

  .mpc-shell__bottom-link {
    min-height: 52px;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    flex-direction: column;
    gap: 3px;
  }

  .mpc-shell__bottom-link[aria-current="page"] {
    color: var(--navy);
  }

  .mpc-shell__bottom-link[aria-current="page"]::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    width: 24px;
    height: 2px;
    border-radius: var(--r-pill);
    background: var(--gold);
    transform: translateX(-50%);
  }

  .shell-reference .head {
    display: grid;
    gap: 20px;
  }

  .shell-reference .hact {
    align-items: stretch;
  }

  .shell-reference .seg,
  .shell-reference .brow,
  .shell-reference .btn {
    width: 100%;
  }

  .shell-reference .seg button,
  .shell-reference .btn {
    flex: 1 1 0;
    justify-content: center;
  }

  .shell-reference .tabs {
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .shell-reference .kpis {
    grid-template-columns: 1fr;
  }

  .shell-reference .nextstep {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .shell-reference .nextstep .btn {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .mpc-shell__icon-button[data-shell-alerts] {
    display: none;
  }

  .mpc-shell__brand-mark {
    width: 28px;
    height: 28px;
  }

  .mpc-shell__org-pill {
    max-width: 46vw;
  }

  .shell-reference .ptitle {
    font-size: 27px;
  }
}
