@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');/* 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 {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	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;
	-moz-box-sizing: border-box;
	     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;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-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:    -moz-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(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	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(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* 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;
	-moz-box-sizing: border-box;
	     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;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        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;
	-ms-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;
		}
	}


:root {
  /* Matte Obsidian & Dark Charcoal Palette */
  --bg-0: #0a0c10;
  --bg-1: #11141a;
  --bg-2: #161a22;
  --panel: #161a23;
  --panel-solid: #161a23;
  --panel-hover: #1c212d;
  --card: #151820;
  --card-inner: #1a1e27;
  --card-light: #ffffff;
  --card-light-text: #0e1117;
  
  /* Electric Lime Green Signature Accent */
  --accent: #b4f329;
  --accent-hover: #c5f83e;
  --accent-text: #000000;
  --accent-soft: rgba(180, 243, 41, 0.16);
  --lime: #b4f329;
  --lime-soft: rgba(180, 243, 41, 0.16);
  
  /* Status Colors */
  --green: #b4f329;
  --green-soft: rgba(180, 243, 41, 0.16);
  --amber: #ffb834;
  --amber-soft: rgba(255, 184, 52, 0.15);
  --red: #ff5271;
  --red-soft: rgba(255, 82, 113, 0.15);
  --blue: #5b8cff;
  --blue-soft: rgba(91, 140, 255, 0.15);
  --purple: #a78bfa;
  --purple-soft: rgba(167, 139, 250, 0.15);
  
  /* Borders & Dividers */
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.16);
  
  /* Typography Colors */
  --text-0: #ffffff;
  --text-1: #9da6b7;
  --text-2: #677284;
  --text-muted: #4e5767;
  
  /* Fonts */
  --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Radii */
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 9999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background-color: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

#root {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(circle 900px at 50% -20%, rgba(180, 243, 41, 0.03) 0%, transparent 60%), var(--bg-0);
}

/* ---- App Container ---- */
.app-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 16px 24px 40px 24px;
}

/* ---- Top Capsule Navigation Header ---- */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  margin-bottom: 24px;
  position: sticky;
  top: 12px;
  z-index: 1000;
  background: rgba(17, 20, 26, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 8px;
}

.brand-star {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.quick-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 8px;
  border-left: 1px solid var(--border);
}

.quick-tool-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.quick-tool-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Nav Pills Container */
.nav-capsule-container {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.05);
  gap: 3px;
}

.nav-pill {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-1);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-display);
  white-space: nowrap;
}
.nav-pill:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.05);
}
.nav-pill.active {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 2px 14px rgba(180, 243, 41, 0.35);
}
.nav-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000000;
}

/* Nav Actions Right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 4px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(180, 243, 41, 0.6);
  background: #1c212c;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

/* ---- Page Header Row ---- */
.page-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.page-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.back-btn-capsule {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  cursor: pointer;
  transition: all 0.15s;
}
.back-btn-capsule:hover {
  background: var(--card-inner);
  color: #fff;
}

.main-page-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #ffffff;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary-capsule {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-0);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-secondary-capsule:hover {
  background: var(--card-inner);
  border-color: var(--border-strong);
}

.btn-primary-lime {
  background: var(--accent);
  color: #000000;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(180, 243, 41, 0.3);
  transition: all 0.15s;
}
.btn-primary-lime:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ---- Generic Cards & Containers ---- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative;
  transition: border-color 0.2s;
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.card-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 3px;
}

.card-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.4;
}

.card-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-live {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(180, 243, 41, 0.4);
}
.badge-alert {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(255, 82, 113, 0.3);
}
.badge-amber {
  background: var(--amber-soft);
  color: var(--amber);
}

/* ---- KPI Cards ---- */
.kpi {
  padding: 18px 20px;
  background: var(--card);
  border-radius: var(--radius-lg);
}

.kpi-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-0);
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.kpi-value span {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
}

.kpi-delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 8px;
}
.kpi-delta.up { color: var(--red); }
.kpi-delta.down { color: var(--accent); }
.kpi-delta.flat { color: var(--text-2); }

