.jf-lock, .jf-lock body {
	overflow: hidden;
}

.jf {
	position: fixed;
	inset: 0;
	z-index: 100;
	overflow: clip;
	font-family: "Montserrat", system-ui, sans-serif;
	color: var(--jf-ink);
	-webkit-font-smoothing: antialiased;
	visibility: hidden;
	pointer-events: none;
	opacity: 0;
	transition: opacity .18s ease-out, visibility 0s .18s;
}

.jf.is-open {
	visibility: visible;
	pointer-events: auto;
	opacity: 1;
	transition: opacity .28s var(--jf-ease);
}

.jf__frost {
	position: absolute;
	inset: 0;
	background: rgba(240, 242, 247, .74);
	-webkit-backdrop-filter: blur(26px) saturate(140%);
	backdrop-filter: blur(26px) saturate(140%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.jf__frost {
		background: rgba(240, 242, 247, .96);
	}
}

.jf button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.jf__wrap {
	position: relative;
	height: 100%;
	max-width: 600px;
	margin: 0 auto;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	grid-template-columns: minmax(0, 1fr);
}

.jf__top {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: calc(14px + env(safe-area-inset-top)) 16px 10px 20px;
	transform: translateY(-8px);
	transition: transform .4s var(--jf-ease);
}

.jf.is-open .jf__top {
	transform: none;
}

.jf-tabs {
	display: flex;
	gap: 22px;
	flex: 1;
	position: relative;
	min-width: 0;
}

.jf-tabs input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.jf-tabs label {
	position: relative;
	font-size: 15px;
	font-weight: 500;
	color: var(--jf-muted);
	white-space: nowrap;
	padding: 10px 0;
	cursor: pointer;
	transition: color .2s;
}

.jf-tabs label::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--jf-ink);
	transform: scaleX(0);
	transition: transform .3s var(--jf-ease);
}

.jf-tabs input:checked + label {
	color: var(--jf-ink);
	font-weight: 600;
}

.jf-tabs input:checked + label::after {
	transform: scaleX(1);
}

.jf-tabs input:focus-visible + label {
	outline: 2px solid var(--jf-navy);
	outline-offset: 4px;
	border-radius: 4px;
}

.jf-x {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex: none;
	background: #fff !important;
	display: grid;
	place-items: center;
	box-shadow: 0 2px 10px rgba(20, 24, 46, .12);
	transition: transform .2s;
}

.jf-x:hover {
	transform: scale(1.05);
}

.jf__scroll {
	scroll-padding: 24px 0 110px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 6px 16px 20px;
	scrollbar-width: none;
}

.jf__scroll::-webkit-scrollbar {
	display: none;
}

.jf-card {
	position: relative;
	background: #fff;
	border-radius: 26px;
	box-shadow: var(--jf-card-shadow);
	margin-bottom: 12px;
	transform: translateY(28px);
	opacity: 0;
	transition: transform .42s var(--jf-ease-drawer), opacity .3s var(--jf-ease);
}

.jf:not(.is-open) .jf-card {
	transition-duration: .18s;
	transition-delay: 0s;
}

.jf.is-open .jf-card {
	transform: none;
	opacity: 1;
}

.jf.is-open .jf-card:nth-child(2) {
	transition-delay: .05s;
}

.jf.is-open .jf-card:nth-child(3) {
	transition-delay: .1s;
}

.jf.is-open .jf-card:nth-child(4) {
	transition-delay: .15s;
}

.jf-card[hidden] {
	display: none;
}

.jf-card__head {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 16px;
	text-align: left;
	padding: 22px 24px;
	min-height: 68px;
}

.jf-card__label {
	font-size: 15px;
	color: var(--jf-muted);
	flex: none;
}

.jf-card__value {
	margin-left: auto;
	font-size: 15px;
	font-weight: 600;
	text-align: right;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jf-card__value.is-empty {
	font-weight: 500;
}

.jf-card.has-error .jf-card__label {
	color: var(--jf-error);
}

.jf-card__body {
	display: none;
	padding: 0 24px 26px;
}

.jf-card.is-open .jf-card__head {
	display: none;
}

.jf-card.is-open .jf-card__body {
	display: block;
}

.jf-card.is-open .jf-card__body > * {
	animation: jf-in .34s var(--jf-ease) .12s backwards;
}

.jf-card.is-open .jf-card__body > :nth-child(2) {
	animation-delay: .16s;
}

.jf-card.is-open .jf-card__body > :nth-child(3) {
	animation-delay: .2s;
}

.jf-card.is-open .jf-card__body > :nth-child(n+4) {
	animation-delay: .24s;
}

.jf-card__title:focus {
	outline: none;
}

.jf-card__title {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 600;
	font-size: 28px;
	line-height: 1.15;
	padding-top: 26px;
	margin-bottom: 20px;
}

.jf-card__err {
	color: var(--jf-error);
	font-size: 13px;
	margin: -8px 0 14px;
}

.jf-card__err[hidden] {
	display: none;
}

.jf-route {
	position: relative;
	border: 1.5px solid var(--jf-border);
	border-radius: 18px;
}

.jf-route.has-error {
	border-color: var(--jf-error);
}

.jf-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 16px;
	height: 66px;
	transition: background .2s;
	cursor: text;
}

.jf-row:first-child {
	border-radius: 16px 16px 0 0;
}

.jf-row:nth-child(2) {
	border-radius: 0 0 16px 16px;
	border-top: 1px solid var(--jf-line);
}

.jf-row:focus-within {
	background: #f7f8fb;
}

.jf-row__ico {
	width: 20px;
	height: 20px;
	color: var(--jf-muted);
	flex: none;
}

.jf-row__main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-right: 52px;
	cursor: text;
}

.jf-route:has(.jf-row__clear:not([hidden])) .jf-row__main {
	padding-right: 96px;
}

.jf-row__lbl {
	font-size: 13px;
	font-weight: 500;
	color: var(--jf-muted);
}

.jf-row input {
	width: 100%;
	border: 0;
	outline: 0;
	background: none;
	padding: 0;
	color: var(--jf-ink);
	font: 500 16px/1.3 "Montserrat", sans-serif;
	text-overflow: ellipsis;
}

.jf-row input::placeholder {
	color: var(--jf-faint);
	font-weight: 400;
}

.jf-row__clear {
	position: absolute;
	right: 64px;
	top: 50%;
	margin-top: -14px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--jf-muted);
	background: var(--jf-soft) !important;
}

.jf-row__clear[hidden] {
	display: none;
}

.jf-swap {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff !important;
	border: 1.5px solid var(--jf-border) !important;
	display: grid;
	place-items: center;
	transition: transform .3s var(--jf-ease-move), translate .24s var(--jf-ease), border-color .2s;
}

