/**
 * Blue Wave Tracking — public tracking page.
 * Scoped to .bwg-public so it never touches the rest of the theme.
 */

.bwg-public {
	--bwg-navy: #06223d;
	--bwg-navy-2: #0a2f52;
	--bwg-blue: #0b63e5;
	--bwg-aqua: #16c8b8;
	--bwg-amber: #f5a524;
	--bwg-warn: #b4720b;
	--bwg-red: #b42318;
	--bwg-ok: #0f7b52;
	--bwg-ink: #1e293b;
	--bwg-muted: #64748b;
	--bwg-line: #e3eaf2;
	--bwg-soft: #f7fafc;
	--bwg-radius: 18px;
	--bwg-shadow: 0 1px 2px rgba(6, 34, 61, .04), 0 12px 30px -18px rgba(6, 34, 61, .22);

	max-width: 1080px;
	margin: 0 auto;
	color: var(--bwg-ink);
	font-size: 1rem;
	line-height: 1.6;
	font-family: inherit;
}

.bwg-public *,
.bwg-public *::before,
.bwg-public *::after { box-sizing: border-box; }

.bwg-public h2,
.bwg-public h3,
.bwg-public p,
.bwg-public ul,
.bwg-public ol { margin: 0; }

.bwg-public img { max-width: 100%; }

