/**
 * Стили виджетов калькуляторов модуля nehvorat.calculators.
 *
 * Файл устанавливается в /local/css/nehvorat.calculators/calculators.css и
 * подключается компонентами модуля. Содержит только виджеты расчёта: форму,
 * поля, кнопку, уведомление, результат, дисклеймеры, календарь овуляции и
 * карточку воды. Стили списков, карточек разделов и навигации остаются в
 * шаблоне сайта.
 *
 * Файл сгенерирован из style.css шаблона; правки вносите здесь.
 */
.calc-tag{
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 126px;
    background: var(--calc-200);
    color: var(--calc-900);
    font-size: 13px;
}
.calc-widget{
    margin: 0 0 12px;
    padding: 24px 20px;
    border-radius: var(--calc-radius);
    background: var(--calc-50);
    border: 1px solid var(--calc-200);
}
.calc-widget__placeholder{
    padding: 24px 0;
    color: var(--calc-600);
    font-size: 15px;
    text-align: center;
}
.calc-form__row{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.calc-field{
    display: block;
    margin: 0;
}
.calc-field__label{
    display: block;
    margin-bottom: 6px;
    color: var(--calc-900);
    font-size: 14px;
    font-weight: 600;
}
.calc-field__input{
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--calc-300);
    border-radius: 10px;
    background: #FFFFFF;
    color: var(--calc-900);
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.calc-field__input:focus{
    border-color: var(--calc-600);
    box-shadow: 0 0 0 3px var(--calc-200);
    outline: none;
}
.calc-field--checkbox{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--calc-300);
    border-radius: 10px;
    background: #FFFFFF;
    cursor: pointer;
}
.calc-field--checkbox .calc-field__check{
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--calc-700);
}
.calc-field--checkbox .calc-field__label{
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.35;
}
.ios-calc-form{
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}
.ios-form-group{
    display: flex;
    flex-direction: column;
    margin: 0;
}
.ios-form-label{
    display: block;
    margin-bottom: 8px;
    color: var(--calc-900);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}
