/* First Home Snapshot — an ordered, numbered journey strip. Was previously
   enqueued under a handle ('policymatch-tools-grants') that nothing ever
   registered, so every node rendered with zero styling. This file plus the
   registration added alongside it in the main plugin file fixes that. */

.pm-fh-snapshot {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.9rem;
	margin: 1.5rem 0;
}

.pm-fh-snapshot__node {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	background: var(--surface, #fff);
	border: 1px solid var(--hairline, rgba(23, 27, 39, 0.13));
	border-radius: var(--radius-card, 16px);
	padding: 1.1rem 1.2rem;
	text-decoration: none;
	color: var(--ink, #171b27);
	min-height: 148px;
	transition: border-color 0.15s var(--ease, ease), transform 0.15s var(--ease, ease);
}

a.pm-fh-snapshot__node:hover,
a.pm-fh-snapshot__node:focus-visible {
	border-color: var(--accent, #4256ff);
	transform: translateY(-1px);
}

div.pm-fh-snapshot__node {
	cursor: default;
}

.pm-fh-snapshot__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: var(--surface-alt, #efe5d6);
	color: var(--ink, #171b27);
	font-weight: 700;
	font-size: 0.85rem;
	flex-shrink: 0;
}

.pm-fh-snapshot__label {
	font-weight: 700;
	font-size: 1rem;
	color: var(--ink, #171b27);
}

.pm-fh-snapshot__note {
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--ink-soft, #667085);
}

@media (max-width: 900px) {
	.pm-fh-snapshot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
	.pm-fh-snapshot { grid-template-columns: 1fr; }
}
