.oge-form {
	container-type: inline-size;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 26px 24px 20px;
	border-radius: 10px;
	background: #f4f7fb;
	color: #243044;
	font-size: 15px;
	line-height: 1.5;
}

.oge-form *,
.oge-form *::before,
.oge-form *::after {
	box-sizing: border-box;
}

.oge-form__alert {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 0.92rem;
}

.oge-form__alert--ok {
	background: #e8f6ee;
	color: #146c36;
}

.oge-form__alert--err {
	background: #fdecec;
	color: #9f1d1d;
}

.oge-form__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 32px;
}

.oge-form__field {
	display: block;
	margin: 0 0 14px;
}

.oge-form__field span,
.oge-form__math span {
	display: block;
	margin: 0 0 6px;
	color: var(--primary-color, var(--fs-color-primary, #1c3872));
	font-weight: 700;
	font-size: 0.92rem;
	line-height: 1.3;
}

.oge-form input[type="text"],
.oge-form input[type="email"],
.oge-form textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 11px 12px;
	border: 1px solid #e4e9f0;
	border-radius: 6px;
	background: #fff;
	box-shadow: none;
	color: #243044;
	font-family: inherit;
	font-size: 0.95rem;
	line-height: 1.4;
}

.oge-form textarea {
	min-height: 168px;
	resize: vertical;
}

.oge-form input:focus,
.oge-form textarea:focus {
	border-color: var(--primary-color, var(--fs-color-primary, #1c3872));
	outline: none;
}

.oge-form__notice {
	margin: 0;
	color: #5c6570;
	font-size: 0.8rem;
	line-height: 1.55;
}

.oge-form__notice p {
	margin: 0;
}

.oge-form__notice a {
	color: #1a56c4;
	text-decoration: underline;
}

.oge-form__bar {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 16px;
}

.oge-form__math {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.oge-form__math span {
	margin: 0;
	white-space: nowrap;
}

.oge-form__math input {
	width: 64px;
	padding-right: 8px;
	padding-left: 8px;
	text-align: center;
}

.oge-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 42px;
	margin: 0;
	padding: 10px 22px;
	border: 0;
	border-radius: 8px;
	background: var(--primary-color, var(--fs-color-primary, #1c3872));
	color: #fff;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
}

.oge-form__submit:hover,
.oge-form__submit:focus-visible {
	background: var(--primary-color, var(--fs-color-primary, #1c3872));
	color: #fff;
	opacity: 0.9;
}

.oge-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@container (min-width: 640px) {
	.oge-form__grid {
		grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	}

	.oge-form__message textarea {
		min-height: 196px;
	}
}

@media (max-width: 549px) {
	.oge-form {
		padding: 18px 14px 16px;
	}

	.oge-form__bar {
		flex-wrap: wrap;
		justify-content: stretch;
	}

	.oge-form__math {
		flex: 1 1 auto;
	}

	.oge-form__submit {
		flex: 1 1 120px;
	}
}
