/* Keep activity navigation separate from the site's filled action buttons. */
body .creator-panel .cp-activity-nav {
  padding: 0 16px !important;
  gap: 16px;
  min-width: 0;
}
body .creator-panel .cp-history-tabs {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  min-width: 0;
  overflow-x: auto;
}
body .creator-panel .cp-history-tabs > button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 7px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #98a6bc !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.3;
  white-space: nowrap;
}
body .creator-panel .cp-history-tabs > button:hover {
  color: #edf1f8 !important;
  background: #ffffff04 !important;
}
body .creator-panel .cp-history-tabs > button.selected {
  color: #efc46a !important;
}
body .creator-panel .cp-history-tabs > button.selected::after {
  content: '';
  position: absolute;
  bottom: 0 !important;
  left: 14px !important;
  right: 14px !important;
  height: 2px;
  background: #efc46a;
}
body .creator-panel .cp-history-tabs > button > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 19px;
  height: 18px;
  margin: 0 !important;
  padding: 0 5px !important;
  border: 0;
  border-radius: 4px;
  background: #202938 !important;
  color: #98a6bc !important;
  font-size: 9px;
  line-height: 1;
}
body .creator-panel .cp-history-tabs > button:focus-visible {
  outline: 2px solid #efc46a;
  outline-offset: -4px;
}
@media (max-width: 600px) {
  body .creator-panel .cp-activity-nav { padding: 0 8px !important; }
  body .creator-panel .cp-history-tabs > button { padding: 0 10px !important; }
  body .creator-panel .cp-history-caption { display: none; }
}
