/* Collapsible catalog app description (~10 lines) on index — desktop only; mobile uses detail page */

.dms-desc-expand {
  min-width: 0;
  width: 100%;
}

.app-desc.dms-desc-clamped {
  overflow: hidden;
  max-height: 10lh;
}

@supports not (height: 1lh) {
  .app-desc.dms-desc-clamped {
    max-height: calc(1.2rem * 1.55 * 10);
  }
}

.dms-desc-toggle {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  cursor: pointer;
}

.dms-desc-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-bright);
}

.dms-desc-toggle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
