/* Fix It booking flow. Uses the color tokens from the Odd Jobs theme (--oj-*). */

.oj-fixit,
.oj-fx-done {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-bottom: 24px;
}

.oj-fixit[hidden],
.oj-fx-done[hidden],
.oj-fx-step[hidden] {
	display: none !important;
}

.oj-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.oj-hp {
	position: absolute;
	left: -9999px;
}

.oj-fx-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 32px;
}

.oj-fx-steplabel {
	font-family: var(--oj-mono);
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--oj-ink-2);
}

.oj-fx-back {
	background: none !important;
	border: 0 !important;
	color: var(--oj-teal-ink) !important;
	font-size: 16px;
	padding: 6px 0 !important;
	min-height: 44px;
	cursor: pointer;
}

.oj-fx-progress {
	display: flex;
	gap: 6px;
}

.oj-fx-progress i {
	flex: 1;
	height: 4px;
	border-radius: 4px;
	background: var(--oj-fill);
	transition: background-color .25s;
}

.oj-fx-progress i.is-on {
	background: var(--oj-teal);
}

.oj-fx-step {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.oj-fx-title {
	font-family: var(--oj-font);
	font-size: clamp(2rem, 7vw, 2.6rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.01em;
	margin: 4px 0 0;
	color: var(--oj-ink);
	outline: none;
}

.oj-fx-guide {
	display: flex;
	align-items: flex-end;
	gap: 10px;
}

.oj-fx-guide img {
	width: 60px;
	height: auto;
	flex: none;
}

.oj-fx-bubble {
	margin: 0;
	background: var(--oj-surface);
	border-radius: 18px 18px 18px 6px;
	padding: 12px 14px;
	font-size: 15.5px;
	line-height: 1.4;
	color: var(--oj-ink);
}

.oj-fx-bubble--wide {
	border-radius: 18px;
}

.oj-fx-item {
	margin: 0;
	padding: 10px 14px;
	border-radius: 14px;
	background: var(--oj-butter);
	color: #2B2A2C;
	font-size: 15px;
}

fieldset.oj-fx-cats,
fieldset.oj-fx-blocks,
fieldset.oj-fx-chips {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.oj-fixit legend,
.oj-fx-label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: var(--oj-ink);
	margin: 0 0 8px 2px;
	padding: 0;
}

.oj-fixit legend small,
.oj-fx-label small {
	font-weight: 400;
	color: var(--oj-ink-2);
	margin-left: 4px;
}

.oj-fx-cats {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.oj-fx-cats legend {
	grid-column: 1 / -1;
}

.oj-fx-cat,
.oj-fx-chip,
.oj-fx-block {
	position: relative;
	cursor: pointer;
}

.oj-fx-cat input,
.oj-fx-chip input,
.oj-fx-block input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.oj-fx-cat span {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 64px;
	padding: 10px 6px;
	border-radius: 16px;
	background: var(--oj-surface);
	border: 2px solid transparent;
	font-size: 14px;
	font-weight: 500;
	color: var(--oj-ink);
	transition: border-color .15s, background-color .15s;
}

.oj-fx-cat input:checked + span {
	border-color: var(--oj-teal);
	background: color-mix(in srgb, var(--oj-teal) 14%, var(--oj-surface));
}

.oj-fx-cat input:focus-visible + span,
.oj-fx-chip input:focus-visible + span,
.oj-fx-block input:focus-visible ~ .oj-fx-n {
	outline: 2px solid var(--oj-teal-ink);
	outline-offset: 2px;
}

.oj-fx-photos {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.oj-fx-add,
.oj-fx-thumb {
	aspect-ratio: 1;
	border-radius: 14px;
	max-width: 100%;
}

.oj-fx-add {
	display: grid;
	place-items: center;
	border: 2px dashed var(--oj-teal);
	color: var(--oj-teal-ink);
	font-size: 30px;
	cursor: pointer;
	background: var(--oj-surface);
}

.oj-fx-add[hidden] {
	display: none;
}

.oj-fx-thumb {
	position: relative;
	background: var(--oj-fill) center / cover no-repeat;
}

.oj-fx-thumb button {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 28px;
	height: 28px;
	min-height: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	border: 0 !important;
	background: rgba(0, 0, 0, .55) !important;
	color: #fff !important;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}

.oj-fixit textarea,
.oj-fixit input[type="text"],
.oj-fixit input[type="tel"],
.oj-fixit input[type="email"] {
	width: 100%;
	font: inherit;
	font-size: 16px;
	color: var(--oj-ink);
	background: var(--oj-surface);
	border: 1px solid var(--oj-hair) !important;
	border-radius: 14px !important;
	padding: 14px 16px !important;
	resize: vertical;
}

.oj-fixit textarea:focus,
.oj-fixit input:focus {
	outline: none;
	border-color: var(--oj-teal) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--oj-teal) 25%, transparent);
}

.oj-fx-blocks {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.oj-fx-blocks legend {
	grid-column: 1 / -1;
}

.oj-fx-block {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px;
	min-height: 118px;
	border-radius: 18px;
	background: var(--oj-surface);
	border: 2px solid transparent;
	transition: border-color .15s;
}

.oj-fx-block:has(input:checked) {
	border-color: var(--oj-teal);
}

.oj-fx-rec {
	align-self: flex-start;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 6px;
	background: var(--oj-butter);
	color: #2B2A2C;
	margin-bottom: 4px;
}

.oj-fx-rec[hidden] {
	display: none;
}

.oj-fx-h {
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	color: var(--oj-ink);
}

.oj-fx-h small {
	font-size: 14px;
	margin-left: 1px;
}

.oj-fx-n {
	font-weight: 600;
	font-size: 15px;
	color: var(--oj-ink);
}

.oj-fx-p {
	font-family: var(--oj-mono);
	font-size: 14px;
	color: var(--oj-teal-ink);
}

.oj-fx-s {
	font-size: 12.5px;
	color: var(--oj-ink-2);
}

.oj-fx-fixed {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	border-radius: 18px;
	background: var(--oj-surface);
}

.oj-fx-fixed b {
	font-size: 18px;
}

.oj-fx-fixed span {
	color: var(--oj-ink-2);
}

.oj-fx-chips {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
}

.oj-fx-chips legend {
	width: 100%;
}

.oj-fx-chip span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--oj-surface);
	font-size: 14.5px;
	color: var(--oj-ink);
	transition: background-color .15s, color .15s;
}

.oj-fx-chip input:checked + span {
	background: var(--oj-charcoal);
	color: #fff;
}

.oj-fx-sub {
	font-size: 20px;
	font-weight: 700;
	margin: 6px 0 -6px;
	color: var(--oj-ink);
}

.oj-fx-summary {
	display: flex;
	flex-direction: column;
}

.oj-fx-sumrow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	color: var(--oj-ink);
}

.oj-fx-sumrow span {
	color: var(--oj-ink-2);
}

.oj-fx-sumrow b {
	font-weight: 600;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.oj-fx-fine {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--oj-ink-2);
}

.oj-fx-terms {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	min-height: 44px;
	cursor: pointer;
}

.oj-fx-terms input {
	width: 22px;
	height: 22px;
	accent-color: var(--oj-teal);
}

.oj-fx-error {
	padding: 12px 14px;
	border-radius: 14px;
	background: #FDECEA;
	color: #8A1F11;
	font-size: 15px;
}

.oj-fx-error[hidden] {
	display: none;
}

/* Action button closes the form; it stays in place instead of floating over the page */
.oj-fx-cta {
	position: static;
	margin: 28px 0 0;
}

.oj-fx-next {
	width: 100%;
	min-height: 54px;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--oj-charcoal) !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	cursor: pointer;
}

