/*
 * Jet lag calculator: masthead, hero, form, result, day-by-day plan, article, footer.
 *
 * Atlas look (t33-atlas theme): Erode + Atkinson Next, terra #C2502E, sea #5E9C94, ochre #D9A441,
 * ink #1C2A3A, paper #F4EEE3, masthead paper-2 with the double neatline.
 * 16px gutters, nothing wider than the viewport at 360px.
 *
 * Every class is scoped under .jlc-*. The class list the UI relies on is documented in
 * CONTRACT.md ("DOM / CSS classes"). Motion is calm and short; prefers-reduced-motion switches it off.
 */

@font-face { font-family: Erode; src: url(/wp-content/themes/t33-atlas/assets/fonts/erode.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: Erode; src: url(/wp-content/themes/t33-atlas/assets/fonts/erode-italic.woff2) format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Atkinson Next'; src: url(/wp-content/themes/t33-atlas/assets/fonts/atkinson.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Atkinson Next'; src: url(/wp-content/themes/t33-atlas/assets/fonts/atkinson-italic.woff2) format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Atkinson Mono'; src: url(/wp-content/themes/t33-atlas/assets/fonts/atkinson-mono.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
	--jlc-accent: #C2502E;
	--jlc-accent-ink: #A23D1C;
	--jlc-accent-soft: #F3DCD0;
	--jlc-sea: #5E9C94;
	--jlc-sea-ink: #33665F;
	--jlc-sea-soft: #DCE8E3;
	--jlc-ochre: #D9A441;
	--jlc-ochre-ink: #8A6418;
	--jlc-ochre-soft: #F5E6C4;
	--jlc-ink: #1C2A3A;
	--jlc-ink2: #3B4859;
	--jlc-dim: #5C6876;
	--jlc-night: #15212D;
	--jlc-paper2: #FBF8F2;
	--jlc-paper3: #EAE1D0;
	--jlc-sand: #EFE5D3;
	--jlc-page: #F4EEE3;
	--jlc-white: #fff;
	--jlc-line: #D9CFBF;
	--jlc-line2: #C9BCA6;
	--jlc-serif: Erode, ui-serif, Georgia, 'Times New Roman', serif;
	--jlc-sans: 'Atkinson Next', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--jlc-mono: 'Atkinson Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--jlc-mast-h: 56px;
	--jlc-gutter: 16px;
	--jlc-r: 12px;
	--jlc-shadow: 0 1px 0 rgba(28, 42, 58, 0.06), 0 14px 30px -18px rgba(28, 42, 58, 0.38);
	--jlc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background: var(--jlc-page);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body.jlc-body {
	margin: 0;
	background: var(--jlc-page);
	color: var(--jlc-ink);
	font-family: var(--jlc-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.jlc-body a {
	color: inherit;
}

.jlc-body button,
.jlc-body input,
.jlc-body select {
	font: inherit;
	color: inherit;
}

.jlc-body :focus-visible {
	outline: 2px solid var(--jlc-ink);
	outline-offset: 2px;
	border-radius: 4px;
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--jlc-ochre) 45%, transparent);
}

/* ---------------------------------------------------------------- masthead */

.jlc-mast {
	position: relative;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 28px;
	height: var(--jlc-mast-h);
	padding: 0 20px;
	background: color-mix(in srgb, var(--jlc-paper2) 90%, transparent);
	-webkit-backdrop-filter: saturate(1.2) blur(10px);
	backdrop-filter: saturate(1.2) blur(10px);
}

/* The theme's double neatline under the header. */
.jlc-mast::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -5px;
	height: 5px;
	pointer-events: none;
	border-top: 1px solid rgba(28, 42, 58, 0.22);
	border-bottom: 1px solid rgba(28, 42, 58, 0.09);
}

.jlc-logo,
.jlc-foot-logo {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: none;
	line-height: 1;
	color: var(--jlc-ink);
	text-decoration: none;
}

.jlc-logo svg,
.jlc-foot-logo svg {
	display: block;
	width: 34px;
	height: 34px;
}

.jlc-brand-word {
	font: 600 23px/1 var(--jlc-serif);
	letter-spacing: -0.02em;
}

@media (max-width: 860px) {
	.jlc-logo svg { width: 32px; height: 32px; }
}

.jlc-nav {
	margin-left: auto;
}

.jlc-nav ul,
.jlc-burger-panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jlc-nav > ul {
	display: flex;
	align-items: center;
	gap: 4px;
}

.jlc-nav a,
.jlc-nav summary {
	display: block;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	list-style: none;
	border-radius: 6px;
}

.jlc-nav summary::-webkit-details-marker,
.jlc-burger summary::-webkit-details-marker {
	display: none;
}

.jlc-nav a:hover,
.jlc-nav summary:hover,
.jlc-nav details[open] > summary {
	color: var(--jlc-accent-ink);
}

.jlc-nav summary::after {
	content: '';
	display: inline-block;
	margin-left: 6px;
	width: 5px;
	height: 5px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.jlc-sub {
	position: relative;
}

.jlc-sub-list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 220px;
	padding: 6px;
	background: var(--jlc-white);
	border: 1px solid var(--jlc-line);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(40, 30, 20, 0.14);
}

.jlc-sub-list a {
	text-transform: none;
	letter-spacing: 0;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.jlc-sub-list a:hover {
	background: var(--jlc-page);
}

.jlc-burger {
	display: none;
	margin-left: auto;
}

.jlc-burger summary {
	display: block;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	cursor: pointer;
	list-style: none;
	position: relative;
}

.jlc-burger-icon,
.jlc-burger-icon::before,
.jlc-burger-icon::after {
	position: absolute;
	left: 12px;
	width: 20px;
	height: 2px;
	background: var(--jlc-ink);
	border-radius: 2px;
	content: '';
}

.jlc-burger-icon {
	top: 21px;
}

.jlc-burger-icon::before {
	left: 0;
	top: -6px;
}

.jlc-burger-icon::after {
	left: 0;
	top: 6px;
}

.jlc-burger-panel {
	position: absolute;
	top: var(--jlc-mast-h);
	left: 0;
	right: 0;
	max-height: calc(100svh - var(--jlc-mast-h));
	overflow: auto;
	padding: 8px 20px 20px;
	background: var(--jlc-white);
	border-bottom: 1px solid var(--jlc-line);
	box-shadow: 0 16px 32px rgba(40, 30, 20, 0.14);
}

.jlc-burger-panel a {
	display: block;
	padding: 10px 0;
	font-weight: 600;
	text-decoration: none;
}

.jlc-m-head {
	display: block;
	margin-top: 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--jlc-accent-ink);
}

.jlc-m-group ul {
	padding-left: 12px;
}

@media (max-width: 860px) {
	:root {
		--jlc-mast-h: 52px;
	}
	.jlc-mast {
		padding: 0 16px;
	}
	.jlc-nav {
		display: none;
	}
	.jlc-burger {
		display: block;
	}
}


/* -------------------------------------------------------------------- hero */

.jlc-main {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 var(--jlc-gutter) 24px;
}

.jlc-hero {
	padding: 26px 0 18px;
	text-align: center;
}

.jlc-hero-in {
	max-width: 720px;
	margin: 0 auto;
}

.jlc-hero h1 {
	margin: 0;
	font-family: var(--jlc-serif);
	font-size: clamp(34px, 7.4vw, 52px);
	line-height: 1.04;
	font-weight: 650;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.jlc-tagline {
	margin: 12px auto 0;
	max-width: 34em;
	font-size: clamp(17px, 2.6vw, 20px);
	line-height: 1.45;
	color: var(--jlc-ink2);
	text-wrap: balance;
}

.jlc-small {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 12px 0 0;
	padding: 5px 12px 5px 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--jlc-sea-ink);
	background: var(--jlc-sea-soft);
	border-radius: 999px;
}

.jlc-hero-photo {
	margin: 18px 0 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--jlc-r);
	background: var(--jlc-sand);
}

