/* Activity uses Vue surfaces, which otherwise retain the stock opaque white.
 * Keep the shared workspace palette and user-selected opacity, not fixed colours.
 * Scope everything to this app so file sidebars and other feeds are unchanged. */
#content-vue.app-activity {
	background: transparent !important;
	color: var(--mt-text);
}

#content-vue.app-activity .app-navigation {
	background: var(--mt-surface-panel) !important;
	color: var(--mt-text);
	border: 1px solid var(--mt-border);
	border-radius: var(--mt-radius-card);
}

#content-vue.app-activity .activity-app {
	background: var(--mt-surface-card) !important;
	color: var(--mt-text);
	min-width: 0;
	min-height: 0;
}

#content-vue.app-activity .activity-app__heading {
	color: var(--mt-text);
	font-family: var(--mt-font);
	font-size: calc(20px * var(--mt-font-scale, 1));
	margin-block-end: var(--mt-space-3, 12px);
}

#content-vue.app-activity .activity-app__container {
	background: transparent;
	box-sizing: border-box;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	max-width: 1100px;
	padding: 0 var(--mt-space-5, 24px) var(--mt-space-5, 24px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

#content-vue.app-activity .activity-group__heading {
	color: var(--mt-text);
	font-size: calc(18px * var(--mt-font-scale, 1));
	font-weight: 650;
}

@media (max-width: 700px) {
	#content-vue.app-activity .activity-app__container {
		padding-inline: var(--mt-space-3, 12px);
	}
	/* The mobile navigation overlays the feed rather than sitting beside it. */
	#content-vue.app-activity .app-navigation {
		background: var(--mt-surface-menu) !important;
	}
	/* Dates must not squeeze the event text into a narrow column on phones. */
	#content-vue.app-activity .activity-entry__content {
		flex-basis: calc(100% - 24px);
		min-width: 0;
	}
	#content-vue.app-activity .activity-entry__date {
		flex-basis: calc(100% - 24px);
		margin: 4px 0 0 24px;
		color: var(--mt-text-muted);
	}
}
