/* Sample assignments are a continuation of the Course catalog. */
body[data-hypatia-design="modern"] .hypatia-catalog-preview {
  min-width: 0;
}
body[data-hypatia-design="modern"] .hypatia-catalog-preview-breadcrumb {
  margin: 0 0 22px;
}
body[data-hypatia-design="modern"] .hypatia-catalog-preview-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ht-muted);
  font-size: var(--ht-text-sm);
  text-decoration: none;
}
body[data-hypatia-design="modern"] .hypatia-catalog-preview-breadcrumb a:hover {
  color: var(--ht-blue);
}
body[data-hypatia-design="modern"] .hypatia-catalog-preview-heading {
  margin-bottom: 30px;
}
body[data-hypatia-design="modern"] .hypatia-catalog-preview-heading h1 {
  max-width: 48rem;
  margin: 0;
  overflow-wrap: anywhere;
}
body[data-hypatia-design="modern"] .hypatia-catalog-preview-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 12px;
  margin-top: 12px;
  color: var(--ht-muted);
  font-size: var(--ht-text-sm);
  overflow-wrap: anywhere;
}
body[data-hypatia-design="modern"] .hypatia-catalog-preview-meta span + span::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 12px 3px 0;
  border-radius: 50%;
  background: var(--ht-muted);
}
body[data-hypatia-design="modern"] .hypatia-sample-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
body[data-hypatia-design="modern"] .hypatia-sample-heading h2 {
  margin: 0;
  font-size: 1.125rem;
}
body[data-hypatia-design="modern"] .hypatia-sample-count {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  border: 1px solid var(--ht-line);
  border-radius: 7px;
  background: var(--ht-soft);
  color: var(--ht-muted);
  font-size: var(--ht-text-xs);
  font-variant-numeric: tabular-nums;
}
body[data-hypatia-design="modern"] .hypatia-sample-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ht-line);
  border-radius: 12px;
  background: var(--ht-paper);
}
body[data-hypatia-design="modern"] .hypatia-sample-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--ht-line);
  background: transparent;
}
body[data-hypatia-design="modern"] .hypatia-sample-row:last-child {
  border-bottom: 0;
}
body[data-hypatia-design="modern"] .hypatia-sample-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ht-selected);
  color: var(--ht-blue);
  font-size: var(--ht-text-xs);
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
body[data-hypatia-design="modern"] .hypatia-sample-details {
  min-width: 0;
}
body[data-hypatia-design="modern"] .hypatia-sample-details h3 {
  margin: 0;
  font-size: var(--ht-text-sm);
  font-weight: 550;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
body[data-hypatia-design="modern"] .hypatia-sample-details p {
  margin: 5px 0 0;
  color: var(--ht-muted);
  font-size: var(--ht-text-sm);
}
body[data-hypatia-design="modern"] .hypatia-sample-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 9px 12px;
  font-size: var(--ht-text-sm);
  white-space: nowrap;
}
body[data-hypatia-design="modern"] .hypatia-sample-unavailable {
  color: var(--ht-muted);
  font-size: var(--ht-text-sm);
}
body[data-hypatia-design="modern"] .hypatia-catalog-preview-empty {
  padding: 30px 24px;
  border: 1px solid var(--ht-line);
  border-radius: 12px;
  background: var(--ht-soft);
}
body[data-hypatia-design="modern"] .hypatia-catalog-preview-empty h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
body[data-hypatia-design="modern"] .hypatia-catalog-preview-empty p {
  margin: 0;
  color: var(--ht-muted);
  font-size: var(--ht-text-sm);
}
@media (max-width: 600px) {
  body[data-hypatia-design="modern"] .hypatia-catalog-preview-breadcrumb {
    margin-bottom: 18px;
  }
  body[data-hypatia-design="modern"] .hypatia-catalog-preview-heading {
    margin-bottom: 25px;
  }
  body[data-hypatia-design="modern"] .hypatia-catalog-preview-heading h1 {
    font-size: 1.65rem;
  }
  body[data-hypatia-design="modern"] .hypatia-sample-row {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }
  body[data-hypatia-design="modern"] .hypatia-sample-number {
    width: 30px;
    height: 30px;
  }
  body[data-hypatia-design="modern"] :is(.hypatia-sample-open, .hypatia-sample-unavailable) {
    grid-column: 2;
    justify-self: start;
  }
  body[data-hypatia-design="modern"] .hypatia-catalog-preview-empty {
    padding: 24px 20px;
  }
}
