/*
 * Waypoint front end. Deliberately quiet: it inherits the theme's fonts and
 * takes one accent colour (--waypoint-accent, set in Waypoint → Settings),
 * so it sits inside any KÖL build without fighting the client's brand.
 */

:root { --waypoint-accent: #2c7565; }

.waypoint-save,
.waypoint-dock,
.waypoint-trip,
.waypoint-itinerary,
.waypoint-toast {
	--waypoint-ink: #262626;
	--waypoint-muted: #6c7a84;
	--waypoint-line: rgba(38, 38, 38, .12);
	--waypoint-paper: #fff;
	--waypoint-radius: 12px;
	box-sizing: border-box;
}

.waypoint-save *,
.waypoint-dock *,
.waypoint-trip *,
.waypoint-itinerary * {
	box-sizing: border-box;
}

/* ── The heart ───────────────────────────────────────────────────────── */

.waypoint-heart {
	width: 1.15em;
	height: 1.15em;
	flex: none;
	fill: transparent;
	stroke: currentColor;
	stroke-width: 2;
	transition: fill .15s ease, transform .2s cubic-bezier(.3, 1.6, .5, 1);
}

.waypoint-save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4em;
	margin: 0;
	border: 0;
	cursor: pointer;
	font: inherit;
	line-height: 1;
	color: var(--waypoint-ink);
	-webkit-tap-highlight-color: transparent;
}

.waypoint-save--icon {
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
	font-size: 18px;
}

.waypoint-save--button {
	padding: .65em 1.1em;
	border: 1.5px solid currentColor;
	border-radius: 999px;
	background: transparent;
	font-size: .95em;
	font-weight: 600;
}

.waypoint-save:hover .waypoint-heart { transform: scale(1.12); }

.waypoint-save:focus-visible {
	outline: 3px solid var(--waypoint-accent);
	outline-offset: 2px;
}

.waypoint-save.is-saved { color: var(--waypoint-accent); }

.waypoint-save.is-saved .waypoint-heart {
	fill: currentColor;
	animation: waypoint-pop .35s cubic-bezier(.3, 1.6, .5, 1);
}

.waypoint-save--peek { margin: 0 0 .75em; width: 100%; }