/* ---- Filter Pills Component (.pills, .pill) ---- */
.pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-body);
}
.pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.pill.active {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(180, 243, 41, 0.3);
}

/* ---- Horizontal Progress Bars (.cat-bar-row & .ch-bar-row) ---- */
.cat-bar-row, .ch-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cat-bar-label, .ch-bar-label {
  font-size: 12px;
  color: var(--text-1);
  width: 170px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.cat-bar-track, .ch-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.cat-bar-fill, .ch-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.cat-bar-val, .ch-bar-val {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-0);
  font-weight: 600;
  width: 55px;
  text-align: right;
  flex-shrink: 0;
}

/* ---- 2D Treemap Styles ---- */
.treemap-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-height: 320px;
}

.treemap-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.treemap-cell {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), filter 0.18s;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}
.treemap-cell:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.2);
  z-index: 10;
}

.tc-label {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  font-family: var(--font-display);
}

.tc-value {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-weight: 600;
  margin-top: 2px;
}

/* ---- Heatmap ---- */
.heat-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.12s;
  font-family: var(--font-mono);
}
.heat-cell:hover {
  transform: scale(1.08);
  outline: 1.5px solid #ffffff;
}

/* ---- Risk & Watchlist Tables ---- */
.risk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.risk-table th {
  padding: 10px 12px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-strong);
}
.risk-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-1);
}
.risk-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.risk-table .name {
  color: var(--text-0);
  font-weight: 700;
}

.tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.tag-active {
  background: var(--accent-soft);
  color: var(--accent);
}
.tag-suspended {
  background: var(--red-soft);
  color: var(--red);
}
.tag-inactive {
  background: rgba(255,255,255,0.06);
  color: var(--text-2);
}

.rate-bar-wrap {
  width: 70px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
.rate-bar-fill {
  height: 100%;
  border-radius: 3px;
}

/* ---- AI Insights Cards ---- */
.insight-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 14px;
}

.insight-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.insight-sev {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.insight-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-0);
}

.insight-body {
  font-size: 12.5px;
  color: var(--text-1);
  line-height: 1.6;
  margin-bottom: 12px;
}

.insight-action {
  font-size: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ---- Identity / Anomaly Cards & Audit Trail ---- */
.anomaly-card {
  background: var(--card-inner);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.15s, border-color 0.15s;
}
.anomaly-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.anomaly-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 19px;
}

.anomaly-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.anomaly-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-0);
  margin-top: 3px;
}

.anomaly-desc {
  font-size: 11.5px;
  color: var(--text-2);
  margin-top: 4px;
  line-height: 1.4;
}

/* Audit Trail Flow Container */
.audit-flow-card {
  background: #11141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 18px;
}

.audit-flow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.audit-entity-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--lime);
  background: rgba(180, 243, 41, 0.12);
  border: 1px solid rgba(180, 243, 41, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.audit-total-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.audit-timeline-track {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.audit-step-card {
  flex: 1;
  min-width: 170px;
  background: #181d28;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.15s ease;
}
.audit-step-card:hover {
  background: #1d2331;
  border-color: rgba(255, 255, 255, 0.15);
}

.audit-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.audit-step-num {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-2);
  letter-spacing: 0.5px;
}

.audit-step-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.4px;
}
.audit-step-badge.badge-active {
  background: rgba(180, 243, 41, 0.15);
  color: var(--lime);
  border: 1px solid rgba(180, 243, 41, 0.3);
}
.audit-step-badge.badge-suspended {
  background: rgba(255, 82, 113, 0.15);
  color: var(--red);
  border: 1px solid rgba(255, 82, 113, 0.35);
}

.audit-step-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audit-step-cat {
  font-size: 11px;
  color: var(--text-2);
}

.audit-step-connector {
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.6;
}

.audit-step-more {
  min-width: 100px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

/* Filters & Chips (alias to pills) */
.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-body);
}
.chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.chip.active {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(180, 243, 41, 0.3);
}

.integrity-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 20px;
}