.jf-swap:active {
	scale: .92;
}

.jf-swap:hover {
	border-color: var(--jf-ink) !important;
}

.jf-swap.is-spun {
	transform: translateY(-50%) rotate(180deg);
}

.jf-sub .jf-row {
	border: 1.5px solid var(--jf-border);
	border-radius: 18px;
}

.jf-sub .jf-row__main {
	padding-right: 36px;
}

.jf-sub .jf-row__clear {
	right: 14px;
}

.jf-sugg {
	margin-top: 22px;
}

.jf-sugg__t {
	font-size: 14px;
	color: var(--jf-muted);
	margin-bottom: 8px;
}

.jf-sugg__t:not(:first-child) {
	margin-top: 18px;
}

.jf-opt {
	display: flex;
	align-items: center;
	gap: 14px;
	text-align: left;
	padding: 8px;
	margin: 0 -8px;
	width: calc(100% + 16px);
	border-radius: 14px;
	transition: background .15s;
}

.jf-opt:hover, .jf-opt.is-active {
	background: var(--jf-soft) !important;
}

.jf-opt__ico {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--jf-soft);
	flex: none;
	display: grid;
	place-items: center;
	color: var(--jf-navy);
}

.jf-opt--sub {
	padding-left: 30px;
}

.jf-opt--sub .jf-opt__ico {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: none;
}

.jf-opt__txt {
	flex: 1;
	min-width: 0;
}

.jf-opt__name {
	display: block;
	font-size: 16px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jf-opt__sub {
	display: block;
	font-size: 14px;
	color: var(--jf-muted);
	margin-top: 2px;
}

.jf-opt__code {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--jf-muted);
	flex: none;
}

.jf-opt mark {
	background: none;
	color: inherit;
	font-weight: 700;
}

.jf-empty {
	font-size: 15px;
	color: var(--jf-muted);
	line-height: 1.5;
	padding: 4px 0;
}

.jf-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.jf-pill {
	padding: 10px 16px;
	border-radius: 100px;
	border: 1.5px solid var(--jf-border) !important;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	transition: border-color .2s, background .2s, color .2s;
}

.jf-pill:hover {
	border-color: var(--jf-ink) !important;
}

.jf-pill.is-on {
	background: var(--jf-ink) !important;
	border-color: var(--jf-ink) !important;
	color: #fff !important;
}

.jf-textlink {
	display: inline-block;
	margin-top: 20px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}

.jf-seg {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 4px;
	border-radius: 100px;
	background: var(--jf-soft);
	margin-bottom: 12px;
}

.jf-seg__b {
	padding: 8px 18px;
	border-radius: 100px;
	text-align: left;
	transition: background .25s, box-shadow .25s;
	min-width: 0;
}

.jf-seg__b.is-active {
	background: #fff !important;
	box-shadow: 0 1px 4px rgba(20, 24, 46, .12), 0 0 0 1px rgba(20, 24, 46, .06);
}

.jf-seg__b small {
	display: block;
	font-size: 12px;
	color: var(--jf-muted);
}

