.psm-campaign-card {
	position: relative;
	display: grid;
	gap: 8px;
	margin: 14px 0;
	padding: 12px;
	border: 1px solid var(--psm-line);
	border-top: 4px solid var(--psm-navy);
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--psm-shadow);
	font-family: var(--psm-font);
}

.psm-campaign-card[hidden] {
	display: none;
}

.psm-campaign-card.is-loading {
	min-height: 92px;
	place-items: center;
}

.psm-campaign-card.is-loading ~ .psm-products {
	visibility: hidden;
}

.psm-campaign-loading {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--psm-muted);
}

.psm-campaign-loading-mark {
	width: 18px;
	height: 18px;
	border: 2px solid var(--psm-line);
	border-top-color: var(--psm-blue);
	border-radius: 50%;
	animation: psm-campaign-spin .8s linear infinite;
}

.psm-campaign-card-header {
	display: grid;
	gap: 2px;
}

.psm-campaign-card-header h2 {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.psm-campaign-eyebrow {
	color: var(--psm-blue);
	font-size: 12px;
	font-weight: 800;
}

.psm-level-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 82px;
	min-height: 34px;
	padding: 4px 10px;
	border: 1px solid #b9cce0;
	border-radius: 6px;
	background: var(--psm-pale-blue);
	color: var(--psm-navy);
	font-weight: 800;
	white-space: nowrap;
}

.psm-campaign-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--psm-line);
	border-radius: 6px;
	overflow: hidden;
	background: var(--psm-line);
}

.psm-campaign-stat {
	display: grid;
	align-content: center;
	gap: 3px;
	min-width: 0;
	min-height: 58px;
	padding: 7px 4px;
	background: #fff;
	text-align: center;
}

.psm-campaign-stat span {
	color: var(--psm-muted);
	font-size: 12px;
	line-height: 1.45;
}

.psm-campaign-stat strong {
	color: var(--psm-ink);
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.psm-campaign-message,
.psm-campaign-new-note,
.psm-campaign-pending,
.psm-campaign-import-time {
	margin: 0;
	line-height: 1.9;
}

.psm-campaign-message {
	padding: 7px 10px;
	border-right: 3px solid var(--psm-sky);
	background: var(--psm-pale-blue);
	font-size: 13px;
	line-height: 1.85;
}

.psm-campaign-new-note {
	color: var(--psm-muted);
}

.psm-campaign-pending {
	padding: 10px 12px;
	border: 1px solid #f2cc8f;
	border-radius: 6px;
	background: #fff8e8;
	color: #7a4b00;
	font-weight: 700;
}

.psm-campaign-import-time {
	color: var(--psm-muted);
	font-size: 12px;
	line-height: 1.65;
}

.psm-financial-pending-notice {
	display: grid;
	gap: 6px;
	margin: 14px 0;
	padding: 14px;
	border: 1px solid #a6d5b9;
	border-right: 4px solid var(--psm-green);
	border-radius: 6px;
	background: var(--psm-green-soft);
}

.psm-financial-pending-notice p {
	margin: 0;
	line-height: 1.9;
}

@keyframes psm-campaign-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 520px) {
	.psm-campaign-card {
		padding: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.psm-campaign-loading-mark {
		animation: none;
	}
}
