/* Artifacts page — shelf of everything chats produced. */
.af-tabs { display: flex; gap: 6px; margin: 4px 0 14px; flex-wrap: wrap; }
.af-tab {
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; cursor: pointer;
}
.af-tab:hover { color: var(--text); }
.af-tab.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.af-card {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  border: 1px solid var(--line); background: var(--panel); border-radius: 14px;
  padding: 12px 14px; font: inherit; color: var(--text); cursor: pointer;
}
.af-card:hover { border-color: var(--accent); }
.af-badge {
  width: 40px; height: 40px; border-radius: 10px; flex: none; overflow: hidden;
  background: var(--accent-dim); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 800; letter-spacing: .5px;
}
.af-badge img { width: 100%; height: 100%; object-fit: cover; }
.af-main { flex: 1; min-width: 0; }
.af-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.af-sub { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.af-chev { color: var(--muted); flex: none; }
.af-chev .icon { width: 16px; height: 16px; display: block; }
.af-chev svg { width: 100%; height: 100%; }
