/* Application cards only: a semantic detail link above independent actions. */
html body .share-card-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
html body .share-card-grid > .share-card.app-list-card { padding: 0; min-width: 0; }
html body .app-list-card .app-card-detail {
  display: flex; flex-direction: column; flex: 1; min-width: 0;
  padding: 16px 16px 0; color: var(--text); text-decoration: none;
  border-radius: inherit;
}
html body .app-list-card a.app-card-detail:hover { text-decoration: none; background: color-mix(in srgb, var(--accent) 5%, transparent); }
html body .app-list-card a.app-card-detail:hover h3 { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
html body .app-list-card a.app-card-detail:focus-visible { outline: 2px solid var(--accent-text); outline-offset: -3px; }
html body .app-list-card .share-card-body { padding: 14px 0 0; min-width: 0; }
html body .app-list-card .share-card-title-row h3 { overflow-wrap: anywhere; }
html body .app-list-card .share-version { max-width: 100%; overflow-wrap: anywhere; }
html body .app-list-card .share-meta { margin-top: auto; padding-top: 4px; overflow-wrap: anywhere; }
html body .app-list-card .app-card-actions {
  display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 8px;
  margin: 0; padding: 14px 16px 16px; align-items: stretch;
}
html body .app-list-card .app-card-actions-public { grid-template-columns: minmax(0, 1fr); }
html body .app-list-card .app-card-actions-pending { grid-template-columns: minmax(0, 1fr); }
html body .app-list-card .app-card-actions form { min-width: 0; margin: 0; }
html body .app-list-card .app-card-actions .btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-width: 0; height: 44px; min-height: 44px;
  padding: 8px 6px; border-width: 1px; border-radius: 7px;
  font-family: var(--font-body, inherit); font-size: 14px; font-weight: 600;
  line-height: 1.3; white-space: nowrap; text-decoration: none;
  box-shadow: none; transform: none; text-shadow: none;
}
html body .app-list-card .app-card-actions .btn-primary { background: var(--accent); color: var(--on-accent); border-color: transparent; }
html body .app-list-card .app-card-actions .btn-secondary:not([data-hold-delete]) { background: var(--bg-input); color: var(--text); border-color: var(--border); }
html body .app-list-card .app-card-actions .btn:hover { box-shadow: none; transform: none; text-decoration: underline; text-underline-offset: 3px; }
html body .app-list-card .app-card-actions .btn:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
/* Keep the shared 1200ms charge indicator and danger tokens; no second-row button. */
html body .app-list-card .app-card-actions [data-hold-delete] { min-width: 0; }