.jf-seg__b b {
	display: block;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jf-seg__b b.is-empty {
	color: var(--jf-faint);
	font-weight: 500;
}

.jf-wd {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	color: var(--jf-muted);
	padding: 6px 0 4px;
}

.jf-cal__scroll {
	height: clamp(270px, 42svh, 390px);
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	mask-image: linear-gradient(transparent, #000 12px, #000 calc(100% - 28px), transparent);
	-webkit-mask-image: linear-gradient(transparent, #000 12px, #000 calc(100% - 28px), transparent);
}

.jf-cal__scroll::-webkit-scrollbar {
	display: none;
}

.jf-month {
	padding: 12px 0 10px;
}

.jf-month__t {
	font-size: 17px;
	font-weight: 600;
	padding: 0 4px 10px;
}

.jf-month__wd, .jf-cal__nav {
	display: none;
}

.jf-month__t::first-letter {
	text-transform: uppercase;
}

.jf-month__g {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	row-gap: 4px;
}

.jf-day {
	position: relative;
	height: 46px;
	min-width: 0;
	padding: 0;
	display: grid;
	place-items: center;
	font-size: 16px;
	font-weight: 600;
}

.jf-day span {
	position: relative;
	z-index: 1;
	width: min(44px, 100%);
	aspect-ratio: 1;
	height: auto;
	border-radius: 50%;
	display: grid;
	place-items: center;
	transition: background .15s, color .15s, box-shadow .15s;
}

.jf-day:not([disabled]):hover span {
	box-shadow: inset 0 0 0 1.5px var(--jf-ink);
}

.jf-day[disabled] {
	color: #c6c9d3 !important;
	cursor: default;
	font-weight: 500;
}

.jf-day.is-today span::after {
	content: "";
	position: absolute;
	bottom: 6px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
}

.jf-day.in-range::before, .jf-day.is-start.has-end::before, .jf-day.is-end::before {
	content: "";
	position: absolute;
	top: 1px;
	bottom: 1px;
	left: 0;
	right: 0;
	background: var(--jf-band);
}

.jf-day.is-start.has-end::before {
	left: 50%;
}

.jf-day.is-end::before {
	right: 50%;
}

.jf-day.is-start.is-end::before {
	display: none;
}

.jf-day.is-start span, .jf-day.is-end span {
	background: var(--jf-navy);
	color: #fff;
	box-shadow: none;
}

.jf-month__g .jf-day:nth-child(7n+1).in-range::before, .jf-month__g .jf-day:nth-child(7n+1).is-end::before {
	border-radius: 23px 0 0 23px;
}

.jf-month__g .jf-day:nth-child(7n).in-range::before, .jf-month__g .jf-day:nth-child(7n).is-start::before {
	border-radius: 0 23px 23px 0;
}

.jf-times {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	margin-top: 14px;
}

.jf-time {
	border: 1.5px solid var(--jf-border);
	border-radius: 18px;
	min-width: 0;
	transition: border-color .2s;
}

.jf-time.is-open {
	border-color: var(--jf-ink);
}

.jf-time__head {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 16px;
	text-align: left;
}

.jf-time__txt {
	flex: 1;
	min-width: 0;
}

.jf-time__txt small {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--jf-muted);
}

.jf-time__txt b {
	display: block;
	font-size: 16px;
	font-weight: 600;
	margin-top: 1px;
}

.jf-time__txt b.is-empty {
	font-weight: 500;
}

.jf-time__chev {
	width: 18px;
	height: 18px;
	transition: transform .25s;
	flex: none;
}

.jf-time.is-open .jf-time__chev {
	transform: rotate(180deg);
}

.jf-time__strip {
	display: none;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	padding: 4px 14px 14px;
	max-height: 232px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.jf-time.is-open .jf-time__strip {
	display: grid;
	animation: jf-in .24s var(--jf-ease);
}

.jf-time__strip .jf-pill {
	padding: 10px 4px;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.jf-time__strip .jf-pill:first-child {
	grid-column: 1/-1;
}

@media (min-width: 768px) {
	.jf-time__strip {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

.jf-pax__row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
}

.jf-pax__row + .jf-pax__row {
	border-top: 1px solid var(--jf-line);
}

.jf-pax__row:first-child {
	padding-top: 0;
}

.jf-pax__txt {
	flex: 1;
}

.jf-pax__txt b {
	display: block;
	font-size: 17px;
	font-weight: 600;
}

.jf-pax__txt small {
	display: block;
	font-size: 14px;
	color: var(--jf-muted);
	margin-top: 3px;
}

.jf-step {
	display: flex;
	align-items: center;
	gap: 6px;
}

.jf-step button {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--jf-soft) !important;
	display: grid;
	place-items: center;
	transition: background .2s, opacity .2s;
}

.jf-step button:hover:not([disabled]) {
	background: #e5e7ee !important;
}

.jf-step button[disabled] {
	opacity: .35;
	cursor: default;
}

.jf-step output {
	width: 30px;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.jf-note {
	font-size: 13px;
	color: var(--jf-muted);
	line-height: 1.5;
	margin-top: 4px;
}

.jf-leg {
	border: 1.5px solid var(--jf-border);
	border-radius: 18px;
	margin-bottom: 12px;
}

.jf-leg.has-error {
	border-color: var(--jf-error);
}

.jf-leg__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 12px 2px 16px;
	min-height: 42px;
}

.jf-leg__n {
	font-size: 13px;
	font-weight: 600;
	color: var(--jf-muted);
}

.jf-leg__del {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--jf-soft) !important;
	display: grid;
	place-items: center;
}

.jf-leg__f {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	text-align: left;
}

.jf-leg__f + .jf-leg__f {
	border-top: 1px solid var(--jf-line);
}

.jf-leg__f span {
	flex: 1;
	min-width: 0;
}

.jf-leg__f small {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--jf-muted);
}

.jf-leg__f b {
	display: block;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 1px;
}

.jf-leg__f b.is-empty {
	color: var(--jf-faint);
	font-weight: 500;
}

.jf-leg__err {
	color: var(--jf-error);
	font-size: 13px;
	padding: 0 16px 12px;
}

.jf-add {
	width: 100%;
	padding: 16px;
	border-radius: 18px;
	border: 1.5px dashed var(--jf-border) !important;
	font-size: 15px;
	font-weight: 600;
	transition: border-color .2s;
}

.jf-add:hover {
	border-color: var(--jf-ink) !important;
}

.jf-add[hidden] {
	display: none;
}

.jf-sub {
	position: absolute;
	inset: 0;
	z-index: 5;
	background: #fff;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	grid-template-columns: minmax(0, 1fr);
	transform: translateX(100%);
	transition: transform .24s ease-out, visibility 0s .24s;
	visibility: hidden;
}

.jf-sub.is-open {
	transform: none;
	visibility: visible;
	transition: transform .38s var(--jf-ease-drawer);
}

.jf-sub > * {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}

.jf-sub__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: calc(14px + env(safe-area-inset-top)) 20px 8px;
}

.jf-sub__title {
	font-size: 17px;
	font-weight: 600;
}

.jf-sub__back {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--jf-soft) !important;
	display: grid;
	place-items: center;
	flex: none;
}

.jf-sub__body {
	overflow-y: auto;
	padding: 8px 24px 20px;
	overscroll-behavior: contain;
}

.jf-sub__foot {
	display: flex;
	padding: 12px 24px calc(16px + env(safe-area-inset-bottom));
}

.jf-sub__foot[hidden] {
	display: none;
}

.jf-field {
	margin-bottom: 12px;
}

.jf-fl {
	position: relative;
	display: block;
	border: 1.5px solid var(--jf-border);
	border-radius: 16px;
	transition: border-color .2s, box-shadow .2s;
}

.jf-fl:focus-within {
	border-color: var(--jf-ink);
	box-shadow: 0 0 0 1px var(--jf-ink);
}

.jf-field.is-invalid .jf-fl {
	border-color: var(--jf-error);
	box-shadow: none;
}

.jf-fl input, .jf-fl textarea {
	width: 100%;
	border: 0;
	outline: 0;
	background: none;
	color: var(--jf-ink);
	resize: none;
	display: block;
	font: 500 16px/1.35 "Montserrat", sans-serif;
	padding: 27px 44px 9px 16px;
	border-radius: 16px;
}

.jf-fl textarea {
	min-height: 104px;
}

.jf-fl > span {
	position: absolute;
	left: 17px;
	top: 20px;
	font-size: 16px;
	color: var(--jf-muted);
	pointer-events: none;
	transition: top .2s var(--jf-ease), font-size .2s var(--jf-ease);
}

.jf-fl input:focus + span, .jf-fl input:not(:placeholder-shown) + span, .jf-fl textarea:focus + span, .jf-fl textarea:not(:placeholder-shown) + span {
	top: 9px;
	font-size: 12px;
	font-weight: 500;
}

.jf-fl em {
	font-style: normal;
	color: var(--jf-faint);
}

.jf-ok {
	position: absolute;
	right: 16px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	color: #2e7d4f;
	opacity: 0;
	transition: opacity .2s;
}

.jf-field.is-valid .jf-ok {
	opacity: 1;
}

.jf-err {
	color: var(--jf-error);
	font-size: 13px;
	margin: 6px 4px 0;
	display: none;
}

.jf-field.is-invalid .jf-err {
	display: block;
}

.jf-err--consent {
	margin: 8px 0 0 34px;
}

.jf-sub-t {
	font-size: 15px;
	font-weight: 600;
	margin: 22px 0 12px;
}

.jf-sub-t em {
	font-style: normal;
	font-weight: 400;
	color: var(--jf-muted);
}

.jf-more[hidden], .jf-field[hidden] {
	display: none;
}

.jf-consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--jf-line);
	font-size: 14px;
	line-height: 1.5;
	color: var(--jf-muted);
	cursor: pointer;
}

