/* Paddle Journey – animated kayak booking form */

.pj-app {
	--pj-land: #5f9f5c;
	--pj-reed: #4b8a4c;
	--pj-tree: #2f6b3f;
	--pj-tree-light: #57a05e;
	--pj-sand: #eed6a3;
	--pj-water: #16b3b0;
	--pj-deep: #0b6672;
	--pj-flow: rgba(255, 255, 255, 0.55);
	--pj-ink: #0e3441;
	--pj-muted: #4f6d76;
	--pj-panel: #f4fbfa;
	--pj-panel-2: #e2f2f0;
	--pj-line: #c6e2df;
	--pj-accent: #ff6a13;
	--pj-accent-ink: #fff;
	--pj-accent-deep: #d94f00;
	--pj-glow: #9ff7ff;
	--pj-select: var(--pj-deep);
	--pj-sig-bg: #0b5763;
	--pj-warn: #b42318;
	--pj-display: "Bricolage Grotesque", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
	--pj-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--pj-radius: 20px;

	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	color: var(--pj-ink);
	font-family: var(--pj-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-tap-highlight-color: transparent;
}
.pj-app *, .pj-app *::before, .pj-app *::after { box-sizing: border-box; }

.pj-app[data-theme="mangrove"] {
	--pj-land: #2f5d3a; --pj-reed: #3a6e45; --pj-tree: #1b3f25; --pj-tree-light: #3f7b52;
	--pj-sand: #c9b98a; --pj-water: #3c8f7c; --pj-deep: #23584c; --pj-ink: #15301f; --pj-muted: #4f6555;
	--pj-panel: #f2f6ef; --pj-panel-2: #e1eadb; --pj-line: #c7d6c0; --pj-sig-bg: #1f4d40;
}
.pj-app[data-theme="fjord"] {
	--pj-land: #8b9b8f; --pj-reed: #7a8b7e; --pj-tree: #2f4a43; --pj-tree-light: #4f6f65;
	--pj-sand: #cfc8b8; --pj-water: #4a80aa; --pj-deep: #274f73; --pj-ink: #1a2b3c; --pj-muted: #536476;
	--pj-panel: #f3f6f9; --pj-panel-2: #e2e9f0; --pj-line: #c9d5e0; --pj-sig-bg: #203f5c;
}
.pj-app[data-theme="sunset"] {
	--pj-land: #b98a55; --pj-reed: #a77b48; --pj-tree: #5f6b31; --pj-tree-light: #8f9b48;
	--pj-sand: #f5cf94; --pj-water: #ef8f63; --pj-deep: #b8563d; --pj-flow: rgba(255, 236, 200, 0.6);
	--pj-ink: #3a2016; --pj-muted: #77513f; --pj-panel: #fff6ee; --pj-panel-2: #fbe7d6; --pj-line: #f0d1b8;
	--pj-accent: #0f6f8c; --pj-accent-deep: #0a5168; --pj-glow: #ffe6a8; --pj-sig-bg: #6d2f22;
}
.pj-app[data-theme="night"] {
	--pj-land: #0a1c25; --pj-reed: #0f2a33; --pj-tree: #0d2731; --pj-tree-light: #16404b;
	--pj-sand: #19323d; --pj-water: #0b3a4d; --pj-deep: #062a38; --pj-flow: rgba(70, 240, 255, 0.55);
	--pj-ink: #e3f6fa; --pj-muted: #8fb2be; --pj-panel: #0e2430; --pj-panel-2: #163441; --pj-line: #24495b;
	--pj-accent: #ff7a2a; --pj-accent-deep: #c4520f; --pj-glow: #5ff4ff; --pj-select: #138da0; --pj-sig-bg: #04161e; --pj-warn: #ff9b8f;
}

/* ---------------------------------------------------------------- frame */

.pj-frame {
	position: relative;
	overflow: hidden;
	border-radius: var(--pj-radius);
	background: var(--pj-panel);
	box-shadow: 0 1px 0 var(--pj-line), 0 30px 60px -30px rgba(6, 50, 60, 0.45);
}
.pj-boot { min-height: 420px; display: grid; place-items: center; background: var(--pj-water); border-radius: var(--pj-radius); }
.pj-boot-kayak { font-size: 44px; animation: pj-bob 1.6s ease-in-out infinite; }

.pj-top {
	position: absolute;
	z-index: 3;
	inset: 0 0 auto 0;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 18px 20px 0;
	pointer-events: none;
}
.pj-title {
	margin: 0;
	padding: 6px 14px 8px;
	font-family: var(--pj-display);
	font-weight: 800;
	font-size: clamp(22px, 3vw, 32px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	font-stretch: 85%;
	color: #fff;
	background: var(--pj-deep);
	border-radius: 12px;
	transform: rotate(-1.2deg);
	box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
}
.pj-conditions {
	margin: 4px 0 0 auto;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--pj-ink);
	background: color-mix(in srgb, var(--pj-panel) 88%, transparent);
	border-radius: 99px;
	backdrop-filter: blur(6px);
	white-space: nowrap;
}
.pj-conditions:empty { display: none; }
.pj-sound {
	pointer-events: auto;
	margin-top: 2px;
	margin-left: 0;
	width: 38px;
	height: 38px;
	padding: 8px;
	border: 0;
	border-radius: 50%;
	color: var(--pj-ink);
	background: color-mix(in srgb, var(--pj-panel) 88%, transparent);
	cursor: pointer;
}
.pj-conditions:empty + .pj-sound { margin-left: auto; }
.pj-sound svg { width: 100%; height: 100%; display: block; }
.pj-sound[aria-pressed="true"] { background: var(--pj-accent); color: var(--pj-accent-ink); }

/* ---------------------------------------------------------------- scene */

.pj-scene { position: relative; line-height: 0; background: var(--pj-land); }
.pj-scene-svg { width: 100%; height: auto; display: block; }
.pj-land { fill: var(--pj-land); }
.pj-reed { fill: var(--pj-reed); opacity: 0.8; }
.pj-tree-shadow { fill: #000; opacity: 0.16; }
.pj-tree-crown { fill: var(--pj-tree); }
.pj-tree-light { fill: var(--pj-tree-light); opacity: 0.9; }
.pj-bank { fill: none; stroke: var(--pj-sand); stroke-linecap: round; }
.pj-river-deep { fill: none; stroke: var(--pj-deep); stroke-linecap: round; }
.pj-river { fill: none; stroke: var(--pj-water); stroke-linecap: round; }
.pj-river-flow {
	fill: none;
	stroke: var(--pj-flow);
	stroke-linecap: round;
	stroke-dasharray: 1.5 calc(34px - var(--pj-chop, 0.1) * 18px);
	opacity: calc(0.35 + var(--pj-chop, 0.1) * 0.5);
}
.pj-cloud { fill: #0a2530; }
.pj-clouds { opacity: 0; transition: opacity 1s; }
.pj-ripple { fill: none; stroke: var(--pj-flow); stroke-width: 1.2; }
.pj-whitecap { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.pj-wake { fill: none; stroke: var(--pj-flow); stroke-width: 1.6; stroke-linecap: round; }
.pj-ring { fill: none; stroke: #fff; stroke-width: 2; }
.pj-drop { stroke: rgba(220, 245, 255, 0.7); stroke-width: 1.2; stroke-linecap: round; }

.pj-app[data-theme="night"] .pj-ripple,
.pj-app[data-theme="night"] .pj-wake,
.pj-app[data-theme="night"] .pj-river-flow { stroke: var(--pj-glow); filter: drop-shadow(0 0 3px var(--pj-glow)); }
.pj-app[data-theme="night"] .pj-ring { stroke: var(--pj-glow); }

.pj-plank { fill: #9a6a3f; stroke: #6d4524; stroke-width: 1.5; }
.pj-plank-line { stroke: #6d4524; stroke-width: 1; opacity: 0.6; }
.pj-pole { stroke: #3d2a1c; stroke-width: 2.5; stroke-linecap: round; }
.pj-flag { fill: var(--pj-accent); transform-box: fill-box; transform-origin: left center; animation: pj-flag 1.4s ease-in-out infinite; }

.pj-buoy-halo { fill: var(--pj-accent); opacity: 0; }
.pj-buoy-body { fill: #fff; stroke: rgba(0, 0, 0, 0.25); stroke-width: 1.5; }
.pj-buoy-band { fill: #e5484d; }
.pj-buoy-num { font: 800 13px/1 var(--pj-display); text-anchor: middle; fill: #fff; paint-order: stroke; stroke: #b4232b; stroke-width: 3px; }
.pj-buoy-label { font: 700 12px/1 var(--pj-body); text-anchor: middle; fill: #fff; paint-order: stroke; stroke: rgba(0, 0, 0, 0.45); stroke-width: 3px; }
.pj-buoy { transition: opacity 0.3s; }
.pj-buoy.is-done .pj-buoy-band { fill: #22a06b; }
.pj-buoy.is-done .pj-buoy-num { stroke: #13704a; }
.pj-buoy.is-current .pj-buoy-halo { animation: pj-pulse 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.pj-buoy.is-current .pj-buoy-band { fill: var(--pj-accent); }
.pj-buoy.is-current .pj-buoy-num { stroke: var(--pj-accent-deep); }
.pj-buoy.is-reachable { cursor: pointer; }
.pj-buoy.is-reachable:hover .pj-buoy-body,
.pj-buoy:focus-visible .pj-buoy-body { stroke: #fff; stroke-width: 4; }
.pj-buoy:focus { outline: none; }

.pj-hull-shadow { fill: #000; opacity: 0.22; }
.pj-hull { stroke: rgba(0, 0, 0, 0.35); stroke-width: 1.2; }
.pj-ridge { stroke: rgba(255, 255, 255, 0.5); stroke-width: 1.2; }
.pj-lap { fill: none; stroke: var(--pj-water); }
.pj-cockpit { fill: #1f2a30; }
.pj-vest { fill: #ff6a13; }
.pj-app[data-theme="sunset"] .pj-vest { fill: #ffd23f; }
.pj-helmet { fill: #fefefe; stroke: rgba(0, 0, 0, 0.3); stroke-width: 1; }
.pj-helmet-b { fill: #ffd23f; }
.pj-shaft { stroke: #2b2f33; stroke-width: 1.8; stroke-linecap: round; }
.pj-blade { fill: #1f6fb2; }
.pj-kayak.pj-arrive { animation: pj-arrive 0.6s cubic-bezier(.3, 1.6, .5, 1); }

/* ---------------------------------------------------------------- panel */

.pj-panel { position: relative; padding: 22px clamp(16px, 3vw, 34px) 24px; }
.pj-step-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.pj-step-count { margin: 0; font-size: 14px; font-weight: 600; color: var(--pj-muted); order: 2; }
.pj-step-title {
	margin: 0;
	font-family: var(--pj-display);
	font-weight: 800;
	font-size: clamp(26px, 3.4vw, 38px);
	line-height: 1.05;
	letter-spacing: -0.025em;
	font-stretch: 85%;
	color: var(--pj-ink);
	outline: none;
}
.pj-body.pj-enter { animation: pj-in 0.45s cubic-bezier(.2, .8, .2, 1); }
.pj-muted { color: var(--pj-muted); font-size: 14px; margin: 6px 0 0; }
.pj-warn, .pj-warn-inline { color: var(--pj-warn); font-size: 14px; font-weight: 600; }
.pj-warn { margin: 12px 0 0; padding: 10px 14px; border-left: 4px solid var(--pj-warn); background: color-mix(in srgb, var(--pj-warn) 8%, transparent); border-radius: 0 10px 10px 0; }
.pj-error {
	margin: 16px 0 0;
	padding: 10px 14px;
	font-weight: 600;
	color: #fff;
	background: var(--pj-warn);
	border-radius: 10px;
}
.pj-app[data-theme="night"] .pj-error { color: #2a0b07; }
.pj-app.pj-shake .pj-panel { animation: pj-shake 0.4s; }

.pj-app button { font: inherit; }
.pj-app :focus-visible { outline: 3px solid var(--pj-accent); outline-offset: 2px; }

/* nav */
.pj-nav {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 26px;
	padding-top: 18px;
	border-top: 2px dashed var(--pj-line);
}
.pj-nav[hidden] { display: none; }
.pj-total-mini { margin-left: auto; font-family: var(--pj-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.pj-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 99px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.15s, background 0.2s;
}
.pj-btn:active { transform: scale(0.97); }
.pj-btn-back { background: transparent; color: var(--pj-ink); padding: 0 14px 0 8px; }
.pj-btn-back svg { width: 18px; height: 18px; }
.pj-btn-back:hover { background: var(--pj-panel-2); }
.pj-btn-next {
	position: relative;
	overflow: hidden;
	padding: 0 18px 0 26px;
	min-width: 190px;
	font-size: 17px;
	background: var(--pj-accent);
	color: var(--pj-accent-ink);
	box-shadow: 0 4px 0 var(--pj-accent-deep);
}
.pj-total-mini:empty + .pj-btn-next { margin-left: auto; }
.pj-btn-next svg { width: 46px; height: 16px; fill: currentColor; transition: transform 0.3s; position: relative; z-index: 1; }
.pj-btn-next span { position: relative; z-index: 1; }
.pj-btn-next:hover svg { transform: rotate(-14deg); }
.pj-btn-next:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--pj-accent-deep); }
.pj-charge { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.28); transform: scaleX(0); transform-origin: left; }
.pj-btn-next.pj-charging .pj-charge { transform: scaleX(1); transition: transform 0.45s linear; }
.pj-btn-next.pj-charged svg { animation: pj-stroke 0.3s ease-in-out infinite alternate; }
.pj-btn-next.is-busy { opacity: 0.8; cursor: progress; }
.pj-btn-next.is-busy svg { animation: pj-stroke 0.35s ease-in-out infinite alternate; }
.pj-btn-soft { background: var(--pj-panel-2); color: var(--pj-ink); }
.pj-btn-soft:hover { background: var(--pj-line); }
.pj-btn-ghost { background: transparent; color: var(--pj-ink); box-shadow: inset 0 0 0 2px var(--pj-line); }

/* draft banner */
.pj-draft {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: -4px 0 20px;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--pj-panel-2);
}
.pj-draft[hidden] { display: none; }
.pj-draft p { margin: 0; flex: 1 1 240px; }
.pj-draft .pj-btn { min-height: 40px; padding: 0 16px; }
.pj-draft-kayak, .pj-mini-kayak {
	width: 34px;
	height: 12px;
	border-radius: 50%;
	background: var(--pj-accent);
	position: relative;
	animation: pj-drift 3s ease-in-out infinite;
	flex: none;
}
.pj-draft-kayak::after, .pj-mini-kayak::after { content: ""; position: absolute; left: 13px; top: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--pj-ink); }

/* ---------------------------------------------------------- step: tours */

.pj-tours { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pj-tour {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 0;
	text-align: left;
	color: var(--pj-ink);
	background: var(--pj-panel);
	border: 2px solid var(--pj-line);
	border-radius: 18px 18px 18px 4px;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.2s, transform 0.2s;
}
.pj-tour:hover { border-color: var(--pj-tour); }
.pj-tour.is-selected { border-color: var(--pj-tour); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pj-tour) 35%, transparent); }
.pj-tour-water {
	position: relative;
	display: block;
	height: 96px;
	background-color: var(--pj-tour);
	background-size: cover;
	background-position: center;
}
.pj-tour-water[style*="background-image"]::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, color-mix(in srgb, var(--pj-tour) 85%, #000)); }
.pj-swatch { position: absolute; inset: 0; width: 100%; height: 100%; }
.pj-swatch path { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pj-swatch-l2 { stroke-opacity: 0.7; }
.pj-swatch-l3 { stroke-opacity: 0.4; }
.pj-tour:hover .pj-swatch path, .pj-tour.is-selected .pj-swatch path, .pj-level.is-selected .pj-swatch path { animation: pj-swim 2.2s linear infinite; }
.pj-swatch-current path { animation-duration: 1.3s !important; }
.pj-swatch-rapids path { animation-duration: 0.7s !important; }
.pj-tour-price {
	position: absolute;
	left: 12px;
	bottom: -14px;
	padding: 5px 12px;
	font-size: 13px;
	color: var(--pj-ink);
	background: var(--pj-panel);
	border-radius: 99px;
	box-shadow: 0 2px 0 var(--pj-line);
}
.pj-tour-price b { font-family: var(--pj-display); font-size: 18px; letter-spacing: -0.02em; }
.pj-tour-text { display: flex; flex-direction: column; gap: 6px; padding: 24px 16px 16px; flex: 1; }
.pj-tour-name { font-family: var(--pj-display); font-weight: 800; font-size: 21px; line-height: 1.1; letter-spacing: -0.02em; }
.pj-tour-desc { font-size: 14px; color: var(--pj-muted); }
.pj-tour-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.pj-tour-facts span { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--pj-panel-2); }
.pj-tour-check {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
	border: 2px solid rgba(255, 255, 255, 0.8);
}
.pj-tour.is-selected .pj-tour-check { background: #fff; }
.pj-tour.is-selected .pj-tour-check::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid var(--pj-tour); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* ---------------------------------------------------------- step: when */

.pj-when { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pj-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pj-cal-head strong { font-family: var(--pj-display); font-size: 20px; letter-spacing: -0.01em; }
.pj-cal-nav { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--pj-panel-2); color: var(--pj-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.pj-cal-nav:disabled { opacity: 0.3; cursor: default; }
.pj-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.pj-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--pj-muted); padding-bottom: 4px; }
.pj-day {
	position: relative;
	aspect-ratio: 1 / 1.05;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--pj-panel-2);
	color: var(--pj-ink);
	cursor: pointer;
	transition: background 0.15s, transform 0.15s;
}
.pj-day-pad { background: transparent; }
.pj-day:not(:disabled):hover { background: var(--pj-line); }
.pj-day:disabled { background: transparent; color: var(--pj-muted); opacity: 0.45; cursor: default; }
.pj-day-n { font-weight: 700; font-size: 15px; line-height: 1; }
.pj-day-w { font-size: 13px; line-height: 1; display: flex; align-items: center; gap: 1px; }
.pj-day-w small { font-size: 10px; font-weight: 600; color: var(--pj-muted); }
.pj-day.is-rough:not(.is-selected) { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--pj-warn) 70%, transparent); }
.pj-day.is-selected { background: var(--pj-select); color: #fff; transform: scale(1.06); }
.pj-day.is-selected .pj-day-w small { color: rgba(255, 255, 255, 0.85); }
.pj-cal-key { font-size: 12px; color: var(--pj-muted); margin: 10px 0 0; }

.pj-weather { padding: 16px 18px; border-radius: 16px; background: var(--pj-panel-2); }
.pj-weather.is-rough { box-shadow: inset 0 0 0 2px var(--pj-warn); }
.pj-weather p { margin: 0; }
.pj-weather-empty p { color: var(--pj-muted); }
.pj-weather-date { font-family: var(--pj-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.pj-weather-main { display: flex; align-items: center; gap: 12px; margin: 8px 0 2px; }
.pj-weather-icon { font-size: 40px; line-height: 1; }
.pj-weather-main b { font-family: var(--pj-display); font-size: 24px; }
.pj-weather .pj-warn { background: transparent; padding: 0; border: 0; margin-top: 8px; }
.pj-slots { margin-top: 18px; }
.pj-slots-label { font-weight: 700; margin: 0 0 8px; }
.pj-slot-list { display: grid; gap: 8px; }
.pj-slot {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 2px 14px;
	padding: 12px 16px;
	text-align: left;
	color: var(--pj-ink);
	background: var(--pj-panel);
	border: 2px solid var(--pj-line);
	border-radius: 14px;
	cursor: pointer;
}
.pj-slot:hover:not(:disabled) { border-color: var(--pj-select); }
.pj-slot.is-selected { border-color: var(--pj-select); background: var(--pj-select); color: #fff; }
.pj-slot:disabled { opacity: 0.5; cursor: not-allowed; text-decoration: line-through; }
.pj-slot-time { grid-row: span 2; font-family: var(--pj-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; min-width: 92px; }
.pj-slot-seats { font-size: 14px; font-weight: 600; }
.pj-slot.is-low:not(.is-selected) .pj-slot-seats { color: var(--pj-warn); }
.pj-slot-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pj-slot-tags i { font-style: normal; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 99px; background: #ffe8b3; color: #6b4300; }
.pj-loading-slots { display: flex; align-items: center; gap: 12px; color: var(--pj-muted); margin: 0; }

/* ---------------------------------------------------------- step: crew */

.pj-crew { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 28px; }
.pj-crew-count { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.pj-stepper { display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 18px; border-radius: 16px; background: var(--pj-panel-2); flex: 1 1 280px; }
.pj-stepper.is-disabled { opacity: 0.55; }
.pj-stepper-label { display: flex; flex-direction: column; flex: 1; }
.pj-stepper-label b { font-size: 17px; }
.pj-stepper-label small { color: var(--pj-muted); font-size: 13px; }
.pj-stepper-ctrl { display: flex; align-items: center; gap: 4px; }
.pj-stepper-ctrl button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--pj-panel); color: var(--pj-ink); font-size: 22px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 0 var(--pj-line); }
.pj-stepper-ctrl button:disabled { opacity: 0.35; cursor: default; }
.pj-stepper-ctrl output { min-width: 40px; text-align: center; font-family: var(--pj-display); font-weight: 800; font-size: 26px; }
.pj-seats-note { flex-basis: 100%; margin: 0; }
.pj-choices { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.pj-choices legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.pj-choice {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2px 12px;
	padding: 12px 14px;
	border: 2px solid var(--pj-line);
	border-radius: 14px;
	cursor: pointer;
	background: var(--pj-panel);
}
.pj-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pj-choice:has(input:focus-visible) { outline: 3px solid var(--pj-accent); outline-offset: 2px; }
.pj-choice.is-selected { border-color: var(--pj-select); box-shadow: inset 0 0 0 1px var(--pj-select); }
.pj-choice.is-short { opacity: 0.65; }
.pj-choice-name { font-weight: 700; }
.pj-choice-desc { grid-column: 1 / -1; font-size: 13px; color: var(--pj-muted); }
.pj-choice-desc b { color: var(--pj-warn); }
.pj-choice-boats { display: flex; gap: 3px; align-items: center; flex-wrap: wrap; justify-content: flex-end; max-width: 150px; }
.pj-mb { display: inline-block; height: 9px; border-radius: 50%; background: var(--pj-accent); }
.pj-mb-s { width: 20px; }
.pj-mb-t { width: 28px; background: #ffd23f; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.25); }
.pj-level { grid-template-columns: 54px 1fr; }
.pj-level .pj-choice-desc { grid-column: 2; }
.pj-level-water { grid-row: span 2; position: relative; width: 54px; height: 40px; border-radius: 10px; overflow: hidden; background: var(--pj-water); }
.pj-level-current { background: color-mix(in srgb, var(--pj-water) 70%, var(--pj-deep)); }
.pj-level-rapids { background: var(--pj-deep); }
.pj-crew > .pj-warn { grid-column: 1 / -1; margin: 0; }

/* ---------------------------------------------------------- step: pack */

.pj-pack { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pj-hatch-wrap { position: sticky; top: 16px; }
.pj-hatch { width: 100%; height: auto; display: block; border-radius: 18px; background: linear-gradient(#cfeef2, #eaf8f8 60%); transition: box-shadow 0.2s; }
.pj-app[data-theme="night"] .pj-hatch { background: linear-gradient(#071b24, #0d2a36); }
.pj-hatch.is-target { box-shadow: 0 0 0 3px var(--pj-accent); }
.pj-hatch.is-over .pj-drop-zone { opacity: 0.35; }
.pj-drop-zone { fill: var(--pj-accent); opacity: 0; transition: opacity 0.2s; }
.pj-hatch-boat { transform: translateY(var(--pj-sink, 0px)); transition: transform 0.6s cubic-bezier(.3, 1.5, .5, 1); animation: pj-float 3.2s ease-in-out infinite; }
.pj-hatch.is-heavy .pj-hatch-boat { animation: pj-wobble 1.1s ease-in-out infinite; transform-origin: 180px 110px; }
.pj-side-hull { fill: #ffd23f; stroke: #8a6a00; stroke-width: 2; }
.pj-side-deck { fill: none; stroke: #8a6a00; stroke-width: 2; }
.pj-side-hatch { fill: #20303a; }
.pj-hatch-item { font-size: 19px; text-anchor: middle; animation: pj-drop-in 0.5s cubic-bezier(.3, 1.6, .5, 1) backwards; animation-delay: calc(var(--pj-i) * 0.04s); }
.pj-side-water { fill: var(--pj-water); opacity: 0.85; animation: pj-swell 4s linear infinite; }
.pj-side-water-2 { fill: var(--pj-deep); opacity: 0.6; animation-duration: 6s; animation-direction: reverse; }
.pj-meter { display: grid; gap: 6px; margin-top: 12px; }
.pj-meter-label { font-size: 14px; }
.pj-meter-bar { height: 10px; border-radius: 99px; background: var(--pj-panel-2); overflow: hidden; }
.pj-meter-bar i { display: block; height: 100%; background: var(--pj-select); border-radius: inherit; transition: width 0.4s; }
.pj-hatch.is-heavy ~ .pj-meter .pj-meter-bar i { background: var(--pj-warn); }
.pj-gear { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pj-gear li { margin: 0; }
.pj-gear-item {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px 10px 10px;
	text-align: left;
	color: var(--pj-ink);
	background: var(--pj-panel);
	border: 2px solid var(--pj-line);
	border-radius: 14px;
	cursor: grab;
}
.pj-gear-item:hover { border-color: var(--pj-select); }
.pj-gear-item.is-packed { border-color: var(--pj-select); background: var(--pj-panel-2); }
.pj-gear-icon { width: 44px; height: 44px; display: grid; place-items: center; font-size: 24px; border-radius: 12px; background: var(--pj-panel-2); flex: none; }
.pj-gear-item.is-packed .pj-gear-icon { background: var(--pj-panel); }
.pj-gear-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pj-gear-text small { color: var(--pj-muted); font-size: 13px; }
.pj-gear-cost { font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 99px; background: var(--pj-panel-2); white-space: nowrap; }
.pj-gear-item.is-packed .pj-gear-cost { background: var(--pj-select); color: #fff; }

/* ---------------------------------------------------------- step: sign */

.pj-sign { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pj-fields { display: grid; gap: 14px; }
.pj-field { display: grid; gap: 5px; }
.pj-field span { font-weight: 600; font-size: 14px; }
.pj-field small { font-weight: 400; color: var(--pj-muted); }
.pj-field input, .pj-field textarea {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	color: var(--pj-ink);
	background: var(--pj-panel);
	border: 2px solid var(--pj-line);
	border-radius: 12px;
	transition: border-color 0.15s;
}
.pj-field input:focus, .pj-field textarea:focus { outline: none; border-color: var(--pj-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pj-deep) 25%, transparent); }
.pj-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pj-waiver-title { font-weight: 700; margin: 0 0 6px; }
.pj-waiver-text { max-height: 120px; overflow: auto; padding: 12px 14px; font-size: 13px; color: var(--pj-muted); background: var(--pj-panel-2); border-radius: 12px; }
.pj-sigpad {
	position: relative;
	height: 150px;
	margin-top: 12px;
	border-radius: 14px;
	overflow: hidden;
	background:
		radial-gradient(120% 80% at 50% 120%, color-mix(in srgb, var(--pj-glow) 18%, transparent), transparent 60%),
		var(--pj-sig-bg);
	touch-action: none;
}
.pj-sigpad::before {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 36px;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}
.pj-sigpad canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pj-sig { cursor: crosshair; }
.pj-sig-hint { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 14px; pointer-events: none; }
.pj-sig-clear { position: absolute; right: 10px; top: 10px; padding: 4px 12px; border: 0; border-radius: 99px; font-size: 13px; color: #fff; background: rgba(255, 255, 255, 0.15); cursor: pointer; }
.pj-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-weight: 600; cursor: pointer; }
.pj-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pj-deep); flex: none; }

/* ---------------------------------------------------------- step: review */

.pj-review { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pj-summary { margin: 0; }
.pj-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--pj-line); }
.pj-row dt { font-weight: 600; color: var(--pj-muted); font-size: 14px; }
.pj-row dd { margin: 0; }
.pj-row small { color: var(--pj-muted); }
.pj-row-edit button { border: 0; background: none; color: var(--pj-deep); font-weight: 700; font-size: 14px; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.pj-app[data-theme="night"] .pj-row-edit button { color: var(--pj-glow); }
.pj-bill { padding: 18px 20px; border-radius: 18px; background: var(--pj-panel-2); }
.pj-bill p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: 15px; }
.pj-bill .pj-bill-total { margin-top: 12px; padding-top: 12px; border-top: 2px dashed var(--pj-line); font-family: var(--pj-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.pj-bill .pj-muted { display: block; font-size: 13px; }
.pj-btn-launch { background: var(--pj-select); box-shadow: 0 4px 0 color-mix(in srgb, var(--pj-select) 60%, #000); }
.pj-btn-launch:active { box-shadow: 0 1px 0 color-mix(in srgb, var(--pj-select) 60%, #000); }

/* ---------------------------------------------------------- finish: pass */

.pj-pass {
	display: grid;
	grid-template-columns: 1fr 230px;
	max-width: 680px;
	border-radius: 20px;
	color: #fff;
	background: var(--pj-deep);
	overflow: hidden;
	animation: pj-pass-in 0.7s cubic-bezier(.2, 1.4, .4, 1);
}
.pj-pass small { display: block; font-size: 12px; opacity: 0.75; font-weight: 600; }
.pj-pass-main { padding: 22px 24px; background: repeating-linear-gradient(-45deg, transparent 0 18px, rgba(255, 255, 255, 0.04) 18px 36px); }
.pj-pass-brand { margin: 0; font-size: 13px; font-weight: 600; opacity: 0.8; }
.pj-pass-tour { margin: 4px 0 16px; font-family: var(--pj-display); font-weight: 800; font-size: 28px; line-height: 1.05; letter-spacing: -0.02em; }
.pj-pass-grid { display: grid; grid-template-columns: repeat(4, auto); gap: 12px 22px; justify-content: start; }
.pj-pass-grid p, .pj-pass-meet { margin: 0; }
.pj-pass-grid b { font-family: var(--pj-display); font-size: 20px; }
.pj-pass-meet { margin-top: 14px; font-weight: 600; }
.pj-pass-stub {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	padding: 22px;
	color: #10262f;
	background: #ffd23f;
}
.pj-pass-stub::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 0;
	bottom: 0;
	border-left: 3px dotted var(--pj-deep);
}
.pj-pass-stub b { font-family: var(--pj-display); font-size: 20px; margin-bottom: 10px; }
.pj-pass-stub .pj-pass-code { font-size: 24px; letter-spacing: 0.03em; white-space: nowrap; }
.pj-app[data-theme="night"] .pj-pass { background: #0a4a5c; }
.pj-pass-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pj-body-done > .pj-muted { max-width: 680px; margin-top: 14px; }

.pj-confetti { position: absolute; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
.pj-confetti i {
	position: absolute;
	top: -20px;
	width: 12px;
	height: 12px;
	border-radius: 0 50% 50% 50%;
	background: var(--pj-water);
	animation: pj-fall 2s cubic-bezier(.3, .6, .6, 1) forwards;
}
.pj-confetti .pj-c1 { background: var(--pj-glow); }
.pj-confetti .pj-c2 { background: #ffd23f; }
.pj-confetti .pj-c3 { background: var(--pj-accent); }

.pj-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pj-noscript { padding: 20px; }

/* ---------------------------------------------------------- responsive */

@media (max-width: 860px) {
	.pj-when, .pj-pack, .pj-sign, .pj-review, .pj-crew { grid-template-columns: 1fr; }
	.pj-hatch-wrap { position: static; }
}
@media (max-width: 640px) {
	.pj-top { position: static; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 14px; background: var(--pj-deep); pointer-events: auto; }
	.pj-title { font-size: 22px; padding: 0; background: none; box-shadow: none; transform: none; }
	.pj-conditions { order: 3; flex: 0 1 auto; margin: 0; max-width: 100%; white-space: normal; font-size: 12px; padding: 4px 10px; }
	.pj-sound { margin-left: auto; width: 34px; height: 34px; }
	.pj-btn-next { white-space: nowrap; font-size: 16px; padding: 0 14px 0 20px; }
	.pj-btn-next svg { width: 36px; }
	.pj-panel { padding: 18px 16px 20px; }
	.pj-nav { position: sticky; bottom: 0; margin: 22px -16px -20px; padding: 12px 16px; background: var(--pj-panel); z-index: 4; }
	.pj-btn-next { min-width: 0; flex: 1; }
	.pj-total-mini { font-size: 18px; }
	.pj-pass { grid-template-columns: 1fr; }
	.pj-pass-stub::before { left: 0; right: 0; top: -1px; bottom: auto; border-left: 0; border-top: 3px dotted var(--pj-deep); }
	.pj-pass-grid { grid-template-columns: repeat(2, auto); }
	.pj-row { grid-template-columns: 1fr auto; }
	.pj-row dt { grid-column: 1 / -1; }
	.pj-day-w small { display: none; }
}

/* ---------------------------------------------------------- motion */

@keyframes pj-pulse { 0% { opacity: 0.6; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes pj-flag { 50% { transform: scaleX(0.82) skewY(4deg); } }
@keyframes pj-arrive { from { opacity: 0; } 60% { opacity: 1; } }
@keyframes pj-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes pj-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes pj-bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
@keyframes pj-drift { 50% { transform: translateX(6px) rotate(4deg); } }
@keyframes pj-stroke { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }
@keyframes pj-swim { to { translate: -60px 0; } }
@keyframes pj-float { 50% { translate: 0 -3px; } }
@keyframes pj-wobble { 25% { rotate: -2.5deg; } 75% { rotate: 2.5deg; } }
@keyframes pj-swell { to { transform: translateX(-120px); } }
@keyframes pj-drop-in { from { transform: translateY(-60px); opacity: 0; } }
@keyframes pj-pass-in { from { transform: translateY(30px) rotate(-2deg); opacity: 0; } }
@keyframes pj-fall {
	0% { transform: translate(0, 0) rotate(0); opacity: 1; }
	100% { transform: translate(var(--pj-dx), 520px) rotate(220deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.pj-app *, .pj-app *::before, .pj-app *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------- print */

@media print {
	body.pj-printing * { visibility: hidden; }
	body.pj-printing .pj-print-me .pj-pass, body.pj-printing .pj-print-me .pj-pass * { visibility: visible; }
	body.pj-printing .pj-print-me .pj-pass { position: fixed; left: 0; top: 0; width: 100%; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
