.kkt-agreement {
	max-width: 860px;
	margin: 0 auto 48px;
	color: #333;
	font-size: 14px;
	line-height: 1.75;
}

.kkt-agreement a {
	text-decoration: none;
}

.kkt-agreement__lead {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.9;
}

.kkt-agreement__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 18px;
}

.kkt-agreement__steps a {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 8px 10px;
	border: 1px solid #e6e6e6;
	border-radius: 5px;
	background: #fff;
	color: #333;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.kkt-agreement__steps span {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #f80;
	color: #fff;
	font-size: 12px;
	line-height: 1;
}

.kkt-agreement__document,
.kkt-agreement__form,
.kkt-agreement--completed {
	margin-top: 18px;
	padding: 18px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background: #fff;
}

.kkt-agreement__section-head,
.kkt-agreement__form-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e8e8e8;
}

.kkt-agreement__section-title,
.kkt-agreement__form-title {
	margin: 0 0 4px;
	padding: 0;
	border: 0;
	background: none;
	color: #333;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
}

.kkt-agreement__form-title {
	margin-top: 24px;
	margin-bottom: 8px;
	padding-left: 10px;
	border-left: 4px solid #f80;
}

.kkt-agreement__section-note,
.kkt-agreement__form-head p {
	margin: 0;
	color: #666;
	font-size: 13px;
	line-height: 1.65;
}

.kkt-agreement__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 8px 14px;
	border: 1px solid transparent;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.kkt-agreement__button--primary,
.kkt-agreement__button--submit {
	background: #f80;
	color: #fff;
}

.kkt-agreement__button--secondary {
	border-color: #f80;
	background: #fff;
	color: #f80;
}

.kkt-agreement__button--submit {
	width: 100%;
	min-height: 42px;
	font-size: 14px;
}

.kkt-agreement__button--submit:disabled {
	cursor: not-allowed;
	opacity: .45;
}

.kkt-agreement__body {
	max-width: none;
	max-height: 520px;
	overflow-y: auto;
	padding: 0;
	padding-right: 12px;
	scrollbar-color: #f80 #f8f1e8;
	scrollbar-width: thin;
}

.kkt-agreement__body::-webkit-scrollbar {
	width: 10px;
}

.kkt-agreement__body::-webkit-scrollbar-track {
	background: #f8f1e8;
	border-radius: 10px;
}

.kkt-agreement__body::-webkit-scrollbar-thumb {
	background: #f80;
	border-radius: 10px;
}

.kkt-agreement .kkt-agreement__body h2,
.kkt-agreement .kkt-agreement__body h3,
.kkt-agreement .kkt-agreement__form h2,
.kkt-agreement .kkt-agreement__document h2 {
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	background: none;
	color: #333;
	font-weight: 700;
	letter-spacing: 0;
}

.kkt-agreement .kkt-agreement__body h2 {
	font-size: 16px;
	line-height: 1.55;
}

.kkt-agreement .kkt-agreement__body h3 {
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid #eee;
	font-size: 14px;
	line-height: 1.55;
}

.kkt-agreement .kkt-agreement__body h3::before,
.kkt-agreement .kkt-agreement__body h3::after,
.kkt-agreement .kkt-agreement__body h2::before,
.kkt-agreement .kkt-agreement__body h2::after {
	display: none;
	content: none;
}

.kkt-agreement__body p,
.kkt-agreement__body li {
	font-size: 13px;
	line-height: 1.85;
}

.kkt-agreement__body p {
	margin: 0 0 10px;
}

.kkt-agreement__body ol,
.kkt-agreement__body ul {
	margin: 0 0 14px 1.5em;
	padding: 0;
}

.kkt-agreement__body ol {
	list-style: decimal;
}

.kkt-agreement .kkt-agreement__body ol > li,
.kkt-agreement .kkt-agreement__body ul > li {
	margin: 0 0 6px;
	padding-left: 0;
}

.kkt-agreement .kkt-agreement__body ol > li::before,
.kkt-agreement .kkt-agreement__body ul > li::before {
	display: none;
	content: none;
}

.kkt-agreement__form {
	scroll-margin-top: 20px;
	background: #fff;
}

.kkt-agreement__checks {
	display: grid;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.kkt-agreement__checks li {
	margin: 0;
}

.kkt-agreement__checks label {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 9px;
	align-items: start;
	padding: 10px 12px;
	border: 1px solid #eadfce;
	border-radius: 5px;
	background: #fbf5ec;
	font-size: 13px;
	line-height: 1.7;
	cursor: pointer;
}

.kkt-agreement__checks input {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	accent-color: #f80;
}

.kkt-agreement__checks label:has(input:checked) {
	border-color: #f80;
	background: #fff0dc;
}

.kkt-agreement--completed dl {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 10px 14px;
}

.kkt-agreement--completed dt {
	font-weight: 700;
	color: #555;
}

.kkt-agreement--completed dd {
	margin: 0;
	word-break: break-all;
}

@media screen and (max-width: 767px) {
	.kkt-agreement {
		margin-bottom: 40px;
		font-size: 13px;
	}

	.kkt-agreement__lead {
		font-size: 14px;
	}

	.kkt-agreement__steps {
		grid-template-columns: 1fr;
	}

	.kkt-agreement__document,
	.kkt-agreement__form,
	.kkt-agreement--completed {
		padding: 14px;
	}

	.kkt-agreement__section-head,
	.kkt-agreement__form-head {
		display: grid;
		grid-template-columns: 1fr;
	}

	.kkt-agreement__button {
		width: 100%;
	}

	.kkt-agreement__body {
		max-height: 460px;
	}

	.kkt-agreement--completed dl {
		grid-template-columns: 1fr;
	}
}