.jf-consent a {
	color: var(--jf-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jf-consent input {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	border-radius: 7px;
	border: 1.5px solid var(--jf-border);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background .2s, border-color .2s;
}

.jf-consent input:checked {
	background: var(--jf-navy);
	border-color: var(--jf-navy);
}

.jf-consent input:checked::after {
	content: "";
	width: 10px;
	height: 5px;
	border: 2px solid #fff;
	border-top: 0;
	border-right: 0;
	transform: translateY(-1px) rotate(-45deg);
}

.jf-consent.is-invalid, .jf-consent.is-invalid a {
	color: var(--jf-error);
}

.jf-consent.is-invalid input {
	border-color: var(--jf-error);
}

.jf__foot {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
	background: linear-gradient(rgba(240, 242, 247, 0), rgba(240, 242, 247, .92) 36%);
}

.jf.has-sub .jf__foot {
	visibility: hidden;
}

.jf-ghost {
	font-size: 16px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
	padding: 12px 4px;
}

.jf-ghost[hidden] {
	display: none;
}

.jf-primary {
	margin-left: auto;
	min-width: 150px;
	height: 58px;
	padding: 0 30px;
	border-radius: 16px;
	background: var(--jf-navy) !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-shadow: 0 8px 22px rgba(33, 44, 104, .28);
	transition: background .2s, transform .15s, box-shadow .2s;
}

.jf-sub__foot .jf-primary {
	width: 100%;
}

.jf-primary:hover:not([disabled]) {
	background: var(--jf-navy-hover) !important;
}

.jf-primary:active:not([disabled]) {
	transform: scale(.98);
}

.jf-primary[disabled] {
	background: #b4b9c9 !important;
	box-shadow: none;
	cursor: default;
}

.jf-primary.is-loading {
	pointer-events: none;
}

.jf-primary.is-loading::after {
	content: "";
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #fff;
	border-right-color: transparent;
	animation: jf-spin .7s linear infinite;
}

.jf-done {
	text-align: center;
	padding: 40px 24px 28px;
}

.jf-done__ico {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	margin: 0 auto 22px;
	display: grid;
	place-items: center;
	background: var(--jf-navy);
	color: #fff;
}

.jf-done h3 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 30px;
	font-weight: 600;
}

.jf-done p {
	font-size: 15px;
	line-height: 1.55;
	color: var(--jf-muted);
	max-width: 360px;
	margin: 12px auto 24px;
}

.jf-rows {
	text-align: left;
	border-top: 1px solid var(--jf-line);
	margin: 0;
}

.jf-rows dt {
	color: var(--jf-muted);
	flex: none;
}

.jf-rows dd {
	margin: 0 0 0 auto;
	text-align: right;
	font-weight: 600;
}

.jf-dev {
	margin-top: 18px;
	text-align: left;
	font-size: 13px;
	color: var(--jf-muted);
}

.jf-dev summary {
	cursor: pointer;
}

.jf-dev pre {
	margin-top: 10px;
	padding: 14px;
	border-radius: 14px;
	background: var(--jf-soft);
	font-size: 11.5px;
	line-height: 1.5;
	white-space: pre-wrap;
	word-break: break-all;
	color: var(--jf-ink);
}

@media (min-width: 768px) {
	.jf__top {
		padding: 24px 16px 14px 24px;
	}
	
	.jf__scroll {
		padding: 6px 16px 24px;
	}
	
	.jf-card__title {
		font-size: 30px;
	}
	
	.jf__foot {
		padding: 12px 20px 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jf, .jf * {
		transition-duration: .01s !important;
		animation-duration: .01s !important;
		transition-delay: 0s !important;
	}
}

.jf-hint {
	display: block;
	margin: 8px 4px 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--jf-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-align: left;
}

.jf-hint[hidden] {
	display: none;
}

@media (max-width: 380px) {
	.jf-tabs {
		gap: 16px;
	}
	
	.jf-tabs label {
		font-size: 14px;
	}
}

.jf--v2 .jf__frost {
	background: rgba(20, 24, 46, .28);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.jf--v2 .jf__wrap {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: min(1180px, calc(100vw - 64px));
	max-width: none;
	height: min(760px, calc(100vh - 48px));
	background: #fff;
	border-radius: 28px;
	box-shadow: 0 30px 80px rgba(10, 14, 40, .35);
	transform: translateY(16px) scale(.985);
	transition: transform .4s var(--jf-ease);
}

.jf--v2.is-open .jf__wrap {
	transform: none;
}

.jf--v2 .jf__top {
	padding: 22px 22px 0 32px;
}

.jf--v2 .jf-x {
	box-shadow: none;
	background: var(--jf-soft) !important;
}

.jf--v2 .jf__scroll {
	display: grid;
	grid-template-columns: repeat(var(--jf-cols, 4), minmax(0, 1fr));
	grid-template-rows: auto minmax(0, 1fr);
	padding: 14px 32px 0;
	overflow: hidden;
}

.jf--v2 .jf-card {
	display: contents;
}

.jf--v2 .jf-card[hidden] {
	display: none;
}

.jf--v2 .jf-card__head, .jf--v2 .jf-card.is-open .jf-card__head {
	display: flex;
	grid-row: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-height: 0;
	padding: 14px 18px 16px;
	border-radius: 16px 16px 0 0;
	border-bottom: 2px solid var(--jf-line);
	transition: background .2s, border-color .2s;
}

.jf--v2 .jf-card__head:hover {
	background: #f7f8fb;
}

.jf--v2 .jf-card.is-open .jf-card__head {
	border-bottom-color: var(--jf-navy);
	background: #f7f8fb;
}

.jf--v2 .jf-card__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--jf-muted);
}

.jf--v2 .jf-card.is-open .jf-card__label {
	color: var(--jf-navy);
}

.jf--v2 .jf-card__value {
	margin: 0;
	text-align: left;
	max-width: 100%;
	font-size: 15px;
}

.jf--v2 .jf-card__value.is-empty {
	color: var(--jf-faint);
}

.jf--v2 .jf-card.has-error .jf-card__head {
	border-bottom-color: var(--jf-error);
}

.jf--v2 .jf-card__body {
	grid-row: 2;
	grid-column: 1/-1;
	padding: 0 0 8px;
	min-height: 0;
	overflow: auto;
}

.jf--v2 .jf-card.is-open .jf-card__body {
	display: block;
	animation: jf-in .35s var(--jf-ease);
}

.jf--v2 .jf-card__title {
	font-size: 26px;
	padding-top: 26px;
	margin-bottom: 18px;
}

.jf--v2 .jf-card[data-card="done"]:not([hidden]) {
	display: block;
	grid-row: 1/-1;
	grid-column: 1/-1;
	box-shadow: none;
	overflow: auto;
}

.jf--v2 .jf-done {
	padding-top: 24px;
	max-width: 560px;
	margin: 0 auto;
}

.jf--v2 #jfSimple:not([hidden]) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 32px;
	align-items: start;
}

