.dashboard-heading {
  margin-bottom: 18px;
}

.dashboard-heading-copy {
  max-width: 700px;
}

.dashboard-heading h1 {
  margin-bottom: 8px;
}

.dashboard-heading p:last-child {
  margin-bottom: 0;
}

.dashboard-create-button {
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 18px;
  box-shadow: 0 8px 18px rgba(21, 101, 192, .16);
}

.dashboard-create-icon {
  font-size: 1.2rem;
  line-height: 1;
  margin-top: -1px;
}

.dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .88rem;
}

.dashboard-toolbar p {
  margin: 0;
}

.dashboard-toolbar strong {
  color: var(--navy);
}

.dashboard-toolbar-hint {
  text-align: right;
}

.form-list {
  gap: 14px;
}

.form-list-item {
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.form-list-item:hover {
  border-color: #c2d4e5;
  box-shadow: 0 10px 26px rgba(16, 42, 67, .08);
}

.form-list-title-row {
  align-items: center;
  gap: 9px;
}

.form-list-title-row h2 {
  font-size: 1.08rem;
  line-height: 1.35;
}

.form-list-title-row h2 a {
  color: var(--navy);
}

.form-list-title-row h2 a:hover {
  color: var(--blue-dark);
  text-decoration: none;
}

.form-list-meta {
  align-items: center;
  gap: 10px 16px;
  margin-top: 8px;
}

.form-list-response-count strong {
  color: var(--navy);
  font-size: .95rem;
}

.form-public-link {
  margin-top: 9px;
  color: var(--blue-dark);
  font-weight: 650;
  font-size: .84rem;
}

.form-public-link:hover {
  text-decoration: none;
  color: var(--blue);
}

.form-list-actions {
  min-width: 220px;
  flex-wrap: nowrap;
}

.form-list-actions .button {
  min-height: 38px;
}

.dashboard-empty {
  padding: 54px 24px;
  border-radius: 14px;
}

.dashboard-empty-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #eaf2fb;
  color: var(--blue-dark);
  font-size: 1.55rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .form-list-actions {
    min-width: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .main-content {
    padding-top: 24px;
  }

  .dashboard-heading {
    margin-bottom: 20px;
  }

  .dashboard-heading.with-actions {
    gap: 18px;
  }

  .dashboard-heading h1 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .dashboard-heading .eyebrow {
    margin-bottom: 5px;
  }

  .dashboard-heading p:last-child {
    font-size: .97rem;
  }

  .dashboard-create-button {
    width: 100%;
    min-height: 48px;
  }

  .dashboard-toolbar {
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 10px;
  }

  .dashboard-toolbar-hint {
    display: none;
  }

  .form-list {
    gap: 12px;
  }

  .form-list-item {
    gap: 18px;
    padding: 18px;
    border-radius: 14px;
  }

  .form-list-item:hover {
    transform: none;
  }

  .form-list-title-row {
    align-items: flex-start;
  }

  .form-list-title-row h2 {
    flex: 1 1 220px;
    font-size: 1.05rem;
  }

  .form-list-meta {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    font-size: .84rem;
  }

  .form-public-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 11px;
    white-space: normal;
  }

  .form-list-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    width: 100%;
  }

  .form-list-actions .button {
    width: 100%;
    min-height: 44px;
  }

  .form-list-actions .button:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .dashboard-heading h1 {
    font-size: 2rem;
  }

  .form-list-item {
    padding: 16px;
  }

  .form-list-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .form-list-title-row h2 {
    min-width: 0;
  }

  .form-list-actions {
    grid-template-columns: 1fr;
  }

  .form-list-actions .button:first-child {
    grid-column: auto;
  }
}
