.jsf-submission-page {
	--jsf-blue: #0b77c5;
	--jsf-blue-dark: #085d99;
	--jsf-blue-soft: #dfeafb;
	--jsf-border: #d6dfeb;
	--jsf-text: #17324d;
	--jsf-muted: #5b6f87;
	--jsf-bg: #f8fbff;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--jsf-text);
}

.jsf-shell {
	max-width: 1020px;
	margin: 0 auto;
	padding: 24px 18px 48px;
}

.jsf-title {
	margin: 0 0 18px;
	font-size: clamp(2rem, 4vw, 2.6rem);
	font-weight: 700;
	color: #223249;
}

.jsf-intro,
.jsf-panel-intro {
	font-size: 1.05rem;
	line-height: 1.7;
	margin-bottom: 20px;
}

.jsf-choice-list {
	display: grid;
	gap: 14px;
	margin-bottom: 26px;
}

.jsf-choice-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 1rem;
	line-height: 1.7;
}

.jsf-radio {
	width: 14px;
	height: 14px;
	border: 2px solid var(--jsf-blue);
	border-radius: 50%;
	margin-top: 8px;
	flex: 0 0 14px;
	box-sizing: border-box;
}

.jsf-radio::after {
	content: "";
	display: block;
	width: 6px;
	height: 6px;
	background: var(--jsf-blue);
	border-radius: 50%;
	margin: 2px auto 0;
}

.jsf-tabs {
	display: flex;
	flex-wrap: wrap;
	background: #d9e4f8;
	border-radius: 4px 4px 0 0;
	overflow: hidden;
}

.jsf-tab-button {
	border: 0;
	background: transparent;
	color: #0a63aa;
	font-size: 1.1rem;
	font-weight: 700;
	padding: 18px 38px;
	cursor: pointer;
	border-top: 4px solid transparent;
}

.jsf-tab-button.is-active {
	background: #fff;
	border-top-color: var(--jsf-blue);
}

.jsf-panel-wrap {
	border-top: 0;
}

.jsf-panel {
	display: none;
	padding-top: 24px;
}

.jsf-panel.is-active {
	display: block;
}

.jsf-notice {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 6px;
	font-weight: 600;
}

.jsf-notice-success {
	background: #e9f8ee;
	color: #1f6c37;
	border: 1px solid #bfe7cb;
}

.jsf-notice-error {
	background: #fff0f0;
	color: #9d2f2f;
	border: 1px solid #efc4c4;
}

.jsf-option-block {
	background: #fff;
	border: 1px solid var(--jsf-border);
	border-radius: 10px;
	padding: 28px;
	box-shadow: 0 14px 32px rgba(17, 55, 97, 0.06);
	margin-bottom: 28px;
}

.jsf-option-block-secondary {
	background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.jsf-option-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 26px;
	font-size: 1.65rem;
	color: #0a63aa;
}

.jsf-option-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--jsf-blue);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
}

.jsf-form {
	margin: 0;
}

.jsf-grid {
	display: grid;
	grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
	gap: 22px 28px;
	align-items: start;
}

.jsf-label {
	font-size: 1rem;
	font-weight: 600;
	padding-top: 13px;
}

.jsf-label-top {
	padding-top: 0;
}

.jsf-label span {
	color: #d13030;
}

.jsf-field-wrap input[type="text"],
.jsf-field-wrap input[type="email"],
.jsf-field-wrap input[type="date"],
.jsf-field-wrap input[type="file"],
.jsf-field-wrap select,
.jsf-field-wrap textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #c8d4e2;
	border-radius: 4px;
	font-size: 1rem;
	background: #fff;
	box-sizing: border-box;
}

.jsf-field-wrap input[type="file"] {
	padding: 10px 12px;
}

.jsf-field-wrap textarea {
	min-height: 220px;
	resize: vertical;
}

.jsf-help {
	margin: 10px 0 0;
	color: var(--jsf-muted);
	font-size: 0.96rem;
}

.jsf-inline-options {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	padding-top: 10px;
}

.jsf-inline-options label,
.jsf-checkbox-block {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 1rem;
	line-height: 1.7;
}

.jsf-checkbox-block input {
	margin-top: 5px;
}

.jsf-captcha-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.jsf-captcha-input {
	max-width: 320px;
}

.jsf-captcha-code {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	height: 48px;
	padding: 0 16px;
	background: #eef1f6;
	color: #1d32e2;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.35rem;
	transform: skew(-8deg);
}

.jsf-refresh-captcha {
	border: 0;
	background: transparent;
	color: var(--jsf-blue);
	font-weight: 700;
	cursor: pointer;
	padding: 0;
}

.jsf-submit-button {
	margin-top: 28px;
	border: 0;
	border-radius: 5px;
	background: linear-gradient(180deg, #0f8bd6 0%, #0a70b2 100%);
	color: #fff;
	font-size: 1.15rem;
	font-weight: 700;
	padding: 14px 30px;
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(11, 119, 197, 0.2);
}

.jsf-option-block a {
	color: #065fa5;
	font-weight: 700;
	text-decoration: none;
}

.jsf-option-block a:hover {
	text-decoration: underline;
}

.jsf-email-highlight {
	color: #f26b00;
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 0;
}

@media (max-width: 820px) {
	.jsf-shell {
		padding-left: 14px;
		padding-right: 14px;
	}

	.jsf-tab-button {
		flex: 1 1 100%;
		text-align: left;
	}

	.jsf-grid {
		grid-template-columns: 1fr;
		gap: 10px 0;
	}

	.jsf-label {
		padding-top: 0;
	}

	.jsf-option-block {
		padding: 20px 16px;
	}

	.jsf-option-title {
		font-size: 1.35rem;
	}
}
