/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./node_modules/leaflet/dist/leaflet.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(/_next/static/media/layers.ef6db872.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(/_next/static/media/layers-2x.9859cd12.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(/_next/static/media/marker-icon.d577052a.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;
	transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f4f2ec;
  --panel: #ffffff;
  --panel-soft: #f7f5ef;
  --text: #18212f;
  --muted: #5a6472;
  --primary: #0f766e;
  --primary-contrast: #ecfeff;
  --secondary: #e6ecef;
  --border: #d6dce1;
  --success: #15803d;
  --danger: #b91c1c;
  --shadow: 0 16px 36px rgba(16, 24, 40, 0.12);
  --topbar-bg: rgba(245, 242, 236, 0.92);
  --topbar-border: rgba(24, 33, 47, 0.1);
  --surface-overlay: rgba(255, 255, 255, 0.88);
  --surface-overlay-border: rgba(17, 24, 39, 0.08);
}

:root[data-theme='dark'] {
  --bg: #0f172a;
  --panel: #111827;
  --panel-soft: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #14b8a6;
  --primary-contrast: #062a2d;
  --secondary: #1f2937;
  --border: #334155;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 18px 36px rgba(2, 6, 23, 0.5);
  --topbar-bg: rgba(15, 23, 42, 0.86);
  --topbar-border: rgba(148, 163, 184, 0.22);
  --surface-overlay: rgba(15, 23, 42, 0.82);
  --surface-overlay-border: rgba(148, 163, 184, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: 'Segoe UI', 'Trebuchet MS', sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 400px at 10% -10%, color-mix(in srgb, var(--primary) 20%, transparent) 0%, transparent 60%),
    radial-gradient(1000px 500px at 90% -10%, color-mix(in srgb, var(--secondary) 50%, transparent) 0%, transparent 58%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
}

button {
  border: 0;
  background: transparent;
}

.topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5000;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--topbar-border);
  background: var(--topbar-bg);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.topnav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.topbar-actions {
  display: flex;
  justify-content: flex-end;
}

.navlink {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

.navlink:hover {
  border-color: var(--border);
  color: var(--text);
  background: var(--panel);
}

.theme-toggle {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  padding: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
}

.theme-toggle:active {
  transform: translateY(1px);
}

.theme-toggle-track {
  position: relative;
  width: 62px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd66b 0%, #ffb347 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 7px;
}

.theme-toggle.is-dark .theme-toggle-track {
  background: linear-gradient(135deg, #243b67 0%, #0f172a 100%);
}

.theme-toggle-icon {
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.theme-toggle-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: rgba(15, 23, 42, 0.85);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle-icon-moon svg {
  fill: rgba(248, 250, 252, 0.9);
  stroke: rgba(248, 250, 252, 0.9);
}

.theme-toggle.is-dark .theme-toggle-icon-sun svg {
  stroke: rgba(248, 250, 252, 0.96);
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.26);
  transition: transform 220ms ease;
}

.theme-toggle.is-dark .theme-toggle-thumb {
  transform: translateX(32px);
  background: #dbeafe;
}

.container {
  min-height: calc(100vh - 96px);
}

.content-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.page-header {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.page-header h1,
.page-header h2,
.page-header h3,
.page-header p,
.page-header-inline p,
h1,
h2,
h3,
p {
  margin: 0;
}

.page-header p {
  color: var(--muted);
}

.page-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.home-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 14px;
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.home-search-panel {
  background: var(--surface-overlay);
  border: 1px solid var(--surface-overlay-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.home-filter-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.home-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.home-filter-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 0.82rem;
  cursor: pointer;
}

.home-filter-chip.active {
  color: var(--primary-contrast);
  background: var(--primary);
  border-color: var(--primary);
}

.home-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.home-checkbox input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.aggregate-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.aggregate-item {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  text-align: left;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

.aggregate-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.home-map-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--surface-overlay-border);
  box-shadow: var(--shadow);
}

.home-map {
  height: 54vh;
  width: 100%;
}

.home-lists {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.home-card-grid {
  margin-top: 8px;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.home-chip-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.app-card {
  background: var(--panel);
  border: 1px solid var(--surface-overlay-border);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.06);
}

.app-button {
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.app-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.app-button-primary {
  background: var(--primary);
  color: var(--primary-contrast);
}

.app-button-secondary {
  background: var(--secondary);
  color: var(--text);
}

.app-button-ghost {
  border-color: var(--border);
  color: var(--muted);
  background: transparent;
}

.app-button-success {
  background: var(--success);
  color: #ecfdf5;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--muted);
  padding: 4px 9px;
  font-size: 0.78rem;
}

.app-chip-active {
  border-color: var(--primary);
  background: rgba(15, 118, 110, 0.1);
  color: #115e59;
}

.searchbar-wrap {
  position: relative;
}

.searchbar-input {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.side-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 6000;
  background: rgba(15, 23, 42, 0.34);
}

.side-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 86vh;
  z-index: 6100;
  background: var(--panel);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -20px 36px rgba(15, 23, 42, 0.24);
  overflow: auto;
}

.side-panel-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}

.side-panel-close {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border);
  cursor: pointer;
}

.side-panel-content {
  padding: 14px;
}

.venue-panel-body {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.venue-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 4px;
  gap: 4px;
}

.venue-photo {
  width: 100%;
  height: 124px;
  object-fit: cover;
  border-radius: 10px;
}

.venue-meta {
  color: var(--muted);
}

.venue-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.venue-slot {
  display: inline-flex;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 7px;
  font-size: 0.82rem;
}

.venue-slot.is-open {
  background: rgba(21, 128, 61, 0.1);
  color: #166534;
}

.venue-slot.is-closed {
  background: rgba(185, 28, 28, 0.08);
  color: #991b1b;
}

.cost-breakdown {
  margin: 0;
  padding-left: 18px;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  color: var(--muted);
}

.cost-total {
  color: var(--text);
  font-weight: 700;
}

.panel-book-button,
.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: 10px 12px;
  font-weight: 700;
}

.booking-summary-card {
  gap: 6px;
}

.booking-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.flow-card {
  gap: 12px;
}

.flow-card-success {
  border-color: rgba(21, 128, 61, 0.35);
  background: color-mix(in srgb, var(--success) 15%, var(--panel));
}

.flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.friend-form,
.stack-form {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.inline-feedback {
  color: #155e75;
  font-size: 0.9rem;
}

.friend-card {
  gap: 8px;
}

.friend-head {
  display: flex;
  gap: 10px;
  align-items: center;
}

.profile-main-card {
  padding: 18px;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(15, 118, 110, 0.25);
}

.avatar-sm {
  width: 32px;
  height: 32px;
}

.avatar-md {
  width: 52px;
  height: 52px;
}

.avatar-lg {
  width: 84px;
  height: 84px;
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.form-error {
  color: var(--danger);
  font-size: 0.84rem;
}

.empty-note {
  color: var(--muted);
  text-align: center;
  padding: 18px 10px;
}

.leaflet-container {
  background: var(--panel-soft);
}

.sporthub-marker-wrapper {
  background: transparent;
  border: 0;
}

.map-marker {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid #f8fafc;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow:
    0 10px 20px rgba(37, 99, 235, 0.22),
    0 0 0 1px rgba(37, 99, 235, 0.1);
}

:root[data-theme='dark'] .map-marker {
  border-color: #cbd5e1;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  box-shadow:
    0 10px 20px rgba(2, 6, 23, 0.58),
    0 0 0 1px rgba(148, 163, 184, 0.16);
}

.map-marker-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: #0f172a;
}

.map-marker-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

:root[data-theme='dark'] .map-marker-icon {
  color: #f8fafc;
}

.map-marker.is-sponsored {
  border-color: #facc15;
  box-shadow:
    0 0 0 3px rgba(250, 204, 21, 0.34),
    0 0 18px rgba(250, 204, 21, 0.9),
    0 12px 24px rgba(120, 53, 15, 0.34);
}

.map-marker.is-sponsored::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(250, 204, 21, 0.75);
  animation: sponsorPulse 1.8s ease-out infinite;
}

@keyframes sponsorPulse {
  0% {
    transform: scale(0.88);
    opacity: 0.95;
  }

  70% {
    transform: scale(1.17);
    opacity: 0;
  }

  100% {
    transform: scale(1.17);
    opacity: 0;
  }
}

@media (min-width: 768px) {
  .topbar {
    padding: 12px 20px;
  }

  .home-shell,
  .content-shell {
    padding: 20px;
  }

  .home-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-panel {
    top: 90px;
    left: auto;
    right: 14px;
    bottom: 14px;
    width: min(420px, 45vw);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .side-panel-backdrop {
    background: transparent;
    pointer-events: none;
  }

  .side-panel-close {
    pointer-events: auto;
  }
}

@media (min-width: 1024px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .topnav {
    justify-content: flex-end;
  }

  .home-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