.jf--v2 .jf-sugg {
	margin-top: 0;
	max-height: 400px;
	overflow: auto;
	padding-right: 8px;
}

.jf--v2 .jf-sugg .jf-opt {
	margin: 0;
	width: 100%;
}

.jf--v2 #jfLegs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 12px;
}

.jf--v2 .jf-leg {
	margin: 0;
}

.jf--v2 #jfComplex .jf-add {
	margin-top: 12px;
	max-width: 320px;
}

.jf--v2 .jf-dates {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	grid-template-rows: auto 1fr;
	column-gap: 36px;
}

.jf--v2 .jf-dates .jf-seg {
	grid-column: 2;
	grid-row: 1;
	margin: 0 0 12px;
}

.jf--v2 .jf-dates .jf-cal {
	grid-column: 1;
	grid-row: 1/span 2;
	position: relative;
}

.jf--v2 .jf-dates .jf-times {
	grid-column: 2;
	grid-row: 2;
	margin: 0;
	align-content: start;
}

.jf--v2 .jf-cal > .jf-wd {
	display: none;
}

.jf--v2 .jf-month__wd {
	display: grid;
	padding: 0 0 6px;
}

.jf--v2 .jf-cal__scroll {
	height: auto;
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	mask-image: none;
	-webkit-mask-image: none;
	gap: 0;
}

.jf--v2 .jf-month {
	flex: 0 0 50%;
	padding: 0 14px;
	scroll-snap-align: start;
}

.jf--v2 .jf-month:first-child {
	padding-left: 0;
}

.jf--v2 .jf-month__t {
	text-align: center;
	padding: 8px 0 12px;
}

.jf--v2 .jf-day {
	height: 44px;
}

.jf--v2 .jf-day span {
	width: min(42px, 100%);
}

.jf--v2 .jf-cal__nav {
	display: flex;
	justify-content: space-between;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	pointer-events: none;
	z-index: 2;
}

.jf--v2 .jf-cal__nav button {
	pointer-events: auto;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff !important;
	border: 1.5px solid var(--jf-border) !important;
	display: grid;
	place-items: center;
	transition: border-color .2s;
}

.jf--v2 .jf-cal__nav button:hover {
	border-color: var(--jf-ink) !important;
}

.jf--v2 .jf-time__strip {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-height: 190px;
}