.ios-form-split-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ios-input-wrapper{
    position: relative;
    display: block;
}
.ios-input-wrapper .calc-field__input{
    padding-right: 52px;
}
.ios-input-wrapper::after{
    content: attr(data-suffix);
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #5F6B67;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
}
.ios-input-wrapper--wide .calc-field__input{
    padding-right: 104px;
}
.ios-segmented{
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: #F4F7F6;
}
.ios-segment{
    flex: 1 1 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #3E4643;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.ios-segment:hover{
    color: var(--calc-700);
}
.ios-segment.is-active{
    background: #FFFFFF;
    color: var(--calc-700);
    box-shadow: 0 2px 8px rgba(48, 145, 89, 0.12);
}
.ios-field-hint{
    display: block;
    margin-top: 6px;
    color: #5F6B67;
    font-size: 12px;
    line-height: 1.35;
}
.ios-checkbox-card{
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--calc-300);
    border-radius: 12px;
    background: #FFFFFF;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ios-checkbox-card:hover{
    border-color: var(--calc-600);
}
.ios-real-checkbox{
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}
.ios-checkbox-custom{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 2px solid var(--calc-300);
    border-radius: 7px;
    background: #FFFFFF;
    color: #FFFFFF;
    transition: background-color .15s ease, border-color .15s ease;
}
.ios-checkbox-custom svg{
    opacity: 0;
    transition: opacity .15s ease;
}
.ios-real-checkbox:checked + .ios-checkbox-custom{
    background: var(--calc-700);
    border-color: var(--calc-700);
}
.ios-real-checkbox:checked + .ios-checkbox-custom svg{
    opacity: 1;
}
.ios-real-checkbox:focus-visible + .ios-checkbox-custom{
    box-shadow: 0 0 0 3px var(--calc-200);
}
.ios-checkbox-label-block{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.checkbox-title{
    color: var(--calc-900);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}
.checkbox-sub{
    color: #5F6B67;
    font-size: 12px;
    line-height: 1.3;
}
.ios-btn-calc{
    display: inline-block;
    width: 100%;
    margin-top: 8px;
    padding: 14px 28px;
    border: 0;
    border-radius: 12px;
    background: var(--calc-700);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.ios-btn-calc:hover{
    background: var(--calc-600);
}
.ios-btn-calc:disabled{
    opacity: .6;
    cursor: default;
}
@media (max-width: 480px){.ios-form-split-row{
        grid-template-columns: 1fr;
    }}
.calc-form__actions{
    margin-top: 18px;
}
.calc-button{
    display: inline-block;
    padding: 14px 28px;
    border: 0;
    border-radius: 10px;
    background: var(--calc-700);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.calc-button:hover,
.calc-button:focus-visible{
    background: var(--calc-900);
    transform: translateY(-1px);
}
.calc-notice{
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #F3D9AE;
    background: #FDF3E2;
    color: #8A5B12;
    font-size: 14px;
}
.calc-form__note{
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--calc-200);
    background: #F5F7F6;
    color: #5F6B67;
    font-size: 13px;
    line-height: 1.5;
}
.calc-result{
    margin-top: 20px;
    padding: 20px;
    border-radius: var(--calc-radius);
    border: 1px solid var(--calc-300);
    background: #FFFFFF;
}
.calc-result__row{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}
.calc-result__row + .calc-result__row{
    border-top: 1px solid var(--calc-200);
}
.calc-result__row--main{
    padding-top: 0;
}
.calc-result__label{
    color: var(--calc-900);
    font-size: 15px;
}
.calc-result__value{
    color: var(--calc-700);
    font-size: 17px;
    font-weight: 700;
    text-align: right;
}
.calc-result__row--main .calc-result__value{
    font-size: 24px;
}
.calc-result__row--note{
    display: block;
    padding-top: 12px;
    color: #5F6B67;
    font-size: 12px;
    line-height: 1.5;
}
.calc-result__row--note .calc-result__label,
.calc-result__row--note .calc-result__value{
    display: block;
    color: #5F6B67;
    font-size: 12px;
    font-weight: 400;
    text-align: left;
}
.calc-result__footnote{
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--calc-200);
    color: #5F6B67;
    font-size: 12px;
    line-height: 1.5;
}
.calc-disclaimer{
    margin: 0 0 30px;
    padding-left: 14px;
    border-left: 3px solid var(--calc-400);
    color: #5F6B67;
    font-size: 13px;
    line-height: 1.5;
}
.calc-ovulation-calendar{
	margin-top: 24px;
	padding: 20px 18px;
	background: #FFFFFF;
	border: 1px solid rgba(48, 145, 89, .05);
	border-radius: 20px;
	box-shadow: 0 8px 24px rgba(48, 145, 89, .03);
}
.calc-ovulation-calendar__title{
	margin-bottom: 16px;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #1A201E;
}
.calc-ovulation-calendar__months{
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.calc-ovulation-month{
	flex: 1 1 260px;
	max-width: 360px;
}
.calc-ovulation-month__name{
	margin-bottom: 10px;
	text-align: center;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #236E43;
}
.calc-ovulation-month__table{
	width: 100%;
	border-collapse: separate;
	border-spacing: 4px;
}
.calc-ovulation-month__table th{
	padding-bottom: 4px;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: #5F6B67;
}
.calc-ovulation-month__table td{
	padding: 0;
	text-align: center;
}
.calc-ovulation-day{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0 auto;
	border-radius: 10px;
	background: #F4F7F6;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #2E3236;
	transition: all 0.2s ease;
}
.calc-ovulation-day--empty{
	background: transparent;
}
.calc-ovulation-day--period{
	background: #F7D9E3;
	color: #9B3B5E;
}
.calc-ovulation-day--fertile{
	background: rgba(48, 145, 89, 0.16);
	color: #1E5B39;
}
.calc-ovulation-day--ovulation{
	background: #2A7D4F;
	color: #FFFFFF;
	font-weight: 600;
}
.calc-ovulation-day--today{
	box-shadow: 0 0 0 2px rgba(48, 145, 89, 0.35);
}
.calc-ovulation-calendar__legend{
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 16px;
}
.calc-ovulation-legend{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: #607069;
}
.calc-ovulation-legend:before{
	content: '';
	width: 12px;
	height: 12px;
	display: inline-block;
	border-radius: 4px;
}
.calc-ovulation-legend--period:before{
	background: #F7D9E3;
}
.calc-ovulation-legend--fertile:before{
	background: rgba(48, 145, 89, 0.16);
}
.calc-ovulation-legend--ovulation:before{
	background: #2A7D4F;
}
@media (max-width: 575px){.calc-ovulation-calendar{
		padding: 16px 12px;
	}
.calc-ovulation-month{
		flex: 1 1 100%;
		max-width: 100%;
	}
.calc-ovulation-day{
		width: 30px;
		height: 30px;
		font-size: 13px;
	}}
.calc-form__disclaimer{
	margin-top: 16px;
	padding: 12px 14px;
	border: 1px solid rgba(224, 140, 60, 0.22);
	border-radius: 12px;
	background: #FFF6EF;
	color: #8A5A2B;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	line-height: 1.5;
}
.calc-water{
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	background: #FFFFFF;
	border: 1px solid rgba(48, 145, 89, 0.05);
	border-radius: 24px;
	box-shadow: 0 12px 40px rgba(48, 145, 89, 0.08);
	overflow: hidden;
}
.calc-water__title{
	margin: 0 0 6px;
	font-family: 'Inter', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #1A201E;
	letter-spacing: -0.01em;
}
.calc-water__input{
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(48, 145, 89, 0.15);
	border-radius: 14px;
	background: #F9FBFA;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	color: #1A201E;
	outline: none;
	transition: all 0.2s ease;
}
.calc-water__input:focus{
	background: #FFFFFF;
	border-color: rgba(48, 145, 89, 0.35);
	box-shadow: 0 0 0 4px rgba(48, 145, 89, 0.12);
}
.calc-water__gender{
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	margin-bottom: 20px;
	background: #F4F7F6;
	border-radius: 14px;
}
.calc-water__gender-btn{
	padding: 9px 18px;
	border: none;
	border-radius: 10px;
	background: transparent;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #607069;
	cursor: pointer;
	transition: all 0.2s ease;
}
.calc-water__gender-btn:hover{
	color: #2A7D4F;
}
.calc-water__gender-btn.is-active{
	background: #FFFFFF;
	color: #2A7D4F;
	box-shadow: 0 2px 8px rgba(48, 145, 89, 0.12);
}
.calc-water__submit{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	border: none;
	border-radius: 14px;
	background: #2A7D4F;
	color: #FFFFFF;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.calc-water__submit:hover,
.calc-water__submit:focus{
	background: #277A4B;
}
.calc-water__notice{
	margin-top: 10px;
}
.calc-water__result{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 32px 24px;
	background: linear-gradient(180deg, #F4F9F6 0%, #EDF5F1 100%);
}
.calc-water__result-label{
	margin-bottom: 12px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #607069;
}
.calc-water__result-value{
	font-family: 'Inter', sans-serif;
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	color: #2A7D4F;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.calc-water.is-calculated .calc-water__result-value{
	opacity: 1;
	transform: translateY(0);
}
.calc-water__result-hint{
	max-width: 260px;
	margin-top: 12px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: #5F6B67;
}
.calc-water[data-result-persistent="true"] .calc-water__result{
	display: flex !important;
}
@media (max-width: 767px){.calc-water{
		grid-template-columns: 1fr;
        margin-top: 32px;
	}
section{
        margin-top: 32px;
    }
section h2.title-section{
        margin-bottom: 16px;
        font-size: 18px;
    }
.center-index-block p{
        font-size: 14px;
    }
body p{
        font-size: 14px !important;
    }
section.calc-sections{
        margin-top: 12px;
    }
.calc-water__result{
		padding: 24px 20px;
	}
.calc-water__result-value{
		font-size: 40px;
	}
.center-index-block h1{
        font-size: 24px; /* Эталон для мобильного App-заголовка */
        font-weight: 700; /* Жирный */
        line-height: 1.25; /* Плотный интервал, чтобы строки не разлетались */
        letter-spacing: -0.4px; /* Легкое iOS-сжатие букв */
        color: #1A201E; /* Наш глубокий графитовый */
    }}
.calc-water{
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 24px;
	overflow: visible;
}
.calc-water__title{
	font-size: 19px;
}
.calc-water__gender{
	display: flex;
	margin-bottom: 16px;
}
.calc-water__gender-btn{
	flex: 1 1 0;
	padding: 9px 10px;
}
.calc-water__submit{
	display: block;
	width: 100%;
	padding: 13px 20px;
}
.calc-water__result{
	margin-top: 20px;
	padding: 20px 0 0;
	background: none;
	border-top: 1px solid rgba(48, 145, 89, 0.1);
}
.calc-water__result-value{
	font-size: 44px;
}
.calc-water__result-hint{
	max-width: none;
}
@media (max-width: 767px){.calc-water__result{
		margin-top: 16px;
		padding: 16px 0 0;
	}}
.calc-water{
	height: auto;
}
.calc-water__title{
	margin-bottom: 14px;
	font-size: 18px;
}
.calc-water__gender{
	margin-bottom: 12px;
}
.calc-water__input{
	margin-bottom: 12px;
}
.calc-water__result{
	margin-top: 14px;
	padding-top: 14px;
}
.calc-water__result-value{
	font-size: 40px;
}
.calc-water__result-hint{
	margin-top: 8px;
}
.calc-water__result{
		margin-top: 16px;
		padding: 16px 0 0;
	}
.calc-water{
	height: auto;
}
.calc-water__title{
	margin-bottom: 14px;
	font-size: 18px;
}
.calc-water__gender{
	margin-bottom: 12px;
}
.calc-water__input{
	margin-bottom: 12px;
}
.calc-water__result{
	margin-top: 14px;
	padding-top: 14px;
}
.calc-water__result-value{
	font-size: 40px;
}
.calc-water__result-hint{
	margin-top: 8px;
}
.calc-water{
	height: auto;
}
.calc-water__title{
	margin-bottom: 14px;
	font-size: 18px;
}
.calc-water__gender{
	margin-bottom: 12px;
}
.calc-water__input{
	margin-bottom: 12px;
}
.calc-water__result{
	margin-top: 14px;
	padding-top: 14px;
}
.calc-water__result-value{
	font-size: 40px;
}
.calc-water__result-hint{
	margin-top: 8px;
}
.calc-water{
	height: auto;
}
.calc-water__title{
	margin-bottom: 14px;
	font-size: 18px;
}
.calc-water__gender{
	margin-bottom: 12px;
}
.calc-water__input{
	margin-bottom: 12px;
}
.calc-water__result{
	margin-top: 14px;
	padding-top: 14px;
}
.calc-water__result-value{
	font-size: 40px;
}
.calc-water__result-hint{
	margin-top: 8px;
}
.calc-water{
	height: auto;
}
.calc-water__title{
	margin-bottom: 14px;
	font-size: 18px;
}
.calc-water__gender{
	margin-bottom: 12px;
}
.calc-water__input{
	margin-bottom: 12px;
}
.calc-water__result{
	margin-top: 14px;
	padding-top: 14px;
}
.calc-water__result-value{
	font-size: 40px;
}
.calc-water__result-hint{
	margin-top: 8px;
}