.oj-fx-next:disabled {
	opacity: .6;
	cursor: progress;
}

.oj-fx-next:focus-visible {
	outline: 3px solid var(--oj-teal);
	outline-offset: 3px;
}

/* Done screen */
.oj-fx-check {
	position: relative;
	width: 72px;
	height: 72px;
	margin-top: 12px;
}

.oj-fx-check svg {
	display: block;
	width: 72px;
	height: 72px;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.oj-fx-check circle {
	fill: var(--oj-teal);
	stroke: none;
}

.oj-fx-check path {
	stroke: #fff;
	stroke-width: 5;
}

.oj-fx-burst {
	position: absolute;
	left: 50%;
	top: 50%;
	pointer-events: none;
}

.oj-fx-burst i {
	position: absolute;
	width: 8px;
	height: 12px;
	margin: -6px 0 0 -4px;
	border-radius: 3px;
	opacity: 0;
	animation: oj-fx-burst 1s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes oj-fx-burst {
	0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(.6); }
	70% { opacity: 1; }
	100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
}

.oj-fx-num {
	margin: -6px 0 0;
	font-family: var(--oj-mono);
	font-size: 15px;
	color: var(--oj-ink-2);
}

.oj-fx-home {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	background: var(--oj-fill);
	color: var(--oj-ink) !important;
	text-decoration: none !important;
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	.oj-fx-progress i,
	.oj-fx-cat span,
	.oj-fx-chip span,
	.oj-fx-block {
		transition: none;
	}
}

.oj-fx-back[hidden] {
	display: none !important;
}

a.oj-fx-ticket {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
}

.oj-fx-sms {
	align-items: flex-start;
	font-size: 14px;
	color: var(--oj-ink-2);
	margin-top: -6px;
}

.oj-fx-sms input {
	margin-top: 1px;
	flex: none;
}

/* Arrival windows that do not fit the chosen job */
.oj-fx-chip.is-off {
	opacity: .38;
	cursor: not-allowed;
}

.oj-fx-chip.is-off span {
	text-decoration: line-through;
}

.oj-fx-chips legend small {
	margin-left: 8px;
	font-weight: 500;
	font-size: 13px;
	color: var(--oj-ink-2);
}

/* ---------- Calendar ---------- */
.oj-fx-cal {
	border: 0;
	margin: 0;
	padding: 18px;
	border-radius: 22px;
	background: var(--oj-surface);
}

.oj-fx-cal legend {
	float: left;
	width: 100%;
	margin-bottom: 14px;
	font-weight: 600;
}

.oj-fx-cal legend small {
	margin-left: 8px;
	font-weight: 500;
	color: var(--oj-ink-2);
}

.oj-fx-cal__head,
.oj-fx-cal__grid {
	clear: both;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
}

.oj-fx-cal__head span {
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--oj-ink-2);
	padding-bottom: 6px;
}

