.__page_content.__docs_detail { margin-top: 30px;}

.__docs_detail_content { display: flex; gap: 40px;position: relative;}
.__docs_detail_content .__page_text p { line-height: 150%; font-size: 18px;}
.__page_text {
	flex: 0 1 auto;
	max-width: 100%;
}
.__page_text table {
	/*word-break: break-all;*/
	display: inline-block;
	overflow-x: scroll;
}
.__page_text h1 {
	font-size: 30px;
  	font-weight: 500;
  	color: #333333;
}
.__block_structure { width: 300px;transition: width 1s linear;display: none;}
.__block_structure.opened {
	display: block;
	flex: 1 0 auto;
}
.__block_structure_text { display: flex; width: 100%; padding-bottom: 20px;flex-direction: column;gap: 20px;position: sticky;top: 0;padding: 30px; border: 1px solid #767676;border-radius: 8px; 
	max-height: 100vh;
	overflow-y: scroll;
}
.__block_structure_text a { color: #0169B4; }

.__doc_action_wrap > a {
  display: inline-block;
  cursor: pointer !important;
  padding: 5px 10px;
  font-size: 16px;
  border: 1px solid #767676;
  color: #333;
  border-radius: 4px;
  white-space: nowrap;
  order: 1;
}

.__doc_action_wrap { display: flex; overflow:hidden; background: #fff; gap: 10px; position:relative; width: 100%; padding: 18px 20px; top: -34px; border-radius: 12px; box-shadow: 0 3px 4px rgb(0 56 95 / 25%);}
.__doc_action_wrap > a.is_active { background: #0169B4; border-color: #0169B4; color: #fff;}
.__doc_action_wrap > a.__icon-search { padding-right: 40px; background-image: url('./images/search_btn.svg'); background-repeat: no-repeat; background-position: 90% 50%;}
.__doc_action_wrap > a.__icon-contents { padding-right: 40px; background-image: url('./images/contents.svg'); background-repeat: no-repeat; background-position: 90% 50%;}
.__doc_action_wrap > a.__icon-download { padding-right: 40px; background-image: url('./images/download.svg'); background-repeat: no-repeat; background-position: 90% 50%;}
.__doc_action_wrap > a.__icon-actual { padding-right: 40px; background-image: url('./images/actual.svg'); background-repeat: no-repeat; background-position: 90% 50%;cursor: default;}
.__doc_action_wrap > a.__icon-contents.is_active {background-color: #0169B4;background-image: url('./images/contents-invert.svg'); background-repeat: no-repeat; background-position: 90% 50%;}
.__doc_action_wrap > a.__icon-like { padding-right: 40px; background-image: url('./images/heart_blue.svg'); background-repeat: no-repeat; background-position: 90% 50%;}
.__doc_action_wrap > a.__icon-like.in-favourite { padding-right: 40px; background-image: url('./images/heart_white.svg'); background-repeat: no-repeat; background-position: 90% 50%;}

.__search-block {
	position: sticky;
	top: 0;
	display: flex;
	gap: 15px;
	padding: 10px;
	background-color: #ffffff;
	box-shadow: 0 3px 4px rgb(0 56 95 / 25%);
	display: none;
	max-width: 100%;
	border-radius: 12px;
	z-index: 9999;
}
.__search-block.is_active {
	display: flex;
}
.__search-block input {
	padding: 10px 15px;
	border: none;
	outline: none;
}
.__search-input-wrap {
	display: flex;
	border: 2px solid #0169B4;
  	border-radius: 5px;
	align-items: center;
	padding-right: 15px;
	overflow: hidden;
}
.__icon_next {
	display: block;
  	width: 24px;
  	height: 24px;
  	background-image: url('./images/chevron-right.svg');
  	background-repeat: no-repeat;
  	background-position: center;
	cursor: pointer;
}
.__icon_prev {
	display: block;
  	width: 24px;
  	height: 24px;
  	background-image: url('./images/chevron-left.svg');
  	background-repeat: no-repeat;
  	background-position: center;
	cursor: pointer;
}
.__search-input-actions {
	display: flex;
	gap: 15px;
	align-items: center;
}
.current {
	background: violet;
}
@media (max-width: 768px) {
	.__page_text h1 {
		font-size: 20px;
	}
	.__page_content.__docs_detail .container{
		padding: 0;
	}
	.__page_content.__docs_detail .__page_text {
		padding: 0 20px;
	}
	.__docs_detail .__action_wrap {
		overflow-x: scroll;
		scrollbar-width: none;
        -ms-overflow-style: none;
		padding: 10px;
	}
	.__docs_detail .__action_wrap::-webkit-scrollbar {
        display: none;
    }
	.__doc_action_wrap > a {
		font-size: 18px !important;
		padding-top: 10px !important;
    	padding-bottom: 10px !important;
	}
	.__doc_action {
		position: sticky;
		top: 0;
		z-index: 999;
		margin-top: -34px;
		display: flex;
		overflow-x: scroll;
		padding-bottom: 10px;
		scrollbar-width: none;
        -ms-overflow-style: none;
	}
	.__doc_action::-webkit-scrollbar {
        display: none;
    }
	.__doc_action_wrap {
		top: 0;
		overflow: visible;
		width: unset;
	}
	.__block_structure {
		position: absolute;
		top: 0;
		width: 100%;
		z-index: 100;
		background-color: #ffffff;
	}
	.__block_structure_text {
		border-radius: 0;
		border: none;
		max-height: none;
	}
	.content_body {
		overflow: hidden;
	}
}
.item-H2 {
	padding-left: 10px;
}
.item-H3 {
	padding-left: 20px;
}

/* Regulation lead magnets: subscription and quick AI actions. */
.cep-reg-engagement {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 24px;
	width: 100%;
	margin: 24px 0 32px;
	font-family: 'Inter', sans-serif;
	color: #111827;
}
.cep-reg-engagement > :only-child {
	grid-column: 1 / -1;
}
.cep-reg-engagement--subscription-only .cep-reg-subscribe-card {
	grid-column: 1 / -1;
}
.cep-reg-overview-card,
.cep-reg-subscribe-card {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	box-sizing: border-box;
	min-width: 0;
	padding: 24px;
	background: #FFFFFF;
	border: 1px solid #CDD3DA;
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.cep-reg-card__eyebrow {
	margin-bottom: 8px;
	color: #0169B4;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.__docs_detail_content .__page_text h2.cep-reg-card__title {
	margin: 0 0 8px;
	color: #111827;
	font-size: 18px !important;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
}
.__docs_detail_content .cep-reg-card__text,
.__docs_detail_content .cep-reg-modal__document,
.__docs_detail_content .cep-reg-card__login,
.__docs_detail_content .cep-reg-card__disclaimer {
	font-size: 14px;
}
.__docs_detail_content .cep-reg-card__text {
	margin: 0 0 16px;
	color: #374151;
	line-height: 1.6;
}
.cep-reg-overview-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.cep-reg-overview-actions .cep-reg-secondary-button {
	scroll-margin-top: 100px;
}
.cep-reg-secondary-button,
.cep-reg-primary-button {
	box-sizing: border-box;
	min-height: 40px;
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.cep-reg-secondary-button {
	padding: 9px 14px;
	border: 1px solid #0169B4;
	background: #FFFFFF;
	color: #0169B4;
}
.cep-reg-secondary-button:hover {
	border-color: #015796;
	background: #EBF4FB;
	color: #015796;
}
.cep-reg-secondary-button.is-active {
	border-color: #0169B4;
	background: #EBF4FB;
	color: #014578;
}
.cep-reg-secondary-button.is-loading {
	border-color: #0169B4;
	background: #0169B4;
	color: #FFFFFF;
}
.cep-reg-secondary-button:disabled {
	cursor: wait;
	opacity: .62;
}
.cep-reg-primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 9px 16px;
	border: 1px solid #0169B4;
	background: #0169B4;
	color: #FFFFFF;
	text-align: center;
	text-decoration: none;
}
.cep-reg-primary-button:hover {
	border-color: #015796;
	background: #015796;
	color: #FFFFFF;
}
.cep-reg-primary-button:active {
	border-color: #014578;
	background: #014578;
}
.cep-reg-primary-button:disabled {
	cursor: wait;
	opacity: .68;
}
.cep-reg-primary-button--link {
	text-decoration: none !important;
}
.cep-reg-secondary-button--link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
}
.cep-reg-secondary-button:focus-visible,
.cep-reg-primary-button:focus-visible,
.cep-reg-card__login a:focus-visible,
.cep-reg-modal__login:focus-visible,
.cep-reg-modal__close:focus-visible {
	outline: 2px solid #0169B4;
	outline-offset: 2px;
}
.__docs_detail_content .cep-reg-card__disclaimer {
	margin: 16px 0 0;
	color: #374151;
	font-size: 12px;
	line-height: 1.5;
}
.__docs_detail_content .cep-reg-card__login {
	margin: 12px 0 0;
	color: #374151;
	line-height: 1.5;
	text-align: center;
}
.cep-reg-card__login a,
.cep-reg-modal__login {
	color: #0169B4;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.cep-reg-overview-status,
.cep-reg-subscribe-status,
.cep-reg-auth-status {
	min-height: 0;
	margin-top: 0;
	font-size: 13px;
	line-height: 1.5;
}
.cep-reg-overview-status:not(:empty),
.cep-reg-subscribe-status:not(:empty),
.cep-reg-auth-status:not(:empty) {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 8px;
}
.cep-reg-overview-status.is-error,
.cep-reg-subscribe-status.is-error,
.cep-reg-auth-status.is-error {
	background: #FFF0F1;
	color: #98121B;
}
.cep-reg-subscribe-status.is-progress,
.cep-reg-auth-status.is-progress {
	background: #EBF4FB;
	color: #014578;
}
.cep-reg-subscribe-status.is-success {
	background: #ECFDF3;
	color: #166534;
}
.cep-reg-engagement--overview-open .cep-reg-subscribe-card {
	align-self: start;
}
.cep-reg-overview-result[hidden] {
	display: none;
}
.cep-reg-overview-result {
	margin-top: 16px;
	scroll-margin-top: 100px;
	padding: 16px;
	border: 1px solid #CDD3DA;
	border-radius: 10px;
	background: #F8FAFC;
}
.cep-reg-overview-result__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}
.__docs_detail_content .__page_text h3.cep-reg-overview-result__title {
	margin: 0;
	color: #111827;
	font-size: 16px !important;
	font-weight: 600;
	line-height: 1.4;
}
.cep-reg-overview-result__close {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: -6px -6px 0 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #374151;
	font-family: inherit;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.cep-reg-overview-result__close:hover {
	background: #EBF4FB;
}
.cep-reg-overview-result__close:focus-visible,
.cep-reg-overview-source:focus-visible {
	outline: 2px solid #0169B4;
	outline-offset: 2px;
}
.__docs_detail_content .cep-reg-overview-result__note {
	margin: 8px 0 0;
	color: #374151;
	font-size: 13px;
	line-height: 1.55;
}
.cep-reg-overview-result__list {
	display: grid;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}
.cep-reg-overview-source {
	display: block;
	width: 100%;
	padding: 12px;
	border: 1px solid #CDD3DA;
	border-radius: 8px;
	background: #FFFFFF;
	color: #111827;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
}
.cep-reg-overview-source:hover {
	border-color: #0169B4;
	background: #EBF4FB;
}
.cep-reg-overview-source__label {
	display: block;
	margin-bottom: 4px;
	color: #0169B4;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}
.cep-reg-overview-source__text {
	display: -webkit-box;
	overflow: hidden;
	color: #374151;
	font-size: 13px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}
.content_body .cep-reg-source-highlight {
	border-radius: 4px;
	background: #FFF4CC !important;
	box-shadow: 0 0 0 4px #FFF4CC;
}
.__docs_detail_content .cep-reg-modal__document {
	max-height: 112px;
	margin: 0 0 16px;
	overflow-y: auto;
	color: #111827;
	font-weight: 500;
	line-height: 1.55;
}
.cep-reg-modal__login {
	display: block;
	margin: 16px auto 0;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}
html.cep-reg-login-open {
	overflow: hidden;
	scrollbar-gutter: stable;
}
body.cep-reg-modal-open #helper__btn__open,
body.cep-reg-modal-open .scrollTop,
body.cep-reg-modal-open #cepHelp,
body.cep-reg-engagement-in-view #cepHelp {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

@media (max-width: 1023px) {
	.cep-reg-engagement {
		grid-template-columns: minmax(0, 1fr);
	}
	body.cep-reg-engagement-in-view #helper__btn__open,
	body.cep-reg-engagement-in-view .scrollTop,
	body.cep-reg-source-focus #helper__btn__open,
	body.cep-reg-source-focus .scrollTop {
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}
}

@media (max-width: 768px) {
	.cep-reg-engagement {
		gap: 16px;
		margin: 16px 0 24px;
	}
	.cep-reg-overview-card,
	.cep-reg-subscribe-card {
		padding: 16px;
	}
	.cep-reg-overview-actions {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin: -2px;
		padding: 2px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.cep-reg-overview-actions::-webkit-scrollbar {
		display: none;
	}
	.cep-reg-overview-actions > button {
		flex: 0 0 auto;
		min-height: 48px;
		padding: 0 16px;
		white-space: nowrap;
		scroll-snap-align: start;
	}
	.cep-reg-primary-button {
		min-height: 48px;
	}
	.cep-reg-modal {
		align-items: end;
		padding: 0;
	}
	.cep-reg-modal__dialog {
		width: 100%;
		max-height: calc(100vh - 16px);
		padding: 28px 20px max(24px, env(safe-area-inset-bottom));
		border-radius: 14px 14px 0 0;
	}
	.cep-reg-overview-result {
		padding: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cep-reg-secondary-button,
	.cep-reg-primary-button {
		transition: none;
	}
}

/* Document login dialog */
.cep-document-login { padding: 16px; box-sizing: border-box; }
.cep-document-login[hidden], .cep-document-login [hidden] { display: none !important; }
.cep-document-login .modal-wrap { box-sizing: border-box; width: 100%; min-width: 0; max-width: 400px; max-height: calc(100dvh - 32px); overflow-y: auto; }
.cep-document-login .modal-body { padding: 0 24px 28px; }
.cep-document-login .modal-close { display: inline-flex; padding: 0; border: 0; background: transparent; }
.__docs_detail_content .cep-document-login .cep-reg-card__title { margin: 0 0 24px; text-align: center; font-size: 22px; line-height: 1.3; font-weight: 600; }
.cep-reg-login-form { display: grid; gap: 16px; }
.cep-reg-login-form label { display: grid; gap: 8px; font-size: 15px; color: #111827; }
.cep-reg-login-form input:not([type="hidden"]) { box-sizing: border-box; width: 100%; min-width: 0; height: 46px; padding: 10px 12px; border: 1px solid #b8c5d1; border-radius: 8px; background: #fff; color: #111827; font: inherit; }
.cep-reg-login-form input:focus-visible, .cep-reg-login-form button:focus-visible { outline: 2px solid #0169b4; outline-offset: 2px; }
.cep-reg-login-password { display: block; position: relative; }
.cep-reg-login-password input:not([type="hidden"]) { padding-right: 46px; }
.cep-reg-login-password button { position: absolute; right: 1px; top: 1px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; border-radius: 8px; color: #64748b; cursor: pointer; }
.cep-reg-login-password button:hover { color: #0169b4; }
.cep-reg-eye-slash { display: none; }
[data-cep-show-password][aria-pressed="true"] .cep-reg-eye-slash { display: block; }
.cep-reg-login-form [data-cep-forgot-link] { justify-self: end; font-size: 14px; line-height: 1.4; }
.cep-reg-login-form > .cep-reg-primary-button { min-height: 46px; border-radius: 8px; font-size: 16px; }
.cep-reg-login-register { margin-top: 22px; text-align: center; color: #64748b; font-size: 14px; line-height: 1.5; }
.cep-reg-login-status { color: #a42121; font-size: 14px; line-height: 1.5; }
.cep-reg-login-status:empty { display: none; }
.cep-reg-login-form [hidden] { display: none !important; }
.cep-reg-login-form [data-cep-captcha] img { display: block; margin-bottom: 10px; }