@keyframes waypoint-pop {
	0% { transform: scale(.6); }
	100% { transform: scale(1); }
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

.waypoint-btn {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	padding: .6em 1.05em;
	border: 1.5px solid var(--waypoint-line);
	border-radius: 999px;
	background: var(--waypoint-paper);
	color: var(--waypoint-ink);
	font: inherit;
	font-size: .92em;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.waypoint-btn:hover { border-color: var(--waypoint-ink); }

.waypoint-btn--primary,
.waypoint-btn--primary:hover {
	border-color: var(--waypoint-accent);
	background: var(--waypoint-accent);
	color: #fff;
}

.waypoint-btn--primary .waypoint-heart { fill: #fff; stroke: #fff; }

.waypoint-btn--quiet { border-color: transparent; background: transparent; color: var(--waypoint-muted); }

.waypoint-btn[hidden] { display: none; }

/* ── Count badge ─────────────────────────────────────────────────────── */

.waypoint-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.6em;
	height: 1.6em;
	padding: 0 .45em;
	border-radius: 999px;
	background: var(--waypoint-accent);
	color: #fff;
	font-size: .78em;
	font-weight: 700;
	line-height: 1;
}

.waypoint-count[hidden] { display: none; }

/* ── The My Trip tab and drawer ──────────────────────────────────────── */

.waypoint-dock {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99990;
	font-size: 15px;
}

.waypoint-dock[hidden] { display: none; }

.waypoint-dock--left { right: auto; left: 20px; }

.waypoint-dock--left .waypoint-drawer { right: auto; left: 0; }

.waypoint-dock__tab {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .75em 1.1em;
	border: 0;
	border-radius: 999px;
	background: var(--waypoint-ink);
	color: #fff;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.waypoint-dock__tab .waypoint-heart { fill: var(--waypoint-accent); stroke: var(--waypoint-accent); }

.waypoint-dock__tab:focus-visible { outline: 3px solid var(--waypoint-accent); outline-offset: 3px; }

.waypoint-drawer {
	position: absolute;
	right: 0;
	bottom: calc(100% + 12px);
	display: flex;
	flex-direction: column;
	width: min(360px, calc(100vw - 40px));
	max-height: min(70vh, 560px);
	border-radius: var(--waypoint-radius);
	background: var(--waypoint-paper);
	color: var(--waypoint-ink);
	box-shadow: 0 12px 48px rgba(0, 0, 0, .28);
	overflow: hidden;
}

.waypoint-drawer[hidden] { display: none; }

.waypoint-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid var(--waypoint-line);
}

.waypoint-drawer__close {
	border: 0;
	background: none;
	color: var(--waypoint-muted);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.waypoint-drawer__open { margin: 12px 16px 16px; justify-content: center; }

.waypoint-mini {
	flex: 1;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	overflow-y: auto;
}

.waypoint-mini__item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 8px 16px;
}

.waypoint-mini__item img,
.waypoint-mini__ph {
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 8px;
	background: var(--waypoint-line);
	object-fit: cover;
}

.waypoint-mini__text { flex: 1; min-width: 0; line-height: 1.3; }

.waypoint-mini__text a {
	display: block;
	overflow: hidden;
	color: inherit;
	font-weight: 600;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.waypoint-mini__text small { color: var(--waypoint-muted); }

.waypoint-mini__remove,
.waypoint-card__remove {
	flex: none;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--waypoint-muted);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.waypoint-mini__remove:hover,
.waypoint-card__remove:hover { background: var(--waypoint-line); color: var(--waypoint-ink); }

.waypoint-mini__empty,
.waypoint-trip__empty { padding: 20px 16px; color: var(--waypoint-muted); list-style: none; }

/* ── Toast ───────────────────────────────────────────────────────────── */

.waypoint-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 99999;
	display: flex;
	gap: .75em;
	align-items: center;
	padding: .8em 1.2em;
	border-radius: 999px;
	background: var(--waypoint-ink);
	color: #fff;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
	font-size: 15px;
	font-weight: 700;
	opacity: 0;
	transform: translate(-50%, 12px);
	transition: opacity .25s ease, transform .25s ease;
	pointer-events: none;
}

.waypoint-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

.waypoint-toast a { color: var(--waypoint-accent); font-weight: 700; text-decoration: none; }

/* ── Maps ────────────────────────────────────────────────────────────── */

.waypoint-map {
	width: 100%;
	height: 420px;
	border-radius: var(--waypoint-radius);
	background: #e8ecee;
	z-index: 0;
}

.waypoint-map[hidden] { display: none; }

.waypoint-pin { background: none; border: 0; }

.waypoint-pin span,
.waypoint-stop__pin {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 2.5px solid #fff;
	border-radius: 50%;
	background: var(--waypoint-accent);
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.waypoint-pin span { transition: transform .15s ease, background .15s ease; }

.waypoint-pin.is-active span { background: var(--waypoint-ink); transform: scale(1.25); }

.waypoint-stop__pin.is-off { background: var(--waypoint-muted); }

/* ── Cards (itinerary stops and trip items) ──────────────────────────── */

.waypoint-card {
	position: relative;
	display: flex;
	gap: 14px;
	padding: 12px;
	border: 1px solid var(--waypoint-line);
	border-radius: var(--waypoint-radius);
	background: var(--waypoint-paper);
	color: var(--waypoint-ink);
}

.waypoint-card__media {
	flex: none;
	width: 120px;
	align-self: stretch;
	min-height: 96px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--waypoint-line);
}

.waypoint-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.waypoint-card__body { flex: 1; min-width: 0; padding-right: 44px; }

.waypoint-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .6em;
	margin-bottom: .25em;
	color: var(--waypoint-muted);
	font-size: .78em;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.waypoint-card__time { color: var(--waypoint-accent); }

.waypoint-card__title { margin: 0 0 .3em; font-size: 1.1em; line-height: 1.25; }

.waypoint-card__title a { color: inherit; text-decoration: none; }

.waypoint-card__title a:hover { text-decoration: underline; }

.waypoint-card__when,
.waypoint-card__note,
.waypoint-card__address,
.waypoint-card__nomap { margin: 0 0 .3em; font-size: .92em; line-height: 1.45; }

.waypoint-card__when { font-weight: 600; }

.waypoint-card__address,
.waypoint-card__nomap { color: var(--waypoint-muted); }

.waypoint-card .waypoint-save { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; box-shadow: none; border: 1px solid var(--waypoint-line); }

.waypoint-card__remove { position: absolute; top: 8px; right: 8px; }

/* ── Itinerary ───────────────────────────────────────────────────────── */

.waypoint-itinerary { margin: 2em 0; color: var(--waypoint-ink); }

.waypoint-itinerary__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5em 1.25em;
	margin-bottom: 1em;
	color: var(--waypoint-muted);
	font-weight: 600;
}

.waypoint-itinerary__summary [data-waypoint-action="pdf"] { margin-left: auto; }

.waypoint-daytabs { display: flex; flex-wrap: wrap; gap: .5em; margin-bottom: 1em; }

.waypoint-daytabs button {
	padding: .45em .95em;
	border: 1.5px solid var(--waypoint-line);
	border-radius: 999px;
	background: var(--waypoint-paper);
	color: var(--waypoint-ink);
	font: inherit;
	font-size: .9em;
	font-weight: 600;
	cursor: pointer;
}

.waypoint-daytabs button.is-active { border-color: var(--waypoint-ink); background: var(--waypoint-ink); color: #fff; }

.waypoint-itinerary__body { display: grid; gap: 24px; }

.waypoint-day { scroll-margin-top: 100px; margin-bottom: 2em; }

.waypoint-day__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: .25em 1em;
	margin-bottom: .5em;
}

.waypoint-day__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .5em; margin: 0; font-size: 1.5em; line-height: 1.2; }

