:root {
	--groundwire-forest: #244f3a;
	--groundwire-moss: #6f7f55;
	--groundwire-ink: #18221d;
	--groundwire-muted: #5d685f;
	--groundwire-paper: #fbfaf6;
	--groundwire-line: #d9ded3;
	--groundwire-accent: #c46f2d;
	--groundwire-white: #ffffff;
}

.groundwire-action-center {
	background: var(--groundwire-paper);
	color: var(--groundwire-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0;
}

.groundwire-shell {
	margin: 0 auto;
	max-width: 1180px;
	padding: clamp(24px, 5vw, 64px) 18px;
}

.groundwire-hero {
	border-bottom: 1px solid var(--groundwire-line);
	margin-bottom: 28px;
	padding-bottom: 28px;
}

.groundwire-kicker,
.groundwire-meta {
	color: var(--groundwire-accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.groundwire-hero h2,
.groundwire-issue h3,
.groundwire-flow h3 {
	color: var(--groundwire-forest);
	line-height: 1.04;
	margin: 0 0 14px;
}

.groundwire-hero h2 {
	font-size: clamp(2.2rem, 8vw, 5.4rem);
	max-width: 980px;
}

.groundwire-hero p {
	color: var(--groundwire-muted);
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	max-width: 760px;
}

.groundwire-campaign-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.groundwire-campaign-card,
.groundwire-flow,
.groundwire-issue {
	background: var(--groundwire-white);
	border: 1px solid var(--groundwire-line);
	border-radius: 8px;
	box-shadow: 0 18px 48px rgba(24, 34, 29, 0.08);
}

.groundwire-campaign-card {
	display: grid;
	overflow: hidden;
}

.groundwire-campaign-card img,
.groundwire-feature {
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.groundwire-campaign-card > div,
.groundwire-flow,
.groundwire-issue {
	padding: clamp(18px, 3vw, 28px);
}

.groundwire-campaign-card h3,
.groundwire-issue h3 {
	font-size: clamp(1.35rem, 3vw, 2.25rem);
}

.groundwire-campaign-card p,
.groundwire-issue p,
.groundwire-issue li,
.groundwire-flow label,
.groundwire-ai-notice,
.groundwire-status,
.groundwire-count {
	color: var(--groundwire-muted);
	font-size: 1rem;
	line-height: 1.55;
}

.groundwire-layout {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
}

.groundwire-issue h4 {
	color: var(--groundwire-forest);
	margin: 24px 0 8px;
}

.groundwire-summary {
	background: #eef2e8;
	border-left: 4px solid var(--groundwire-moss);
	border-radius: 6px;
	padding: 14px 16px;
}

.groundwire-points {
	padding-left: 1.2rem;
}

.groundwire-campaign-progress {
	display: grid;
	gap: 8px;
	margin: 16px 0 20px;
}

.groundwire-campaign-progress span {
	color: var(--groundwire-muted);
	font-size: 0.92rem;
}

.groundwire-campaign-progress strong {
	color: var(--groundwire-forest);
}

.groundwire-campaign-progress div {
	background: #edf0e8;
	border-radius: 999px;
	height: 9px;
	overflow: hidden;
}

.groundwire-campaign-progress i {
	background: var(--groundwire-accent);
	display: block;
	height: 100%;
}

.groundwire-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.groundwire-links a {
	border: 1px solid var(--groundwire-line);
	border-radius: 999px;
	color: var(--groundwire-forest);
	font-weight: 700;
	padding: 8px 12px;
	text-decoration: none;
}

.groundwire-flow {
	position: sticky;
	top: 24px;
}

.groundwire-flow label,
.groundwire-flow fieldset {
	border: 0;
	display: grid;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
}

.groundwire-flow legend {
	color: var(--groundwire-forest);
	font-weight: 800;
	margin-bottom: 10px;
}

.groundwire-flow input,
.groundwire-flow textarea,
.groundwire-flow select {
	background: #fffdf9;
	border: 1px solid var(--groundwire-line);
	border-radius: 8px;
	color: var(--groundwire-ink);
	font: inherit;
	padding: 12px 13px;
	width: 100%;
}

.groundwire-flow input:focus,
.groundwire-flow textarea:focus,
.groundwire-button:focus {
	outline: 3px solid rgba(196, 111, 45, 0.32);
	outline-offset: 2px;
}

.groundwire-tones {
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.groundwire-tones label,
.groundwire-targets label,
.groundwire-consent {
	align-items: start;
	display: grid;
	gap: 8px;
	grid-template-columns: auto 1fr;
}

.groundwire-targets small {
	color: var(--groundwire-muted);
	display: block;
	grid-column: 2;
}

.groundwire-button {
	align-items: center;
	background: var(--groundwire-forest);
	border: 0;
	border-radius: 8px;
	color: var(--groundwire-white);
	cursor: pointer;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	min-height: 46px;
	padding: 12px 18px;
	text-decoration: none;
	transition: transform 160ms ease, background 160ms ease;
}

.groundwire-button:hover {
	background: #173929;
	transform: translateY(-1px);
}

.groundwire-progress {
	background: #edf0e8;
	border-radius: 999px;
	height: 8px;
	margin-bottom: 22px;
	overflow: hidden;
}

.groundwire-progress span {
	background: var(--groundwire-accent);
	display: block;
	height: 100%;
	transition: width 220ms ease;
}

.groundwire-ai-notice {
	background: #fff7ed;
	border: 1px solid #f0d1b8;
	border-radius: 8px;
	padding: 12px 14px;
}

.groundwire-prompts {
	border-bottom: 1px solid var(--groundwire-line);
	margin-bottom: 18px;
	padding-bottom: 4px;
}

.groundwire-prompts h4 {
	color: var(--groundwire-forest);
	margin: 0 0 12px;
}

.groundwire-share {
	border-top: 1px solid var(--groundwire-line);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
	padding-top: 16px;
}

.groundwire-share p {
	color: var(--groundwire-muted);
	flex: 1 0 100%;
	font-weight: 700;
	margin: 0;
}

.groundwire-share a {
	border: 1px solid var(--groundwire-line);
	border-radius: 999px;
	color: var(--groundwire-forest);
	font-weight: 800;
	padding: 8px 12px;
	text-decoration: none;
}

.groundwire-loading,
.groundwire-empty,
.groundwire-error,
.groundwire-confirmation {
	background: var(--groundwire-white);
	border: 1px solid var(--groundwire-line);
	border-radius: 8px;
	padding: 22px;
}

.groundwire-error {
	border-color: #d76f61;
	color: #8f2d22;
}

@media (max-width: 820px) {
	.groundwire-layout {
		grid-template-columns: 1fr;
	}

	.groundwire-flow {
		position: static;
	}
}
