.ggf-evaluation-welcome,
.ggf-evaluation-wizard,
.ggf-evaluation-result {
	max-width: 900px;
	margin: 0 auto;
	padding: 24px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.ggf-evaluation-welcome__body,
.ggf-evaluation-result__intro {
	font-size: 2rem;
	line-height: 1.6;
	color: #334155;
}

.ggf-evaluation-wizard__intro {
	font-size: 2rem;
	line-height: 1.6;
	color: #334155;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 1px solid #e2e8f0;
}

.ggf-evaluation-wizard__intro[hidden] {
	display: none !important;
}

.ggf-evaluation-wizard__progress {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	margin: 18px 0 24px;
	border-radius: 12px;
	background: #f8fafc;
	color: #475569;
}

.ggf-evaluation-wizard__steps {
	display: grid;
	gap: 20px;
}

.ggf-step,
.ggf-node {
	padding: 20px;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	background: #fdfdfd;
}

.ggf-step[hidden] {
	display: none !important;
}

.ggf-step-header,
.ggf-node-header {
	margin-bottom: 16px;
}

.ggf-step-error {
	margin-bottom: 12px;
	padding: 12px 14px;
	border: 1px solid #fecaca;
	border-radius: 10px;
	background: #fef2f2;
	color: #991b1b;
}

.ggf-step-error p {
	margin: 0;
}

.ggf-step-error p + p {
	margin-top: 6px;
}

.ggf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.ggf-field,
.ggf-question {
	display: grid;
	gap: 8px;
	margin: 10px 0;
}

/* ── Headings (scoped - prevent Bootstrap 2rem h2 from breaking card layout) ── */

.ggf-evaluation-welcome h2,
.ggf-evaluation-wizard h2,
.ggf-evaluation-result h2 {
	font-size: 3rem;
	font-weight: 700;
	margin: 0 0 14px;
	color: #0f172a;
	line-height: 1.25;
}

.ggf-evaluation-wizard h3,
.ggf-evaluation-result h3 {
	font-size: 2.1rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: #1e293b;
	line-height: 1.35;
}

.ggf-evaluation-wizard h4,
.ggf-evaluation-result h4 {
	font-size: 1.8rem;
	font-weight: 600;
	margin: 0 0 6px;
	color: #334155;
}

/* ── Labels & help text ────────────────────────────────────────────────────── */

.ggf-question > label,
.ggf-field > label {
	font-size: 1.9rem;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.4;
}

.ggf-question .description,
.ggf-field .description {
	font-size: 1.56rem;
	color: #64748b;
	margin: 0;
	line-height: 1.4;
}

.ggf-required {
	color: #dc2626;
	font-weight: 700;
	margin-left: 1px;
}

/* ── Inline field errors ───────────────────────────────────────────────────── */

.ggf-field-error {
	font-size: 1.56rem;
	color: #dc2626;
	margin: 4px 0 0;
	font-weight: 500;
}

.ggf-question--error > input,
.ggf-question--error > select,
.ggf-question--error > textarea,
.ggf-field--error > input,
.ggf-field--error > select,
.ggf-field--error > textarea {
	border-color: #dc2626 !important;
	outline: none;
}

/* ── Buttons (size scoped to wizard - colours still come from site theme) ─── */

.ggf-step-actions .btn,
.ggf-evaluation-result__actions .btn {
	padding: 8px 22px;
	border-radius: 6px;
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.5;
	height: auto;
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Prevent visited-link colour from changing button appearance */
.ggf-step-actions .btn:visited,
.ggf-evaluation-result__actions .btn:visited {
	color: #fff;
}

/* ── Email sent notice ─────────────────────────────────────────────────────── */

.ggf-email-sent-notice {
	font-size: 1.7rem;
	color: #475569;
	padding: 10px 14px;
	background: #f1f5f9;
	border-left: 3px solid #94a3b8;
	border-radius: 6px;
	margin: 16px 0 0;
}

.ggf-question input[type="number"],
.ggf-question input[type="text"],
.ggf-question input[type="email"],
.ggf-question select,
.ggf-question textarea,
.ggf-field input {
	width: 100%;
	max-width: 100%;
	padding: 12px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #fff;
	color: #0f172a;
}

.ggf-radio-group {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.ggf-step-actions,
.ggf-evaluation-result__actions {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 20px;
}

/* ── Result page ───────────────────────────────────────────────────────────── */

.ggf-evaluation-result__score {
	font-size: 5rem;
	font-weight: 700;
	margin: 8px 0;
	color: #0f172a;
}

.ggf-evaluation-result__label {
	font-weight: 700;
	font-size: 2.2rem;
	color: #0f172a;
}

.ggf-evaluation-result__message {
	margin-top: 16px;
	padding: 16px;
	border-left: 4px solid #EE3825;
	background: #fff6f5;
	border-radius: 10px;
	line-height: 1.6;
}

/* Go / No-go decision banner */
.ggf-result-decision {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border-radius: 14px;
	margin-bottom: 24px;
	font-weight: 700;
	font-size: 2.2rem;
}

.ggf-result-decision--proceed {
	background: #f0fdf4;
	border: 2px solid #16a34a;
	color: #15803d;
}

.ggf-result-decision--review {
	background: #fffbeb;
	border: 2px solid #d97706;
	color: #b45309;
}

.ggf-result-decision--stop {
	background: #fef2f2;
	border: 2px solid #dc2626;
	color: #b91c1c;
}

.ggf-result-decision__icon {
	font-size: 3.2rem;
	flex-shrink: 0;
}

/* Threshold bar */
.ggf-result-threshold {
	margin: 20px 0;
	padding: 14px 16px;
	background: #f8fafc;
	border-radius: 12px;
	font-size: 1.8rem;
	color: #475569;
}

.ggf-result-threshold__bar-wrap {
	margin-top: 10px;
	height: 10px;
	background: #e2e8f0;
	border-radius: 99px;
	overflow: hidden;
	position: relative;
}

.ggf-result-threshold__bar-fill {
	height: 100%;
	border-radius: 99px;
	transition: width 0.4s ease;
}

.ggf-result-threshold__bar-fill--proceed {
	background: #16a34a;
}

.ggf-result-threshold__bar-fill--review {
	background: #d97706;
}

.ggf-result-threshold__bar-fill--stop {
	background: #dc2626;
}

.ggf-result-threshold__marker {
	position: absolute;
	top: -3px;
	width: 2px;
	height: 16px;
	background: #0f172a;
	transform: translateX(-50%);
}

/* Category breakdown */
.ggf-result-breakdown {
	margin: 24px 0;
}

.ggf-result-breakdown__title {
	font-weight: 700;
	font-size: 2rem;
	color: #0f172a;
	margin: 0 0 12px;
}

.ggf-result-breakdown__grid {
	display: grid;
	gap: 10px;
}

.ggf-result-breakdown__row {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: #f8fafc;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
}

.ggf-result-breakdown__category {
	font-size: 1.8rem;
	color: #334155;
	font-weight: 500;
}

.ggf-result-breakdown__score {
	font-weight: 700;
	font-size: 2rem;
	color: #0f172a;
	white-space: nowrap;
}

.ggf-result-breakdown__bar {
	grid-column: 1 / -1;
	height: 6px;
	background: #e2e8f0;
	border-radius: 99px;
	overflow: hidden;
}

.ggf-result-breakdown__bar-fill {
	height: 100%;
	border-radius: 99px;
}

.ggf-result-breakdown__bar-fill--high {
	background: #16a34a;
}

.ggf-result-breakdown__bar-fill--mid {
	background: #d97706;
}

.ggf-result-breakdown__bar-fill--low {
	background: #dc2626;
}