.oj-fx-day {
	position: relative;
	cursor: pointer;
}

.oj-fx-day input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.oj-fx-day > span {
	display: grid;
	place-items: center;
	align-content: center;
	aspect-ratio: 1;
	border-radius: 14px;
	background: var(--oj-smoke);
	font-size: 16px;
	font-weight: 600;
	color: var(--oj-ink);
	line-height: 1.1;
	transition: background-color .2s ease, color .2s ease, transform .25s cubic-bezier(.22, 1, .36, 1);
}

.oj-fx-day > span small {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--oj-teal-ink);
}

.oj-fx-day:hover > span {
	background: var(--oj-sky);
}

.oj-fx-day input:checked + span {
	background: var(--oj-charcoal);
	color: #fff;
}

.oj-fx-day input:checked + span small {
	color: var(--oj-butter);
}

.oj-fx-day input:focus-visible + span {
	outline: 3px solid var(--oj-teal);
	outline-offset: 2px;
}

.oj-fx-day.is-off > span {
	background: transparent;
	color: var(--oj-ink-2);
	opacity: .35;
	font-weight: 500;
	cursor: default;
}

.oj-fx-cal__note {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--oj-ink-2);
}

/* ---------- Arrival times ---------- */
.oj-fx-times {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	gap: 8px;
}

