.studio-nav a[aria-current="page"] {
  color: var(--mint-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 30px;
}

.dashboard-section .section-heading {
  align-items: end;
}

.dashboard-section .section-heading .muted-copy {
  margin: 5px 0 0;
  font-size: 12px;
}

.dashboard-project-grid,
.project-management-grid {
  align-items: stretch;
}

.project-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.project-card-link {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
  padding: 19px 20px;
  color: inherit;
  text-decoration: none;
}

.project-card-link:hover .project-card-action {
  color: var(--mint-dark);
}

.project-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.project-card-heading h3 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.4;
}

.project-card-category {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.project-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
}

.project-card-action {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
}

.project-card--compact {
  min-height: 174px;
}

.project-card--management {
  min-height: 210px;
}

.project-card-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.project-home-toggle {
  padding: 7px 10px;
  font-size: 11px;
}

.dashboard-all-projects {
  display: flex;
  justify-content: center;
  margin-top: 17px;
}

.dashboard-lower-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.dashboard-list-panel {
  min-width: 0;
  padding: 20px;
}

.dashboard-list-panel .section-heading {
  margin-bottom: 12px;
}

.dashboard-list-panel .section-heading h2 {
  font-size: 19px;
}

.dashboard-list,
.dashboard-activity-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-list-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 11px 10px;
  border-radius: 11px;
  color: inherit;
  background: rgba(245, 250, 248, .8);
  text-decoration: none;
}

.dashboard-list-item:hover {
  background: var(--mint);
}

.dashboard-list-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

.dashboard-list-copy strong,
.dashboard-activity-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.dashboard-list-copy small,
.dashboard-activity-item small {
  color: var(--muted);
  font-size: 11px;
}

.dashboard-list-arrow {
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-activity-item {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
}

.dashboard-activity-item:last-child {
  border-bottom: 0;
}

.dashboard-activity-item > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.dashboard-activity-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-dark);
}

.dashboard-quiet {
  margin: 0;
  padding: 12px 2px;
  font-size: 13px;
}

.dashboard-empty {
  grid-column: 1 / -1;
  min-height: auto;
  padding: 25px 18px;
}

.dashboard-empty p {
  margin: 0;
}

.studio-project-management {
  display: grid;
  gap: 18px;
}

.studio-project-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 2px;
}

.studio-project-heading .eyebrow {
  margin-bottom: 6px;
}

.studio-project-heading h1 {
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -.045em;
}

.project-management-filters {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) minmax(150px, 1fr) minmax(150px, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

.project-management-filters > label:not(.project-archive-toggle) {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.project-management-filters input[type="search"],
.project-management-filters select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.project-management-filters input:focus,
.project-management-filters select:focus {
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(20, 125, 112, .12);
}

.project-archive-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.project-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}

.project-status-tabs button {
  padding: 9px 12px;
  border: 0;
  border-radius: 9px 9px 0 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.project-status-tabs button[aria-selected="true"] {
  color: var(--mint-dark);
  background: var(--mint);
}

.project-result-count {
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 12px;
}

.project-filter-empty {
  padding: 30px 20px;
}

.project-filter-empty p {
  margin: 0;
}

.project-filter-empty .primary-button {
  margin-top: 12px;
}

.project-card-link:focus-visible,
.project-home-toggle:focus-visible,
.project-status-tabs button:focus-visible,
.dashboard-list-item:focus-visible {
  outline: 3px solid rgba(20, 125, 112, .35);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .project-management-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-search-label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .dashboard-lower-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-list-item {
    align-items: flex-start;
  }

  .studio-project-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-management-filters {
    grid-template-columns: 1fr;
  }

  .project-search-label {
    grid-column: auto;
  }

  .project-card-heading {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .project-card-controls {
    align-items: flex-start;
    flex-direction: column;
  }
}
