.activity-summary {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.activity-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.activity-stats .summary-stat small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .8rem;
}

.recent-notices {
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #dce8c7;
  border-radius: 12px;
  background: #edf5de;
  color: #293a21;
}

.recent-notices-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
}

.recent-notices-header h2 {
  flex: 1 1 115px;
  font-size: 1.02rem;
  letter-spacing: -.02em;
}

.recent-notices-header .notice-icon {
  width: 34px;
  height: 34px;
}

.recent-notices-header .button {
  background: #f7fbf0;
  border-color: #d1dfc1;
}

.recent-notices-header .button:hover {
  background: #fff;
}

.recent-notices-list {
  display: grid;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.recent-notices-list li + li {
  border-top: 1px solid #dbe7c8;
}

.recent-notice-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  gap: 3px 9px;
  border: 0;
  border-radius: 6px;
  padding: 7px 4px;
  color: inherit;
  background: transparent;
  font-size: .875rem;
  text-align: left;
  overflow-wrap: anywhere;
}

.recent-notice-item:hover {
  background: #e5efd3;
}

.recent-notice-item strong {
  font-weight: 650;
}

.recent-notice-item span, .recent-notices > p {
  color: #46583d;
  font-size: .875rem;
}

.recent-notices > p {
  margin-top: 8px;
}

.weekly-upload-column strong, .weekly-upload-inline strong {
  font-variant-numeric: tabular-nums;
}

.weekly-upload-inline {
  display: none;
}

@media (max-width: 900px) {
  .activity-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .document-table .weekly-upload-column {
    display: none;
  }

  .weekly-upload-inline {
    display: block;
    margin-top: 5px;
    color: #46583d;
    font-size: .8rem;
  }

  .weekly-upload-inline strong {
    display: inline;
  }
}

@media (max-width: 700px) {
  .sidebar-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section-links {
    display: contents;
  }

  .sidebar-nav .nav-button {
    justify-content: flex-start;
    align-self: stretch;
    width: 100%;
    gap: 7px;
    padding-inline: 8px;
    font-size: .875rem;
    line-height: 1.3;
  }
}

@media (max-width: 500px) {
  .sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