.oj-fx-times legend {
	grid-column: 1 / -1;
}

.oj-fx-times .oj-fx-chip[hidden] {
	display: none;
}

.oj-fx-times .oj-fx-chip span {
	width: 100%;
	justify-content: center;
	min-height: 46px;
	border-radius: 14px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* ---------- Motion (skipped for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.oj-fx-step.is-entering {
		animation: oj-fx-step-in .5s cubic-bezier(.22, 1, .36, 1) both;
	}
	.oj-fx-step.is-entering > * {
		animation: oj-fx-rise .55s cubic-bezier(.22, 1, .36, 1) both;
	}
	.oj-fx-step.is-entering > :nth-child(2) { animation-delay: .05s; }
	.oj-fx-step.is-entering > :nth-child(3) { animation-delay: .1s; }
	.oj-fx-step.is-entering > :nth-child(4) { animation-delay: .15s; }
	.oj-fx-step.is-entering > :nth-child(5) { animation-delay: .2s; }
	.oj-fx-step.is-entering > :nth-child(6) { animation-delay: .25s; }

	.oj-fx-progress i {
		position: relative;
		overflow: hidden;
	}
	.oj-fx-progress i::after {
		content: "";
		position: absolute;
		inset: 0;
		background: var(--oj-teal);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .6s cubic-bezier(.22, 1, .36, 1);
	}
	.oj-fx-progress i.is-on::after {
		transform: scaleX(1);
	}

	.oj-fx-cat span,
	.oj-fx-chip span,
	.oj-fx-block {
		transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .25s cubic-bezier(.22, 1, .36, 1);
	}
	.oj-fx-cat:hover span,
	.oj-fx-chip:hover span,
	.oj-fx-block:hover {
		transform: translateY(-2px);
	}
	.oj-fx-cat input:checked + span,
	.oj-fx-chip input:checked + span,
	.oj-fx-day input:checked + span,
	.oj-fx-block:has(input:checked) {
		animation: oj-fx-pick .35s cubic-bezier(.22, 1, .36, 1);
	}
	.oj-fx-rec:not([hidden]) {
		animation: oj-fx-pop .5s cubic-bezier(.22, 1, .36, 1) .2s both;
	}
	.oj-fx-bubble {
		animation: oj-fx-rise .5s cubic-bezier(.22, 1, .36, 1) .15s both;
	}
	.oj-fx-thumb {
		animation: oj-fx-pop .4s cubic-bezier(.22, 1, .36, 1) both;
	}
	.oj-fx-times .oj-fx-chip:not([hidden]) {
		animation: oj-fx-rise .4s cubic-bezier(.22, 1, .36, 1) both;
	}
	.oj-fx-sumrow {
		animation: oj-fx-rise .45s cubic-bezier(.22, 1, .36, 1) both;
	}
	.oj-fx-sumrow:nth-child(2) { animation-delay: .05s; }
	.oj-fx-sumrow:nth-child(3) { animation-delay: .1s; }
	.oj-fx-sumrow:nth-child(4) { animation-delay: .15s; }
	.oj-fx-sumrow:nth-child(5) { animation-delay: .2s; }
	.oj-fx-error:not([hidden]) {
		animation: oj-fx-nudge .4s ease both;
	}
	.oj-fx-done:not([hidden]) .oj-fx-check circle {
		transform-origin: center;
		animation: oj-fx-pop .5s cubic-bezier(.22, 1, .36, 1) both;
	}
	.oj-fx-done:not([hidden]) .oj-fx-check path {
		stroke-dasharray: 44;
		animation: oj-fx-draw .45s ease-out .3s both;
	}
	.oj-fx-done:not([hidden]) > *:not(.oj-fx-check) {
		animation: oj-fx-rise .6s cubic-bezier(.22, 1, .36, 1) .2s both;
	}
	.oj-fx-next {
		transition: transform .2s ease, background-color .2s ease;
	}
	.oj-fx-next:active {
		transform: scale(.97);
	}
}

@keyframes oj-fx-draw {
	from { stroke-dashoffset: 44; }
	to { stroke-dashoffset: 0; }
}

@keyframes oj-fx-step-in {
	from { opacity: 0; transform: translateX(28px); }
}

@keyframes oj-fx-rise {
	from { opacity: 0; transform: translateY(14px); }
}

@keyframes oj-fx-pick {
	0% { transform: scale(.94); }
	100% { transform: scale(1); }
}

@keyframes oj-fx-pop {
	from { opacity: 0; transform: scale(.7); }
}

@keyframes oj-fx-nudge {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-6px); }
	75% { transform: translateX(6px); }
}