.mch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.mch-id {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* ---- Layout Grids ---- */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2e { grid-template-columns: 1fr 1fr; }
.g-kpi { grid-template-columns: repeat(6, 1fr); }
.g-main-side { grid-template-columns: 1.4fr 1fr; }

.section-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-1);
  margin: 18px 0 12px 0;
}

/* ---- Grand Hero KPI Section in Overview ---- */
.hero-kpi-card {
  background: linear-gradient(180deg, #161922 0%, #12151c 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.25fr;
  gap: 24px;
  position: relative;
}

.kpi-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding-right: 20px;
}

.kpi-title-small {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.kpi-big-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.kpi-big-value span {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 600;
}

.kpi-timeline-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.timeline-step-label {
  font-size: 10px;
  color: var(--text-2);
  font-weight: 600;
}

.timeline-step-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.timeline-step-bar.active {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(180, 243, 41, 0.5);
}

.avatar-stack {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.avatar-stack-item {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--card);
  margin-left: -6px;
  background: #252a36;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;
}
.avatar-stack-item:first-child { margin-left: 0; }

/* Right Active Payout Widget */
.hero-payout-box {
  background: #191e28;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.payout-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.payout-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
}

.payout-item-pill {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-1);
}
.payout-item-pill.active {
  background: var(--accent);
  color: #000000;
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(180, 243, 41, 0.3);
}

/* ---- Filter Bar Row ---- */
.filter-capsule-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

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

.filter-badge-count {
  background: #191e28;
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-badge-count span {
  background: var(--accent);
  color: #000;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.filter-pill-select {
  background: #141720;
  border: 1px solid var(--border);
  color: var(--text-0);
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
}

/* ---- Bottom Dual Grid: Live Dispute Stream & Forensic HUD ---- */
.bottom-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 20px;
}

.stream-panel-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.inspector-hud-card {
  background: #12151f;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .hero-kpi-card { grid-template-columns: 1fr 1fr; }
  .bottom-dual-grid { grid-template-columns: 1fr; }
  .g-kpi { grid-template-columns: repeat(3, 1fr); }
  .g-2, .g-2e, .g-main-side { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .top-nav { flex-direction: column; gap: 10px; border-radius: 16px; }
  .nav-capsule-container { overflow-x: auto; width: 100%; }
  .hero-kpi-card { grid-template-columns: 1fr; }
  .g-kpi { grid-template-columns: 1fr 1fr; }
}
/* ---- Premium Identity Redesign ---- */

.glass-panel {
  background: rgba(22, 26, 35, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  padding: 24px;
}

.glass-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.02);
}

.glass-panel-header {
  margin-bottom: 24px;
}

.glass-panel-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.glass-panel-subtitle {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

/* Animations */
.anim-fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-stagger-1 { animation-delay: 0.1s; }
.anim-stagger-2 { animation-delay: 0.2s; }
.anim-stagger-3 { animation-delay: 0.3s; }
.anim-stagger-4 { animation-delay: 0.4s; }
.anim-stagger-5 { animation-delay: 0.5s; }
.anim-stagger-6 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.anim-bar-fill {
  transform: scaleX(0);
  transform-origin: left;
  animation: barScaleX 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

@keyframes barScaleX {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.pulse-glow-indicator {
  position: relative;
}
.pulse-glow-indicator::after {
  content: '';
  position: absolute;
  top: -6px; left: -6px; right: -6px; bottom: -6px;
  border-radius: inherit;
  background: inherit;
  filter: blur(12px);
  opacity: 0.5;
  z-index: -1;
  animation: pulseGlow 2.5s infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.2; transform: scale(0.9); }
  100% { opacity: 0.6; transform: scale(1.1); }
}

/* Draw Line Animation for SVG */
.draw-line-anim {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Specific Identity Page Styles */
.premium-anomaly-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.premium-anomaly-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.premium-anomaly-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.premium-anomaly-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.premium-anomaly-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 4px;
}

.premium-anomaly-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.4;
}

/* Sleek Timeline */
.sleek-timeline {
  display: flex;
  align-items: center;
  padding: 32px 0;
  position: relative;
  overflow-x: auto;
  gap: 12px;
}

.sleek-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
  position: relative;
  z-index: 2;
}

