.forecastsNotice,
.cmaNotice {
	overflow: hidden;
}

.forecastsNotice .headerLine,
.cmaNotice .headerLine {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 22px;
	border-bottom: 1px solid rgba(255,255,255,.06);
}

.forecastsRecommendationRemember,
.cmaRecommendationRemember {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	cursor: pointer;
	user-select: none;
}

.forecastsRecommendationRemember input,
.cmaRecommendationRemember input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.forecastsShowRecommendation .slider,
.forecastsRecommendationRemember .slider,
.cmaShowRecommendation .slider,
.cmaRecommendationRemember .slider {
	position: relative;
	top: 3px;
	display: inline-block;
	width: 36px;
	height: 18px;
	margin-right: 5px;
	flex: 0 0 36px;
	border-radius: 12px;
	background: rgba(30,30,30,.25);
	transition: background .2s ease, transform .15s ease;
}

.dark-theme .forecastsShowRecommendation .slider,
.dark-theme .forecastsRecommendationRemember .slider,
.dark-theme .cmaShowRecommendation .slider,
.dark-theme .cmaRecommendationRemember .slider {
	background: rgba(255,255,255,.18);
}

.forecastsShowRecommendation .slider::after,
.forecastsRecommendationRemember .slider::after,
.cmaShowRecommendation .slider::after,
.cmaRecommendationRemember .slider::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: rgba(255,255,255,.65);
	transition: left .2s ease, background .2s ease, transform .15s ease;
}

.dark-theme .forecastsShowRecommendation .slider.actived::after,
.dark-theme .forecastsRecommendationRemember .slider.actived::after,
.dark-theme .cmaShowRecommendation .slider.actived::after,
.dark-theme .cmaRecommendationRemember .slider.actived::after {
	left: 20px;
	background: #fff;
	color: #fff;
}

.forecastsRecommendationRemember.justChanged .slider,
.cmaRecommendationRemember.justChanged .slider {
	transform: scale(.92);
}

.forecastsRecommendationRemember.justChanged .slider::after,
.cmaRecommendationRemember.justChanged .slider::after {
	transform: scale(.86);
}

.forecastsRecommendationRemember:active .slider,
.cmaRecommendationRemember:active .slider {
	transform: scale(.94);
}

.forecastsRecommendationRemember:active .slider::after,
.cmaRecommendationRemember:active .slider::after {
	transform: scale(.88);
}

.forecastsRecommendationRemember .label,
.cmaRecommendationRemember .label,
button.forecastsShowRecommendation span,
button.cmaShowRecommendation span {
	font-size: 14px;
	line-height: 20px;
	opacity: .7;
}

.forecastsRecommendationRemember input:checked ~ .label,
.cmaRecommendationRemember input:checked ~ .label {
	opacity: 1;
}

.forecastsShowRecommendation .slider.actived,
.forecastsRecommendationRemember .slider.actived,
.cmaShowRecommendation .slider.actived,
.cmaRecommendationRemember .slider.actived,
.calc-ui .forecastsRecommendationActions button.nav:hover,
.dark-theme .calc-ui .forecastsRecommendationActions button.nav:hover,
.calc-ui .cmaRecommendationActions button.nav:hover,
.dark-theme .calc-ui .cmaRecommendationActions button.nav:hover,
.cmaRecommendationActions button:hover {
	background: #66aa40 !important;
}

.dark-theme .calc-ui .forecastsRecommendationActions button.nav,
.dark-theme .calc-ui .cmaRecommendationActions button.nav{
	background: linear-gradient(
		to bottom,
		rgba(252,252,252,1) 0%,
		rgba(244,244,244,1) 48%,
		rgba(237,237,237,1) 100%
	) !important;
}

.dark-theme div.forecastsNotice div.headerLine .forecastsRecommendationRemember .label,
.dark-theme div.cmaNotice div.headerLine .cmaRecommendationRemember .label {
	color: #cdcdcd;
}

.dark-theme div.forecastsNotice div.headerLine .forecastsRecommendationRemember .label:hover,
.dark-theme div.cmaNotice div.headerLine .cmaRecommendationRemember .label:hover,
.dark-theme .calc-ui .forecastsRecommendationActions button.nav:hover,
.dark-theme .calc-ui .cmaRecommendationActions button.nav:hover,
.dark-theme .calc-ui .cmaRecommendationActions button:hover {
	color: #fff;
}

.forecastsNotice .headerLine h2,
.cmaNotice .headerLine h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