.jlc-hero-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 900px) {
	.jlc-hero {
		padding: 20px 0 14px;
	}
	.jlc-hero.has-photo {
		display: grid;
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		align-items: center;
		gap: 36px;
		text-align: left;
	}
	.jlc-hero.has-photo .jlc-hero-in {
		margin: 0;
	}
	.jlc-hero.has-photo .jlc-tagline {
		margin-left: 0;
	}
	.jlc-hero.has-photo .jlc-hero-photo {
		margin: 0;
		max-height: 230px;
		aspect-ratio: 16 / 10;
	}
}

/* ------------------------------------------------------------------- card */

.jlc-app {
	position: relative;
}

.jlc-card {
	background: var(--jlc-paper2);
	border: 1px solid var(--jlc-line);
	border-radius: 16px;
	box-shadow: var(--jlc-shadow);
}

.jlc-form {
	display: grid;
	gap: 18px;
	padding: 20px 16px 22px;
}

.jlc-fs {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	display: grid;
	gap: 14px;
}

.jlc-fs > legend {
	float: left;
	width: 100%;
	padding: 0 0 2px;
	font: 700 11.5px/1.2 var(--jlc-mono);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--jlc-accent-ink);
}

.jlc-fs > legend + * {
	clear: both;
}

.jlc-field {
	min-width: 0;
}

.jlc-field > label,
.jlc-label {
	display: block;
	margin: 0 0 5px;
	font-size: 14px;
	font-weight: 700;
	color: var(--jlc-ink2);
}

.jlc-opt {
	font-weight: 500;
	color: var(--jlc-dim);
	font-size: 13px;
	margin-left: 4px;
}

.jlc-input {
	display: block;
	width: 100%;
	height: 46px;
	padding: 0 12px;
	font-size: 16px;
	color: var(--jlc-ink);
	background: var(--jlc-white);
	border: 1.5px solid var(--jlc-line2);
	border-radius: 10px;
	transition: border-color 0.15s, box-shadow 0.15s;
	-webkit-appearance: none;
	appearance: none;
}

input[type='time'].jlc-input,
input[type='date'].jlc-input {
	min-width: 0;
}

.jlc-input:hover {
	border-color: var(--jlc-dim);
}

.jlc-body .jlc-input:focus-visible {
	outline: none;
	border-color: var(--jlc-ink);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--jlc-ochre) 50%, transparent);
}

.jlc-zone {
	margin: 4px 2px 0;
	min-height: 18px;
	font-size: 13px;
	color: var(--jlc-dim);
}

.jlc-two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

/* cities: stacked on a phone with the swap button between them, side by side from 560px */
.jlc-cities {
	position: relative;
	display: grid;
	gap: 2px;
}

