/* Apps page (Apps.qmd): the banner hero, then one filterable, searchable
   list of software with link chips. Builds on home/home.css (fonts,
   colours, cards) and people-page/people.css (banner hero, filters,
   tags). */

.home .stats-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  flex-basis: 100%;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}

.home .stats-line p {
  display: contents;
}

.home .stats-line b {
  color: var(--ink);
  font-weight: 500;
}

.home .apps .card {
  margin-bottom: 20px;
}

.home a.pchip {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  background: #f7f7f9;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}

.home .pchip::before {
  content: "[ ";
  color: var(--faint);
}

.home .pchip::after {
  content: " ]";
  color: var(--faint);
}

.home .pchip:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.home .arow-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.home .app-tagline {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.home .app-desc p {
  font-size: 14px;
  color: #2c3039;
  margin: 0 0 8px;
}

.home .app-desc p.anote {
  font-size: 13px;
  color: var(--muted);
}

/* placeholder for entries without an image */
.home .glyph-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #15161b;
  color: #e9e9ec;
  font-family: var(--mono);
  font-size: 13px;
  border-radius: inherit;
}

.home .arow-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- filters, search, and rows ---- */

.home .tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.home .tools .filters {
  margin-bottom: 0;
}

.home .grep {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 240px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faint);
  background: #f7f7f9;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
}

.home .grep:focus-within {
  border-color: var(--ink);
}

.home .grep input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  outline: none;
}

.home .arow {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.home .arow[hidden] {
  display: none;
}

.home .arow-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid var(--line);
}

.home .arow-thumb img {
  padding: 4px;
}

.home .arow-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 650;
  margin-bottom: 2px;
}

.home .arow-chips {
  justify-content: flex-end;
  max-width: 220px;
}

.home .app-directory .empty {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
  padding: 16px 0;
  margin: 0;
}

@media (max-width: 700px) {
  .home .arow {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .home .arow-chips {
    grid-column: 2;
    justify-content: flex-start;
    max-width: none;
  }
}