/* Confirmation: everything centered under the check */
.oj-fx-done {
	align-items: center;
	text-align: center;
}

.oj-fx-done .oj-fx-summary {
	width: 100%;
	max-width: 460px;
	text-align: left;
}

.oj-fx-done .oj-fx-guide {
	justify-content: center;
	max-width: 520px;
	text-align: left;
}

.oj-fx-done .oj-fx-home,
.oj-fx-done a.oj-fx-ticket {
	align-self: center;
}

.oj-fx-done .oj-fx-fine {
	max-width: 460px;
}

/* The suggested block stands out in brand sky */
.oj-fx-block:has(.oj-fx-rec:not([hidden])) {
	background: #EEF8FD;
	border-color: var(--oj-sky);
}

.oj-fx-block:has(.oj-fx-rec:not([hidden])):has(input:checked) {
	border-color: var(--oj-teal);
}

/* Mateo bounces when his suggestion changes */
@media (prefers-reduced-motion: no-preference) {
	.oj-fx-live.is-bump img {
		animation: oj-fx-bump .55s cubic-bezier(.34, 1.6, .5, 1);
	}
	.oj-fx-live.is-bump span {
		animation: oj-fx-rise .4s cubic-bezier(.22, 1, .36, 1);
	}
	/* Each step's character hops in */
	.oj-fx-step:not([hidden]) .oj-fx-guide img {
		animation: oj-fx-bump .7s cubic-bezier(.34, 1.6, .5, 1) .1s both;
	}
}

@keyframes oj-fx-bump {
	0% { transform: scale(.6) rotate(-10deg); }
	60% { transform: scale(1.15) rotate(4deg); }
	100% { transform: none; }
}

/* Friendly glass style: sky page, frosted card without borders, crew steps, icon tiles, trust line. */
body:has(.oj-fixit) {
	background:
		radial-gradient(60vw 50vh at 8% 4%, rgba(186, 226, 247, .95), transparent 70%),
		radial-gradient(50vw 45vh at 96% 30%, rgba(46, 139, 154, .16), transparent 70%),
		radial-gradient(70vw 50vh at 30% 100%, rgba(186, 226, 247, .7), transparent 70%),
		#E4F1F8 !important;
}

body:has(.oj-fixit) :is(.elementor, .elementor-section, .e-con, .site-main, .page-content) {
	background: transparent !important;
}

.oj-fixit,
.oj-fx-done {
	--oj-surface: rgba(255, 255, 255, .78);
	background: rgba(255, 255, 255, .55);
	-webkit-backdrop-filter: blur(18px) saturate(1.4);
	backdrop-filter: blur(18px) saturate(1.4);
	border: 0;
	border-radius: 32px;
	box-shadow: 0 30px 60px -30px rgba(46, 139, 154, .45), 0 1px 0 rgba(255, 255, 255, .9) inset;
	padding: 24px 22px 26px;
	margin: 8px 0 32px;
}

@media (max-width: 480px) {
	.oj-fixit,
	.oj-fx-done {
		padding: 18px 14px 22px;
		border-radius: 26px;
	}
}

.oj-fixit :is(input[type="text"], input[type="tel"], input[type="email"], textarea) {
	background: rgba(255, 255, 255, .85) !important;
	border-color: transparent !important;
	box-shadow: 0 1px 2px rgba(43, 42, 44, .06);
}