.waypoint-day__num { color: var(--waypoint-accent); }

.waypoint-day__directions { color: var(--waypoint-ink); font-size: .9em; font-weight: 600; }

.waypoint-day__intro { margin: 0 0 1em; }

.waypoint-stops { position: relative; margin: 0; padding: 0; list-style: none; }

/* The line that threads the stops of a day together. */
.waypoint-stops::before {
	content: "";
	position: absolute;
	top: 20px;
	bottom: 20px;
	left: 14px;
	border-left: 2px dashed var(--waypoint-line);
}

.waypoint-stop { position: relative; display: flex; gap: 14px; align-items: flex-start; margin: 0 0 12px; }

.waypoint-stop .waypoint-stop__pin { position: relative; flex: none; margin-top: 14px; }

.waypoint-stop .waypoint-card { flex: 1; min-width: 0; }

.waypoint-leg {
	position: relative;
	margin: -4px 0 8px 44px;
	color: var(--waypoint-muted);
	font-size: .82em;
	font-style: italic;
	list-style: none;
}

@media (min-width: 960px) {
	.waypoint-itinerary__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
	.waypoint-itinerary__mapwrap { position: sticky; top: 100px; order: 2; }
	.waypoint-itinerary__mapwrap .waypoint-map { height: calc(100vh - 140px); max-height: 720px; }
}

/* ── Trip page ───────────────────────────────────────────────────────── */

.waypoint-trip { margin: 1em 0 2em; color: var(--waypoint-ink); }

.waypoint-trip__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75em 1em; margin-bottom: 1.25em; }

.waypoint-trip__title { flex-basis: 100%; margin: 0; font-size: 1.35em; }

.waypoint-trip__title[hidden] { display: none; }

.waypoint-trip__count { color: var(--waypoint-muted); font-weight: 600; }

.waypoint-trip__actions { display: flex; flex-wrap: wrap; gap: .5em; margin-left: auto; }

.waypoint-trip__actions[hidden] { display: none; }

.waypoint-trip__body { display: grid; gap: 20px; }

.waypoint-cards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.waypoint-card--trip { align-items: flex-start; margin: 0; }

.waypoint-card--trip .waypoint-stop__pin { position: absolute; top: -8px; left: -8px; z-index: 1; width: 26px; height: 26px; font-size: 12px; }

@media (min-width: 960px) {
	.waypoint-trip__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
	.waypoint-trip .waypoint-map { position: sticky; top: 100px; order: 2; height: calc(100vh - 160px); max-height: 680px; }
}