.jf--v2 .jf-pax {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.jf--v2 .jf-pax__row {
	border: 1.5px solid var(--jf-line) !important;
	border-radius: 20px;
	padding: 20px !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.jf--v2 .jf-note {
	margin-top: 18px;
}

.jf--v2 .jf-contacts {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}

.jf--v2 .jf-contacts__side .jf-sub-t {
	margin-top: 0;
}

.jf--v2 .jf-consent {
	margin-top: 18px;
	padding-top: 16px;
}

.jf--v2 .jf__foot {
	background: none;
	border-top: 1px solid var(--jf-line);
	padding: 16px 32px 20px;
}

.jf--v2 .jf-primary {
	box-shadow: none;
}

.jf--v2 .jf-sub {
	border-radius: 28px;
}

.jf-primary, .jf-pill, .jf-step button, .jf-x, .jf-seg__b, .jf-opt, .jf-leg__f, .jf-add, .jf-sub__back, .jf-cal__nav button {
	transition-property: transform, background, border-color, color, box-shadow, opacity;
	transition-duration: .16s;
	transition-timing-function: ease-out;
}

.jf-primary:active:not([disabled]), .jf-pill:active, .jf-step button:active:not([disabled]), .jf-x:active, .jf-seg__b:active, .jf-add:active, .jf-sub__back:active, .jf-cal__nav button:active {
	transform: scale(.97);
}

.jf-opt:active, .jf-leg__f:active {
	transform: scale(.99);
}

.jf-day span {
	transition: transform .16s ease-out, background .15s, color .15s, box-shadow .15s;
}

.jf-day:not([disabled]):active span {
	transform: scale(.92);
}

@media (hover: none) {
	.jf-pill:hover {
		border-color: var(--jf-border) !important;
	}
	
	.jf-pill.is-on:hover {
		border-color: var(--jf-ink) !important;
	}
	
	.jf-opt:hover:not(.is-active) {
		background: none !important;
	}
	
	.jf-day:not([disabled]):hover span {
		box-shadow: none;
	}
	
	.jf-step button:hover:not([disabled]) {
		background: var(--jf-soft) !important;
	}
}

.jf-ind {
	display: none;
}

.jf--v2 .jf__scroll {
	position: relative;
}

.jf--v2 .jf-ind {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	height: 2px;
	width: 0;
	z-index: 2;
	background: var(--jf-navy);
	border-radius: 2px;
	pointer-events: none;
	transition: transform .32s var(--jf-ease-move), width .32s var(--jf-ease-move);
}

.jf--v2 .jf-card.is-open .jf-card__head {
	border-bottom-color: var(--jf-line);
}

.jf--v2 .jf-card.is-open .jf-card__body > * {
	animation: none;
}

.jf--v2 .jf__wrap {
	transition: transform .3s var(--jf-ease), opacity .3s var(--jf-ease);
}

.jf--v2:not(.is-open) .jf__wrap {
	transform: scale(.96);
	opacity: 0;
	transition-duration: .16s;
}

.jf--v2.is-open .jf__wrap {
	transform: none;
	opacity: 1;
}

.jf--v2 .jf-card__value {
	transition: color .2s;
}

.jf-done__ico {
	animation: jf-pop .42s var(--jf-ease) .05s backwards;
}

.jf-done h3, .jf-done p {
	animation: jf-in .4s var(--jf-ease) .2s backwards;
}

.jf-shake {
	animation: jf-shake .28s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
	.jf-card {
		transform: none !important;
	}
	
	.jf-ind {
		transition: none;
	}
}

.jf__foot--inline {
	background: none !important;
	padding: 22px 0 0 !important;
	margin: 0;
}

.jf__foot--inline .jf-primary {
	flex: 1;
	margin-left: 0;
	box-shadow: 0 10px 18px -10px rgba(33, 44, 104, .55);
}

.jf__foot--inline .jf-ghost:not([hidden]) + .jf-primary {
	flex: 1;
}

.jf-card[data-card="done"] .jf__foot--inline {
	padding: 0 24px 24px !important;
}

.jf-card.is-open .jf-card__body > .jf__foot {
	animation-delay: .26s;
}

.jf__scroll {
	padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.jf-sugg[hidden] {
	display: none;
}

@media (max-width: 767px) {
	.jf__frost {
		background: rgba(236, 239, 246, .5);
		-webkit-backdrop-filter: blur(22px) saturate(150%);
		backdrop-filter: blur(22px) saturate(150%);
	}
	
	.jf-card {
		background: rgba(255, 255, 255, .8);
		border: 1px solid rgba(255, 255, 255, .6);
	}
	
	.jf-card.is-open {
		background: rgba(255, 255, 255, .88);
	}
	
	.jf-route, .jf-time, .jf-leg, .jf-fl {
		background: rgba(255, 255, 255, .55);
	}
	
	.jf-seg {
		background: rgba(20, 24, 46, .06);
	}
}

@media (max-width: 767px) {
	.jf__top {
		padding-left: 16px;
		padding-right: 16px;
	}
	
	.jf-card {
		border-radius: 24px;
	}
	
	.jf-card__head {
		padding: 18px 16px;
		min-height: 62px;
	}
	
	.jf-card__body {
		padding: 0 16px 16px;
	}
	
	.jf-card__title {
		font-size: 26px;
		padding-top: 20px;
		margin-bottom: 16px;
	}
	
	.jf__foot--inline {
		padding-top: 18px !important;
	}
	
	.jf-card[data-card="done"] .jf__foot--inline {
		padding: 0 16px 16px !important;
	}
	
	.jf-done {
		padding: 32px 16px 22px;
	}
	
	.jf-row {
		padding: 0 14px;
	}
	
	.jf-time__head {
		padding: 11px 14px;
	}
	
	.jf-time__strip {
		padding: 4px 12px 12px;
	}
}

.jf-opt {
	gap: 12px;
	padding: 10px 8px;
	min-height: 56px;
}

.jf-opt__ico, .jf-opt--sub .jf-opt__ico {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: none;
	color: var(--jf-navy);
}

.jf-opt--sub {
	padding-left: 8px;
	min-height: 48px;
}

.jf-opt:not(.jf-opt--sub) .jf-opt__name {
	font-weight: 600;
}

.jf:not(.jf--v2) {
	opacity: 1;
	transition: visibility 0s .3s;
}

.jf:not(.jf--v2).is-open {
	transition: visibility 0s;
}

.jf:not(.jf--v2) .jf__frost {
	opacity: 0;
	transition: opacity .26s ease-out;
}

.jf:not(.jf--v2).is-open .jf__frost {
	opacity: 1;
	transition: opacity .6s cubic-bezier(.16, 1, .3, 1);
}

.jf:not(.jf--v2) .jf__wrap {
	transform: translateY(100%);
	transition: transform .28s cubic-bezier(.32, .72, 0, 1);
	will-change: transform;
}

.jf:not(.jf--v2).is-open .jf__wrap {
	transform: none;
	transition: transform .72s cubic-bezier(.16, 1, .3, 1);
}

.jf:not(.jf--v2) .jf-card, .jf:not(.jf--v2).is-open .jf-card {
	transform: none;
	opacity: 1;
	transition: none;
}

.jf:not(.jf--v2) .jf__top {
	transform: none;
}

.jf-card.is-closing:not(.is-open) .jf-card__body {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	pointer-events: none;
}

.jf-card.is-closing .jf-card__body > * {
	animation: none !important;
}

.jf.is-morphing .jf-card {
	will-change: height;
}

.jf.is-morphing .jf-card .jf-cal__scroll {
	mask-image: none;
	-webkit-mask-image: none;
}

.jf-dtop, .jf-rtswitch, .jf-track {
	display: none;
}

.jf-trip {
	display: inline-grid;
	grid-auto-flow: column;
	padding: 4px;
	border-radius: 100px;
	background: var(--jf-soft);
}

.jf-trip button {
	padding: 9px 18px;
	border-radius: 100px;
	font-size: 14px;
	font-weight: 600;
	color: var(--jf-muted);
	transition: background .2s, color .2s, box-shadow .2s, transform .16s ease-out;
}

.jf-trip button.is-on {
	background: #fff;
	color: var(--jf-ink);
	box-shadow: 0 1px 4px rgba(20, 24, 46, .12), 0 0 0 1px rgba(20, 24, 46, .06);
}

.jf-trip button:active {
	transform: scale(.97);
}

.jf-dreset {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 100px;
	border: 1.5px solid var(--jf-border) !important;
	font-size: 14px;
	font-weight: 600;
	color: var(--jf-navy);
	transition: border-color .2s, opacity .2s, transform .16s ease-out;
}

.jf-dreset:hover:not([disabled]) {
	border-color: var(--jf-navy) !important;
}

.jf-dreset:active:not([disabled]) {
	transform: scale(.97);
}

.jf-dreset[disabled] {
	opacity: .35;
	cursor: default;
}

.jf-dchip {
	padding: 9px 16px;
	border-radius: 100px;
	font-size: 14px;
	font-weight: 600;
	background: var(--jf-navy) !important;
	color: #fff !important;
	transition: transform .16s ease-out, opacity .2s;
}

.jf-dchip:active {
	transform: scale(.97);
}

.jf-dhint b {
	display: block;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
}

.jf-dhint span {
	display: block;
	font-size: 14px;
	color: var(--jf-muted);
	margin-top: 4px;
}

.jf-rtswitch {
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 15px;
	font-weight: 600;
}

.jf-rtswitch button {
	width: 50px;
	height: 30px;
	border-radius: 100px;
	background: #c9ccd6 !important;
	position: relative;
	transition: background .25s;
	flex: none;
}

.jf-rtswitch button i {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
	transition: transform .28s var(--jf-ease);
}

.jf-rtswitch button[aria-checked="true"] {
	background: var(--jf-navy) !important;
}

.jf-rtswitch button[aria-checked="true"] i {
	transform: translateX(20px);
}

.jf--v2 .jf__scroll {
	column-gap: 8px;
}

.jf--v2 .jf-card__head, .jf--v2 .jf-card.is-open .jf-card__head {
	border-bottom: 0;
	border-radius: 16px;
	margin-bottom: 2px;
}

.jf--v2 .jf-track {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	height: 2px;
	background: var(--jf-line);
	border-radius: 2px;
	pointer-events: none;
}

.jf--v2 .jf-ind {
	z-index: 3;
}

.jf--v2 .jf-ghost {
	display: none !important;
}

.jf--v2 .jf-card.is-open[data-card="route"] .jf-card__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	column-gap: 32px;
	align-content: start;
	grid-auto-rows: min-content;
}

.jf--v2 [data-card="route"] .jf-card__title, .jf--v2 [data-card="route"] .jf-card__err {
	grid-column: 1/-1;
}

.jf--v2 #jfSimple:not([hidden]) {
	display: contents;
}

.jf--v2 #jfSimple .jf-route {
	grid-column: 1;
	grid-row: 3;
	align-self: start;
}