.jlc-combo {
	position: relative;
}

.jlc-city .jlc-input {
	font-weight: 600;
}

.jlc-swap {
	position: absolute;
	z-index: 3;
	right: 4px;
	top: calc(50% - 20px);
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: var(--jlc-ink);
	background: var(--jlc-white);
	border: 1.5px solid var(--jlc-line2);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 4px 10px -6px rgba(28, 42, 58, 0.5);
	transition: transform 0.35s var(--jlc-ease), background 0.15s, border-color 0.15s;
}

.jlc-swap:hover {
	background: var(--jlc-ink);
	border-color: var(--jlc-ink);
	color: var(--jlc-paper2);
}

.jlc-swap.is-flipped svg {
	transform: rotate(180deg);
}

.jlc-swap svg {
	transition: transform 0.35s var(--jlc-ease);
}

@media (min-width: 560px) {
	.jlc-cities {
		grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
		gap: 10px;
		align-items: start;
	}
	.jlc-swap {
		position: static;
		margin-top: 23px;
	}
	.jlc-swap svg {
		transform: rotate(90deg);
	}
	.jlc-swap.is-flipped svg {
		transform: rotate(270deg);
	}
}

/* suggestions */
.jlc-list {
	position: absolute;
	z-index: 30;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	max-height: 288px;
	margin: 0;
	padding: 4px;
	overflow: auto;
	list-style: none;
	background: var(--jlc-white);
	border: 1px solid var(--jlc-line2);
	border-radius: 12px;
	box-shadow: 0 18px 36px -16px rgba(28, 42, 58, 0.5);
	animation: jlc-pop 0.14s var(--jlc-ease);
}

.jlc-list[hidden] {
	display: none;
}

.jlc-opt-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: 'n o' 'c o';
	column-gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	cursor: pointer;
}

.jlc-opt-row.is-active,
.jlc-opt-row:hover {
	background: var(--jlc-sand);
}

.jlc-opt-n {
	grid-area: n;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jlc-opt-c {
	grid-area: c;
	font-size: 13px;
	color: var(--jlc-dim);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jlc-opt-o {
	grid-area: o;
	align-self: center;
	font: 600 12px/1 var(--jlc-mono);
	color: var(--jlc-ink2);
	padding: 4px 7px;
	background: var(--jlc-paper3);
	border-radius: 6px;
}

/* flight time */
.jlc-dur {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.jlc-unit {
	position: relative;
	display: block;
	margin: 0;
}

.jlc-unit .jlc-input {
	padding: 0 34px 0 10px;
}

.jlc-unit span {
	position: absolute;
	right: 9px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	font-weight: 700;
	color: var(--jlc-dim);
	pointer-events: none;
}

.jlc-lands {
	margin: 6px 2px 0;
	min-height: 21px;
	font-size: 14px;
	font-weight: 700;
	color: var(--jlc-sea-ink);
}

.jlc-hint {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--jlc-dim);
}

/* segmented radios and the 12/24 h switch */
.jlc-seg {
	display: inline-grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(48px, 1fr);
	max-width: 100%;
	overflow: hidden;
	background: var(--jlc-white);
	border: 1.5px solid var(--jlc-line2);
	border-radius: 10px;
}

.jlc-seg-opt {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.jlc-seg-opt input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.jlc-seg-opt span {
	display: grid;
	place-items: center;
	height: 43px;
	font-weight: 700;
	transition: background 0.2s, color 0.2s;
}

.jlc-seg-opt + .jlc-seg-opt span {
	border-left: 1px solid var(--jlc-line);
}

.jlc-seg-opt input:checked + span {
	color: var(--jlc-paper2);
	background: var(--jlc-ink);
	border-color: var(--jlc-ink);
}

.jlc-seg-opt input:focus-visible + span {
	box-shadow: inset 0 0 0 3px var(--jlc-ochre);
}

/* switches */
.jlc-sws {
	display: grid;
	align-content: start;
}

.jlc-switch {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	min-height: 42px;
	font-weight: 600;
	cursor: pointer;
}

.jlc-switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.jlc-switch-ui {
	position: relative;
	flex: none;
	width: 46px;
	height: 26px;
	background: var(--jlc-line2);
	border-radius: 999px;
	transition: background 0.2s;
}

.jlc-switch-ui::after {
	content: '';
	position: absolute;
	left: 3px;
	top: 3px;
	width: 20px;
	height: 20px;
	background: var(--jlc-white);
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(28, 42, 58, 0.35);
	transition: transform 0.22s var(--jlc-ease);
}

.jlc-switch input:checked + .jlc-switch-ui {
	background: var(--jlc-sea-ink);
}

.jlc-switch input:checked + .jlc-switch-ui::after {
	transform: translateX(20px);
}

.jlc-switch input:focus-visible + .jlc-switch-ui {
	box-shadow: 0 0 0 3px var(--jlc-paper2), 0 0 0 6px var(--jlc-ochre);
}

.jlc-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 10px 12px;
	font-size: 14px;
	background: var(--jlc-ochre-soft);
	border-radius: 10px;
	cursor: pointer;
}

.jlc-check[hidden] {
	display: none;
}

.jlc-check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--jlc-ink);
}

.jlc-error {
	margin: 0;
	padding: 10px 12px;
	font-weight: 700;
	color: #8a1f0c;
	background: #fbe3dc;
	border: 1px solid #e8a899;
	border-radius: 10px;
}