@media (max-width: 600px) {
	.waypoint-card__media { width: 88px; min-height: 80px; }
	.waypoint-map { height: 320px; }
	.waypoint-dock { right: 12px; bottom: 12px; }
	.waypoint-dock--left { right: auto; left: 12px; }
	.waypoint-itinerary__summary .waypoint-btn { margin-left: 0; }
}

.waypoint-print-title { display: none; }

/* ── Trip planner ────────────────────────────────────────────────────── */

.waypoint-planbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: .75em 1em;
	margin-bottom: 1em;
	padding: 14px 16px;
	border: 1px solid var(--waypoint-line);
	border-radius: var(--waypoint-radius);
	background: var(--waypoint-paper);
}

.waypoint-planbar[hidden],
.waypoint-daytabs[hidden] { display: none; }

.waypoint-planbar__date { display: flex; flex-direction: column; gap: .3em; font-size: .85em; font-weight: 700; }

.waypoint-planbar__date input {
	padding: .5em .7em;
	border: 1.5px solid var(--waypoint-line);
	border-radius: 8px;
	font: inherit;
	font-weight: 400;
}

.waypoint-planbar__hint { flex: 1 1 260px; margin: 0; color: var(--waypoint-muted); font-size: .9em; }

.waypoint-plan { display: grid; gap: 22px; min-width: 0; }

.waypoint-tday__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4em 1em;
	margin-bottom: .6em;
}

.waypoint-tday .waypoint-day__title { margin: 0; font-size: 1.25em; }

.waypoint-tday__date { color: var(--waypoint-ink); font-weight: 600; }

.waypoint-tday__tools { display: flex; flex-wrap: wrap; gap: .25em 1em; margin-left: auto; }

.waypoint-tday__hint { color: var(--waypoint-muted); font-size: .9em; }

.waypoint-tday__empty {
	padding: 16px;
	border: 1.5px dashed var(--waypoint-line);
	border-radius: var(--waypoint-radius);
	color: var(--waypoint-muted);
	font-size: .92em;
	list-style: none;
}

.waypoint-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--waypoint-ink);
	font: inherit;
	font-size: .88em;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.waypoint-link--quiet { color: var(--waypoint-muted); }

.waypoint-weather {
	padding: .3em .7em;
	border-radius: 999px;
	background: rgba(108, 122, 132, .12);
	color: var(--waypoint-ink);
	font-size: .82em;
	font-weight: 600;
}

.waypoint-weather.is-wet { background: rgba(52, 87, 111, .16); }

.waypoint-card__warn {
	margin: .35em 0 0;
	color: #7b2c11;
	font-size: .88em;
	font-weight: 600;
}

.waypoint-card__warn::before { content: "! "; }

.waypoint-card__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: .6em; }

.waypoint-card__move {
	max-width: 100%;
	padding: .3em .5em;
	border: 1.5px solid var(--waypoint-line);
	border-radius: 8px;
	background: var(--waypoint-paper);
	color: var(--waypoint-ink);
	font: inherit;
	font-size: .85em;
}

.waypoint-card__nudge {
	width: 30px;
	height: 30px;
	border: 1.5px solid var(--waypoint-line);
	border-radius: 8px;
	background: var(--waypoint-paper);
	color: var(--waypoint-ink);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}

.waypoint-card__nudge[disabled] { opacity: .35; cursor: default; }

.waypoint-card__move:focus-visible,
.waypoint-card__nudge:focus-visible,
.waypoint-link:focus-visible { outline: 3px solid var(--waypoint-accent); outline-offset: 2px; }

.waypoint-card--trip[draggable="true"] { cursor: grab; }

.waypoint-card.is-dragging { opacity: .45; }

.waypoint-cards.is-drop-target { outline: 2px dashed var(--waypoint-accent); outline-offset: 6px; border-radius: var(--waypoint-radius); }

.waypoint-nearby {
	margin-top: 10px;
	padding: 12px 14px;
	border-radius: var(--waypoint-radius);
	background: rgba(49, 181, 153, .08);
	font-size: .92em;
}

.waypoint-nearby ul { margin: .5em 0 0; padding: 0; list-style: none; }