.sleek-step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--bg-1);
  margin-bottom: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}

.sleek-connector {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  min-width: 40px;
  position: relative;
  top: -24px;
}

.sleek-connector-fill {
  height: 100%;
  background: var(--text-2);
  width: 0;
  animation: fillWidth 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.8s;
}

@keyframes fillWidth {
  to { width: 100%; }
}

/* Chart Bars */
.premium-bar-row {
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0);
  transition: all 0.3s ease;
  cursor: pointer;
}
.premium-bar-row:hover {
  background: rgba(255,255,255,0.03);
  transform: translateX(4px);
}
.premium-bar-row:hover .premium-bar-track {
  height: 12px;
}
.premium-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
}
.premium-bar-label {
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: 0.02em;
}
.premium-bar-value {
  font-family: var(--font-mono);
  color: var(--text-1);
  font-weight: 600;
}
.premium-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
  transition: height 0.3s ease;
}
.premium-bar-fill {
  height: 100%;
  border-radius: 6px;
  box-shadow: 0 0 16px currentColor;
}

/* Interactive Classes for Map Metrics */
.interactive-legend-item { transition: all 0.3s ease; cursor: pointer; padding: 4px 8px; border-radius: 6px; margin: -4px -8px; }
.interactive-legend-item:hover { background: rgba(255,255,255,0.05); transform: translateX(4px); }
.interactive-cause-card { transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; }
.interactive-cause-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 8px 24px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.3) !important; }
.interactive-donut { transition: all 0.5s ease; cursor: pointer; }
.interactive-donut:hover { transform: scale(1.05); drop-shadow: 0 12px 24px rgba(0,0,0,0.6); }


/* Neon Animations & Effects */
@keyframes neonGlow {
  0%, 100% { box-shadow: 0 0 5px var(--neon-color), inset 0 0 5px var(--neon-color); }
  50% { box-shadow: 0 0 15px var(--neon-color), inset 0 0 10px var(--neon-color); }
}
@keyframes neonTextGlow {
  0%, 100% { text-shadow: 0 0 4px var(--neon-color), 0 0 8px var(--neon-color); }
  50% { text-shadow: 0 0 8px var(--neon-color), 0 0 16px var(--neon-color); }
}
@keyframes slowSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.neon-card {
  animation: neonGlow 2.5s infinite ease-in-out;
}
.neon-card:hover {
  animation: none;
  box-shadow: 0 0 30px var(--neon-color), inset 0 0 15px var(--neon-color) !important;
}
.neon-text-element {
  animation: neonTextGlow 2s infinite ease-in-out;
}
.neon-donut-container::before {
  content: '';
  position: absolute;
  top: -15px; left: -15px; right: -15px; bottom: -15px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), transparent, var(--purple), transparent, var(--accent));
  animation: slowSpin 8s linear infinite;
  z-index: -1;
  opacity: 0.6;
  filter: blur(15px);
}