.jlc-error[hidden] {
	display: none;
}

.jlc-noscript {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--jlc-ink2);
}

/* buttons */
.jlc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 20px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	border: 1.5px solid var(--jlc-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--jlc-ink);
	cursor: pointer;
	transition: transform 0.2s var(--jlc-ease), background 0.2s, color 0.2s, box-shadow 0.2s;
}

.jlc-btn:hover {
	background: var(--jlc-ink);
	color: var(--jlc-paper2);
	transform: translateY(-1px);
}

.jlc-body .jlc-btn-primary {
	width: 100%;
	min-height: 54px;
	font-size: 17px;
	color: #fff;
	background: var(--jlc-accent-ink);
	border-color: var(--jlc-accent-ink);
	box-shadow: 0 12px 22px -14px rgba(162, 61, 28, 0.9);
}

.jlc-body .jlc-btn-primary:hover {
	background: #8c3213;
	border-color: #8c3213;
	box-shadow: 0 16px 26px -14px rgba(162, 61, 28, 0.95);
}

.jlc-btn-primary:active {
	transform: translateY(1px);
}

.jlc-btn svg {
	flex: none;
}

/* ---------------------------------------------------------------- result */

.jlc-result {
	min-width: 0;
	padding: 18px 16px 20px;
	border-top: 1px solid var(--jlc-line);
	background:
		radial-gradient(120% 60% at 50% -10%, rgba(94, 156, 148, 0.13), transparent 60%),
		linear-gradient(180deg, #fff, var(--jlc-paper2));
	border-radius: 0 0 16px 16px;
}

.jlc-empty {
	display: grid;
	justify-items: center;
	align-content: center;
	gap: 6px;
	min-height: 360px;
	padding: 8px 8px 12px;
	text-align: center;
}

.jlc-empty-dial {
	position: relative;
	width: min(100%, 250px);
	aspect-ratio: 1;
	margin-bottom: 6px;
}

.jlc-empty-dial .jlc-dial {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	animation: jlc-fade 0.7s 0.1s var(--jlc-ease) forwards;
}

.jlc-empty-ring,
.jlc-empty-arc,
.jlc-empty-hub {
	position: absolute;
	border-radius: 50%;
}

.jlc-empty-ring {
	inset: 4%;
	background: conic-gradient(from 180deg, #1d2b3c, #7c9c9e 25%, #f3d58f 50%, #7c9c9e 75%, #1d2b3c);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 21px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 21px));
}

.jlc-empty-arc {
	inset: 24%;
	border: 14px solid var(--jlc-paper3);
}

.jlc-empty-hub {
	display: none;
}

.jlc-empty-dial.has-svg .jlc-empty-ring,
.jlc-empty-dial.has-svg .jlc-empty-arc {
	display: none;
}

.jlc-empty-t {
	margin: 0;
	font: 650 22px/1.2 var(--jlc-serif);
}

.jlc-empty-s {
	margin: 0;
	max-width: 30em;
	font-size: 15px;
	color: var(--jlc-ink2);
}

.jlc-res {
	display: grid;
	gap: 14px;
}

.jlc-res-in > * {
	animation: jlc-rise 0.55s var(--jlc-ease) both;
}

.jlc-res-in > :nth-child(2) { animation-delay: 0.06s; }
.jlc-res-in > :nth-child(3) { animation-delay: 0.12s; }
.jlc-res-in > :nth-child(4) { animation-delay: 0.18s; }
.jlc-res-in > :nth-child(5) { animation-delay: 0.24s; }

.jlc-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.jlc-stats.is-two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jlc-stat {
	display: grid;
	align-content: start;
	gap: 2px;
	min-width: 0;
	padding: 10px 10px 11px;
	background: var(--jlc-white);
	border: 1px solid var(--jlc-line);
	border-radius: var(--jlc-r);
}

.jlc-stat-k {
	font: 700 10.5px/1.25 var(--jlc-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--jlc-dim);
}

.jlc-stat-v {
	font: 650 clamp(24px, 6.4vw, 32px) / 1.05 var(--jlc-serif);
	letter-spacing: -0.015em;
	font-variant-numeric: tabular-nums lining-nums;
	white-space: nowrap;
}

.jlc-stat-s {
	font-size: 12.5px;
	color: var(--jlc-dim);
}

.jlc-stat-plan {
	background: var(--jlc-accent-soft);
	border-color: #e5b7a3;
}

.jlc-stat-plan .jlc-stat-v {
	color: var(--jlc-accent-ink);
}

.jlc-stat-wide .jlc-stat-v {
	font-size: clamp(20px, 5vw, 26px);
	white-space: normal;
}

.jlc-sentence {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--jlc-ink2);
}

.jlc-tonight,
.jlc-plane {
	display: flex;
	gap: 12px;
	padding: 14px;
	border-radius: var(--jlc-r);
	border: 1px solid;
}

.jlc-tonight {
	background: var(--jlc-ochre-soft);
	border-color: #e3c47e;
}

.jlc-plane {
	background: var(--jlc-sea-soft);
	border-color: #b4cec8;
}

.jlc-tn-ic {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	color: var(--jlc-paper2);
	background: var(--jlc-ink);
	border-radius: 50%;
}

.jlc-plane .jlc-tn-ic {
	background: var(--jlc-sea-ink);
}

.jlc-tn-ic .jlc-ic {
	width: 20px;
	height: 20px;
}

.jlc-tn-b {
	min-width: 0;
}

.jlc-tn-h {
	margin: 1px 0 2px;
	font: 700 11.5px/1.2 var(--jlc-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jlc-ink2);
}

.jlc-tn-big {
	margin: 0 0 2px;
	font: 650 clamp(24px, 6.4vw, 30px) / 1.1 var(--jlc-serif);
	letter-spacing: -0.01em;
}

.jlc-tn-s {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
}

.jlc-plane-l {
	margin: 6px 0 0;
	padding-left: 18px;
	font-size: 15px;
	line-height: 1.45;
}

.jlc-plane-l li + li {
	margin-top: 3px;
}

/* dial */
.jlc-dialcard {
	padding: 14px 12px 12px;
	background: var(--jlc-white);
	border: 1px solid var(--jlc-line);
	border-radius: var(--jlc-r);
}

.jlc-dial-head h3 {
	margin: 0 0 4px;
	font: 700 11.5px/1.2 var(--jlc-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jlc-ink2);
}

.jlc-dialwrap {
	display: grid;
	justify-items: center;
	gap: 10px;
}

.jlc-dialfig {
	width: min(100%, 340px);
	aspect-ratio: 1;
}

.jlc-dial {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.jlc-d-sleep {
	stroke: var(--jlc-ink);
}

.jlc-d-track {
	stroke: var(--jlc-paper3);
}

.jlc-d-bodyarc {
	stroke: var(--jlc-accent);
	opacity: 0.94;
}

.jlc-d-bodyline {
	stroke: rgba(255, 255, 255, 0.75);
}

.jlc-d-hr {
	font: 700 11px/1 var(--jlc-mono);
	fill: var(--jlc-dim);
}

.jlc-d-l1 {
	font: 700 11px/1 var(--jlc-mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	fill: var(--jlc-dim);
}

.jlc-d-l2 {
	font: 650 27px/1 var(--jlc-serif);
	fill: var(--jlc-ink);
	letter-spacing: -0.01em;
}

.jlc-d-l3 {
	font: 600 13px/1 var(--jlc-sans);
	fill: var(--jlc-ink2);
}

.jlc-d-swing {
	transform-box: view-box;
	transform-origin: 50% 50%;
	animation: jlc-swing 7s ease-in-out infinite;
}

.jlc-dial-ctl {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	width: 100%;
	max-width: 420px;
}

.jlc-play {
	min-height: 42px;
	padding: 0 16px;
}

.jlc-scrub-wrap {
	min-width: 0;
}

.jlc-scrub {
	display: block;
	width: 100%;
	height: 28px;
	margin: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.jlc-scrub::-webkit-slider-runnable-track {
	height: 8px;
	background: linear-gradient(90deg, var(--jlc-accent-soft), var(--jlc-sea-soft));
	border: 1px solid var(--jlc-line2);
	border-radius: 999px;
}

.jlc-scrub::-moz-range-track {
	height: 8px;
	background: linear-gradient(90deg, var(--jlc-accent-soft), var(--jlc-sea-soft));
	border: 1px solid var(--jlc-line2);
	border-radius: 999px;
}

.jlc-scrub::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 24px;
	height: 24px;
	margin-top: -9px;
	background: var(--jlc-accent);
	border: 3px solid var(--jlc-white);
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(28, 42, 58, 0.45);
}

.jlc-scrub::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: var(--jlc-accent);
	border: 3px solid var(--jlc-white);
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(28, 42, 58, 0.45);
}

.jlc-scrub-ends {
	display: flex;
	justify-content: space-between;
	margin-top: 1px;
	font: 700 11px/1 var(--jlc-mono);
	letter-spacing: 0.04em;
	color: var(--jlc-dim);
}

.jlc-dial-key {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 16px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--jlc-ink2);
}

.jlc-dial-key li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.jlc-dial-key i {
	display: inline-block;
	width: 22px;
	height: 8px;
	border-radius: 4px;
}

.jlc-dial-key .k-sky {
	background: linear-gradient(90deg, #1d2b3c, #7c9c9e, #f3d58f);
}

.jlc-dial-key .k-sleep {
	background: var(--jlc-ink);
}

.jlc-dial-key .k-body {
	background: var(--jlc-accent);
}

/* ------------------------------------------------------------ plan */

.jlc-plan {
	margin-top: 16px;
	padding: 20px 14px 20px;
	background: var(--jlc-paper2);
	border: 1px solid var(--jlc-line);
	border-radius: 16px;
	box-shadow: var(--jlc-shadow);
	animation: jlc-rise 0.55s var(--jlc-ease) both;
}

.jlc-print-title {
	display: none;
}

.jlc-plan-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
}

.jlc-plan-head h2 {
	margin: 0;
	font: 650 clamp(24px, 5.4vw, 30px) / 1.1 var(--jlc-serif);
	letter-spacing: -0.015em;
}

.jlc-fmt {
	display: inline-flex;
	padding: 3px;
	background: var(--jlc-white);
	border: 1.5px solid var(--jlc-line2);
	border-radius: 999px;
}

.jlc-seg-btn {
	min-width: 56px;
	height: 34px;
	padding: 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--jlc-ink2);
	background: transparent;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.jlc-seg-btn.is-on {
	color: var(--jlc-paper2);
	background: var(--jlc-ink);
}

.jlc-plan-note {
	margin: 8px 0 12px;
	font-size: 15px;
	color: var(--jlc-ink2);
}

.jlc-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
	color: var(--jlc-ink2);
}

