/* /funcionalidades/historial-de-actividad/ — the activity log inside
   Settings. What pantallas-demo.css does not already draw: the settings
   shell and its sidebar (components/settings-shell.tsx), and the log's
   cells — the muted name, the action as a link or as plain text, and the
   stored detail in monospace. */

.pn-frame[data-screen="activity"] .st-shell {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* ---------- the settings sidebar ---------- */

.pn-frame[data-screen="activity"] .st-nav {
  display: flex;
  flex: 0 0 150px;
  flex-direction: column;
  gap: 1px;
}

.pn-frame[data-screen="activity"] .st-nav-head {
  padding: 10px 8px 4px;
  color: var(--ac-dim);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pn-frame[data-screen="activity"] .st-nav-head:first-child { padding-top: 0; }

.pn-frame[data-screen="activity"] .st-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--ac-mut);
  font-size: 10.5px;
  white-space: nowrap;
}

.pn-frame[data-screen="activity"] .st-nav-item em {
  overflow: hidden;
  text-overflow: ellipsis;
}

.pn-frame[data-screen="activity"] .st-nav-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  color: var(--ac-dim);
}

.pn-frame[data-screen="activity"] .st-nav-item.is-on {
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 6%);
  color: var(--ac-ink);
  font-weight: 550;
}

.pn-frame[data-screen="activity"] .st-nav-item.is-on .st-nav-icon { color: var(--ac-accent); }

.pn-frame[data-screen="activity"] .st-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* ---------- the log ---------- */

.pn-frame[data-screen="activity"] .md-table td {
  padding-top: 8px;
  padding-bottom: 8px;
}

.pn-frame[data-screen="activity"] .md-tools .md-select em { max-width: none; }

.pn-frame[data-screen="activity"] .ay-who {
  color: var(--ac-mut);
  font-size: 11px;
  white-space: nowrap;
}

.pn-frame[data-screen="activity"] .ay-action {
  color: var(--ac-ink);
  font-size: 11px;
}

.pn-frame[data-screen="activity"] .ay-action.is-link { color: var(--ac-accent); }

.pn-frame[data-screen="activity"] .ay-detail {
  color: var(--ac-mut);
  font-family: var(--ac-mono);
  font-size: 9.5px;
}