.bwg-public a { color: var(--bwg-blue); }
.bwg-public a.bwg-btn--primary,
.bwg-public a.bwg-btn--action { color: #fff; }
.bwg-public a.bwg-btn--ghost { color: var(--bwg-navy); }

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

/* ---------------------------------------------------------------- buttons */
.bwg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-size: .92rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.bwg-btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.bwg-btn--primary { background: var(--bwg-blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(11, 99, 229, .7); }
.bwg-btn--primary:hover { background: #084fb9; transform: translateY(-1px); color: #fff; }
.bwg-btn--ghost { background: #fff; border-color: var(--bwg-line); color: var(--bwg-navy); }
.bwg-btn--ghost:hover { border-color: #c7d5e6; background: #fbfdff; }
.bwg-btn--sm { padding: 8px 13px; font-size: .84rem; }
.bwg-btn--block { width: 100%; }

/* ------------------------------------------------------------------ pills */
.bwg-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .01em;
	background: #eef3f8;
	color: var(--bwg-navy);
	white-space: nowrap;
}
.bwg-pill--sm { font-size: .72rem; padding: 4px 9px; }
.bwg-pill--lg { font-size: .86rem; padding: 8px 15px; }
.bwg-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.bwg-pill--muted { background: #eef2f7; color: #475569; }
.bwg-pill--transit { background: #e8f0fe; color: #0b4fbb; }
.bwg-pill--customs { background: #efeafe; color: #5b3fd1; }
.bwg-pill--aqua { background: #e2f9f6; color: #0d7f74; }
.bwg-pill--ok { background: #e6f6ee; color: #0f7b52; }
.bwg-pill--warn { background: #fdf3e2; color: #8a5a06; }

.bwg-eyebrow {
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--bwg-muted);
}
.bwg-eyebrow--light { color: #8fb0cf; }
.bwg-muted { color: var(--bwg-muted); font-size: .88rem; }
.bwg-badge {
	align-self: flex-start;
	padding: 5px 10px;
	border-radius: 999px;
	background: #eef3f8;
	color: #3c5a78;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .04em;
	white-space: nowrap;
}

/* --------------------------------------------------------------- search UI */
.bwg-search { width: 100%; }
.bwg-search__row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--bwg-line);
	border-radius: 14px;
	padding: 8px 8px 8px 14px;
	box-shadow: 0 10px 30px -22px rgba(6, 34, 61, .5);
}
.bwg-search__icon { display: flex; color: #94a3b8; }
.bwg-search__icon svg { width: 20px; height: 20px; }
.bwg-search__row input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	padding: 8px 2px;
	font: inherit;
	font-size: 1rem;
	color: var(--bwg-navy);
	letter-spacing: .02em;
}
.bwg-search__row input::placeholder { color: #94a3b8; letter-spacing: 0; }
.bwg-search__row:focus-within { border-color: #b9cdea; box-shadow: 0 0 0 4px rgba(11, 99, 229, .1); }
.bwg-search__hint { margin-top: 10px; font-size: .8rem; color: var(--bwg-muted); }
.bwg-search__row .bwg-btn { white-space: nowrap; flex: 0 0 auto; }

/* ------------------------------------------------------------------ intro */
.bwg-intro {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 28px;
	align-items: center;
	background: linear-gradient(135deg, #f6faff 0%, #eef6ff 60%, #eafaf8 100%);
	border: 1px solid var(--bwg-line);
	border-radius: 22px;
	padding: 34px;
}
.bwg-intro__text h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.22; color: var(--bwg-navy); margin: 8px 0 10px; letter-spacing: -.01em; }
.bwg-intro__text > p { color: #475569; max-width: 46ch; }
.bwg-intro__panel { background: #fff; border: 1px solid var(--bwg-line); border-radius: 16px; padding: 20px; box-shadow: var(--bwg-shadow); }
.bwg-intro__panel h3 { color: var(--bwg-navy); font-size: 1.05rem; margin-bottom: 6px; }
.bwg-intro__panel p { color: var(--bwg-muted); font-size: .88rem; }

.bwg-ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.bwg-ticks li { position: relative; padding-left: 26px; color: #334155; font-size: .9rem; }
.bwg-ticks li::before {
	content: "";
	position: absolute; left: 0; top: 5px;
	width: 16px; height: 16px; border-radius: 50%;
	background: var(--bwg-aqua);
	box-shadow: inset 0 0 0 4px #e7fbf8;
}

/* ----------------------------------------------------------------- states */
.bwg-state {
	background: #fff;
	border: 1px solid var(--bwg-line);
	border-radius: 20px;
	padding: 34px;
	text-align: center;
	max-width: 640px;
	margin: 0 auto;
	box-shadow: var(--bwg-shadow);
}
.bwg-state__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	border-radius: 50%;
	background: #fdf3e2;
	color: var(--bwg-warn);
	margin-bottom: 14px;
}
.bwg-state__icon svg { width: 26px; height: 26px; }
.bwg-state h2 { color: var(--bwg-navy); font-size: 1.3rem; margin-bottom: 8px; }
.bwg-state > p { color: var(--bwg-muted); }
.bwg-state .bwg-search { margin-top: 22px; text-align: left; }
.bwg-state__ref { margin-top: 10px !important; font-size: .85rem; }
.bwg-state__ref code { background: #f1f5f9; border-radius: 6px; padding: 2px 7px; color: var(--bwg-navy); }
.bwg-state__contact { margin-top: 18px !important; font-size: .88rem; }
.bwg-state__contact a { font-weight: 600; }

/* ---------------------------------------------------------------- summary */
.bwg-record { display: grid; gap: 18px; }

.bwg-summary {
	position: relative;
	overflow: hidden;
	border-radius: 22px;
	padding: 28px 30px 24px;
	color: #e8f1fa;
	background:
		radial-gradient(900px 320px at 12% -10%, rgba(22, 200, 184, .22), transparent 60%),
		radial-gradient(700px 300px at 96% 0%, rgba(11, 99, 229, .35), transparent 62%),
		linear-gradient(160deg, #06223d 0%, #0a2f52 100%);
	box-shadow: 0 22px 50px -32px rgba(6, 34, 61, .8);
}
.bwg-summary::after {
	content: "";
	position: absolute;
	inset: auto -10% -60% -10%;
	height: 190px;
	background: radial-gradient(closest-side, rgba(22, 200, 184, .16), transparent);
	pointer-events: none;
}
.bwg-summary__top {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-between;
	align-items: flex-start;
}
.bwg-summary__number {
	font-size: clamp(1.5rem, 3vw, 2.05rem);
	font-weight: 800;
	letter-spacing: .06em;
	color: #fff;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
}
.bwg-summary__title { color: #a9c4dd; font-size: .95rem; margin-top: 4px; }
.bwg-summary__status { text-align: right; display: grid; gap: 8px; justify-items: end; }
.bwg-summary__updated { font-size: .78rem; color: #8fb0cf; }
.bwg-summary__meta {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	list-style: none;
	padding: 18px 0 0;
	margin-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.bwg-summary__meta span { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #8fb0cf; }
.bwg-summary__meta strong { display: block; margin-top: 3px; font-size: .9rem; color: #fff; font-weight: 600; }

.bwg-summary__alert {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(245, 165, 36, .14);
	border: 1px solid rgba(245, 165, 36, .38);
	color: #ffe6bb;
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
}
.bwg-summary__alert svg { width: 18px; height: 18px; flex: 0 0 auto; }
.bwg-summary__alert span { flex: 1 1 auto; }
.bwg-summary__alert,
.bwg-public a.bwg-summary__alert { color: #ffe6bb; }
.bwg-summary__alert:hover { background: rgba(245, 165, 36, .2); color: #fff2d8; }
.bwg-summary__alert svg { color: #f7b955; }

/* --------------------------------------------------------------- progress */
.bwg-progress { position: relative; margin-top: 22px; }
.bwg-progress__track { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.bwg-progress__bar {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--bwg-aqua), #5fd6ea 60%, #8fb9ff);
	transition: width .5s ease;
}
.bwg-progress__labels {
	display: flex;
	justify-content: space-between;
	margin-top: 9px;
	font-size: .68rem;
	letter-spacing: .04em;
	color: #7f9fbd;
}
.bwg-progress__label.is-done { color: #d8e8f6; }
.bwg-progress__label.is-done::before {
	content: "";
	display: inline-block;
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--bwg-aqua);
	margin-right: 6px;
	vertical-align: middle;
}

/* ------------------------------------------------------------------ cards */
.bwg-card {
	background: #fff;
	border: 1px solid var(--bwg-line);
	border-radius: var(--bwg-radius);
	padding: 24px;
	box-shadow: var(--bwg-shadow);
}
.bwg-card__head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 18px;
}
.bwg-card__head h3 { color: var(--bwg-navy); font-size: 1.1rem; letter-spacing: -.01em; }
.bwg-empty { color: var(--bwg-muted); font-size: .92rem; }

/* ----------------------------------------------------------------- people */
.bwg-people {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.bwg-person { display: flex; gap: 14px; align-items: flex-start; }
.bwg-person__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: linear-gradient(145deg, #eaf2fd, #e2f9f6);
	color: var(--bwg-navy);
	font-weight: 800;
	font-size: .95rem;
	letter-spacing: .04em;
	flex: 0 0 auto;
}
.bwg-person__role { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bwg-muted); }
.bwg-person__name { font-weight: 700; color: var(--bwg-navy); font-size: 1.02rem; margin-top: 2px; }
.bwg-person__muted { font-size: .85rem; color: var(--bwg-muted); margin-top: 2px; word-break: break-word; }
.bwg-people__privacy { grid-column: 1 / -1; font-size: .78rem; color: var(--bwg-muted); border-top: 1px dashed var(--bwg-line); padding-top: 12px; }

/* ------------------------------------------------------------------ route */
.bwg-route { display: grid; gap: 18px; }
.bwg-route__legs {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 14px;
	align-items: center;
}
.bwg-route__leg--end { text-align: right; }
.bwg-route__city { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 800; color: var(--bwg-navy); letter-spacing: -.01em; line-height: 1.3; }
.bwg-route__country { font-size: .85rem; color: var(--bwg-muted); }
.bwg-route__line { display: flex; align-items: center; gap: 0; color: #b6c9dd; min-width: 90px; }
.bwg-route__line span { flex: 1 1 auto; height: 0; border-top: 2px dashed #cfdced; }
.bwg-route__line svg { width: 18px; height: 18px; margin-left: -6px; }

.bwg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bwg-chip {
	display: inline-flex;
	gap: 6px;
	align-items: baseline;
	padding: 7px 11px;
	border-radius: 9px;
	background: var(--bwg-soft);
	border: 1px solid var(--bwg-line);
	font-size: .82rem;
	color: var(--bwg-navy);
}
.bwg-chip span { color: var(--bwg-muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.bwg-chip--wide { flex-basis: 100%; }

/* -------------------------------------------------------------------- map */
.bwg-mapcard { padding-bottom: 18px; }
.bwg-map {
	position: relative;
	width: 100%;
	border-radius: 14px;
	overflow: hidden;
	background:
		radial-gradient(1200px 420px at 20% -10%, #ffffff, transparent 60%),
		linear-gradient(180deg, #f7fbff 0%, #e9f3fc 100%);
	border: 1px solid #dbe7f3;
	box-shadow: inset 0 0 40px rgba(11, 99, 229, .05);
}
.bwg-map__fallback {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1440 / 620;
	overflow: hidden;
}
.bwg-map__canvas {
	position: relative;
	display: none;
	width: 100%;
	height: 440px;
	background: #e9f1fa;
	z-index: 1;
}
.bwg-map.is-live .bwg-map__canvas { display: block; }
.bwg-map.is-live .bwg-map__fallback { display: none; }

/* Leaflet surface */
.bwg-map .leaflet-container { font: inherit; background: #e9f1fa; }
.bwg-map .leaflet-control-attribution {
	font-size: 10px;
	background: rgba(255, 255, 255, .86);
	color: #4a5b6d;
}
.bwg-map .leaflet-control-zoom a {
	color: var(--bwg-navy);
	border-radius: 8px;
}
.bwg-pin-wrap { background: none; border: 0; }
.bwg-pin {
	position: relative;
	display: block;
	width: 26px;
	height: 26px;
}
.bwg-pin__dot {
	position: absolute;
	inset: 3px;
	display: block;
	border-radius: 50%;
	background: var(--bwg-blue);
	border: 3px solid #fff;
	box-shadow: 0 3px 10px rgba(6, 34, 61, .28);
}
.bwg-pin--origin .bwg-pin__dot { background: var(--bwg-navy); }
.bwg-pin--dest .bwg-pin__dot { background: var(--bwg-aqua); }
.bwg-pin--current .bwg-pin__dot {
	background: var(--bwg-amber);
	animation: bwg-pulse 2.4s ease-out infinite;
}
.bwg-pin--current::after {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 2px solid rgba(245, 165, 36, .55);
	animation: bwg-ring 2.4s ease-out infinite;
}
.bwg-pin--arrived .bwg-pin__dot { background: #17a673; }
.bwg-pin__tag {
	position: absolute;
	left: 32px;
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--bwg-navy);
	background: rgba(255, 255, 255, .94);
	padding: 3px 8px;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(6, 34, 61, .14);
}
@keyframes bwg-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 165, 36, .45); } 50% { box-shadow: 0 0 0 9px rgba(245, 165, 36, 0); } }
@keyframes bwg-ring { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
/* Animated dashed route (Leaflet path) */
.bwg-map path.bwg-route-line {
	stroke-dasharray: 10 8;
	animation: bwg-dash 30s linear infinite;
}
.bwg-map .leaflet-popup-content { margin: 12px 14px; font-size: .84rem; color: var(--bwg-ink); }
.bwg-map .leaflet-popup-content strong { display: block; color: var(--bwg-navy); font-size: .9rem; margin-bottom: 2px; }
.bwg-map .leaflet-popup-content em { display: block; font-style: normal; color: var(--bwg-muted); font-size: .74rem; }
.bwg-map .leaflet-popup-content small { display: block; margin-top: 6px; color: var(--bwg-muted); font-size: .68rem; }
.bwg-map__world {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: contrast(1.16) saturate(1.04);
}
.bwg-map__route {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.bwg-map__shadow { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 8; stroke-linecap: round; }
.bwg-map__path {
	fill: none;
	stroke: var(--bwg-blue);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 7 6;
	animation: bwg-dash 26s linear infinite;
}
@keyframes bwg-dash { to { stroke-dashoffset: -260; } }

.bwg-map__pin {
	position: absolute;
	/* Anchor the dot itself on the coordinates, not the label box. */
	transform: translate(-6.5px, -50%);
	display: flex;
	align-items: center;
	gap: 6px;
	pointer-events: none;
	z-index: 2;
}
.bwg-map__pin .bwg-map__dot {
	width: 13px; height: 13px;
	border-radius: 50%;
	background: #fff;
	border: 3.5px solid var(--bwg-blue);
	box-shadow: 0 0 0 5px rgba(11, 99, 229, .16), 0 1px 3px rgba(6, 34, 61, .25);
	flex: 0 0 auto;
}
.bwg-map__pin.is-origin .bwg-map__dot { border-color: var(--bwg-navy); box-shadow: 0 0 0 4px rgba(6, 34, 61, .12); }
.bwg-map__pin.is-dest .bwg-map__dot { border-color: var(--bwg-aqua); box-shadow: 0 0 0 4px rgba(22, 200, 184, .18); }
.bwg-map__pin.is-current .bwg-map__dot { background: var(--bwg-amber); border-color: #fff; box-shadow: 0 0 0 5px rgba(245, 165, 36, .25); }
.bwg-map__pin.is-origin.is-current .bwg-map__dot { border-color: var(--bwg-navy); }
.bwg-map__pin.is-dest.is-current .bwg-map__dot { border-color: var(--bwg-aqua); }

/* Labels stay inside the frame near the right and top edges. */
.bwg-map__pin.is-edge-right { flex-direction: row-reverse; transform: translate(calc(-100% + 6.5px), -50%); }
.bwg-map__pin.is-edge-top { flex-direction: column; align-items: flex-start; transform: translate(-6.5px, 0); }
.bwg-map__pin.is-edge-top.is-edge-right { align-items: flex-end; transform: translate(calc(-100% + 6.5px), 0); }
.bwg-map__label {
	display: inline-flex;
	flex-direction: column;
	background: rgba(255, 255, 255, .94);
	border: 1px solid var(--bwg-line);
	border-radius: 7px;
	padding: 3px 7px;
	line-height: 1.25;
	box-shadow: 0 4px 12px -8px rgba(6, 34, 61, .5);
}
.bwg-map__label strong { font-size: .78rem; color: var(--bwg-navy); font-weight: 700; white-space: nowrap; }
.bwg-map__label em { font-style: normal; font-size: .64rem; color: var(--bwg-muted); white-space: nowrap; }

.bwg-map__foot {
	display: grid;
	gap: 8px;
	margin-top: 12px;
}
.bwg-map__foot .bwg-legend { order: 1; }
.bwg-map__foot .bwg-map__note { order: 2; }
.bwg-legend { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; }
.bwg-legend li { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--bwg-muted); }
.bwg-legend__dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--bwg-blue); }
.bwg-legend__dot--origin { border-color: var(--bwg-navy); }
.bwg-legend__dot--mid { border-color: #8fb4e0; }
.bwg-legend__dot--current { background: var(--bwg-amber); border-color: #fff; box-shadow: 0 0 0 2px rgba(245, 165, 36, .4); }
.bwg-legend__dot--dest { border-color: var(--bwg-aqua); }
.bwg-map__note { font-size: .74rem; color: var(--bwg-muted); }

.bwg-stops { list-style: none; padding: 16px 0 0; margin-top: 16px; border-top: 1px solid var(--bwg-line); display: grid; gap: 10px; }
.bwg-stops__item { display: grid; grid-template-columns: 14px 1fr; column-gap: 10px; align-items: baseline; }
.bwg-stops__marker {
	width: 8px; height: 8px; border-radius: 50%;
	background: #cbd8e8;
	margin-top: 7px;
}
.bwg-stops__item--origin .bwg-stops__marker { background: var(--bwg-navy); }
.bwg-stops__item--dest .bwg-stops__marker { background: var(--bwg-aqua); }
.bwg-stops__city { font-size: .9rem; font-weight: 600; color: var(--bwg-navy); }
.bwg-stops__meta { grid-column: 2; font-size: .78rem; color: var(--bwg-muted); }

/* ---------------------------------------------------------------- history */
.bwg-timeline { list-style: none; padding: 0 0 0 22px; position: relative; display: grid; gap: 20px; }
.bwg-timeline::before {
	content: "";
	position: absolute;
	left: 5px; top: 6px; bottom: 6px;
	width: 2px;
	background: linear-gradient(180deg, var(--bwg-aqua), #d8e4f1 70%, transparent);
	border-radius: 2px;
}
.bwg-timeline__item { position: relative; }
.bwg-timeline__dot {
	position: absolute;
	left: -22px; top: 5px;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: #fff;
	border: 2.5px solid #c3d3e5;
	box-sizing: border-box;
}
.bwg-timeline__item.is-latest .bwg-timeline__dot { border-color: var(--bwg-aqua); background: var(--bwg-aqua); box-shadow: 0 0 0 4px rgba(22, 200, 184, .16); }
.bwg-timeline__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bwg-timeline__date { font-size: .78rem; color: var(--bwg-muted); font-variant-numeric: tabular-nums; }
.bwg-timeline__title { font-weight: 700; color: var(--bwg-navy); font-size: .98rem; margin-top: 4px; }
.bwg-timeline__location { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--bwg-muted); margin-top: 2px; }
.bwg-timeline__location svg { width: 13px; height: 13px; flex: 0 0 auto; }
.bwg-timeline__desc { font-size: .88rem; color: #475569; margin-top: 6px; }
.bwg-timeline__desc p { margin: 0 0 6px; }
.bwg-timeline__desc p:last-child { margin-bottom: 0; }
.bwg-timeline__fields { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.bwg-timeline__fields li { font-size: .78rem; color: var(--bwg-navy); }
.bwg-timeline__fields span { color: var(--bwg-muted); }
.bwg-timeline__media { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bwg-thumb {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 11px;
	border: 1px solid var(--bwg-line);
	border-radius: 9px;
	background: var(--bwg-soft);
	font-size: .8rem;
	color: var(--bwg-navy);
	text-decoration: none;
}
.bwg-thumb:hover { border-color: #bcd0e6; }
.bwg-thumb__play { display: inline-flex; color: var(--bwg-blue); }
.bwg-thumb__play svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------------- action */
.bwg-action {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px;
	padding: 24px;
	border-radius: var(--bwg-radius);
	border: 1px solid #f0d9a8;
	background: linear-gradient(150deg, #fffaf0, #fff6e4);
	box-shadow: 0 18px 40px -34px rgba(180, 114, 11, .7);
}
.bwg-action__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: #fdf0d5;
	color: var(--bwg-warn);
}
.bwg-action__icon svg { width: 22px; height: 22px; }
.bwg-action__eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bwg-warn); }
.bwg-action h3 { color: var(--bwg-navy); font-size: 1.2rem; margin: 4px 0 6px; }
.bwg-action__reason { color: #7c5a12; font-size: .9rem; font-weight: 600; }
.bwg-action__message { color: #475569; font-size: .92rem; margin-top: 8px; }
.bwg-action__message p { margin: 0 0 8px; }
.bwg-action__note {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 9px;
	background: rgba(255, 255, 255, .7);
	border: 1px dashed #ecd3a2;
	font-size: .82rem;
	color: #7c5a12;
}
.bwg-btn--action {
	margin-top: 16px;
	background: var(--bwg-warn);
	color: #fff;
	box-shadow: 0 10px 22px -14px rgba(180, 114, 11, .9);
}
.bwg-btn--action:hover { background: #9a6109; color: #fff; transform: translateY(-1px); }
.bwg-action__via { font-size: .76rem; color: #8a6a2a; margin-top: 8px; }

/* ---------------------------------------------------------------- gallery */
.bwg-gallery { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bwg-gallery__item {
	display: block;
	width: 100%;
	padding: 0;
	border: 1px solid var(--bwg-line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	cursor: zoom-in;
	text-align: left;
	font: inherit;
	transition: transform .18s ease, box-shadow .18s ease;
}
.bwg-gallery__item:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -20px rgba(6, 34, 61, .55); }
.bwg-gallery__item img,
.bwg-gallery__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #eef4fa;
}
.bwg-gallery__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #5b7a99;
	font-size: .78rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.bwg-gallery__placeholder svg { width: 24px; height: 24px; }
.bwg-gallery__caption {
	display: block;
	padding: 9px 11px;
	font-size: .8rem;
	color: var(--bwg-navy);
	line-height: 1.4;
}
.bwg-gallery__caption em { display: block; font-style: normal; font-size: .72rem; color: var(--bwg-muted); }

/* -------------------------------------------------------------- documents */
.bwg-docs { list-style: none; padding: 0; display: grid; gap: 10px; }
.bwg-docs li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--bwg-line);
	border-radius: 11px;
	background: #fff;
}
.bwg-docs__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 34px;
	padding: 0 6px;
	border-radius: 7px;
	background: #eef3f8;
	color: #43607c;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .06em;
}
.bwg-docs__icon--pdf { background: #fdeceb; color: #b42318; }
.bwg-docs__body { flex: 1 1 auto; min-width: 0; display: grid; }
.bwg-docs__body strong { font-size: .92rem; color: var(--bwg-navy); }
.bwg-docs__body em { font-style: normal; font-size: .76rem; color: var(--bwg-muted); }
.bwg-docs__note { margin-top: 14px; font-size: .74rem; color: var(--bwg-muted); }

/* ---------------------------------------------------------------- support */
.bwg-support {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	padding: 26px;
	border-radius: var(--bwg-radius);
	color: #dbe9f6;
	background: linear-gradient(150deg, #06223d, #0b3057);
}
.bwg-support__body h3 { color: #fff; font-size: 1.12rem; }
.bwg-support__body p { font-size: .88rem; color: #a9c4dd; margin-top: 6px; max-width: 52ch; }
.bwg-support__ref { font-size: .8rem !important; }
.bwg-support__ref strong { color: #fff; letter-spacing: .04em; }
.bwg-support__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bwg-public .bwg-support .bwg-btn--primary { background: #fff; color: var(--bwg-navy); }
.bwg-public .bwg-support .bwg-btn--primary:hover { background: #eaf2fb; color: var(--bwg-navy); }
.bwg-public .bwg-support .bwg-btn--primary svg { color: var(--bwg-blue); }
.bwg-support .bwg-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.bwg-support .bwg-btn--ghost:hover { background: rgba(255, 255, 255, .08); }

.bwg-record__foot p { font-size: .76rem; color: var(--bwg-muted); text-align: center; }

/* --------------------------------------------------------------- lightbox */
.bwg-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(4, 18, 33, .82);
	backdrop-filter: blur(4px);
}
.bwg-lightbox[hidden] { display: none; }
.bwg-lightbox__inner { position: relative; max-width: min(1040px, 100%); max-height: 100%; }
.bwg-lightbox img,
.bwg-lightbox video { display: block; max-width: 100%; max-height: 78vh; border-radius: 14px; background: #000; }
.bwg-lightbox__caption { margin-top: 12px; color: #cfe0f0; font-size: .88rem; text-align: center; }
.bwg-lightbox__close {
	position: absolute;
	top: -14px; right: -14px;
	width: 40px; height: 40px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--bwg-navy);
	font-size: 1.2rem;
	cursor: pointer;
	box-shadow: 0 8px 20px -10px #000;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 900px) {
	.bwg-intro { grid-template-columns: 1fr; padding: 26px; }
	.bwg-people { grid-template-columns: 1fr; }
	.bwg-summary__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bwg-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bwg-map__label { display: none; }
	.bwg-map__pin.is-origin .bwg-map__label,
	.bwg-map__pin.is-dest .bwg-map__label,
	.bwg-map__pin.is-current .bwg-map__label { display: inline-flex; }
}

@media (max-width: 640px) {
	.bwg-public { font-size: .97rem; }
	.bwg-summary { padding: 22px 20px 18px; border-radius: 18px; }
	.bwg-summary__top { gap: 14px; }
	.bwg-summary__status { text-align: left; justify-items: start; }
	.bwg-summary__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.bwg-card { padding: 18px; border-radius: 15px; }
	.bwg-route__legs { grid-template-columns: 1fr; gap: 8px; }
	.bwg-route__leg--end { text-align: left; }
	.bwg-route__line { min-width: 0; width: 70px; transform: rotate(90deg); transform-origin: left center; margin: 4px 0 10px 4px; }
	.bwg-search__row { flex-wrap: wrap; padding: 10px; }
	.bwg-search__row input { flex-basis: 100%; order: 2; }
	.bwg-search__icon { order: 1; }
	.bwg-search__row .bwg-btn { order: 3; width: 100%; }
	.bwg-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
	.bwg-action { grid-template-columns: 1fr; padding: 20px; }
	.bwg-support { padding: 20px; }
	.bwg-progress__labels { font-size: .6rem; }
	.bwg-progress__label:nth-child(2),
	.bwg-progress__label:nth-child(4) { display: none; }
	.bwg-map__label strong { font-size: .62rem; }
	.bwg-map__label em { display: none; }
}



/* ---------------------------------------------------------------- *
 * Summary download
 * ---------------------------------------------------------------- */
.bwg-summary__download {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .16);
}
.bwg-summary__download span { font-size: .74rem; color: #a9c4dd; }
.bwg-public .bwg-summary__download a.bwg-btn--light {
	background: #fff;
	color: var(--bwg-navy);
	border: 1px solid #fff;
	font-weight: 700;
}
.bwg-public .bwg-summary__download a.bwg-btn--light:hover { background: #eaf2fb; color: var(--bwg-navy); }
.bwg-summary__download a.bwg-btn--light svg { color: var(--bwg-blue); }

/* ---------------------------------------------------------------- *
 * Payment block
 * ---------------------------------------------------------------- */
.bwg-pay {
	background: #fff;
	border: 1px solid var(--bwg-line);
	border-radius: 18px;
	padding: 26px;
	box-shadow: 0 18px 40px rgba(6, 34, 61, .06);
	display: grid;
	gap: 14px;
}
.bwg-pay__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.bwg-pay__head h3 { font-size: 1.16rem; color: var(--bwg-navy); margin-top: 4px; }
.bwg-pay__state {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
.bwg-pay__state--warn { background: #fff3e0; color: #8a5300; }
.bwg-pay__state--info { background: #e6f1ff; color: #0b4ea2; }
.bwg-pay__state--ok { background: #e3f7ef; color: #0f6b4a; }
.bwg-pay__state--bad { background: #fde9e7; color: #8f2318; }
.bwg-pay__state--muted { background: #eef2f7; color: #4a5b6d; }
.bwg-pay__amount {
	display: flex;
	align-items: baseline;
	gap: 10px;
	background: #f5f9ff;
	border: 1px solid #dfeaf7;
	border-radius: 12px;
	padding: 12px 16px;
}
.bwg-pay__amount span { font-size: .78rem; color: var(--bwg-muted); text-transform: uppercase; letter-spacing: .06em; }
.bwg-pay__amount strong { font-size: 1.32rem; color: var(--bwg-navy); letter-spacing: .01em; }
.bwg-pay__note { font-size: .88rem; color: var(--bwg-muted); line-height: 1.6; }
.bwg-pay__note--ok { color: #0f6b4a; font-weight: 600; }
.bwg-pay__note--bad { color: #8f2318; font-weight: 600; }
.bwg-pay__methods {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.bwg-pay__method {
	border: 1px solid var(--bwg-line);
	border-radius: 14px;
	padding: 16px 18px;
	background: #fcfdff;
}
.bwg-pay__method-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bwg-pay__method-head h4 { font-size: .98rem; color: var(--bwg-navy); }
.bwg-pay__type {
	font-size: .68rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--bwg-muted);
	background: #eef3f9;
	border-radius: 999px;
	padding: 4px 10px;
}
.bwg-pay__instructions { font-size: .86rem; color: var(--bwg-ink); margin-top: 8px; }
.bwg-pay__instructions p { margin: 0 0 8px; }
.bwg-pay__details {
	margin-top: 10px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: .82rem;
	background: #f2f6fb;
	border: 1px dashed #cfdded;
	border-radius: 10px;
	padding: 10px 12px;
	color: var(--bwg-navy);
	word-break: break-word;
}
.bwg-pay__method .bwg-btn { margin-top: 12px; }
.bwg-pay__ref { font-size: .82rem; color: var(--bwg-muted); }
.bwg-pay__ref strong { color: var(--bwg-navy); letter-spacing: .03em; }
.bwg-pay__disclaimer { font-size: .74rem; color: var(--bwg-muted); border-top: 1px solid var(--bwg-line); padding-top: 12px; }

/* ---------------------------------------------------------------- *
 * Configured contact channels (inside the approved support panel)
 * ---------------------------------------------------------------- */
.bwg-support--channels { align-items: flex-start; }
.bwg-support__hint { display: block; font-size: .68rem; color: #93b2cf; margin-top: 2px; line-height: 1.45; max-width: 26ch; }
.bwg-public .bwg-support .bwg-btn--channel {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .24);
	color: #fff;
	text-align: left;
}
.bwg-public .bwg-support .bwg-btn--channel:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.bwg-public .bwg-support .bwg-btn--channel svg { width: 20px; height: 20px; flex: 0 0 auto; color: #8fd7ff; }
.bwg-public .bwg-support .bwg-btn--channel span { display: block; }
.bwg-public .bwg-support .bwg-btn--channel strong { display: block; font-size: .86rem; line-height: 1.2; }
.bwg-public .bwg-support .bwg-btn--channel em { display: block; font-style: normal; font-size: .74rem; color: #bcd6ea; }
.bwg-support__body { max-width: 44ch; }
.bwg-record__more { display: flex; justify-content: flex-start; }

@media (max-width: 720px) {
	.bwg-map__canvas { height: 320px; }
	.bwg-pay { padding: 20px; }
	.bwg-pay__head { gap: 10px; }
	.bwg-summary__download { align-items: flex-start; }
	.bwg-pin__tag { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.bwg-map__path { animation: none; }
	.bwg-pin--current .bwg-pin__dot, .bwg-pin--current::after { animation: none; }
	.bwg-btn, .bwg-gallery__item { transition: none; }
}
.bwg-pay__method-amount { margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--bwg-navy); }
