/* Boss HQ demo: Activity Log screen styles. */
.act-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.act-filters .mini,
.act-filters .sel {
  width: 150px;
}
.act-fbody {
  display: contents;
}
.act-ftog {
  display: none;
}
.act-banner {
  background: var(--info-bg);
  color: var(--text);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.act-main .card-body {
  padding: 14px 18px 18px;
}
.act-tbl td {
  font-size: 12.5px;
  vertical-align: top;
}
.act-tbl th {
  white-space: nowrap;
}
.act-i {
  color: var(--faint);
  vertical-align: -1px;
}
.act-when {
  white-space: nowrap;
}
.act-who {
  min-width: 0;
}
@media (max-width: 768px) {
  .act-who {
    text-align: right;
  }
}
.act-link {
  color: var(--link);
  text-decoration: none;
}
.act-link:hover {
  text-decoration: underline;
}
.act-fresh td {
  background: var(--info-bg);
}
.act-more {
  text-align: center;
  padding: 12px 0 0;
}
.act-prog {
  width: 110px;
}
.act-row {
  cursor: pointer;
}
.act-row:hover td {
  background: var(--sunk);
}
.act-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.act-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.act-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.act-n {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sunk);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}
.act-sbody {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.act-srow {
  display: flex;
  gap: 8px;
  align-items: center;
}
.act-srow .mini {
  flex: 1;
  min-width: 0;
}
.act-srow .sel {
  width: 150px;
  flex: none;
}
.act-srow .x {
  margin-left: 0;
}
@media (max-width: 700px) {
  .act-filters {
    width: 100%;
  }
  .act-filters .mini,
  .act-filters .sel {
    width: 100%;
  }
  .act-main .card-head .right {
    width: 100%;
    margin-left: 0;
  }
  .act-ftog {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .act-fbody {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }
  .act-fbody.open {
    display: flex;
    width: 100%;
  }
  .act-srow {
    flex-wrap: wrap;
  }
  .act-srow .sel {
    width: 100%;
    order: 3;
  }
  .act-tbl td,
  .act-tbl th {
    padding: 8px 10px;
  }
}

/* ---------- phone (m5) ---------- */
@media (max-width: 768px) {
  a.act-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
  }
}
@media (max-width: 768px) {
  .act-tbl td a.act-link {
    min-width: 44px;
    justify-content: flex-end;
  }
  .act-row {
    min-height: 44px;
  }
}
