/* User Activity (#/activity) */
.ac-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.ac-stats > .card { margin: 0; }
.ac-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; text-align: left; cursor: pointer; color: var(--text); border-left: 4px solid var(--teal); }
.ac-stat b { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--ink); }
.ac-stat small { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.ac-stat.is-live { border-left-color: var(--violet); }
.ac-stat.is-warn { border-left-color: var(--coral); }
.ac-stat.is-on { box-shadow: inset 0 0 0 2px var(--ink); }
.ac-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.ac-search { flex: 1; margin: 0; }
.ac-chips { margin-bottom: 6px; }
.ac-cnt { opacity: .6; font-weight: 700; margin-left: 2px; }
.ac-note { display: flex; align-items: center; gap: 6px; margin: 4px 2px 10px; }

.ac-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--faint, #C3C6D3); flex: none; }
.ac-dot.is-online { background: var(--violet); box-shadow: 0 0 0 0 rgba(108, 92, 231, .5); animation: ac-pulse 1.8s infinite; }
.ac-dot.is-recent { background: #E9B140; }
.ac-dot.is-offline { background: var(--faint, #C3C6D3); }
@keyframes ac-pulse { 0% { box-shadow: 0 0 0 0 rgba(108, 92, 231, .45); } 70% { box-shadow: 0 0 0 7px rgba(108, 92, 231, 0); } 100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0); } }
@media (prefers-reduced-motion: reduce) { .ac-dot.is-online { animation: none; } }

.ac-list { padding: 0; margin: 0; overflow: hidden; }
.ac-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; color: var(--text); cursor: pointer; font: inherit; }
.ac-row:last-child { border-bottom: 0; }
.ac-row:hover { background: var(--surface-2); }
.ac-av { position: relative; flex: none; }
.ac-av .ac-avi { width: 40px; height: 40px; font-size: 15px; }
.ac-av > .ac-dot { position: absolute; right: -1px; bottom: -1px; border: 2px solid var(--surface); width: 13px; height: 13px; }
.ac-av.is-lg .ac-avi { width: 72px; height: 72px; font-size: 26px; }
.ac-av.is-lg > .ac-dot { width: 18px; height: 18px; }
.ac-main { display: flex; flex-direction: column; min-width: 0; }
.ac-main b { color: var(--ink); }
.ac-main small { color: var(--muted); font-weight: 600; }
.ac-grp { flex: none; font-size: 10.5px; }
.ac-when { flex: none; display: grid; grid-template-columns: 110px 110px; gap: 10px; text-align: right; }
.ac-when small { display: block; font-size: 10px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ac-when b { font-size: var(--fs-sm); color: var(--text-2); font-weight: 700; white-space: nowrap; }
.ac-when b.is-live { color: var(--violet); }
.ac-foot { margin: 10px 4px 0; }

.ac-detail { display: flex; flex-direction: column; gap: 6px; }
.ac-dhead { display: flex; gap: 16px; align-items: center; margin-bottom: 6px; }
.ac-dname { font-family: var(--font-display); font-size: 24px; margin: 0 0 6px; color: var(--ink); }
.ac-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.ac-ghost { display: flex; align-items: center; gap: 6px; margin: 0 2px; }
.ac-facts .row-sub { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.ac-foot2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }

@media (max-width: 900px) { .ac-grp { display: none; } }
@media (max-width: 760px) { .ac-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .ac-when { grid-template-columns: 1fr; gap: 2px; }
  .ac-when span { display: flex; gap: 6px; justify-content: flex-end; align-items: baseline; }
  .ac-when small { font-size: 9px; }
  .ac-bar { flex-wrap: wrap; }
}