.jf--v2 #jfSimple .jf-sugg {
	grid-column: 2;
	grid-row: 3/span 3;
}

.jf--v2 #jfComplex {
	grid-column: 1/-1;
	grid-row: 3;
}

.jf--v2 #jfModeBtn {
	grid-column: 1;
	grid-row: 4;
	justify-self: start;
	align-self: start;
	margin-top: 16px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: 14px;
	border: 1.5px dashed var(--jf-border);
	text-decoration: none;
	color: var(--jf-navy);
	font-size: 15px;
	transition: border-color .2s, background .2s, transform .16s ease-out;
}

.jf--v2 #jfModeBtn::before {
	content: "+";
	font-size: 20px;
	line-height: 1;
	font-weight: 500;
}

.jf--v2 #jfModeBtn:hover {
	border-color: var(--jf-navy);
	background: #f7f8fb;
}

.jf--v2 #jfModeBtn:active {
	transform: scale(.98);
}

.jf--v2 #jfComplex:not([hidden]) ~ #jfModeBtn::before {
	content: "←";
	font-size: 16px;
}

.jf--v2 .jf-month__t {
	padding: 0;
	height: 40px;
	line-height: 40px;
	margin-bottom: 12px;
}

.jf--v2 .jf-cal__nav {
	top: 1px;
}

.jf--v2 .jf-month__wd {
	padding: 0 0 8px;
}

.jf--v2 [data-card="dates"] .jf-card__title {
	display: none;
}

.jf--v2 [data-card="dates"] .jf-card__body {
	padding-top: 22px;
}

.jf--v2 .jf-time {
	position: relative;
}

.jf--v2 .jf-time__strip {
	position: absolute;
	z-index: 8;
	top: calc(100% + 6px);
	left: -1.5px;
	width: 336px;
	max-height: 236px;
	background: #fff;
	border-radius: 18px;
	padding: 12px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	box-shadow: 0 0 0 1px rgba(20, 24, 46, .06), 0 16px 40px rgba(20, 24, 46, .18);
}

.jf--v2 .jf-time[data-tk="tEnd"] .jf-time__strip {
	left: auto;
	right: -1.5px;
}

.jf--v2.jf-dv-1 .jf-seg, .jf--v2.jf-dv-2 .jf-seg {
	display: contents;
}

.jf--v2.jf-dv-1 .jf-seg__b, .jf--v2.jf-dv-2 .jf-seg__b {
	border: 1.5px solid var(--jf-border);
	border-radius: 18px;
	padding: 11px 16px;
	background: #fff !important;
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s, transform .16s ease-out;
}

.jf--v2.jf-dv-1 .jf-seg__b.is-active, .jf--v2.jf-dv-2 .jf-seg__b.is-active {
	border-color: var(--jf-navy);
	box-shadow: 0 0 0 1px var(--jf-navy);
}

.jf--v2.jf-dv-1 .jf-seg__b b, .jf--v2.jf-dv-2 .jf-seg__b b {
	font-size: 16px;
	margin-top: 2px;
}

.jf--v2.jf-dv-1 .jf-time, .jf--v2.jf-dv-2 .jf-time {
	border-radius: 18px;
}

.jf--v2.jf-dv-1 .jf-dates {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	grid-template-areas: "top top top top" "ds de ts te" "cal cal cal cal";
}

.jf--v2.jf-dv-1 .jf-dtop {
	display: flex;
	align-items: center;
	justify-content: space-between;
	grid-area: top;
	margin-bottom: 4px;
}

.jf--v2.jf-dv-1 .jf-dhint, .jf--v2.jf-dv-1 .jf-dchip {
	display: none;
}

.jf--v2.jf-dv-1 .jf-seg__b[data-t="start"] {
	grid-area: ds;
}

.jf--v2.jf-dv-1 .jf-seg__b[data-t="end"] {
	grid-area: de;
}

.jf--v2.jf-dv-1 .jf-times {
	display: contents;
}

.jf--v2.jf-dv-1 .jf-time[data-tk="tStart"] {
	grid-area: ts;
}

.jf--v2.jf-dv-1 .jf-time[data-tk="tEnd"] {
	grid-area: te;
}

.jf--v2.jf-dv-1 .jf-cal {
	grid-area: cal;
	margin-top: 8px;
}

.jf--v2.jf-oneway.jf-dv-1 .jf-seg__b[data-t="end"] {
	opacity: .45;
}

.jf--v2.jf-dv-2 .jf-dates {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	column-gap: 32px;
	row-gap: 12px;
	grid-template-rows: auto auto auto auto auto auto 1fr;
}

.jf--v2.jf-dv-2 .jf-dates::before {
	content: "";
	grid-column: 2;
	grid-row: 1/8;
	background: #f5f6fa;
	border-radius: 22px;
	margin: -2px -18px -2px -18px;
	z-index: 0;
}

.jf--v2.jf-dv-2 .jf-dates > *, .jf--v2.jf-dv-2 .jf-seg__b, .jf--v2.jf-dv-2 .jf-time {
	position: relative;
	z-index: 1;
}

.jf--v2.jf-dv-2 .jf-cal {
	grid-column: 1;
	grid-row: 1/8;
}

.jf--v2.jf-dv-2 .jf-dtop {
	display: contents;
}

.jf--v2.jf-dv-2 .jf-trip, .jf--v2.jf-dv-2 .jf-dhint, .jf--v2.jf-dv-2 .jf-dchip {
	display: none;
}

.jf--v2.jf-dv-2 .jf-seg__b[data-t="start"] {
	grid-column: 2;
	grid-row: 1;
	margin-top: 16px;
}

.jf--v2.jf-dv-2 .jf-times {
	display: contents;
}

.jf--v2.jf-dv-2 .jf-time[data-tk="tStart"] {
	grid-column: 2;
	grid-row: 2;
	background: #fff;
}

.jf--v2.jf-dv-2 .jf-rtswitch {
	display: flex;
	grid-column: 2;
	grid-row: 3;
	padding: 10px 2px;
}

.jf--v2.jf-dv-2 .jf-seg__b[data-t="end"] {
	grid-column: 2;
	grid-row: 4;
}

.jf--v2.jf-dv-2 .jf-time[data-tk="tEnd"] {
	grid-column: 2;
	grid-row: 5;
	background: #fff;
}

.jf--v2.jf-dv-2 .jf-time[data-tk="tEnd"] .jf-time__strip {
	left: -1.5px;
	right: auto;
}

.jf--v2.jf-dv-2 .jf-dreset {
	grid-column: 2;
	grid-row: 6;
	justify-self: start;
	background: #fff !important;
}