:root {
  --background: #000000;
  --foreground: #f0f0f0;
  --card: #0f0f0f;
  --card-foreground: #e8e8e8;
  --primary: #aaff00;
  --primary-foreground: #000000;
  --secondary: #1a1a1a;
  --secondary-foreground: #cccccc;
  --muted: #111111;
  --muted-foreground: #666666;
  --accent: #aaff00;
  --accent-foreground: #000000;
  --border: #1e1e1e;
  --ring: #aaff00;
  --radius: 2px;
  --neon: #aaff00;
  --danger: #ff3b30;
  --warning: #ffd60a;
  --info: #4d9cff;
  --purple: #bf5af2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #1e1e1e; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #aaff00; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideRight {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes glow {
  0%, 100% { text-shadow: 0 0 12px #aaff0066, 0 0 32px #aaff0033; }
  50% { text-shadow: 0 0 24px #aaff00aa, 0 0 60px #aaff0055; }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes glitch {
  0% { clip-path: inset(0 0 98% 0); transform: translate(-2px, 0); }
  10% { clip-path: inset(40% 0 40% 0); transform: translate(2px, 0); }
  20% { clip-path: inset(80% 0 5% 0); transform: translate(-1px, 0); }
  30% { clip-path: inset(10% 0 85% 0); transform: translate(1px, 0); }
  40% { clip-path: inset(60% 0 30% 0); transform: translate(-2px, 0); }
  50% { clip-path: inset(0 0 0 0); transform: translate(0, 0); }
  100% { clip-path: inset(0 0 0 0); transform: translate(0, 0); }
}
@keyframes drawLine {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
@keyframes gridFade {
  from { opacity: 0; }
  to { opacity: 0.03; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes rotate360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes neonFlicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.4; }
  94% { opacity: 1; }
  95% { opacity: 0.4; }
  96% { opacity: 1; }
}

.animate-fade-up { animation: fadeUp 0.7s ease both; }
.animate-fade-in { animation: fadeIn 0.5s ease both; }
.animate-glow { animation: glow 3s ease-in-out infinite; }
.animate-blink { animation: blink 1s step-end infinite; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-neon-flicker { animation: neonFlicker 8s ease-in-out infinite; }
.animate-rotate { animation: rotate360 20s linear infinite; }

.font-mono { font-family: 'JetBrains Mono', monospace; }

/* Intersection observer trigger */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Grid bg */
.grid-bg {
  background-image:
    linear-gradient(rgba(170,255,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170,255,0,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Neon border */
.neon-border {
  border: 1px solid rgba(170,255,0,0.3);
  box-shadow: 0 0 12px rgba(170,255,0,0.08), inset 0 0 12px rgba(170,255,0,0.04);
}
.neon-border:hover {
  border-color: rgba(170,255,0,0.6);
  box-shadow: 0 0 24px rgba(170,255,0,0.15), inset 0 0 16px rgba(170,255,0,0.06);
  transition: all 0.3s ease;
}

/* Shimmer text */
.shimmer-text {
  background: linear-gradient(90deg, #aaff00 0%, #ffffff 50%, #aaff00 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Scanline overlay */
.scanline::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(170,255,0,0.05);
  animation: scanline 8s linear infinite;
  pointer-events: none;
  z-index: 9999;
}

/* Chat bubble */
.chat-bubble-user {
  background: rgba(170,255,0,0.15);
  border: 1px solid rgba(170,255,0,0.25);
  border-radius: 12px 12px 2px 12px;
}
.chat-bubble-bot {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 12px 12px 12px 2px;
}


:root {
  /* Matte Obsidian & Dark Charcoal Palette */
  --bg-0: #0a0c10;
  --bg-1: #11141a;
  --bg-2: #161a22;
  --panel: #161a23;
  --panel-solid: #161a23;
  --panel-hover: #1c212d;
  --card: #151820;
  --card-inner: #1a1e27;
  --card-light: #ffffff;
  --card-light-text: #0e1117;
  
  /* Electric Lime Green Signature Accent */
  --accent: #b4f329;
  --accent-hover: #c5f83e;
  --accent-text: #000000;
  --accent-soft: rgba(180, 243, 41, 0.16);
  --lime: #b4f329;
  --lime-soft: rgba(180, 243, 41, 0.16);
  
  /* Status Colors */
  --green: #b4f329;
  --green-soft: rgba(180, 243, 41, 0.16);
  --amber: #ffb834;
  --amber-soft: rgba(255, 184, 52, 0.15);
  --red: #ff5271;
  --red-soft: rgba(255, 82, 113, 0.15);
  --blue: #5b8cff;
  --blue-soft: rgba(91, 140, 255, 0.15);
  --purple: #a78bfa;
  --purple-soft: rgba(167, 139, 250, 0.15);
  
  /* Borders & Dividers */
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.16);
  
  /* Typography Colors */
  --text-0: #ffffff;
  --text-1: #9da6b7;
  --text-2: #677284;
  --text-muted: #4e5767;
  
  /* Fonts */
  --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Radii */
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 9999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background-color: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

#root {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(circle 900px at 50% -20%, rgba(180, 243, 41, 0.03) 0%, transparent 60%), var(--bg-0);
}

/* ---- App Container ---- */
.app-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 16px 24px 40px 24px;
}

/* ---- Top Capsule Navigation Header ---- */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  margin-bottom: 24px;
  position: sticky;
  top: 12px;
  z-index: 1000;
  background: rgba(17, 20, 26, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 8px;
}

.brand-star {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.brand-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.quick-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 8px;
  border-left: 1px solid var(--border);
}

.quick-tool-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.quick-tool-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Nav Pills Container */
.nav-capsule-container {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.05);
  gap: 3px;
}

.nav-pill {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-1);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-display);
  white-space: nowrap;
}
.nav-pill:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.05);
}
.nav-pill.active {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 2px 14px rgba(180, 243, 41, 0.35);
}
.nav-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000000;
}