/* ===== Recommendation body ===== */

.forecastsRecommendationBody,
.cmaRecommendationBody {
	display: grid;
	gap: 34px;
	min-height: 300px;
	height: 300px;
	padding: 18px 0 12px 18px;
	box-sizing: border-box;
	overflow: visible;
}

/* Forecasts has guide at the right */
.forecastsRecommendationBody {
	grid-template-columns: minmax(0,1.55fr) minmax(280px,.85fr);
}

/* CMA currently has no image guide */
.cmaRecommendationBody {
	grid-template-columns: 1fr;
	padding-right: 18px;
}

.forecastsRecommendationContent,
.cmaRecommendationContent {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.forecastsRecommendationStep,
.cmaRecommendationStep {
	flex: 1;
	max-height: 220px;
}

.forecastsRecommendationStep p,
.cmaRecommendationStep p {
	margin: 0;
	padding: 0;
	line-height: 1.6;
}

.forecastsRecommendationStep .noticeList,
.cmaRecommendationStep .noticeList {
	margin: 5px 0 0;
	padding-left: 20px;
}

.forecastsRecommendationStep .noticeList li,
.cmaRecommendationStep .noticeList li {
	margin: 0 0 5px;
	line-height: 1.3;
}

.dark-theme .forecastsRecommendationStep p,
.dark-theme .forecastsRecommendationStep .noticeList li,
.dark-theme .cmaRecommendationStep p,
.dark-theme .cmaRecommendationStep .noticeList li {
	color: #fcfcfc;
}

.dark-theme .forecastsRecommendationStep p,
.dark-theme .cmaRecommendationStep p {
	margin-bottom: 10px;
}

.dark-theme .forecastsRecommendationStep .noticeList li,
.dark-theme .cmaRecommendationStep .noticeList li {
	margin-bottom: 8px;
}

.dark-theme .forecastsRecommendationStep p a,
.dark-theme .cmaRecommendationStep p a {
	color: #fcfcfc;
	text-decoration: none;
	border-bottom: 1px dotted #fcfcfc;
}

.dark-theme .forecastsRecommendationStep p a:hover,
.dark-theme .cmaRecommendationStep p a:hover {
	color: #609931;
	border-bottom-color: #609931;
}

/* ===== Actions ===== */

.forecastsRecommendationActions,
.cmaRecommendationActions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 25px;
}

.forecastsRecommendationActions button,
.cmaRecommendationActions button {
	min-width: 92px;
}

/* ===== Forecast guide ===== */

.forecastsPeriodGuide {
	position: relative;
	right: 10px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
	vertical-align: top;
}

.chartsGuideSlider,
.forecastsPeriodSlider {
	position: relative;
	right: 10px;
	width: 350px;
	height: 228px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 8px;
	background: rgba(0,0,0,.12);
}

.forecastsPeriodSlide {
	position: relative;
	width: 100%;
	height: 100%;
	background: #111;
}

.chartsGuideSlide img,
.forecastsPeriodSlide img {
	display: block;
	width: 100%;
	height: auto;
}

.forecastsPeriodSlide span {
	display: block;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 18px;
	text-align: center;
}

.forecastsPeriodArrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: none;
	width: 34px;
	height: 46px;
	margin-top: -23px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: rgba(20,20,20,.72);
	font-size: 28px;
	line-height: 46px;
	text-align: center;
	cursor: pointer;
}

.forecastsPeriodArrow.prev {
	left: 8px;
}

.forecastsPeriodArrow.next {
	right: 8px;
}

.chartsGuideDots,
.forecastsPeriodDots {
	position: relative;
	top: -35px;
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 12px;
}

.chartsGuideDots button,
.forecastsPeriodDots button {
	width: 8px;
	height: 8px;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.3);
	cursor: pointer;
}

.chartsGuideDots button.active,
.forecastsPeriodDots button.active {
	background: #fff;
	transform: scale(1.15);
}

button#chartsGuidePrev,
button#chartsGuideNext {
	display: none;
}

/* ===== Show recommendation ===== */

button.forecastsShowRecommendation,
button.forecastsShowRecommendation span,
button.cmaShowRecommendation,
button.cmaShowRecommendation span {
	background: none;
	color: #333;
	font-weight: 300;
}

.dark-theme button.forecastsShowRecommendation,
.dark-theme button.forecastsShowRecommendation span,
.dark-theme button.cmaShowRecommendation,
.dark-theme button.cmaShowRecommendation span {
	color: #cdcdcd;
}