.waypoint-nearby li { display: flex; flex-wrap: wrap; align-items: center; gap: .2em .75em; margin: 0 0 .4em; }

.waypoint-nearby li a { color: inherit; font-weight: 600; }

.waypoint-nearby small { color: var(--waypoint-muted); }

.waypoint-nearby .waypoint-btn { margin-left: auto; padding: .35em .8em; }

.waypoint-trip .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}


/* ── Plan your trip: the pill and the wizard ─────────────────────────── */

.waypoint-wizpill,
.waypoint-wiz {
	--waypoint-ink: #262626;
	--waypoint-muted: #6c7a84;
	--waypoint-line: rgba(38, 38, 38, .12);
	--waypoint-paper: #fff;
	--waypoint-radius: 12px;
	box-sizing: border-box;
}

.waypoint-wizpill *,
.waypoint-wiz * { box-sizing: border-box; }

/* Opposite corner to the My Trip tab, so the two never sit on each other. */
.waypoint-wizpill {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 99990;
	display: flex;
	align-items: center;
	border-radius: 999px;
	background: var(--waypoint-accent);
	color: #fff;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
	font-size: 15px;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .3s ease, transform .3s ease;
}

.waypoint-wizpill--right { left: auto; right: 20px; }

.waypoint-wizpill[hidden] { display: none; }

.waypoint-wizpill.is-visible { opacity: 1; transform: none; }

.waypoint-wizpill button {
	margin: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	/* Themes uppercase and space out buttons; the pill's own setting wins. */
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
}

.waypoint-wizpill__open {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	padding: .8em .4em .8em 1.15em;
	/* Themes set a weight on every button; the pill's own (Style tab) wins. */
	font-weight: inherit !important;
}

.waypoint-wizpill__open svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.waypoint-wizpill__short { display: none; }

.waypoint-wizpill__close {
	width: 2.4em;
	height: 2.4em;
	margin-right: .3em !important;
	border-radius: 50%;
	font-size: 1.05em !important;
	line-height: 1;
	opacity: .8;
}

.waypoint-wizpill__close:hover { opacity: 1; background: rgba(255, 255, 255, .15) !important; }

.waypoint-wizpill button:focus-visible { outline: 3px solid #fff; outline-offset: -3px; border-radius: 999px; }

html.waypoint-wiz-open { overflow: hidden; }

.waypoint-wiz {
	position: fixed;
	inset: 0;
	z-index: 99995;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	color: var(--waypoint-ink);
	font-size: 16px;
}

.waypoint-wiz[hidden] { display: none; }

.waypoint-wiz__backdrop { position: absolute; inset: 0; background: rgba(20, 24, 28, .55); }

.waypoint-wiz__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(640px, 100%);
	max-height: min(88vh, 820px);
	margin: 0;
	border-radius: 16px;
	background: var(--waypoint-paper);
	box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
	overflow: hidden;
}

.waypoint-wiz__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px 24px; }

.waypoint-wiz__step { margin: 0; color: var(--waypoint-muted); font-size: .88em; font-weight: 600; }

.waypoint-wiz__x {
	width: 40px;
	height: 40px;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--waypoint-muted);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.waypoint-wiz__x:hover { background: var(--waypoint-line); color: var(--waypoint-ink); }

.waypoint-wiz__bar { height: 4px; margin: 0 24px; border-radius: 4px; background: var(--waypoint-line); overflow: hidden; }

/* The Style tab's Progress Bar sets the fill through --waypoint-wiz-fill. */
.waypoint-wiz__bar span { display: block; width: 0; height: 100%; background: var(--waypoint-wiz-fill, var(--waypoint-accent)); transition: width .3s ease; }

.waypoint-wiz__q,
.waypoint-wiz__results { flex: 1 1 auto; min-width: 0; min-height: 0; margin: 0; padding: 20px 24px 8px; border: 0; overflow-y: auto; }

.waypoint-wiz__q[hidden],
.waypoint-wiz__results[hidden] { display: none; }

.waypoint-wiz__title { display: block; width: 100%; margin: 0 0 .9em; padding: 0; border: 0; color: inherit; font-size: 1.45em; font-weight: 700; line-height: 1.2; text-transform: none; outline: none; }