.jlc-legend li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.jlc-leg-sw {
	display: inline-block;
	width: 26px;
	height: 14px;
	border-radius: 4px;
}

.jlc-leg-mk {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	background: var(--jlc-white);
	border: 1.5px solid var(--jlc-ink);
	border-radius: 50%;
}

.jlc-leg-mk .jlc-ic {
	width: 12px;
	height: 12px;
}

/* 24 h axis and day rows share one grid so the bars line up */
.jlc-axis,
.jlc-day-btn {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr) 150px 18px;
	align-items: center;
	gap: 0 14px;
}

.jlc-axis {
	height: 16px;
	padding: 0 14px;
	margin-bottom: 4px;
}

.jlc-axis-b {
	position: relative;
	display: block;
	height: 16px;
}

.jlc-axis-b i {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	font: 700 11px/16px var(--jlc-mono);
	color: var(--jlc-dim);
	font-style: normal;
}

.jlc-axis-b i:first-child {
	transform: none;
}

.jlc-axis-b i:last-child {
	transform: translateX(-100%);
}

.jlc-days {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jlc-day {
	margin: 0 0 8px;
	background: var(--jlc-white);
	border: 1px solid var(--jlc-line);
	border-radius: var(--jlc-r);
	transition: box-shadow 0.25s, border-color 0.25s, background 0.25s;
}

.jlc-day.is-current {
	border-color: var(--jlc-accent);
	box-shadow: inset 4px 0 0 var(--jlc-accent), 0 10px 20px -16px rgba(162, 61, 28, 0.7);
}

.jlc-day.k-done {
	background: linear-gradient(90deg, var(--jlc-sea-soft), var(--jlc-white) 40%);
}

.jlc-day.k-pre,
.jlc-day.k-flight {
	background: var(--jlc-paper2);
}

.jlc-day-h {
	margin: 0;
	font: inherit;
}

.jlc-day-btn {
	width: 100%;
	min-height: 60px;
	padding: 10px 14px;
	text-align: left;
	background: transparent;
	border: 0;
	border-radius: var(--jlc-r);
	cursor: pointer;
}

.jlc-day-name {
	display: grid;
	gap: 1px;
	min-width: 0;
}

.jlc-day-name b {
	font: 650 17px/1.2 var(--jlc-serif);
}

.jlc-day-name small {
	font-size: 13px;
	color: var(--jlc-dim);
}

.jlc-day-lag {
	justify-self: end;
	padding: 4px 9px;
	font: 700 12px/1.2 var(--jlc-mono);
	white-space: nowrap;
	color: var(--jlc-accent-ink);
	background: var(--jlc-accent-soft);
	border-radius: 999px;
}

.jlc-day.k-done .jlc-day-lag {
	color: var(--jlc-sea-ink);
	background: var(--jlc-sea-soft);
}

.jlc-chev {
	color: var(--jlc-dim);
	transition: transform 0.25s var(--jlc-ease);
}

.jlc-day.is-open .jlc-chev {
	transform: rotate(180deg);
}

/* the 24 h bar */
.jlc-bar {
	position: relative;
	display: block;
	height: 30px;
	background:
		linear-gradient(90deg, transparent calc(25% - 1px), rgba(28, 42, 58, 0.14) calc(25% - 1px) 25%, transparent 25% calc(50% - 1px), rgba(28, 42, 58, 0.14) calc(50% - 1px) 50%, transparent 50% calc(75% - 1px), rgba(28, 42, 58, 0.14) calc(75% - 1px) 75%, transparent 75%),
		var(--jlc-sand);
	border-radius: 8px;
}

.jlc-bs {
	position: absolute;
	top: 0;
	bottom: 0;
	display: grid;
	place-items: center;
	min-width: 3px;
	overflow: hidden;
	border-radius: 6px;
}

.jlc-bs i {
	font: 700 11px/1 var(--jlc-mono);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-style: normal;
	white-space: nowrap;
}

.jlc-bs.s-sleep,
.jlc-leg-sw.s-sleep {
	color: #e8eef5;
	background:
		radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.4) 1px, transparent 1.7px) 0 0 / 11px 11px,
		radial-gradient(circle at 75% 70%, rgba(255, 255, 255, 0.28) 1px, transparent 1.7px) 0 0 / 11px 11px,
		var(--jlc-ink);
}

