/**
 * staffAlerts.css — the staff alerts widget.
 *
 * An ordinary koko window; the manager owns where it sits, how it stacks and how it minimises.
 * Everything here is the contents.
 */

.staffAlertsWindow {
	min-width: 0;
	min-height: 0;
	width: auto;
	font-size: var(--font-size-x-small);
}

.staffAlertsWindow .winbar {
	gap: 0.25em;
	flex-wrap: nowrap;
}

.staffAlertsWindow .winname {
	margin: 0 0.25em;
	white-space: nowrap;
}

/* ── Alert rows ───────────────────────────────────────────────────────────── */

.staffAlertsWidget {
	padding: 0.25em 0.5em 0.375em;
}

.staffAlertsList {
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

.staffAlertsRow + .staffAlertsRow {
	margin-top: 0.125em;
}

.staffAlertsLink {
	display: flex;
	justify-content: space-between;
	gap: 1em;
}

.staffAlertsCount,
.staffAlertsTotal {
	font-weight: var(--font-weight-bold);
}

/* Anything actually waiting on this moderator should catch the eye. */
.staffAlertsRowUnread .staffAlertsCount {
	color: var(--color-fg-warning);
}

.staffAlertsTotal {
	margin-left: 0.25em;
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */

/* No room for it, and every alert is reachable from the staff nav anyway. */
@media screen and (max-width: 600px) {
	.staffAlertsWindow {
		display: none !important;
	}
}
