.sga-wrap {
	max-width: 720px;
	margin: 0 auto;
	padding: 40px 20px 80px;
	font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
	color: #1B242E;
}
.sga-terms-box {
	max-height: 420px;
	overflow-y: auto;
	border: 1px solid #E4DFD4;
	background: #F7F4EE;
	padding: 24px 28px;
	margin-bottom: 32px;
	font-size: 14px;
	line-height: 1.65;
}
.sga-terms-box h3 {
	font-family: 'Space Grotesk', sans-serif;
	color: #16233A;
	font-size: 15px;
	margin: 20px 0 6px;
}
.sga-terms-box h3:first-child { margin-top: 0; }
.sga-form { display: flex; flex-direction: column; gap: 20px; }
.sga-field label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: #16233A;
	margin-bottom: 6px;
}
.sga-field input[type="text"],
.sga-field input[type="email"],
.sga-field input[type="tel"],
.sga-field input[type="number"],
.sga-field select,
.sga-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #E4DFD4;
	font-size: 15px;
	font-family: inherit;
	box-sizing: border-box;
	background: #fff;
	color: #1B242E;
}
.sga-field textarea {
	resize: vertical;
}
.sga-field select {
	appearance: auto;
}
.sga-checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 500;
	font-size: 14px;
}
.sga-checkbox input[type="checkbox"] {
	/* The theme's global `input { width:100%; padding:13px 16px; }` rule otherwise
	   stretches this checkbox to fill the flex row and breaks the layout — reset
	   it back to a normal-sized checkbox. */
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 2px 0 0;
	flex-shrink: 0;
}
#sga-canvas {
	width: 100%;
	height: 180px;
	border: 1px solid #E4DFD4;
	background: #fff;
	touch-action: none;
	cursor: crosshair;
	display: block;
}
.sga-sig-actions { margin-top: 8px; }
.sga-sig-actions button {
	background: transparent;
	border: 1px solid #56677D;
	color: #56677D;
	font-size: 13px;
	padding: 6px 14px;
	cursor: pointer;
	font-family: inherit;
}
.sga-sig-actions button:hover { border-color: #16233A; color: #16233A; }
.sga-submit {
	background: #A6551F;
	color: #FFFFFF;
	font-weight: 600;
	font-size: 15px;
	padding: 14px 28px;
	border: none;
	cursor: pointer;
	font-family: inherit;
	align-self: flex-start;
}
.sga-submit:hover { background: #7C3F14; }
.sga-submit:disabled { opacity: 0.6; cursor: default; }
.sga-error { color: #B3261E; font-size: 14px; margin: 0; }
.sga-success {
	background: #F7F4EE;
	border: 1px solid #E4DFD4;
	padding: 28px;
	text-align: center;
}
.sga-success h3 {
	font-family: 'Space Grotesk', sans-serif;
	color: #16233A;
	margin: 0 0 10px;
}