button.forecastsShowRecommendation span,
button.cmaShowRecommendation span {
	position: relative;
	top: -2px;
}

button.forecastsShowRecommendation:hover,
button.forecastsShowRecommendation:hover span.label,
button.cmaShowRecommendation:hover,
button.cmaShowRecommendation:hover span.label {
	color: #666;
}

.dark-theme button.forecastsShowRecommendation:hover,
.dark-theme button.forecastsShowRecommendation:hover span.label,
.dark-theme button.cmaShowRecommendation:hover,
.dark-theme button.cmaShowRecommendation:hover span.label {
	background: none;
	color: #fcfcfc;
	font-weight: 300;
}

/* ===== Recommendation container ===== */

div.forecastsNotice,
div.chartsNotice,
div.cmaNotice {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fcfcfc;
    border-radius: 8px;
    box-shadow: 0 1px 2px #cdcdcd;	
}
.dark-theme div.forecastsNotice,
.dark-theme div.chartsNotice,
.dark-theme div.cmaNotice {
    box-shadow: 0 1px 2px #444;
}
.dark-theme div.forecastsNotice,
.dark-theme div.chartsNotice,
.dark-theme div.cmaNotice {
	background: rgba(0, 0, 0, 0.45);
	border-color: rgba(0,0,0,.25);
}

div.forecastsNotice *,
div.chartsNotice *,
div.cmaNotice * {
	vertical-align: top;
}

div.forecastsNotice div.headerLine,
div.chartsNotice div.headerLine,
div.cmaNotice div.headerLine {
	width: calc(100% - 30px);
	height: 24px;
	padding: 10px 15px;
	background: #f6f6f6;
	border-radius: 8px 8px 0 0;
}

.dark-theme div.forecastsNotice div.headerLine,
.dark-theme div.chartsNotice div.headerLine,
.dark-theme div.cmaNotice div.headerLine {
	background: rgb(55 55 55 / 85%);
	color: var(--ppi-dark-text);
}

div.forecastsNotice div.headerLine h2,
div.chartsNotice div.headerLine h2,
div.cmaNotice div.headerLine h2 {
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: normal;
	color: #333;
}

.dark-theme div.forecastsNotice div.headerLine *,
.dark-theme div.chartsNotice div.headerLine *,
.dark-theme div.cmaNotice div.headerLine * {
	color: #fff;
}

/* ===== Responsive ===== */

@media (max-width:850px) {

	.forecastsRecommendationBody,
	.cmaRecommendationBody {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 300px;
	}

	.forecastsRecommendationStep,
	.cmaRecommendationStep {
		max-height: none;
	}

	.forecastsPeriodGuide {
		max-width: 480px;
		width: 100%;
		margin: 0 auto;
	}

}

button.forecastsShowRecommendation,
button.forecastsShowRecommendation span {
    background: none;
    color: #333;
    font-weight: 300;
}
.dark-theme button.forecastsShowRecommendation,
.dark-theme button.forecastsShowRecommendation span {
    color: #cdcdcd;
}
button.forecastsShowRecommendation span {
    position: relative;
    top: -2px;
}
button.forecastsShowRecommendation:hover,
button.forecastsShowRecommendation:hover span.label {
    color: #666;
}
.dark-theme button.forecastsShowRecommendation:hover,
.dark-theme button.forecastsShowRecommendation:hover span.label {
    background: none;
    color: #fcfcfc;
    font-weight: 300;
}

/* ==========================================================
   CHARTS — RECOMMENDATION
   ========================================================== */

.chartsNotice {
	overflow: hidden;
}

.chartsNotice .headerLine {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 22px;
	border-bottom: 1px solid rgba(255,255,255,.06);
}

.chartsRecommendationRemember {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	cursor: pointer;
	user-select: none;
}

.chartsRecommendationRemember input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.chartsShowRecommendation .slider,
.chartsRecommendationRemember .slider {
	position: relative;
	top: 3px;
	display: inline-block;
	width: 36px;
	height: 18px;
	margin-right: 5px;
	flex: 0 0 36px;
	border-radius: 12px;
	background: rgba(30,30,30,.25);
	transition: background .2s ease, transform .15s ease;
}

.dark-theme .chartsShowRecommendation .slider,
.dark-theme .chartsRecommendationRemember .slider {
	background: rgba(255,255,255,.18);
}