/* Nav Actions Right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 4px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(180, 243, 41, 0.6);
  background: #1c212c;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

/* ---- Page Header Row ---- */
.page-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.page-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.back-btn-capsule {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  cursor: pointer;
  transition: all 0.15s;
}
.back-btn-capsule:hover {
  background: var(--card-inner);
  color: #fff;
}

.main-page-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #ffffff;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary-capsule {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-0);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-secondary-capsule:hover {
  background: var(--card-inner);
  border-color: var(--border-strong);
}

.btn-primary-lime {
  background: var(--accent);
  color: #000000;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(180, 243, 41, 0.3);
  transition: all 0.15s;
}
.btn-primary-lime:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ---- Generic Cards & Containers ---- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative;
  transition: border-color 0.2s;
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.card-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 3px;
}

.card-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.4;
}

.card-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-live {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(180, 243, 41, 0.4);
}
.badge-alert {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(255, 82, 113, 0.3);
}
.badge-amber {
  background: var(--amber-soft);
  color: var(--amber);
}

/* ---- KPI Cards ---- */
.kpi {
  padding: 18px 20px;
  background: var(--card);
  border-radius: var(--radius-lg);
}

.kpi-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-0);
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.kpi-value span {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
}

.kpi-delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
}
.kpi-delta.up { color: var(--red); }
.kpi-delta.down { color: var(--accent); }
.kpi-delta.flat { color: var(--text-2); }

/* ---- Filter Pills Component (.pills, .pill) ---- */
.pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-body);
}
.pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.pill.active {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(180, 243, 41, 0.3);
}

/* ---- Horizontal Progress Bars (.cat-bar-row & .ch-bar-row) ---- */
.cat-bar-row, .ch-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cat-bar-label, .ch-bar-label {
  font-size: 12px;
  color: var(--text-1);
  width: 170px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.cat-bar-track, .ch-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.cat-bar-fill, .ch-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.cat-bar-val, .ch-bar-val {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-0);
  font-weight: 600;
  width: 55px;
  text-align: right;
  flex-shrink: 0;
}

/* ---- 2D Treemap Styles ---- */
.treemap-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-height: 320px;
}

.treemap-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.treemap-cell {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), filter 0.18s;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}
.treemap-cell:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.2);
  z-index: 10;
}

.tc-label {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  font-family: var(--font-display);
}

.tc-value {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-weight: 600;
  margin-top: 2px;
}

/* ---- Heatmap ---- */
.heat-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.12s;
  font-family: var(--font-mono);
}
.heat-cell:hover {
  transform: scale(1.08);
  outline: 1.5px solid #ffffff;
}

/* ---- Risk & Watchlist Tables ---- */
.risk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.risk-table th {
  padding: 10px 12px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-strong);
}
.risk-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-1);
}
.risk-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.risk-table .name {
  color: var(--text-0);
  font-weight: 700;
}

.tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.tag-active {
  background: var(--accent-soft);
  color: var(--accent);
}
.tag-suspended {
  background: var(--red-soft);
  color: var(--red);
}
.tag-inactive {
  background: rgba(255,255,255,0.06);
  color: var(--text-2);
}

.rate-bar-wrap {
  width: 70px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
.rate-bar-fill {
  height: 100%;
  border-radius: 3px;
}

/* ---- AI Insights Cards ---- */
.insight-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 14px;
}

.insight-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.insight-sev {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.insight-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-0);
}