.oj-fixit :is(input[type="text"], input[type="tel"], input[type="email"], textarea):focus {
	box-shadow: 0 0 0 3px rgba(46, 139, 154, .35);
}

/* Steps: the crew member for each step, current one in teal. */
.oj-fx-progress {
	gap: 8px;
}

.oj-fx-progress i {
	display: flex;
	align-items: center;
	gap: 8px;
	height: auto;
	padding: 5px 12px 5px 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .6);
	font-style: normal;
	min-width: 0;
	transition: background-color .3s, color .3s;
}

.oj-fx-progress i::after {
	display: none;
}

.oj-fx-progress i img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 15%;
	background: #fff;
	flex: none;
	filter: grayscale(1);
	opacity: .5;
	transition: filter .3s, opacity .3s;
}

.oj-fx-progress i span {
	font-size: 13px;
	font-weight: 600;
	color: var(--oj-ink-2);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.oj-fx-progress i.is-on {
	background: #BAE2F7;
}

.oj-fx-progress i.is-on img {
	filter: none;
	opacity: 1;
}

.oj-fx-progress i.is-now {
	background: #2E8B9A;
}

.oj-fx-progress i.is-now img {
	box-shadow: 0 0 0 2px #fff;
}

.oj-fx-progress i.is-now span {
	color: #fff;
}

@media (max-width: 400px) {
	.oj-fx-progress i:not(.is-now) span {
		display: none;
	}
	.oj-fx-progress i:not(.is-now) {
		flex: none;
		padding-right: 5px;
	}
}

.oj-fx-bubble {
	background: #fff;
	box-shadow: 0 6px 18px -10px rgba(46, 139, 154, .5);
}

/* Job type tiles: icon in a sky circle, selected tile turns sky with a check. */
.oj-fx-cat span {
	position: relative;
	flex-direction: column;
	gap: 6px;
	min-height: 84px;
	border: 0;
	box-shadow: 0 1px 2px rgba(43, 42, 44, .05);
	transition: background-color .2s, transform .2s, box-shadow .2s;
}

.oj-fx-cat span b {
	font-weight: 600;
	line-height: 1.2;
}

.oj-fx-ico {
	width: 34px;
	height: 34px;
	padding: 6px;
	border-radius: 50%;
	background: #BAE2F7;
	fill: none;
	stroke: #2B2A2C;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	box-sizing: border-box;
	transition: background-color .2s, stroke .2s;
}

.oj-fx-cat:hover span {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -12px rgba(46, 139, 154, .55);
}

.oj-fx-cat input:checked + span {
	border: 0;
	background: #BAE2F7;
	box-shadow: 0 10px 22px -12px rgba(46, 139, 154, .7);
}

.oj-fx-cat input:checked + span .oj-fx-ico {
	background: #2E8B9A;
	stroke: #fff;
	animation: oj-fx-wiggle .45s ease;
}

.oj-fx-cat input:checked + span::after {
	content: "";
	position: absolute;
	top: 8px;
	right: 8px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #2E8B9A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
	animation: oj-fx-pop .3s cubic-bezier(.2, .9, .3, 1.3) both;
}

/* Time blocks, days and chips: sky when picked, no yellow. */
.oj-fx-block {
	border: 0 !important;
	box-shadow: 0 1px 2px rgba(43, 42, 44, .05);
}

.oj-fx-block:has(input:checked) {
	background: #BAE2F7 !important;
	box-shadow: 0 10px 22px -12px rgba(46, 139, 154, .7) !important;
}

.oj-fx-rec {
	background: #2E8B9A;
	color: #fff;
}

.oj-fx-day input:checked + span,
.oj-fx-chip input:checked + span {
	background: #2E8B9A;
	color: #fff;
}

.oj-fx-day input:checked + span small {
	color: #fff;
}

.oj-fx-add {
	gap: 4px;
	align-content: center;
	border: 0;
	font-size: 12.5px;
	font-weight: 600;
	background: rgba(186, 226, 247, .6);
}

.oj-fx-add span {
	text-align: center;
	line-height: 1.15;
}

.oj-fx-add svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: var(--oj-teal-ink);
	stroke-width: 1.7;
	stroke-linejoin: round;
}