.chartsShowRecommendation .slider::after,
.chartsRecommendationRemember .slider::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: rgba(255,255,255,.65);
	transition: left .2s ease, background .2s ease, transform .15s ease;
}

.dark-theme .chartsShowRecommendation .slider.actived::after,
.dark-theme .chartsRecommendationRemember .slider.actived::after {
	left: 20px;
	background: #fff;
}

.chartsRecommendationRemember.justChanged .slider {
	transform: scale(.92);
}

.chartsRecommendationRemember.justChanged .slider::after {
	transform: scale(.86);
}

.chartsRecommendationRemember:active .slider {
	transform: scale(.94);
}

.chartsRecommendationRemember:active .slider::after {
	transform: scale(.88);
}

.chartsRecommendationRemember .label,
button.chartsShowRecommendation span {
	font-size: 14px;
	line-height: 20px;
	opacity: .7;
}

.chartsRecommendationRemember input:checked ~ .label {
	opacity: 1;
}

.chartsShowRecommendation .slider.actived,
.chartsRecommendationRemember .slider.actived,
.calc-ui .chartsRecommendationActions button.nav:hover,
.dark-theme .calc-ui .chartsRecommendationActions button.nav:hover {
	background: #66aa40 !important;
}

.dark-theme .calc-ui .chartsRecommendationActions button.nav {
	background: linear-gradient(to bottom, rgba(252,252,252,1) 0%,rgba(244,244,244,1) 48%,rgba(237,237,237,1) 100%) !important;
}

.dark-theme div.chartsNotice div.headerLine .chartsRecommendationRemember .label {
	color: #cdcdcd;
}

.dark-theme div.chartsNotice div.headerLine .chartsRecommendationRemember .label:hover,
.dark-theme .calc-ui .chartsRecommendationActions button.nav:hover {
	color: #fff;
}

.chartsNotice .headerLine h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.chartsRecommendationBody {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr);
	gap: 34px;
	min-height: 300px;
	height: 300px;
	padding: 18px 0 12px 18px;
	box-sizing: border-box;
	overflow: visible;
}

.chartsRecommendationContent {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.chartsRecommendationStep {
	flex: 1;
	max-height: 220px;
}

.chartsRecommendationStep p {
	margin: 0;
	padding: 0;
	line-height: 1.6;
}

.chartsRecommendationStep .noticeList {
	margin: 5px 0 0;
	padding-left: 20px;
}

.chartsRecommendationStep .noticeList li {
	margin: 0 0 8px;
	line-height: 1.3;
}

.dark-theme .chartsRecommendationStep p,
.dark-theme .chartsRecommendationStep .noticeList li {
	color: #fcfcfc;
}

.chartsRecommendationActions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 18px;
}

.chartsRecommendationActions button {
	min-width: 92px;
}

.chartsGuide {
	position: relative;
	right: 10px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
	vertical-align: top;
}

.chartsGuideSlider {
	position: relative;
	right: 10px;
	width: 350px;
	height: 228px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 8px;
	background: #111;
}

.chartsGuideSlide {
	position: relative;
}

.chartsGuideSlide img {
	display: block;
	width: 100%;
	height: auto;
}

.chartsGuideSlide span {
	display: block;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 18px;
	text-align: center;
}

.chartsGuideArrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: none;
	width: 34px;
	height: 46px;
	margin-top: -23px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: rgba(20,20,20,.72);
	font-size: 28px;
	line-height: 46px;
	text-align: center;
	cursor: pointer;
}

.chartsGuideArrow.prev {
	left: 8px;
}

.chartsGuideArrow.next {
	right: 8px;
}

.chartsGuideDots {
	position: relative;
	top: -35px;
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 12px;
}

button.chartsShowRecommendation,
button.chartsShowRecommendation span {
	background: none;
	color: #333;
	font-weight: 300;
}

.dark-theme button.chartsShowRecommendation,
.dark-theme button.chartsShowRecommendation span {
	color: #cdcdcd;
}

button.chartsShowRecommendation span {
	position: relative;
	top: -2px;
}

button.chartsShowRecommendation:hover,
button.chartsShowRecommendation:hover span.label {
	color: #666;
}

.dark-theme button.chartsShowRecommendation:hover,
.dark-theme button.chartsShowRecommendation:hover span.label {
	background: none;
	color: #fcfcfc;
	font-weight: 300;
}

@media (max-width: 850px) {

	.chartsRecommendationBody {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 300px;
	}

	.chartsRecommendationStep {
		max-height: none;
	}

	.chartsGuide {
		max-width: 480px;
		width: 100%;
		margin: 0 auto;
	}
}