.jlc-bs.s-seek,
.jlc-leg-sw.s-seek {
	color: #3b2a05;
	background: linear-gradient(180deg, #e8b955, var(--jlc-ochre));
}

.jlc-bs.s-avoid,
.jlc-leg-sw.s-avoid {
	color: #fff;
	background: repeating-linear-gradient(135deg, var(--jlc-sea-ink) 0 5px, #4b8279 5px 10px);
}

.jlc-bs.s-flight,
.jlc-leg-sw.s-flight {
	color: var(--jlc-sea-ink);
	background: repeating-linear-gradient(90deg, rgba(94, 156, 148, 0.34) 0 7px, rgba(94, 156, 148, 0.14) 7px 14px);
	box-shadow: inset 0 0 0 1.5px rgba(51, 102, 95, 0.55);
}

.jlc-bs.s-before {
	background: repeating-linear-gradient(135deg, rgba(28, 42, 58, 0.08) 0 4px, transparent 4px 8px);
}

.jlc-mk {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	transform: translate(-50%, -50%);
	background: var(--jlc-white);
	border: 1.5px solid var(--jlc-ink);
	border-radius: 50%;
	box-shadow: 0 2px 5px rgba(28, 42, 58, 0.35);
}

.jlc-mk .jlc-ic {
	width: 13px;
	height: 13px;
}

.jlc-mk.mk-mel {
	color: var(--jlc-accent-ink);
}

.jlc-mk.mk-cof {
	color: #6b4423;
}

.jlc-leg-mk.mk-mel {
	color: var(--jlc-accent-ink);
}

.jlc-leg-mk.mk-cof {
	color: #6b4423;
}

/* expandable instructions: height animates with grid rows */
.jlc-day-body {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	transition: grid-template-rows 0.28s var(--jlc-ease), visibility 0s linear 0.28s;
}

.jlc-day.is-open .jlc-day-body {
	grid-template-rows: 1fr;
	visibility: visible;
	transition: grid-template-rows 0.28s var(--jlc-ease), visibility 0s;
}

.jlc-day-in {
	min-height: 0;
	overflow: hidden;
}

.jlc-lines {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 4px 14px 14px;
	list-style: none;
}

.jlc-line {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	font-size: 16px;
	line-height: 1.45;
}

.jlc-line .jlc-ic {
	width: 20px;
	height: 20px;
	margin-top: 1px;
	color: var(--jlc-dim);
}

.jlc-line.k-sleep .jlc-ic { color: var(--jlc-ink); }
.jlc-line.k-seek .jlc-ic { color: var(--jlc-ochre-ink); }
.jlc-line.k-avoid .jlc-ic { color: var(--jlc-sea-ink); }
.jlc-line.k-melatonin .jlc-ic { color: var(--jlc-accent-ink); }
.jlc-line.k-coffee .jlc-ic { color: #6b4423; }

/* staggered reveal (class set by JS only when motion is allowed) */
.jlc-anim .jlc-day {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.5s var(--jlc-ease), transform 0.5s var(--jlc-ease), box-shadow 0.25s, border-color 0.25s, background 0.25s;
}

.jlc-anim .jlc-day.is-in {
	opacity: 1;
	transform: none;
}

.jlc-anim .jlc-bar .jlc-bs {
	transform: scaleX(0);
	transform-origin: left center;
}

.jlc-anim .jlc-day.is-in .jlc-bar .jlc-bs {
	transform: none;
	transition: transform 0.7s var(--jlc-ease) 0.2s;
}

.jlc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 4px;
}

.jlc-more {
	margin: 12px 0 0;
	font-size: 16px;
}

.jlc-more a {
	font-weight: 700;
	color: var(--jlc-accent-ink);
}

.jlc-disc {
	margin: 12px 0 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--jlc-dim);
}

.jlc-toast {
	position: fixed;
	left: 50%;
	bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	z-index: 80;
	padding: 11px 18px;
	font-weight: 700;
	color: var(--jlc-paper2);
	background: var(--jlc-ink);
	border-radius: 999px;
	box-shadow: 0 14px 30px -12px rgba(28, 42, 58, 0.7);
	opacity: 0;
	transform: translate(-50%, 14px);
	pointer-events: none;
	transition: opacity 0.2s, transform 0.25s var(--jlc-ease);
}

.jlc-toast.is-on {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* keyframes */
@keyframes jlc-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

@keyframes jlc-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes jlc-pop {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: none; }
}

@keyframes jlc-swing {
	0%, 12% { transform: rotate(66deg); }
	50%, 62% { transform: rotate(0deg); }
	100% { transform: rotate(66deg); }
}

/* ------------------------------------------------------------ layouts */

@media (max-width: 719px) {
	.jlc-axis,
	.jlc-day-btn {
		grid-template-columns: minmax(0, 1fr) auto 18px;
		grid-template-areas: 'name lag chev' 'bar bar bar';
		gap: 8px 10px;
	}
	.jlc-axis {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: 'bar';
		padding: 0 14px;
	}
	.jlc-axis > :nth-child(1),
	.jlc-axis > :nth-child(3),
	.jlc-axis > :nth-child(4) {
		display: none;
	}
	.jlc-axis-b {
		grid-area: bar;
	}
	.jlc-day-name {
		grid-area: name;
	}
	.jlc-day-btn .jlc-bar {
		grid-area: bar;
	}
	.jlc-day-lag {
		grid-area: lag;
	}
	.jlc-chev {
		grid-area: chev;
	}
	.jlc-plan {
		padding: 16px 10px;
	}
}

@media (min-width: 640px) {
	.jlc-form {
		padding: 24px 24px 26px;
		gap: 20px;
	}
	.jlc-result {
		padding: 22px 24px 24px;
	}
	.jlc-stat-v {
		font-size: 30px;
	}
	.jlc-plan {
		padding: 24px 22px 24px;
	}
}

@media (min-width: 1000px) {
	.jlc-card {
		display: grid;
		grid-template-columns: minmax(0, 590px) minmax(0, 1fr);
		align-items: stretch;
	}
	.jlc-form {
		padding: 26px 28px 28px;
		gap: 18px;
		align-content: start;
	}
	.jlc-result {
		display: grid;
		align-content: start;
		padding: 26px 26px 28px;
		border-top: 0;
		border-left: 1px solid var(--jlc-line);
		border-radius: 0 16px 16px 0;
	}
	.jlc-empty {
		min-height: 0;
		height: 100%;
	}
	.jlc-empty-dial {
		width: min(100%, 290px);
	}
}

@media (min-width: 1000px) {
	.jlc-fs {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 14px;
	}
	.jlc-fs > * {
		grid-column: 1 / -1;
	}
	.jlc-two {
		display: contents;
	}
	.jlc-fs .jlc-w3 { grid-column: span 3; }
	.jlc-fs .jlc-w4 { grid-column: span 4; }
	.jlc-fs .jlc-w5 { grid-column: span 5; }
	.jlc-fs .jlc-w6 { grid-column: span 6; }
	.jlc-form { gap: 14px; }
	.jlc-fs { gap: 12px 14px; }
}

@media (max-width: 380px) {
	.jlc-btn {
		padding: 0 14px;
	}
	.jlc-stat {
		padding: 9px 8px 10px;
	}
	.jlc-seg {
		grid-auto-columns: minmax(40px, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.jlc-body *,
	.jlc-body *::before,
	.jlc-body *::after {
		animation: none !important;
		transition: none !important;
	}
	.jlc-empty-dial .jlc-dial {
		opacity: 1;
	}
}


/* ------------------------------------------------------------------ article */

.jlc-article {
	max-width: 820px;
	margin: 0 auto;
	padding: 56px 24px 40px;
	font-size: 17px;
	line-height: 1.7;
}

.jlc-article h2 {
	font-family: var(--jlc-serif);
	margin: 2.2em 0 0.6em;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.jlc-article > h2:first-child,
.jlc-article > h2:first-of-type {
	margin-top: 0;
}

.jlc-article h3 {
	margin: 1.6em 0 0.4em;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
}

.jlc-article p,
.jlc-article ul,
.jlc-article ol {
	margin: 0 0 1.1em;
}

.jlc-article a {
	color: var(--jlc-accent-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jlc-article figure {
	margin: 1.6em 0;
}

.jlc-article figure img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 12px;
	background: var(--jlc-sand);
}

.jlc-article figcaption {
	margin-top: 6px;
	font-size: 13px;
	color: var(--jlc-dim);
}

.jlc-article table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 1.4em 0;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.4;
	background: var(--jlc-white);
	border: 1px solid var(--jlc-line);
	border-radius: 12px;
}

.jlc-article th,
.jlc-article td {
	padding: 9px 14px;
	text-align: left;
	border-bottom: 1px solid var(--jlc-line);
}

.jlc-article thead th {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--jlc-dim);
}

.jlc-article tbody tr:last-child > * {
	border-bottom: 0;
}

/* Reserved so a late ad fill cannot shift the text below it. */
.jlc-ad {
	min-height: 280px;
	margin: 2em 0;
	text-align: center;
}

/* ------------------------------------------------------------------ footer */

.jlc-foot {
	background: var(--jlc-night);
	color: #D8D1C3;
}

.jlc-foot-in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 32px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 26px 24px 22px;
	font-size: 14px;
}

.jlc-foot-logo,
.jlc-foot-logo:hover {
	color: #F4EEE3;
}

.jlc-foot-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	font-weight: 600;
}

.jlc-foot-nav a,
.jlc-foot-tools a {
	color: #E4DDCF;
	text-decoration: none;
}

.jlc-foot-nav a:hover,
.jlc-foot-tools a:hover {
	color: #F4EEE3;
	text-decoration: underline;
	text-decoration-color: var(--jlc-ochre);
	text-underline-offset: 3px;
}

.jlc-foot-tools {
	display: flex;
	flex-basis: 100%;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(233, 226, 212, 0.18);
	font-size: 13px;
}

.jlc-foot-label {
	font: 700 11px/1 var(--jlc-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jlc-ochre);
}

.jlc-foot-c {
	flex-basis: 100%;
	margin: 0;
	font-size: 13px;
	color: #A9A296;
}

/* ------------------------------------------------------------------ print */

@media print {
	html,
	body.jlc-body {
		background: #fff;
	}
	.jlc-mast,
	.jlc-hero,
	.jlc-card,
	.jlc-article,
	.jlc-foot,
	.jlc-ad,
	.jlc-actions,
	.jlc-fmt,
	.jlc-toast,
	.jlc-more,
	.jlc-chev {
		display: none !important;
	}
	.jlc-main {
		padding: 0;
	}
	.jlc-plan {
		margin: 0;
		padding: 0;
		border: 0;
		box-shadow: none;
		background: #fff;
		animation: none;
	}
	.jlc-print-title {
		display: block;
		margin: 0 0 6px;
		font: 650 20px/1.2 var(--jlc-serif);
	}
	.jlc-day {
		break-inside: avoid;
		opacity: 1 !important;
		transform: none !important;
	}
	.jlc-day-body {
		grid-template-rows: 1fr !important;
		visibility: visible !important;
		transition: none !important;
	}
	.jlc-bar,
	.jlc-bs,
	.jlc-mk,
	.jlc-day-lag {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.jlc-anim .jlc-bar .jlc-bs {
		transform: none !important;
	}
}