.oj-fx-add:hover {
	background: #BAE2F7;
}

.oj-fx-next {
	background: #2B2A2C !important;
	box-shadow: 0 12px 24px -12px rgba(43, 42, 44, .6);
}

.oj-fx-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 16px;
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	font-size: 13px;
	color: var(--oj-ink-2);
}

.oj-fx-trust li {
	display: flex;
	align-items: center;
	gap: 6px;
}

.oj-fx-trust li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--oj-teal);
}

.oj-fx-step.is-entering .oj-fx-bubble {
	animation: oj-fx-pop .45s cubic-bezier(.2, .9, .3, 1.3) both .1s;
	transform-origin: 0 100%;
}

.oj-fx-step.is-entering .oj-fx-guide img {
	animation: oj-fx-wiggle .6s ease both;
}

@keyframes oj-fx-pop {
	from { opacity: 0; transform: scale(.85) translateY(6px); }
	to { opacity: 1; transform: none; }
}

@keyframes oj-fx-wiggle {
	0%, 100% { transform: rotate(0); }
	30% { transform: rotate(-8deg); }
	60% { transform: rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
	.oj-fx-step.is-entering .oj-fx-bubble,
	.oj-fx-step.is-entering .oj-fx-guide img,
	.oj-fx-cat input:checked + span .oj-fx-ico,
	.oj-fx-cat input:checked + span::after {
		animation: none;
	}
}

/* Crew member peeking over the card, with a handwritten note. */
.oj-fixit {
	position: relative;
	margin-top: 96px;
}

.oj-fx-peek {
	position: absolute;
	top: -92px;
	right: 18px;
	height: 92px;
	overflow: hidden;
	pointer-events: none;
}

.oj-fx-peek figure {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
	height: 100%;
}

.oj-fx-peek figure[hidden] {
	display: none;
}

.oj-fx-peek img {
	width: 104px;
	height: auto;
	animation: oj-fx-rise .7s cubic-bezier(.34, 1.4, .5, 1) both;
}

.oj-fx-peek figcaption {
	order: -1;
	margin-top: 14px;
	padding: 8px 12px;
	border-radius: 16px 16px 4px 16px;
	background: #fff;
	box-shadow: 0 8px 18px -10px rgba(46, 139, 154, .6);
	font-family: "Chalkboard SE", "Comic Neue", "Comic Sans MS", cursive;
	font-weight: 700;
	font-size: 14px;
	color: #2B2A2C;
	white-space: nowrap;
	animation: oj-fx-pop .4s cubic-bezier(.2, .9, .3, 1.3) both .45s;
	transform-origin: 100% 100%;
}

@keyframes oj-fx-rise {
	from { transform: translateY(100%); }
	to { transform: none; }
}

/* Hand-drawn squiggle under each step title. */
.oj-fx-step > .oj-fx-title {
	padding-bottom: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 7c10-6 18 4 28 0s18-6 28 0 18 4 28 0 18-5 32-1' fill='none' stroke='%232E8B9A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 120px 12px no-repeat;
}

/* Roxy's reply when a job type is picked. */
.oj-fx-bubble.is-pop {
	animation: oj-fx-pop .4s cubic-bezier(.2, .9, .3, 1.3) both;
	transform-origin: 0 100%;
}

/* Tap-to-add ideas under the list. */
.oj-fx-ideas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

.oj-fx-ideas[hidden],
.oj-fx-ideas button[hidden] {
	display: none;
}

.oj-fx-ideas > span {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--oj-ink-2);
}

.oj-fx-ideas button {
	padding: 7px 12px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, .85) !important;
	color: var(--oj-teal-ink) !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(43, 42, 44, .06);
	transition: background-color .15s, transform .15s;
}

.oj-fx-ideas button:hover {
	background: #BAE2F7 !important;
	transform: translateY(-1px);
}