/* Плавные рекомендации (проявление текста) */

.forecastsRecommendationStep .forecastWord {
	display: inline-block;
	opacity: 0;
	transform: translateY(5px);
	filter: blur(1.5px);
	transition:
		opacity .28s ease,
		transform .28s ease,
		filter .28s ease;
	transition-delay: var(--forecast-delay, 0ms);
}

.forecastsRecommendationStep.forecastSpeaking .forecastWord {
	opacity: 1;
	transform: translateY(0);
	filter: blur(0);
}

.dark-theme .forecastsRecommendationStep.forecastSpeaking .forecastWord {
  color: #fcfcfc;
}

.forecastsRecommendationStep li {
	opacity: 0;
	transition: opacity .22s ease;
	transition-delay: var(--forecast-block-delay, 0ms);
}

.forecastsRecommendationStep.forecastSpeaking li {
	opacity: 1;
}

/* ==========================================================
   CMA — MULTI SELECT FILTERS
   ========================================================== */

#cmaAreaPanel,
#cmaBuildingPanel {
	max-height: 430px;
}

#cmaAreaPanel .cmaMultiOptions,
#cmaBuildingPanel .cmaMultiOptions {
	max-height: 190px;
	overflow-y: auto;
}

#cmaAreaPanel h4,
#cmaBuildingPanel h4 {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#cmaAreaPanel h4 .counter,
#cmaBuildingPanel h4 .counter {
	font-style: normal;
}

html .dark-theme #cmaAreaPanel h4,
html .dark-theme #cmaBuildingPanel h4 {
  color: var(--ppi-dark-text) !important;
}

input#cmaAreaSearch,
input#cmaBuildingSearch {
	background-color: var(--stock-chart-track) !important;
	background-image: url(../img/svg/gray-search.svg) !important;
	background-size: 28px 28px !important;
	background-position: 99.5% 4px !important;
	background-repeat: no-repeat !important;
	color: var(--stock-chart-text-secondary);
	border-color: #fcfcfc !important;
	margin-bottom: 5px;
	height: 36px;
	border-radius: 6px;
}

input#cmaAreaSearch:focus,
input#cmaBuildingSearch:focus,
.dark-theme input#cmaAreaSearch:focus-visible,
.dark-theme input#cmaBuildingSearch:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

.dark-theme input#cmaAreaSearch,
.dark-theme input#cmaBuildingSearch {
	background-color: #1f1f1f !important;
	color: #e8e8e8 !important;
	border-color: #666 !important;
}

#cmaAreaPanel .stockFilterOptions button.active,
#cmaAreaPanel .stockFilterOptions button.selectedArea,
#cmaBuildingPanel .stockFilterOptions button.active,
#cmaBuildingPanel .stockFilterOptions button.selectedArea {
	background: var(--ppi-green);
	border: 1px solid var(--ppi-green);
	color: var(--stock-chart-background);
}

#cmaBuildingPanel .stockFilterOptions button.active em,
#cmaBuildingPanel .stockFilterOptions button.selectedArea em {
	color: #fff;
}

.dark-theme #cmaAreaPanel .stockFilterOptions button.active,
.dark-theme #cmaAreaPanel .stockFilterOptions button.selectedArea,
.dark-theme #cmaBuildingPanel .stockFilterOptions button.active,
.dark-theme #cmaBuildingPanel .stockFilterOptions button.selectedArea {
	background: var(--ppi-green);
	border: 1px solid var(--ppi-green);
	color: var(--stock-chart-text-primary);
}

#cmaAreaPanel .stockFilterOptions button.disabled,
#cmaBuildingPanel .stockFilterOptions button.disabled,
#cmaAreaPanel .stockFilterOptions button:disabled,
#cmaBuildingPanel .stockFilterOptions button:disabled {
	opacity: .45;
	cursor: default;
	pointer-events: none;
}

#cmaAreaPanel .stockFilterOptions button,
#cmaBuildingPanel .stockFilterOptions button {
	flex-shrink: 0;
}

#cmaBuildingPanel .stockFilterOptions button {
	height: fit-content !important;
  text-transform: capitalize;
}

#cmaBuildingPanel .stockFilterOptions button em {
	display: block;
	width: 100%;
	padding-top: 4px;
	font-size: 12px;
	font-weight: 300;
	font-style: normal;
	color: #777;
}