/* Themes style submit buttons and legends hard; the wizard's own look wins inside it. */
.waypoint-wiz .waypoint-btn {
	border: 1.5px solid var(--waypoint-line);
	border-radius: 999px;
	background: var(--waypoint-paper);
	box-shadow: none;
	color: var(--waypoint-ink);
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
}

.waypoint-wiz .waypoint-btn:hover { border-color: var(--waypoint-ink); }

.waypoint-wiz .waypoint-btn--primary,
.waypoint-wiz .waypoint-btn--primary:hover { border-color: var(--waypoint-accent); background: var(--waypoint-accent); color: #fff; }

.waypoint-wiz .waypoint-btn--quiet { border-color: transparent; background: transparent; color: var(--waypoint-muted); }

.waypoint-wiz .waypoint-btn--quiet:hover { color: var(--waypoint-ink); }

html.waypoint-wiz-open .waypoint-wizpill,
html.waypoint-wiz-open .waypoint-dock { visibility: hidden; }

.waypoint-wiz__hint { margin: -.4em 0 1em; color: var(--waypoint-muted); font-size: .95em; }

.waypoint-wiz__hint.is-warning { color: #a4441d; font-weight: 600; }

.waypoint-wiz__choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }

.waypoint-wiz__choice {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 108px;
	padding: 16px 12px;
	border: 2px solid var(--waypoint-line);
	border-radius: var(--waypoint-radius);
	background: var(--waypoint-paper);
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}

/* As specific as the Style tab's Hover, so a base Answer Card colour set
   there can't silently cancel it; a picked answer keeps its own look. */
.waypoint-wiz .waypoint-wiz__choice:hover:not(:has(input:checked)) { border-color: var(--waypoint-ink); }

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

.waypoint-wiz__choice:has(input:checked) {
	--waypoint-wiz-icon: var(--waypoint-accent);
	border-color: var(--waypoint-accent);
	background: color-mix(in srgb, var(--waypoint-accent) 14%, #fff);
	color: var(--waypoint-accent);
}

.waypoint-wiz__choice:has(input:focus-visible) { outline: 3px solid var(--waypoint-accent); outline-offset: 2px; }

.waypoint-wiz__choices--many .waypoint-wiz__choice:has(input:checked)::after {
	content: "✓";
	position: absolute;
	top: 8px;
	right: 10px;
	color: var(--waypoint-accent);
	font-weight: 800;
}

.waypoint-wiz__icon {
	width: 34px;
	height: 34px;
	fill: none;
	/* Answer Card's Icon Color, set on the card so hover and selected can change it. */
	stroke: var(--waypoint-wiz-icon, var(--waypoint-accent));
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.waypoint-wiz__date { display: flex; flex-direction: column; gap: .4em; max-width: 280px; font-weight: 600; }

.waypoint-wiz__date input {
	padding: .7em .8em;
	border: 2px solid var(--waypoint-line);
	border-radius: 10px;
	font: inherit;
	font-size: 1.05em;
}

.waypoint-wiz__date input:focus { border-color: var(--waypoint-accent); outline: none; }

.waypoint-wiz__date input:focus-visible { outline: 3px solid var(--waypoint-accent); outline-offset: 2px; }

.waypoint-wiz__foot {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px 18px;
	border-top: 1px solid var(--waypoint-line);
}

.waypoint-wiz__foot [data-waypoint-wiz-next] { margin-left: auto; padding: .75em 1.4em; font-size: 1em; }

.waypoint-wiz__sub { margin: 1.1em 0 .6em; font-size: 1em; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--waypoint-muted); }

.waypoint-wiz__sub:first-child { margin-top: 0; }

.waypoint-wiz__its,
.waypoint-wiz__places { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.waypoint-wiz__it {
	display: flex;
	border: 1px solid var(--waypoint-line);
	border-radius: var(--waypoint-radius);
	overflow: hidden;
}

.waypoint-wiz__it.is-top { border: 2px solid var(--waypoint-accent); }

.waypoint-wiz__media { flex: none; width: 150px; background: var(--waypoint-line); }

.waypoint-wiz__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.waypoint-wiz__body { min-width: 0; padding: 14px 16px; }

.waypoint-wiz__body h4 { margin: 0 0 .25em; font-size: 1.1em; line-height: 1.25; }

.waypoint-wiz__body h4 a { color: inherit; text-decoration: none; }

.waypoint-wiz__meta { margin: 0 0 .5em; color: var(--waypoint-muted); font-size: .9em; font-weight: 600; }

.waypoint-wiz__excerpt { margin: 0 0 .7em; font-size: .93em; line-height: 1.45; }

.waypoint-wiz__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 .6em; }

.waypoint-wiz__chips span {
	padding: .2em .65em;
	border-radius: 999px;
	background: color-mix(in srgb, var(--waypoint-accent) 12%, #fff);
	color: var(--waypoint-accent);
	font-size: .8em;
	font-weight: 700;
}

.waypoint-wiz__actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }

.waypoint-wiz__places { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }

.waypoint-wiz__place {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border: 1px solid var(--waypoint-line);
	border-radius: var(--waypoint-radius);
}

.waypoint-wiz__thumb { flex: none; width: 56px; height: 56px; border-radius: 8px; background: var(--waypoint-line); overflow: hidden; }

.waypoint-wiz__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

.waypoint-wiz__place > div { flex: 1 1 auto; min-width: 0; }

.waypoint-wiz__name { display: block; overflow: hidden; color: inherit; font-weight: 600; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }

.waypoint-wiz__place small { color: var(--waypoint-muted); }

.waypoint-wiz__place .waypoint-save { flex: none; width: 40px; height: 40px; }

@media (max-width: 600px) {
	.waypoint-wizpill { left: 12px; bottom: 12px; font-size: 14px; }
	.waypoint-wizpill--right { left: auto; right: 12px; }
	.waypoint-wizpill__long { display: none; }
	.waypoint-wizpill__short { display: inline; }
	/* Full screen on a phone: the questions get the whole width to tap. */
	.waypoint-wiz { padding: 0; align-items: stretch; }
	.waypoint-wiz__panel { max-height: none; height: 100%; border-radius: 0; }
	.waypoint-wiz__q,
	.waypoint-wiz__results { padding: 16px 16px 8px; }
	.waypoint-wiz__head { padding-left: 16px; }
	.waypoint-wiz__bar { margin: 0 16px; }
	.waypoint-wiz__foot { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
	.waypoint-wiz__choices { grid-template-columns: 1fr 1fr; }
	.waypoint-wiz__choice { min-height: 96px; }
	.waypoint-wiz__it { flex-direction: column; }
	.waypoint-wiz__media { width: 100%; height: 140px; }
}

/* ── Print: a clean list to take on the road ─────────────────────────── */

@media print {
	/* Save as PDF prints the trip or itinerary alone, not the website around it. */
	body.waypoint-printing * { visibility: hidden; }
	body.waypoint-printing .waypoint-print-root,
	body.waypoint-printing .waypoint-print-root * { visibility: visible; }
	body.waypoint-printing .waypoint-print-root { position: absolute; top: 0; left: 0; width: 100%; margin: 0; }
	.waypoint-card__tools,
	.waypoint-tday__tools,
	.waypoint-nearby .waypoint-btn,
	.waypoint-planbar,
	.waypoint-dock,
	.waypoint-wizpill,
	.waypoint-wiz,
	.waypoint-toast,
	.waypoint-save,
	.waypoint-trip__actions,
	.waypoint-daytabs,
	.waypoint-card__remove,
	.waypoint-itinerary__summary .waypoint-btn,
	.leaflet-control-container { display: none !important; }
	.waypoint-trip__body,
	.waypoint-itinerary__body { display: block; }
	.waypoint-map { position: static !important; height: 360px !important; margin-bottom: 1em; break-inside: avoid; }
	.waypoint-card { break-inside: avoid; }
	.waypoint-print-title { display: block; margin: 0 0 1em; font-size: 1.3em; }
}

@media (prefers-reduced-motion: reduce) {
	.waypoint-heart,
	.waypoint-toast,
	.waypoint-wizpill,
	.waypoint-wiz__bar span,
	.waypoint-pin span { transition: none; animation: none !important; }
}