.insight-body {
  font-size: 12.5px;
  color: var(--text-1);
  line-height: 1.6;
  margin-bottom: 12px;
}

.insight-action {
  font-size: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ---- Identity / Anomaly Cards & Audit Trail ---- */
.anomaly-card {
  background: var(--card-inner);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.15s, border-color 0.15s;
}
.anomaly-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.anomaly-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 19px;
}

.anomaly-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.anomaly-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-0);
  margin-top: 3px;
}

.anomaly-desc {
  font-size: 11.5px;
  color: var(--text-2);
  margin-top: 4px;
  line-height: 1.4;
}

/* Audit Trail Flow Container */
.audit-flow-card {
  background: #11141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 18px;
}

.audit-flow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.audit-entity-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--lime);
  background: rgba(180, 243, 41, 0.12);
  border: 1px solid rgba(180, 243, 41, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.audit-total-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.audit-timeline-track {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.audit-step-card {
  flex: 1;
  min-width: 170px;
  background: #181d28;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.15s ease;
}
.audit-step-card:hover {
  background: #1d2331;
  border-color: rgba(255, 255, 255, 0.15);
}

.audit-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.audit-step-num {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-2);
  letter-spacing: 0.5px;
}

.audit-step-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.4px;
}
.audit-step-badge.badge-active {
  background: rgba(180, 243, 41, 0.15);
  color: var(--lime);
  border: 1px solid rgba(180, 243, 41, 0.3);
}
.audit-step-badge.badge-suspended {
  background: rgba(255, 82, 113, 0.15);
  color: var(--red);
  border: 1px solid rgba(255, 82, 113, 0.35);
}

.audit-step-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audit-step-cat {
  font-size: 11px;
  color: var(--text-2);
}

.audit-step-connector {
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.6;
}

.audit-step-more {
  min-width: 100px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

/* Filters & Chips (alias to pills) */
.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-body);
}
.chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.chip.active {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(180, 243, 41, 0.3);
}

.integrity-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 20px;
}

.mch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.mch-id {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* ---- Layout Grids ---- */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2e { grid-template-columns: 1fr 1fr; }
.g-kpi { grid-template-columns: repeat(6, 1fr); }
.g-main-side { grid-template-columns: 1.4fr 1fr; }

.section-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-1);
  margin: 18px 0 12px 0;
}

/* ---- Grand Hero KPI Section in Overview ---- */
.hero-kpi-card {
  background: linear-gradient(180deg, #161922 0%, #12151c 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.25fr;
  gap: 24px;
  position: relative;
}

.kpi-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding-right: 20px;
}

.kpi-title-small {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.kpi-big-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.kpi-big-value span {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 600;
}

.kpi-timeline-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.timeline-step-label {
  font-size: 10px;
  color: var(--text-2);
  font-weight: 600;
}

.timeline-step-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.timeline-step-bar.active {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(180, 243, 41, 0.5);
}

.avatar-stack {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.avatar-stack-item {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--card);
  margin-left: -6px;
  background: #252a36;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;
}
.avatar-stack-item:first-child { margin-left: 0; }

/* Right Active Payout Widget */
.hero-payout-box {
  background: #191e28;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.payout-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.payout-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
}

.payout-item-pill {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-1);
}
.payout-item-pill.active {
  background: var(--accent);
  color: #000000;
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(180, 243, 41, 0.3);
}

/* ---- Filter Bar Row ---- */
.filter-capsule-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

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

.filter-badge-count {
  background: #191e28;
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-badge-count span {
  background: var(--accent);
  color: #000;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.filter-pill-select {
  background: #141720;
  border: 1px solid var(--border);
  color: var(--text-0);
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
}

/* ---- Bottom Dual Grid ---- */
.bottom-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
}