.jf--v2.jf-oneway.jf-dv-2 .jf-seg__b[data-t="end"] {
	display: none;
}

.jf--v2.jf-dv-3 .jf-dates {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.jf--v2.jf-dv-3 .jf-dtop {
	display: flex;
	align-items: center;
	gap: 10px;
	order: 0;
	min-height: 64px;
}

.jf--v2.jf-dv-3 .jf-trip {
	display: none;
}

.jf--v2.jf-dv-3 .jf-dhint {
	flex: 1;
}

.jf--v2.jf-dv-3 .jf-dchip {
	display: none;
}

.jf--v2.jf-dv-3:not(.jf-oneway) .jf-dchip[data-v="oneway"] {
	display: inline-flex;
}

.jf--v2.jf-dv-3.jf-oneway .jf-dchip--round {
	display: inline-flex;
	background: #fff !important;
	color: var(--jf-navy) !important;
	border: 1.5px solid var(--jf-border) !important;
}

.jf--v2.jf-dv-3 .jf-seg {
	display: none;
}

.jf--v2.jf-dv-3 .jf-cal {
	order: 1;
}

.jf--v2.jf-dv-3 .jf-times {
	order: 2;
	grid-template-columns: repeat(2, minmax(0, 320px));
	margin: 0;
}

.jf--v2.jf-dv-3 .jf-time__strip {
	top: auto;
	bottom: calc(100% + 6px);
}

.jf--v2 .jf-day {
	height: 40px;
}

.jf--v2 .jf-day span {
	width: min(38px, 100%);
}

.jf--v2 .jf-month__g {
	row-gap: 2px;
}

@media (max-height: 800px) {
	.jf--v2 .jf-day {
		height: 34px;
	}
	
	.jf--v2 .jf-day span {
		width: min(32px, 100%);
		font-size: 14px;
	}
	
	.jf--v2 .jf-month__t {
		height: 34px;
		line-height: 34px;
		margin-bottom: 6px;
	}
	
	.jf--v2 .jf-cal__nav button {
		width: 34px;
		height: 34px;
	}
	
	.jf--v2 [data-card="dates"] .jf-card__body {
		padding-top: 14px;
	}
	
	.jf--v2.jf-dv-1 .jf-seg__b {
		padding: 8px 14px;
	}
	
	.jf--v2.jf-dv-3 .jf-dhint b {
		font-size: 22px;
	}
	
	.jf--v2.jf-dv-3 .jf-dtop {
		min-height: 52px;
	}
	
	.jf--v2 .jf-card__head {
		padding-top: 10px;
		padding-bottom: 12px;
	}
}

.jf--v2 .jf-card__head, .jf--v2 .jf-card.is-open .jf-card__head {
	margin-bottom: 0;
	border-radius: 16px 16px 0 0;
}

.jf--v2 .jf-card.is-open .jf-card__body {
	padding: 4px 4px 10px;
	margin: 0 -4px;
}

.jf-time__strip, .jf--v2 .jf-time__strip {
	display: none;
	grid-template-columns: none;
	max-height: none;
	overflow: visible;
}

.jf-time.is-open .jf-time__strip {
	display: block;
	padding: 2px 12px 12px;
}

.jf-time__later {
	width: 100%;
	text-align: center;
	padding: 11px 16px !important;
}

.jf-time__scroll {
	margin-top: 10px;
	max-height: 248px;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 8px 2px 10px;
	scrollbar-width: none;
	mask-image: linear-gradient(transparent, #000 12px, #000 calc(100% - 14px), transparent);
	-webkit-mask-image: linear-gradient(transparent, #000 12px, #000 calc(100% - 14px), transparent);
}

.jf-time__scroll::-webkit-scrollbar {
	display: none;
}

.jf-time__grp + .jf-time__grp {
	margin-top: 14px;
}

.jf-time__glbl {
	font-size: 12px;
	font-weight: 600;
	color: var(--jf-muted);
	margin: 0 2px 8px;
	letter-spacing: .02em;
}

.jf-time__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.jf-time__grid .jf-pill {
	padding: 10px 4px;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.jf--v2 [data-card="dates"].is-open .jf-card__body {
	overflow: visible;
}

.jf--v2 .jf__scroll:has([data-card="dates"].is-open) {
	overflow: visible;
}

.jf--v2 .jf-time.is-open .jf-time__strip {
	position: absolute;
	z-index: 20;
	top: calc(100% + 8px);
	left: -1.5px;
	width: 360px;
	padding: 12px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 0 0 1px rgba(20, 24, 46, .08), 0 18px 48px rgba(20, 24, 46, .2);
	animation: jf-pop .2s var(--jf-ease);
	transform-origin: top left;
}

.jf--v2 .jf-time__scroll {
	max-height: clamp(180px, calc(100vh - 420px), 380px);
}

.jf--v2 .jf-time[data-tk="tEnd"].is-open .jf-time__strip {
	left: auto;
	right: -1.5px;
	transform-origin: top right;
}

.jf--v2.jf-dv-2 .jf-time[data-tk="tEnd"].is-open .jf-time__strip {
	left: -1.5px;
	right: auto;
	transform-origin: top left;
}

.jf--v2.jf-dv-3 .jf-time.is-open .jf-time__strip {
	top: auto;
	bottom: calc(100% + 8px);
	transform-origin: bottom left;
}

.jf--v2.jf-dv-3 .jf-time__scroll {
	max-height: clamp(180px, calc(100vh - 380px), 380px);
}

.jf-time__grid .jf-pill:first-child {
	grid-column: auto;
}

.jf--v2 .jf__scroll {
	column-gap: 16px;
}

.jf--v2 .jf-card.is-open[data-card="dates"] .jf-card__body {
	padding-top: 30px;
}

@media (max-height: 800px) {
	.jf--v2 .jf-card.is-open[data-card="dates"] .jf-card__body {
		padding-top: 22px;
	}
}

.jf--v2 .jf-time__txt small, .jf--v2 .jf-seg__b small {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jf--v2 .jf-time__txt b {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jf, .jf * {
	touch-action: manipulation;
}

.jf-step {
	gap: 10px;
}

.jf-step button {
	position: relative;
	width: 48px;
	height: 48px;
}

.jf-step button::before {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 50%;
}

.jf-step output {
	width: 28px;
	user-select: none;
	-webkit-user-select: none;
}

.jf-step button {
	background: #fff !important;
	box-shadow: 0 0 0 1.5px var(--jf-border);
}

.jf-step button:hover:not([disabled]) {
	box-shadow: 0 0 0 1.5px var(--jf-ink);
}

.jf-step button:active:not([disabled]) {
	background: var(--jf-soft) !important;
}

.jf-step button[disabled] {
	opacity: .4;
}