@media (max-width: 480px) {
	.oj-fixit {
		margin-top: 88px;
	}
	.oj-fx-peek {
		right: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.oj-fx-peek img,
	.oj-fx-peek figcaption,
	.oj-fx-bubble.is-pop {
		animation: none;
	}
}

/* Priority days (today, Saturdays) and evening starts. */
.oj-fx-day.is-priority > span {
	position: relative;
	background: rgba(186, 226, 247, .55);
}

.oj-fx-day.is-priority > span i {
	position: absolute;
	top: -5px;
	right: -5px;
	display: grid;
	place-items: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #2E8B9A;
	box-shadow: 0 0 0 2px #fff;
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.oj-fx-day.is-priority input:checked + span i {
	background: #fff;
	color: #2E8B9A;
	box-shadow: 0 0 0 2px #2E8B9A;
}

.oj-fx-chip.is-evening span small {
	margin-left: 4px;
	font-size: 10.5px;
	font-weight: 700;
	color: #2E8B9A;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.oj-fx-chip.is-evening input:checked + span small {
	color: #fff;
}

.oj-fx-chip[hidden],
.oj-fx-times__wait[hidden],
.oj-fx-priority[hidden] {
	display: none !important;
}

.oj-fx-times__wait {
	margin: 0;
	padding: 12px 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .7);
	font-size: 14px;
	color: var(--oj-ink-2);
}

.oj-fx-priority {
	margin: 0;
	padding: 12px 14px;
	border-radius: 14px;
	background: #BAE2F7;
	font-size: 14.5px;
	line-height: 1.45;
	color: #2B2A2C;
}

/* Calendar on phones: more air between days, the month lives in the heading. */
.oj-fx-cal__note {
	margin: 14px 0 0;
	font-size: 13.5px;
	line-height: 1.45;
}

.oj-fx-times__wait {
	grid-column: 1 / -1;
}

.oj-fx-times legend small {
	display: block;
	margin: 2px 0 0;
}

@media (max-width: 480px) {
	.oj-fx-cal {
		padding: 16px 12px;
	}
	.oj-fx-cal__head,
	.oj-fx-cal__grid {
		gap: 9px 8px;
	}
	.oj-fx-cal__head span {
		padding-bottom: 2px;
	}
	.oj-fx-day > span {
		border-radius: 12px;
		font-size: 15px;
	}
	.oj-fx-day > span small {
		display: none;
	}
}

@media (max-width: 350px) {
	.oj-fx-cal {
		padding: 14px 8px;
	}
	.oj-fx-cal__head,
	.oj-fx-cal__grid {
		gap: 8px 6px;
	}
	.oj-fx-day > span {
		font-size: 14px;
	}
}

/* Terms and text consent: a tappable row with a brand checkbox. */
.oj-fx-terms {
	align-items: flex-start;
	padding: 14px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .78);
	line-height: 1.4;
	transition: background-color .2s;
}

.oj-fx-terms:has(input:checked) {
	background: #BAE2F7;
}

.oj-fx-terms input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	width: 24px;
	height: 24px;
	margin: 0;
	border: 2px solid #2E8B9A !important;
	border-radius: 8px !important;
	background: #fff center / 16px no-repeat !important;
	cursor: pointer;
	transition: background-color .15s;
}

.oj-fx-terms input[type="checkbox"]:checked {
	background-color: #2E8B9A !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5l4.5 4.5 8.5-10' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.oj-fx-terms input:focus-visible {
	outline: 2px solid var(--oj-teal-ink);
	outline-offset: 2px;
}

.oj-fx-terms span {
	min-width: 0;
	padding-top: 1px;
}

.oj-fx-terms.oj-fx-sms {
	margin-top: -6px;
}

@media (max-width: 350px) {
	.oj-fx-chip.is-evening span {
		flex-direction: column;
		white-space: nowrap;
		line-height: 1.15;
	}
	.oj-fx-chip.is-evening span small {
		margin: 2px 0 0;
	}
}