.contrast-card-light {
  background: #ffffff;
  color: #0e1117;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contrast-card-dark {
  background: #151821;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .hero-kpi-card { grid-template-columns: 1fr 1fr; }
  .bottom-dual-grid { grid-template-columns: 1fr; }
  .g-kpi { grid-template-columns: repeat(3, 1fr); }
  .g-2, .g-2e, .g-main-side { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .top-nav { flex-direction: column; gap: 10px; border-radius: 16px; }
  .nav-capsule-container { overflow-x: auto; width: 100%; }
  .hero-kpi-card { grid-template-columns: 1fr; }
  .g-kpi { grid-template-columns: 1fr 1fr; }
}
.counter {
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--accent);
  background: var(--accent-bg);
  border: 2px solid transparent;
  transition: border-color 0.3s;
  margin-bottom: 24px;

  &:hover {
    border-color: var(--accent-border);
  }
  &:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
}

.hero {
  position: relative;

  .base,
  .framework,
  .vite {
    inset-inline: 0;
    margin: 0 auto;
  }

  .base {
    width: 170px;
    position: relative;
    z-index: 0;
  }

  .framework,
  .vite {
    position: absolute;
  }

  .framework {
    z-index: 1;
    top: 34px;
    height: 28px;
    transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg)
      scale(1.4);
  }

  .vite {
    z-index: 0;
    top: 107px;
    height: 26px;
    width: auto;
    transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg)
      scale(0.8);
  }
}

#center {
  display: flex;
  flex-direction: column;
  gap: 25px;
  place-content: center;
  place-items: center;
  flex-grow: 1;

  @media (max-width: 1024px) {
    padding: 32px 20px 24px;
    gap: 18px;
  }
}

#next-steps {
  display: flex;
  border-top: 1px solid var(--border);
  text-align: left;

  & > div {
    flex: 1 1 0;
    padding: 32px;
    @media (max-width: 1024px) {
      padding: 24px 20px;
    }
  }

  .icon {
    margin-bottom: 16px;
    width: 22px;
    height: 22px;
  }

  @media (max-width: 1024px) {
    flex-direction: column;
    text-align: center;
  }
}

#docs {
  border-right: 1px solid var(--border);

  @media (max-width: 1024px) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

#next-steps ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 8px;
  margin: 32px 0 0;

  .logo {
    height: 18px;
  }

  a {
    color: var(--text-h);
    font-size: 16px;
    border-radius: 6px;
    background: var(--social-bg);
    display: flex;
    padding: 6px 12px;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: box-shadow 0.3s;

    &:hover {
      box-shadow: var(--shadow);
    }
    .button-icon {
      height: 18px;
      width: 18px;
    }
  }

  @media (max-width: 1024px) {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;

    li {
      flex: 1 1 calc(50% - 8px);
    }

    a {
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
    }
  }
}

#spacer {
  height: 88px;
  border-top: 1px solid var(--border);
  @media (max-width: 1024px) {
    height: 48px;
  }
}

.ticks {
  position: relative;
  width: 100%;

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: -4.5px;
    border: 5px solid transparent;
  }

  &::before {
    left: 0;
    border-left-color: var(--border);
  }
  &::after {
    right: 0;
    border-right-color: var(--border);
  }
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 210px;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  pointer-events: auto;
}
.nav-dropdown-item {
  color: #888;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s;
  font-family: var(--font-display);
}
.nav-dropdown-item:hover {
  background: rgba(170, 255, 0, 0.1);
  color: var(--accent);
}

/* Typing Effect Cursor */
.typewriter-cursor {
  border-right: 4px solid #aaff00;
  animation: blink 0.7s step-end infinite;
}

/* Enhanced Reveal with Slide */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glowing Button */
.btn-glow {
  transition: all 0.3s ease;
}
.btn-glow:hover {
  box-shadow: 0 0 20px rgba(170, 255, 0, 0.6), 0 0 40px rgba(170, 255, 0, 0.2);
  transform: translateY(-2px);
}

/* 3D Floating Card */
.card-3d {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.card-3d:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg) scale(1.02);
  box-shadow: 20px 20px 40px rgba(0,0,0,0.5), -10px -10px 20px rgba(255,255,255,0.03);
}

/* Continuous Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  position: relative;
}
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #000 0%, transparent 100%);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #000 0%, transparent 100%);
}
.marquee-content {
  display: flex;
  animation: scroll 30s linear infinite;
}
.marquee-content span {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #333;
  margin: 0 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
