.fgc-dashboard-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 18px;
  padding: 6px;
  border: 1px solid var(--fgc-line);
  border-radius: 12px;
  background: var(--fgc-pale);
  scroll-margin-top: 18px;
}

.fgc-ssr .fgc-dashboard-tabs button {
  width: 100%;
  min-height: 44px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fgc-green);
}

.fgc-ssr .fgc-dashboard-tabs button:hover {
  border-color: var(--fgc-line);
  background: #fff;
  color: var(--fgc-green);
}

.fgc-ssr .fgc-dashboard-tabs button[aria-selected="true"] {
  border-color: var(--fgc-green);
  background: var(--fgc-green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(48, 75, 50, .17);
}

.fgc-dashboard-tabs button:focus-visible {
  outline: 3px solid rgba(239, 112, 61, .45);
  outline-offset: 2px;
}

.fgc-dashboard-panel {
  padding-top: 28px;
}

.fgc-dashboard-panel[hidden] {
  display: none !important;
}

.fgc-dashboard-panel>.fgc-family-browser,
.fgc-dashboard-panel>.fgc-volunteers,
.fgc-dashboard-panel>.fgc-communications {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.fgc-dashboard-overview__heading {
  margin-bottom: 18px;
}

.fgc-dashboard-overview__heading h3 {
  margin: 4px 0 5px;
}

.fgc-dashboard-overview__heading p:last-child {
  margin: 0;
  color: #5d655a;
}

.fgc-dashboard-overview__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fgc-dashboard-overview__grid>a {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--fgc-line);
  border-radius: 14px;
  background: #fff;
  color: var(--fgc-ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(42, 58, 38, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fgc-dashboard-overview__grid>a:hover,
.fgc-dashboard-overview__grid>a:focus-visible {
  border-color: #9fb397;
  color: var(--fgc-ink);
  box-shadow: 0 12px 30px rgba(42, 58, 38, .11);
  transform: translateY(-2px);
}

.fgc-dashboard-overview__grid>a:focus-visible {
  outline: 3px solid rgba(239, 112, 61, .42);
  outline-offset: 2px;
}

.fgc-dashboard-overview__grid span {
  color: var(--fgc-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.fgc-dashboard-overview__grid strong {
  margin: 7px 0 5px;
  font-size: 38px;
  line-height: 1;
}

.fgc-dashboard-overview__grid p {
  margin: 0;
  color: #5d655a;
  line-height: 1.55;
}

.fgc-dashboard-overview__grid em {
  align-self: end;
  margin-top: 16px;
  color: var(--fgc-green);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 680px) {
  .fgc-dashboard-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 14px 12px 0;
    padding: 5px;
  }

  .fgc-ssr .fgc-dashboard-tabs button {
    min-height: 46px;
    padding: 8px 9px;
    font-size: 13px;
  }

  .fgc-dashboard-panel {
    padding-top: 22px;
  }

  .fgc-dashboard-overview {
    margin: 0 12px;
  }

  .fgc-dashboard-overview__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fgc-dashboard-overview__grid>a {
    min-height: 0;
    padding: 18px;
  }

  .fgc-dashboard-overview__grid strong {
    font-size: 32px;
  }

  .fgc-dashboard-panel>.fgc-family-browser,
  .fgc-dashboard-panel>.fgc-volunteers,
  .fgc-dashboard-panel>.fgc-communications {
    margin-top: 0;
  }
}
