/*! Leaflet 1.9.4 layout and controls. BSD 2-Clause License

Copyright (c) 2010-2023, Volodymyr Agafonkin
Copyright (c) 2010-2011, CloudMade
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
/* 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 {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  color: #172033;
  background: #eef2f8;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  color: #1f2a44;
  background: #f3f6fb;
  font-size: 14px;
  line-height: 1.42;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ui-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid #d5dceb;
  border-radius: 8px;
  background: #fff;
  color: #27334a;
  padding: 0.48rem 0.68rem;
  font-size: 0.78rem;
  font-weight: 650;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}
button:hover {
  border-color: #7559ed;
  color: #5d43db;
  box-shadow: 0 4px 12px rgba(79, 62, 156, 0.1);
  transform: translateY(-1px);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
.primary {
  border-color: #6549e8;
  background: linear-gradient(135deg, #7358ef, #5f45dc);
  color: #fff;
}
.primary:hover {
  color: #fff;
  filter: brightness(1.05);
}
.hidden {
  display: none !important;
}
#backup-summary strong { font-size: 1rem; overflow-wrap: anywhere; }
#view-backups { display: grid; gap: 16px; }
#view-backups form { display: grid; gap: 10px; }
#view-backups pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.monitor-hero { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:25px 28px; border-radius:20px; margin-bottom:18px; color:#fff; background:radial-gradient(ellipse at 95% 0,rgba(27,210,211,.24),transparent 48%),radial-gradient(ellipse at 38% 120%,rgba(161,115,255,.3),transparent 65%),linear-gradient(120deg,#1e2550,#34286b 64%,#173850); border:1px solid #59518f; box-shadow:0 12px 32px #382b7317; }
.monitor-hero .eyebrow { color:#aeece9; font-size:.64rem; letter-spacing:.19em; }
.monitor-hero h2 { margin:7px 0; font-size:1.58rem; letter-spacing:-.035em; font-weight:750; }
.monitor-hero p:last-child { margin:0; color:#c9d2ec; font-size:.8rem; max-width:490px; }
.monitor-sync { display:flex; align-items:center; gap:7px; flex-wrap:wrap; color:#dbe0f6; font-size:.7rem; flex-shrink:0; }
.monitor-sync button { margin-left:5px; background:#ffffff17; border-color:#ffffff38; color:white; font-size:.72rem; }
.live-dot { width:6px; height:6px; background:#58e3c2; border-radius:50%; box-shadow:0 0 0 4px #58e3c218; }
#view-dashboard>.metrics { gap:14px; margin-bottom:18px; }
#view-dashboard .metric { padding:19px 16px; border-radius:16px; align-items:flex-start; background:linear-gradient(135deg,#fff,#f6f3ff); border-color:#e0d9f6; box-shadow:0 6px 20px #5d43880a; }
#view-dashboard .metric:nth-child(2) { background:linear-gradient(135deg,#fff,#eafaf7); border-color:#cdece7; }
#view-dashboard .metric:nth-child(3) { background:linear-gradient(135deg,#fff,#fff6ec); border-color:#f4e4cc; }
#view-dashboard .metric:nth-child(4) { background:linear-gradient(135deg,#fff,#edf7ff); border-color:#d2e7f6; }
#view-dashboard .metric strong { font-size:1.68rem; letter-spacing:-.045em; margin:6px 0 4px; line-height:1.2; }
#view-dashboard .metric small { font-size:.68rem; color:#788298; }
.overview-charts { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr); gap:18px; }
.overview-charts>.panel { margin:0; border-radius:17px; padding:21px 23px; min-width:0; border-color:#e1e5f1; box-shadow:0 5px 22px #35395506; }
.overview-charts .eyebrow { font-size:.59rem; margin-bottom:5px; color:#8992a7; letter-spacing:.15em; }
.overview-charts h2,.fleet-map-layout h2,.fleet-list h2 { font-size:.95rem; font-weight:750; color:#26304c; }
.soft-tag { display:inline-flex; align-items:center; background:#f1f3fa; border:1px solid #e7eaf3; color:#7a8299; border-radius:7px; padding:5px 8px; font-size:.62rem; font-weight:600; white-space:nowrap; }
.chart-legend { display:flex; flex-wrap:wrap; gap:13px 19px; font-size:.67rem; color:#768299; }
.chart-legend>span { display:flex; align-items:center; gap:6px; text-transform:capitalize; }
.chart-legend i { width:7px; height:7px; border-radius:3px; background:var(--swatch); }
.chart-legend strong { font-size:.76rem; color:#2c3551; margin-left:7px; }
.activity-chart { display:block; width:100%; margin-top:13px; overflow:visible; }
.activity-chart text { fill:#9099ac; font-size:10px; font-family:inherit; }
.chart-data { font-size:.66rem; color:#828da3; margin-top:3px; }
.chart-data summary { cursor:pointer; }
.chart-data table { font-size:.69rem; }
.donut-wrap { display:flex; flex-direction:column; justify-content:center; align-items:center; min-height:260px; gap:14px; }
.donut-wrap>svg { width:180px; height:180px; }
.donut-wrap text { fill:#929bb0; font-size:10px; font-family:inherit; }
.donut-wrap .donut-total { fill:#283452; font-size:25px; font-weight:750; }
.inventory-panel .chart-legend { display:grid; width:100%; grid-template-columns:1fr 1fr; gap:11px 20px; }
.inventory-panel .chart-legend strong { margin-left:auto; }
.health-main { display:flex; flex-direction:column; gap:5px; margin:18px 0; }
.health-main>strong { font-size:2.3rem; line-height:1.1; color:#27304c; letter-spacing:-.04em; }
.health-main strong small { font-size:1.25rem; font-weight:500; color:#a5acc0; }
.health-main>span { font-size:.72rem; color:#8992a7; }
.health-bar { background:#ffead1; height:8px; border-radius:10px; margin-bottom:17px; overflow:hidden; }
.health-bar span { background:linear-gradient(90deg,#2acdb4,#11aa97); height:100%; display:block; border-radius:inherit; }
.text-action { padding:0; background:none; border:0; color:#7356d9; margin-top:20px; font-size:.72rem; }
.chart-note { color:#929aaf!important; font-size:.66rem!important; line-height:1.6; margin:14px 0 0!important; }
.client-ranking { display:grid; gap:17px; margin-top:24px; }
.ranking-label { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:7px; font-size:.72rem; }
.ranking-label>span { display:flex; align-items:center; gap:7px; min-width:0; overflow-wrap:anywhere; }
.ranking-label strong { font-size:.78rem; white-space:nowrap; color:#53458d; }
.ranking-label small { font-size:.61rem; color:#9ba1b2; font-weight:500; }
.rank-track { height:5px; border-radius:6px; background:#f1eef9; }
.rank-track>span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#ae97fc,#7659ea); }
.chart-empty { padding:65px 0; text-align:center; color:#9aa4b6; }
.fleet-counts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:17px; }
.fleet-counts>div { display:flex; align-items:center; gap:7px; background:white; padding:14px 16px; border:1px solid #e0e5f1; border-radius:12px; }
.fleet-counts span { color:#8490a6; font-size:.73rem; }
.fleet-counts strong { color:#263451; margin-left:auto; font-size:1.25rem; font-weight:750; letter-spacing:-.03em; }
.state-dot { display:inline-block; width:7px; height:7px; border-radius:50%; flex:0 0 auto; background:#a0a9bb; }
.state-dot.online { background:#13ae9a; }.state-dot.offline { background:#fbad55; }.state-dot.mapped { background:#7758ee; }
.fleet-map-layout { display:grid; grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr); gap:18px; margin-bottom:18px; }
.fleet-map-layout .panel { margin:0; min-width:0; border-radius:17px; padding:20px; }
.map-panel .panel-title p { font-size:.67rem; }
.fleet-map { position:relative; height:350px; border-radius:12px; overflow:hidden; border:1px solid #dce6ee; background:radial-gradient(ellipse at 30% 30%,#f6f9ff,#e4eff7); }
.fleet-map>svg { width:100%; height:100%; cursor:grab; touch-action:none; }
.fleet-map>svg:active { cursor:grabbing; }
.map-grid { stroke:#cddce9; stroke-width:.035; fill:none; opacity:.6; }
.map-land { fill:#d2dceb; stroke:#b3c2d7; stroke-width:.035; }
.map-pin { cursor:pointer; outline:none; color:#fbad55; }
.map-pin.online { color:#14b8a6; }.map-pin.deactivated { color:#9aa6b7; }
.pin-core { fill:currentColor; stroke:white; stroke-width:.025; }.pin-halo { fill:currentColor; opacity:.16; }
.map-pin.selected .pin-halo,.map-pin:focus .pin-halo { opacity:.45; }.map-pin.selected .pin-core { stroke:#463183; stroke-width:.07; }
.map-tools { position:absolute; top:11px; right:11px; display:grid; gap:5px; }
.map-tools button { padding:4px 7px; min-width:30px; font-size:.8rem; box-shadow:0 2px 8px #2944620b; }
.map-tools button:last-child { font-size:.61rem; }
.map-footer { display:flex; align-items:center; justify-content:space-between; gap:8px; padding-top:9px; color:#94a0b3; font-size:.61rem; }
.map-footer a { color:#7f8ba4; }
.map-empty { pointer-events:none; position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; background:#f5f8ff91; color:#5f6e91; padding:35px; text-align:center; }
.map-empty>span { font-size:2rem; color:#8d7bc5; margin-bottom:10px; }.map-empty p { font-size:.73rem; max-width:200px; }
.fleet-site>.eyebrow { font-size:.58rem; margin-bottom:13px; color:#8f98ac; }
.site-title { display:flex; align-items:center; justify-content:space-between; gap:8px; }.site-title h2 { overflow-wrap:anywhere; }
.connection-badge { display:inline-flex; align-items:center; gap:5px; border-radius:6px; padding:3px 6px; font-size:.62rem; text-transform:capitalize; font-weight:700; background:#f0f2f7; color:#8892a6; white-space:nowrap; }
.connection-badge:before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }.connection-badge.online { background:#e3f7f1; color:#139d85; }.connection-badge.offline { background:#fff0dd; color:#b57b30; }
.site-owner { font-size:.71rem!important; color:#8992a5!important; margin:5px 0 17px!important; }
.site-license { background:linear-gradient(120deg,#f4f0ff,#eef8fc); padding:13px; border-radius:10px; border:1px solid #e4dff5; }
.site-license>span { display:block; font-size:.6rem; color:#9b91b5; }.site-license>strong { display:block; font-size:.92rem; margin:5px 0 8px; color:#5b488e; letter-spacing:.03em; }
.site-license>div { display:flex; align-items:center; gap:9px; justify-content:space-between; font-size:.6rem; color:#9388aa; }
.site-facts { display:grid; grid-template-columns:1fr 1fr; gap:13px; margin:17px 0; }.site-facts div { min-width:0; }.site-facts dt { font-size:.61rem; color:#9ba3b5; }.site-facts dd { margin:4px 0 0; color:#475573; font-size:.72rem; font-weight:650; overflow-wrap:anywhere; }.site-facts .wide { grid-column:1 / -1; }
.site-actions { display:flex; flex-wrap:wrap; gap:7px; }.site-actions button { font-size:.66rem; padding:7px 10px; }
.site-placeholder { display:flex; min-height:320px; flex-direction:column; align-items:center; justify-content:center; text-align:center; color:#8a96aa; }.site-placeholder>span { font-size:2rem; }.site-placeholder p { max-width:200px; font-size:.75rem; }
.fleet-list { border-radius:17px; padding:20px; }.fleet-list .panel-title p { font-size:.67rem; }.fleet-filters { display:flex; gap:8px; }.fleet-filters input { width:240px; font-size:.71rem; }.fleet-filters select { width:130px; font-size:.71rem; }
.fleet-list td { font-size:.71rem; }.fleet-list td small { display:block; color:#96a0b3; font-size:.62rem; margin-top:5px; }.fleet-list .selected-row { background:#f7f5ff; }.fleet-list th { font-size:.6rem; }.fleet-list button { font-size:.65rem; white-space:nowrap; }
.site-coordinate-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; }#site-location-form { display:grid; gap:15px; max-width:480px; }#site-location-form>p { font-size:.75rem; margin:0; }
@media(max-width:1200px) { .monitor-hero { align-items:flex-start; }.monitor-sync { max-width:125px; justify-content:flex-end; }.overview-charts { grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr); }.fleet-map-layout { grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr); }.fleet-list .panel-title { align-items:flex-start; flex-wrap:wrap; } }
@media(max-width:1000px) { .fleet-map-layout { grid-template-columns:1fr; }.fleet-site { display:block; }.site-facts { grid-template-columns:repeat(3,1fr); }.site-facts .wide { grid-column:auto; }.overview-charts { grid-template-columns:1fr 1fr; }.activity-panel { grid-column:1 / -1; }.inventory-panel { grid-column:1 / -1; }.inventory-panel .donut-wrap { flex-direction:row; min-height:180px; }.inventory-panel .chart-legend { max-width:320px; } }
@media(max-width:620px) { .monitor-hero { flex-direction:column; padding:21px; gap:15px; border-radius:15px; }.monitor-hero h2 { font-size:1.3rem; }.monitor-hero p:last-child { font-size:.73rem; }.monitor-sync { max-width:none; justify-content:flex-start; }.overview-charts { grid-template-columns:1fr; gap:13px; }.overview-charts>.panel { grid-column:auto; padding:18px 16px; }.inventory-panel .donut-wrap { flex-direction:column; }.inventory-panel .chart-legend { max-width:none; }.fleet-counts { grid-template-columns:1fr 1fr; gap:8px; }.fleet-counts>div { padding:12px; }.fleet-counts span { font-size:.66rem; }.fleet-counts strong { font-size:1rem; }.fleet-map-layout .panel { padding:16px; }.map-panel .panel-title { align-items:flex-start; flex-wrap:wrap; }.fleet-map { height:300px; }.site-facts { grid-template-columns:1fr 1fr; }.site-facts .wide { grid-column:1 / -1; }.fleet-filters { width:100%; }.fleet-filters input { width:100%; min-width:0; }.fleet-filters select { flex-shrink:0; width:115px; }.fleet-list { padding:16px; }.soft-tag { font-size:.57rem; }.monitor-hero+.metrics .metric { padding:12px; }.monitor-hero+.metrics .metric strong { font-size:1.35rem; } }
.nav[data-view="backups"] .ui-icon { color: #b9a6ff; background: rgba(139,92,246,.16); }
.nav[data-view="logs"] .ui-icon { color:#65d9f0; background:#06b6d427; border-color:#06b6d441; }
.logs-hero>.soft-tag { background:#ffffff14; border-color:#ffffff25; color:#c2e6ef; }
.server-log-panel { border-radius:17px; padding:22px; }
.server-log-filters { display:grid; grid-template-columns:140px 165px 125px minmax(180px,1fr) auto; gap:10px; padding:15px; margin:17px 0 10px; border:1px solid #e9e6f5; border-radius:11px; background:#f8f7fc; align-items:end; }
.server-log-filters label { display:grid; gap:6px; color:#8089a3; font-size:.66rem; font-weight:650; }
.server-log-filters input,.server-log-filters select { font-size:.71rem; min-height:34px; }
.server-log-filters>button { min-height:34px; font-size:.7rem; }
.log-header-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
.log-header-actions>button { font-size:.7rem; }
.log-live { display:flex; align-items:center; gap:5px; color:#8b94a8; font-size:.68rem; margin-right:4px; white-space:nowrap; }
.log-live input { width:13px; accent-color:#7957e9; }
.log-metric { border-radius:14px; padding:17px; background:linear-gradient(120deg,#fff,#f5f2ff); }
.log-metric-1 { background:linear-gradient(120deg,#fff,#fff0f5); }.log-metric-2 { background:linear-gradient(120deg,#fff,#fff7e9); }.log-metric-3 { background:linear-gradient(120deg,#fff,#ecf9fb); }
.log-metric strong { font-size:1.65rem; letter-spacing:-.03em; margin:7px 0; }.log-metric-3 strong { font-size:.91rem; line-height:1.6; }.log-metric small { font-size:.63rem; }
#server-log-table>.table-wrap { max-height:620px; overflow:auto; }
#server-log-table table { min-width:850px; width:100%; }#server-log-table th { font-size:.61rem; position:sticky; top:0; z-index:1; background:#f6f7fb; }#server-log-table td { font-size:.71rem; vertical-align:top; padding:14px 10px; }
#server-log-table tr:hover { background:#faf9ff; }#server-log-table td:last-child button { font-size:.65rem; padding:5px 9px; }
.log-time { width:172px; color:#707c97; }.log-time time { display:block; line-height:1.5; }.log-time small { display:block; color:#adb3c2; font-size:.61rem; margin-top:4px; }
.log-level { display:inline-flex; align-items:center; gap:5px; text-transform:capitalize; padding:3px 7px; border-radius:5px; font-size:.62rem; font-weight:700; white-space:nowrap; background:#eaf2fc; color:#5080c5; }
.log-level:before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }.log-level-warning { background:#fff2db; color:#bd8735; }.log-level-error { background:#ffedf2; color:#d26584; }
.log-category { text-transform:capitalize; font-size:.69rem; color:#7382a3; }.log-actor { display:block; font-size:.61rem; color:#a2aabc; margin-top:5px; max-width:160px; overflow-wrap:anywhere; }
.log-message { max-width:400px; }.log-message strong { font-weight:550; color:#4a5774; }.log-message small { display:block; margin-top:5px; color:#a4aaba; font-size:.61rem; font-family:ui-monospace,monospace; overflow-wrap:anywhere; }
.log-pagination { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; }.log-pagination p { font-size:.67rem; color:#909aae; }.log-pagination>div { display:flex; gap:6px; }.log-pagination button { font-size:.68rem; }
.log-empty { padding:36px; text-align:center; color:#7b88a2; }.log-empty p { font-size:.73rem; }
@media(max-width:1150px) { .server-log-filters { grid-template-columns:repeat(3,1fr); }.server-log-filters .log-search { grid-column:1 / 3; }.server-log-panel>.panel-title { flex-wrap:wrap; align-items:flex-start; } }
@media(max-width:600px) { .server-log-filters { grid-template-columns:1fr 1fr; padding:12px; }.server-log-filters .log-search { grid-column:1 / -1; }.server-log-filters>button { grid-column:1 / -1; }.server-log-panel { padding:16px; }.log-header-actions { justify-content:flex-start; }.log-live { width:100%; margin-bottom:4px; }.log-pagination { align-items:flex-start; flex-wrap:wrap; }#server-log-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }.log-metric { padding:13px; }.log-metric-3 strong { font-size:.78rem; }.log-metric span { font-size:.69rem; } }
@media(max-width:600px) {
  #server-log-table table { min-width:0; display:block; border:0; }
  #server-log-table thead { display:none; }#server-log-table tbody { display:grid; gap:10px; }
  #server-log-table tr { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; padding:13px; border:1px solid #e8e7f1; border-radius:10px; background:#fff; }
  #server-log-table td { display:block; border:0; padding:0; }.log-time { width:auto; }.log-time time { font-size:.65rem; }
  #server-log-table td:nth-child(2) { text-align:right; }#server-log-table td:nth-child(n+3) { grid-column:1 / -1; }
  #server-log-table td:last-child { text-align:right; }.log-message { max-width:none; line-height:1.6; }
}
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 10%, #d8d0ff, transparent 34%),
    radial-gradient(circle at 90% 80%, #bdeee0, transparent 30%), #eef2f8;
}
.login-card {
  width: min(390px, 100%);
  display: grid;
  gap: 12px;
  border: 1px solid #dce2ef;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  padding: 26px;
  box-shadow: 0 20px 56px rgba(35, 45, 75, 0.12);
}
.logo {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #7358ef, #17aa83);
  color: #fff;
  font-weight: 850;
  letter-spacing: -0.05em;
}
.logo.small {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 0.72rem;
}
.eyebrow {
  margin: 0;
  color: #7158df;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.17em;
}
.login-card h1,
.content h1,
.panel h2 {
  margin: 0;
}
.login-card .remember-browser { display:flex; align-items:flex-start; gap:9px; font-size:.73rem; font-weight:550; }
.remember-browser input { width:15px; height:15px; flex:0 0 15px; margin:2px 0 0; accent-color:#7455e9; }
.remember-browser small { display:block; margin-top:4px; color:#929db0; font-size:.65rem; font-weight:400; }
.muted,
.panel p {
  color: #68758d;
}
.login-card label,
.form-panel label,
.batch-panel label,
.dialog-card label {
  display: grid;
  gap: 7px;
  color: #344057;
  font-size: 0.83rem;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #d7deeb;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  padding: 0.56rem 0.66rem;
  font-size: 0.79rem;
  outline: none;
}
textarea {
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #7158df;
  box-shadow: 0 0 0 3px rgba(113, 88, 223, 0.13);
}
.error {
  min-height: 1.2em;
  margin: 0;
  color: #d52e48;
  font-size: 0.82rem;
}
.app-shell {
  display: grid;
  grid-template-columns: 218px 1fr;
  min-height: 100vh;
}
.app-shell aside {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #171a23;
  color: white;
  padding: 16px 12px;
  box-shadow: 8px 0 28px rgba(14, 18, 29, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 5px 16px;
}
.brand strong,
.brand small {
  display: block;
}
.brand small {
  margin-top: 3px;
  color: #8f9aaf;
  font-size: 0.72rem;
}
.app-shell nav {
  display: grid;
  gap: 4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0.36rem 0.48rem;
  border-color: transparent;
  background: transparent;
  color: #bec6d5;
  text-align: left;
}
.nav .ui-icon,
.logout .ui-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 4px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.nav:nth-child(1) .ui-icon {
  border-color: rgba(139, 92, 246, 0.28);
  background: rgba(139, 92, 246, 0.16);
  color: #b9a6ff;
}
.nav:nth-child(2) .ui-icon {
  border-color: rgba(16, 185, 129, 0.26);
  background: rgba(16, 185, 129, 0.15);
  color: #55d7ad;
}
.nav:nth-child(3) .ui-icon {
  border-color: rgba(59, 130, 246, 0.28);
  background: rgba(59, 130, 246, 0.16);
  color: #7db4ff;
}
.nav:nth-child(4) .ui-icon {
  border-color: rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.16);
  color: #f6bd53;
}
.nav:nth-child(5) .ui-icon {
  border-color: rgba(236, 72, 153, 0.27);
  background: rgba(236, 72, 153, 0.15);
  color: #f287bd;
}
.nav:nth-child(6) .ui-icon {
  border-color: rgba(6, 182, 212, 0.27);
  background: rgba(6, 182, 212, 0.15);
  color: #5ed4e7;
}
.nav:nth-child(7) .ui-icon {
  border-color: rgba(34, 197, 94, 0.27);
  background: rgba(34, 197, 94, 0.15);
  color: #65d889;
}
.nav:nth-child(8) .ui-icon {
  border-color: rgba(249, 115, 22, 0.28);
  background: rgba(249, 115, 22, 0.16);
  color: #ff9c5a;
}
.nav:nth-child(9) .ui-icon {
  border-color: rgba(99, 102, 241, 0.28);
  background: rgba(99, 102, 241, 0.16);
  color: #9b9dfd;
}
.nav:hover,
.nav.active {
  border-color: #47405f;
  background: #2a253c;
  color: white;
}
.nav:hover .ui-icon,
.nav.active .ui-icon {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transform: scale(1.04);
}
.logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  border-color: #383d4b;
  background: transparent;
  color: #afb8ca;
}
.content {
  min-width: 0;
  padding: 18px 22px 36px;
}
.content > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.content > header h1 {
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}
.page-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-heading-icon {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #d8d0ff;
  border-radius: 11px;
  background: linear-gradient(135deg, #ede9ff, #ddf7ef);
  color: #6549e8;
  box-shadow: 0 5px 14px rgba(76, 59, 160, 0.09);
}
.page-heading-icon .ui-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  font-size: 0.68rem;
  font-weight: 800;
}
.pill.good {
  background: #d9f7ec;
  color: #087a59;
}
.pill.bad {
  background: #ffe0e4;
  color: #b81e38;
}
.pill.warn {
  background: #fff0c8;
  color: #9a6200;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 13px;
}
.metric {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce2ed;
  border-radius: 12px;
  background: #fff;
  padding: 12px 13px;
  box-shadow: 0 5px 16px rgba(45, 58, 91, 0.045);
}
.metric-icon {
  width: 36px;
  height: 36px;
  display: grid !important;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #ede9ff, #dcf7ee);
  color: #6549e8 !important;
}
.metric:nth-child(2) .metric-icon {
  background: #ddf7ef;
  color: #087a59 !important;
}
.metric:nth-child(3) .metric-icon {
  background: #fff0c8;
  color: #9a6200 !important;
}
.metric:nth-child(4) .metric-icon {
  background: #e6f1ff;
  color: #276ab4 !important;
}
.metric-icon .ui-icon {
  width: 18px;
  height: 18px;
}
.metric > div {
  min-width: 0;
}
.metric span {
  color: #6d788d;
  font-size: 0.75rem;
  font-weight: 700;
}
.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 1.32rem;
}
.metric small {
  color: #8893a5;
}
.panel {
  margin-bottom: 13px;
  border: 1px solid #dce2ed;
  border-radius: 14px;
  background: #fff;
  padding: 15px;
  box-shadow: 0 5px 16px rgba(45, 58, 91, 0.045);
}
.panel h2 {
  font-size: 1rem;
  letter-spacing: -0.015em;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}
.panel-title p {
  margin: 0.35rem 0 0;
  font-size: 0.83rem;
}
.toolbar {
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
}
.toolbar input {
  max-width: 440px;
}
.toolbar select {
  max-width: 180px;
}
.client-assignment-toolbar {
  flex-wrap: wrap;
}
.client-assignment-toolbar input {
  flex: 1 1 320px;
}
.client-assignment-dialog-card {
  box-sizing: border-box;
  width: 100%;
  max-height: min(86vh, 820px);
  overflow-x: hidden;
  overflow-y: auto;
}
.client-assignment-actions {
  flex-wrap: wrap;
}
#client-assignment-dialog {
  overflow: hidden;
}
#client-assignment-detail-table .table-wrap {
  max-height: min(44vh, 430px);
  overflow-x: hidden;
  overflow-y: auto;
}
#client-assignment-detail-table table {
  table-layout: fixed;
  white-space: normal;
}
#client-assignment-detail-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}
#client-assignment-detail-table th:nth-child(1),
#client-assignment-detail-table td:nth-child(1) {
  width: 70%;
}
#client-assignment-detail-table th:nth-child(2),
#client-assignment-detail-table td:nth-child(2) {
  width: 30%;
}
#client-assignment-detail-table .license-key {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}
.license-search-toolbar {
  align-items: flex-start;
  flex-wrap: wrap;
}
.license-search-block {
  flex: 1 1 520px;
}
.license-search-block small {
  display: block;
  margin-top: 6px;
  color: #68758d;
  font-size: 0.75rem;
}
#license-search {
  min-height: 104px;
  max-height: 220px;
  overflow-y: auto;
  resize: vertical;
}
.license-search-options {
  display: flex;
  flex: 1 1 360px;
  flex-wrap: wrap;
  gap: 9px;
}
.license-search-options select {
  flex: 1 1 150px;
}
.license-export-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  border: 1px solid #ded8ff;
  border-radius: 10px;
  background: linear-gradient(135deg, #f7f5ff, #f2fbf8);
  padding: 9px 11px;
}
.license-export-bar strong,
.license-export-bar small {
  display: block;
}
.license-export-bar strong {
  color: #30256b;
  font-size: 0.82rem;
}
.license-export-bar small {
  margin-top: 3px;
  color: #68758d;
  font-size: 0.72rem;
}
.license-export-bar button {
  min-width: 58px;
  border-color: #cfc5ff;
  color: #5d43db;
}
.license-export-bar button:hover {
  background: #6549e8;
  color: #fff;
}
.table-wrap {
  overflow: auto;
  border: 1px solid #e0e5ef;
  border-radius: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 0.75rem;
}
th,
td {
  padding: 0.58rem 0.68rem;
  border-bottom: 1px solid #e7ebf2;
  text-align: left;
}
th {
  background: #f6f8fc;
  color: #657188;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
tr:last-child td {
  border-bottom: 0;
}
.status {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}
.status:before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.status.online,
.status.active {
  background: #d9f7ec;
  color: #087a59;
}
.status.offline,
.status.suspended {
  background: #fff0c8;
  color: #9a6200;
}
.status.revoked,
.status.expired {
  background: #ffe0e4;
  color: #b81e38;
}
.money {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  color: #6b7588;
  font-size: 0.8rem;
}
.row-actions {
  display: flex;
  gap: 6px;
}
.row-actions button {
  padding: 0.35rem 0.55rem;
  font-size: 0.7rem;
}
.icon-button {
  display: inline-grid;
  width: 29px;
  height: 29px;
  place-items: center;
  padding: 0;
}
.icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.icon-button.danger {
  border-color: #ffd3da;
  background: #fff1f3;
  color: #b81e38;
}
.icon-button.credit {
  border-color: #bdebdc;
  background: #eafaf4;
  color: #087a59;
}
.export-actions {
  flex-wrap: wrap;
}
.download-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d5dceb;
  border-radius: 8px;
  background: #fff;
  color: #5d43db;
  padding: 0.35rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 750;
  text-decoration: none;
}
.download-link:hover {
  border-color: #7559ed;
  background: #f4f1ff;
}
@media (max-width: 700px) {
  .license-export-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}
.batch-key-list {
  display: grid;
  gap: 5px;
  max-height: 210px;
  min-width: 235px;
  margin-top: 8px;
  overflow: auto;
  white-space: normal;
}
.batch-key-list .license-key {
  display: block;
  white-space: nowrap;
}
.grid-two {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 13px;
}
.generate-layout {
  align-items: start;
}
.distribution-pool-option {
  border: 1px solid #dcd5ff;
  border-radius: 10px;
  background: linear-gradient(135deg, #f7f5ff, #f1fbf8);
  padding: 9px 11px;
}
.compact-note {
  margin: -5px 0 0;
  font-size: 0.76rem;
}
.distribution-metrics {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
}
.distribution-metric {
  display: grid;
  gap: 4px;
  min-height: 86px;
  align-content: center;
  border-color: #dcd5ff;
  background: linear-gradient(145deg, #ffffff, #f7f5ff);
  text-align: center;
}
.distribution-metric:nth-child(2) {
  border-color: #ccecdf;
  background: linear-gradient(145deg, #ffffff, #eefbf7);
}
.distribution-metric:nth-child(3) {
  border-color: #f0dfb6;
  background: linear-gradient(145deg, #ffffff, #fff9ea);
}
.distribution-metric strong {
  margin-top: 2px;
  font-size: 1.55rem;
}
.distribution-layout {
  align-items: start;
}
.distribution-form-grid {
  grid-template-columns: 1.4fr 0.6fr;
}
.distribution-form-grid label:last-child {
  grid-column: 1 / -1;
}
.distribution-policy {
  min-height: 100%;
}
.form-panel,
.batch-panel {
  display: grid;
  gap: 10px;
}
.check {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
}
.check input {
  width: auto;
}
.security-list {
  display: grid;
  gap: 9px;
  padding-left: 17px;
  color: #566278;
  font-size: 0.86rem;
}
.security-list code {
  background: #eef1f7;
  border-radius: 5px;
  padding: 0.1rem 0.3rem;
}
dialog {
  width: min(650px, calc(100% - 30px));
  border: 0;
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(14, 20, 38, 0.3);
}
.wide-dialog {
  width: min(920px, calc(100% - 30px));
}
.assignment-result-summary {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr;
  gap: 8px;
}
.assignment-result-summary div {
  border: 1px solid #e0e5ef;
  border-radius: 9px;
  background: linear-gradient(145deg, #ffffff, #f7f5ff);
  padding: 9px 11px;
}
.assignment-result-summary span,
.assignment-result-summary strong {
  display: block;
}
.assignment-result-summary span {
  color: #68758d;
  font-size: 0.72rem;
}
.assignment-result-summary strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.assignment-result-keys {
  max-height: min(48vh, 430px);
  margin: 0;
  overflow: auto;
  border: 1px solid #dcd5ff;
  border-radius: 10px;
  background: #f8f7ff;
  color: #25304a;
  padding: 11px;
  font-size: 0.79rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.assignment-export-actions {
  flex-wrap: wrap;
}
dialog::backdrop {
  background: rgba(17, 22, 36, 0.58);
  backdrop-filter: blur(3px);
}
.dialog-card {
  display: grid;
  gap: 12px;
  background: #fff;
  padding: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
@media (max-width: 700px) {
  .assignment-result-summary {
    grid-template-columns: 1fr;
  }
  .assignment-export-actions {
    justify-content: flex-start;
  }
}
.credit-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.credit-summary div {
  border: 1px solid #e0e5ef;
  border-radius: 9px;
  background: #f8faff;
  padding: 9px;
}
.credit-summary span,
.credit-summary strong {
  display: block;
}
.credit-summary span {
  color: #68758d;
  font-size: 0.72rem;
}
.credit-summary strong {
  margin-top: 4px;
  font-size: 1.12rem;
}
.credit-note {
  margin: 0;
  font-size: 0.8rem;
}
.warning {
  margin: 0;
  border: 1px solid #f0cf76;
  border-radius: 8px;
  background: #fff5d7;
  color: #795200;
  padding: 8px 9px;
  font-size: 0.82rem;
}
.header-status {
  display: flex;
  align-items: center;
  gap: 9px;
}
.role-pill,
.role-badge,
.role-lock {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eee9ff;
  color: #5636ad;
  padding: 0.28rem 0.52rem;
  font-size: 0.66rem;
  font-weight: 800;
}
.rbac-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rbac-layout {
  align-items: start;
}
.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}
.permission-grid fieldset {
  min-width: 0;
  margin: 0;
  border: 1px solid #dfe4ee;
  border-radius: 10px;
  background: #fafbfe;
  padding: 9px;
}
.permission-grid legend {
  padding: 0 5px;
  color: #5636ad;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.permission-option {
  display: flex !important;
  align-items: flex-start;
  gap: 9px !important;
  margin: 0 0 9px;
  cursor: pointer;
}
.permission-option:last-child {
  margin-bottom: 0;
}
.permission-option input {
  width: auto;
  margin-top: 2px;
}
.permission-option span,
.permission-option strong,
.permission-option small {
  display: block;
}
.permission-option strong {
  color: #26324a;
  font-size: 0.78rem;
}
.permission-option small {
  margin-top: 2px;
  color: #7b879c;
  font-size: 0.66rem;
}
.permission-option.unavailable {
  opacity: 0.42;
  cursor: not-allowed;
}
.rbac-levels {
  display: grid;
  gap: 9px;
}
.role-card {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  border: 1px solid #e1e5ee;
  border-radius: 10px;
  background: linear-gradient(145deg, #fff, #f8f6ff);
  padding: 9px;
}
.role-card p {
  margin: 4px 0;
  color: #667288;
  font-size: 0.77rem;
}
.role-card small {
  color: #7b879c;
}
.role-level {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #6846d8;
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
}
.permission-summary {
  display: grid;
  gap: 4px;
  min-width: 220px;
  margin: 8px 0 0;
  padding-left: 18px;
  color: #5d687d;
  font-size: 0.75rem;
}
.search-gate {
  display: grid;
  gap: 5px;
  margin-top: 11px;
  border: 1px dashed #cbd3e1;
  border-radius: 9px;
  background: #f8faff;
  color: #566278;
  padding: 15px;
  text-align: center;
}
.search-gate strong {
  color: #172033;
}
pre {
  max-height: 330px;
  overflow: auto;
  border-radius: 12px;
  background: #171a23;
  color: #b9f6de;
  padding: 12px;
  font-size: 0.8rem;
  line-height: 1.55;
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: 430px;
  border-radius: 9px;
  background: #181d29;
  color: #fff;
  padding: 10px 13px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  font-size: 0.82rem;
}
@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 80px 1fr;
  }
  .brand div,
  .nav span,
  .logout span {
    display: none;
  }
  .nav {
    justify-content: center;
    padding-inline: 0;
  }
  .content {
    padding: 20px 16px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .permission-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  #view-dashboard > .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  #view-dashboard .metric { flex-direction:column; gap:9px; padding:14px; }
  #view-dashboard .metric-icon { width:29px; height:29px; }
  #view-dashboard .metric span { font-size:.68rem; }
  #view-dashboard .metric strong { font-size:1.3rem; overflow-wrap:anywhere; }
  #view-dashboard .metric small { font-size:.61rem; }
  .app-shell {
    display: block;
  }
  .app-shell aside {
    position: static;
    width: 100%;
    height: auto;
    display: block;
    padding: 12px;
  }
  .brand {
    padding: 0 0 10px;
  }
  .brand div {
    display: block;
  }
  .app-shell nav {
    display: flex;
    overflow: auto;
  }
  .nav {
    font-size: 0.72rem;
  }
  .nav span,
  .logout span {
    display: inline;
  }
  .logout {
    margin-top: 10px;
  }
  .metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .rbac-metrics {
    grid-template-columns: 1fr;
  }
  .header-status {
    align-items: flex-end;
    flex-direction: column;
  }
  .toolbar {
    flex-direction: column;
  }
  .toolbar input,
  .toolbar select {
    max-width: none;
  }
  .content > header {
    align-items: flex-start;
  }
  .pill {
    margin-top: 4px;
  }
}

/* Read-only Overview inventory. License capacity and device reports have separate units. */
.overview-charts>.license-inventory-panel{grid-column:1 / -1}
.license-inventory-totals,.license-credit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.license-inventory-totals>div{padding:18px 20px;border:1px solid #8066e526;border-radius:13px;background:linear-gradient(125deg,#8066e50d,#3ac9d408)}
.license-inventory-totals span,.license-credit-grid span,.license-device-report span{display:block;font-size:.76rem;color:#53617c;font-weight:600}
.license-inventory-totals strong{display:block;font-size:1.9rem;line-height:1.3;margin:5px 0;color:#5948ba;font-variant-numeric:tabular-nums}
.license-inventory-totals small{display:block;font-size:.68rem;color:#71809a}
.license-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 22px}
.license-type-card{padding:16px 18px;border:1px solid #7766db30;border-radius:13px;background:#f7f5ff}
.license-type-card.subvendo{border-color:#0ca9ab30;background:#f0fbfa}
.license-type-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.license-type-heading h3,.license-capacity-heading h3{font-size:.85rem;margin:0;color:#35435f}
.license-type-heading>span{font-size:.68rem;color:#7662c0;font-weight:700}
.subvendo .license-type-heading>span{color:#15877f}
.license-type-card dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0 0}
.license-type-card dt{font-size:.69rem;color:#66768d}.license-type-card dd{margin:4px 0 0;font-size:1.15rem;font-weight:750;color:#35435f;font-variant-numeric:tabular-nums}
.license-capacity-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}
.license-capacity-heading>span{font-size:.68rem;color:#71809a}
.license-credit-grid>div{border:1px solid #dbe6f1;border-radius:11px;padding:12px 18px;background:#f7faff}
.license-credit-grid strong{display:block;color:#197e8b;font-size:1.4rem;margin-top:3px;font-variant-numeric:tabular-nums}
.license-device-report{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e2e8f2;margin-top:18px;padding-top:15px}
.license-device-report>div{display:flex;align-items:center;gap:14px}.license-device-report strong{font-size:1.35rem;color:#425a8c;font-variant-numeric:tabular-nums}
.license-device-report p{font-size:.69rem;color:#71809a;margin:0;line-height:1.6;text-align:right}
.license-count-help{font-size:.7rem;color:#66768d;line-height:1.65;margin-top:14px}.license-count-help summary{cursor:pointer;color:#6556b6;font-weight:600}.license-count-help p{max-width:950px;margin:8px 0 0}
@media(max-width:1100px){.license-type-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.license-inventory-totals>div{padding:15px}.license-inventory-totals small{font-size:.65rem}}
@media(max-width:700px){.license-inventory-totals,.license-credit-grid{grid-template-columns:1fr}.license-inventory-totals>div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 10px}.license-inventory-totals strong{grid-row:1 / 3;grid-column:2;font-size:1.65rem}.license-type-grid{grid-template-columns:1fr}.license-type-card dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.license-type-card{padding:14px}.license-credit-grid>div{display:flex;justify-content:space-between;align-items:center}.license-credit-grid strong{margin:0}.license-capacity-heading,.license-device-report{align-items:flex-start;flex-direction:column}.license-device-report p{text-align:left}.license-inventory-panel .panel-title{align-items:flex-start;gap:10px}.license-type-card dd{overflow-wrap:anywhere}}
@media(max-width:380px){.license-type-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}}

/*! Leaflet 1.9.4 · BSD-2-Clause · https://leafletjs.com */
/* 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(images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(images/layers-2x.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(images/marker-icon.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;
	-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;
		}
	}

/* Fleet IP estimates and optional NASA satellite overview. */
.map-layer-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#66768d;font-weight:650}.map-layer-label select{font-size:12px;width:155px;max-width:100%;padding:7px 9px}
.map-privacy-note{font-size:10px!important;line-height:1.6;color:#71809a!important;margin:12px 0!important}.map-footer{flex-wrap:wrap;gap:8px}.map-footer>span:last-child{font-size:10px}
.map-pin.approximate .pin-halo{stroke:#f0bf67;stroke-width:.04;stroke-dasharray:.15 .1;fill:#f0bf6730}.ip-location-note{color:#805f26!important;background:#fff6de;padding:10px;border-radius:8px}.location-label{color:#7460a3!important}
.satellite-canvas{height:100%;width:100%;position:relative;background:#18293a}.satellite-notice{position:absolute;z-index:800;bottom:26px;left:8px;right:8px;pointer-events:none;font-size:10px;color:#fff;background:#0d1726da;padding:6px 8px;border-radius:6px;line-height:1.4}.satellite-fit{margin:10px;padding:7px 10px;background:white;color:#243251;border:1px solid #bbc7da;border-radius:6px;font-size:12px;box-shadow:0 1px 5px #0005}.fleet-map .leaflet-container{font:12px/1.5 Inter,system-ui,sans-serif}.fleet-map .leaflet-control-attribution{font-size:9px;max-width:90%;overflow-wrap:anywhere}.fleet-map .leaflet-control-zoom a{color:#263551}.fleet-map .leaflet-tooltip{font-size:11px;white-space:normal;max-width:230px}
@media(max-width:620px){.map-layer-label{width:100%;justify-content:space-between}.map-layer-label select{width:170px}.map-privacy-note{font-size:10px!important}.satellite-notice{font-size:9px;bottom:40px}.map-footer>span{max-width:100%}}

.map-pin.online .pin-core{fill:#16a34a}

/* Online pins retain green even while selected or keyboard-focused. */
.map-pin.online{color:#16a34a}.map-pin.online.selected .pin-core,.map-pin.online:focus .pin-core{stroke:#166534;stroke-width:.045}.map-pin.online.approximate .pin-halo{stroke:#16a34a;fill:#16a34a40}

/* License status: presentation only; values use the existing summary breakdown. */
.license-status-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 19px;margin:2px 0 6px;border:1px solid #dedcf4;border-radius:16px;background:linear-gradient(115deg,#f0edff,#f4fbff);color:#273451}
.license-status-total>div{display:flex;flex-direction:column;gap:3px}.license-status-total>div>span{font-size:.72rem;font-weight:650;color:#655f8a}.license-status-total strong{font-size:2.15rem;line-height:1.1;letter-spacing:-.07rem;font-variant-numeric:tabular-nums}.license-status-total-note{font-size:.64rem;line-height:1.6;text-align:right;color:#7c8198}
.license-status-layout{display:flex;flex-direction:column;align-items:center;gap:2px}.license-status-pie{width:100%;max-width:360px;height:auto;overflow:visible}.license-status-slice{cursor:pointer;transition:filter .18s}.license-status-slice:hover,.license-status-slice.is-selected{filter:brightness(1.08)}.license-status-empty{fill:#7d879b;font:12px system-ui,sans-serif}
.license-status-legend{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%}.license-status-key{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:4px 7px;margin:0;padding:10px 11px;border:1px solid #e8eaf3;border-radius:12px;background:#f9faff;box-shadow:none;color:#45516a;text-align:left;cursor:pointer;font-family:inherit}.license-status-key>i{width:7px;height:7px;border-radius:50%;background:#a2afc4;box-shadow:0 0 0 3px #e8edf5}.license-status-key>span{font-size:.69rem;font-weight:600;overflow-wrap:anywhere}.license-status-key>strong{font-size:.91rem;font-weight:750;font-variant-numeric:tabular-nums;color:#273451}.license-status-key>small{grid-column:2 / 4;color:#8a92a6;font-size:.62rem}.license-status-key:hover,.license-status-key.is-selected{border-color:#aca0e6;background:#f1edff;color:#554585}.license-status-key:focus-visible{outline:2px solid #7758ee;outline-offset:2px}.license-status-detail{min-height:2.5em;margin:12px 0 0;color:#8a92a6;font-size:.64rem;line-height:1.5;text-align:center}
@media(min-width:621px) and (max-width:1000px){.license-status-layout{flex-direction:row;gap:20px}.license-status-pie{width:52%}.license-status-legend{max-width:380px}.license-status-total{margin-bottom:0}.license-status-detail{min-height:0}}
@media(max-width:620px){.license-status-total{padding:14px 16px}.license-status-total strong{font-size:1.9rem}.license-status-pie{max-width:330px}.license-status-key{padding:11px}.license-status-key>span{font-size:.73rem}.license-status-key>small{font-size:.66rem}}
@media(prefers-reduced-motion:reduce){.license-status-slice{transition:none}}
.license-status-key>.license-dot-active{background:#29c79a}.license-status-key>.license-dot-suspended{background:#ffc55e}.license-status-key>.license-dot-revoked{background:#ff8091}.license-status-key>.license-dot-expired{background:#b5a6e5}
/* Export result cards keep explicit contrast regardless of inherited theme. */
#distribution-result-dialog,#client-assignment-dialog{color:#25304a;color-scheme:light}
#distribution-result-dialog h2,#client-assignment-dialog h2{color:#25304a}
#distribution-result-dialog .assignment-result-summary strong,#client-assignment-dialog .assignment-result-summary strong{color:#25304a;font-size:.9rem;font-weight:750}
#distribution-result-dialog .assignment-result-summary,#client-assignment-dialog .assignment-result-summary{grid-template-columns:1.5fr 1.1fr .7fr 1fr}
#distribution-result-dialog .assignment-result-summary>div,#client-assignment-dialog .assignment-result-summary>div{min-width:0;padding:12px;background:linear-gradient(135deg,#f8f5ff,#f1f8fc);border-color:#ddd9f2}
#distribution-result-dialog .dialog-card{max-height:88vh;overflow:auto}
#distribution-result-dialog .assignment-result-keys{font-family:Consolas,monospace;line-height:1.9;padding:14px 16px}
@media(max-width:700px){#distribution-result-dialog .assignment-result-summary,#client-assignment-dialog .assignment-result-summary{grid-template-columns:1fr 1fr}#distribution-result-dialog .assignment-result-summary>div:first-child,#client-assignment-dialog .assignment-result-summary>div:first-child{grid-column:1 / -1}}

/* Optional OSM street basemap; no changes to records or map coordinates. */
.map-layer-label select{width:205px}.street-map-canvas{background:#edf1e8}
@media(max-width:620px){.map-layer-label select{width:205px;max-width:70%}}

/* Exact controller artwork; transparent and contained without cropping. */
.cloud-logo{display:block;object-fit:contain;background:transparent;flex:none;width:64px;height:64px;filter:drop-shadow(0 1px 1px #061432cc)}.cloud-login-logo{width:92px;height:92px;padding:5px;border-radius:16px;background:linear-gradient(135deg,#30256b,#123349)}.cloud-brand-sidebar{gap:8px}.cloud-brand-sidebar>div{min-width:0}.cloud-brand-sidebar strong{font-size:1rem;letter-spacing:.02em}.cloud-brand-sidebar small{font-size:.73rem;color:#c2cbe1}.cloud-brand-sidebar .cloud-logo{background:transparent}
@media(min-width:601px) and (max-width:900px){.cloud-brand-sidebar .cloud-logo{width:44px;height:44px}}

/* Cloud color themes: display only. Export artwork keeps its own fixed palette. */
:root{color-scheme:light;--cloud-page:#f3f6fb;--cloud-text:#1f2a44;--cloud-panel:#fff;--cloud-inset:#f5f3fc;--cloud-field:#fff;--cloud-line:#dddfea;--cloud-muted:#68758d;--cloud-accent:#6549d8}
:root[data-theme="night"]{color-scheme:dark;--cloud-page:#17181f;--cloud-text:#edf0fa;--cloud-panel:#252731;--cloud-inset:#2e303e;--cloud-field:#303341;--cloud-line:#424554;--cloud-muted:#adb6cb;--cloud-accent:#c4b3ff;background:var(--cloud-page);color:var(--cloud-text)}
body{background:var(--cloud-page);color:var(--cloud-text)}
.header-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 16px;min-width:0}
.theme-switch{display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid #dcd7ef;border-radius:12px;background:#eeebf8;flex-shrink:0}
.theme-switch button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 10px;border:1px solid transparent;border-radius:8px;box-shadow:none;transform:none;background:transparent;color:#645b7e;font-size:.69rem;white-space:nowrap}
.theme-switch .ui-icon{width:16px;height:16px;flex:none}
.theme-switch button[aria-pressed="true"]{background:#fff;color:#5d3dcc;border-color:#ddd4f8;box-shadow:0 2px 7px #52447d12}
.theme-switch button:focus-visible{outline:2px solid #9074ed;outline-offset:2px}
.login-card>.theme-switch{justify-self:end;margin-bottom:4px}
:root[data-theme="day"] .app-shell aside{background:linear-gradient(165deg,#eeebfa,#e8eef8 65%,#e4f3f2);color:#2a2850;border-right:1px solid #d9d4ea}
:root[data-theme="day"] .cloud-brand-sidebar small{color:#686584}
:root[data-theme="day"] .nav{color:#555475}
:root[data-theme="day"] .nav:hover,:root[data-theme="day"] .nav.active{background:#dcd4f8;border-color:#c8bbee;color:#493488}
:root[data-theme="day"] .logout{border-color:#cbc7de;color:#595174;background:#ffffff55}
:root[data-theme="night"] .theme-switch{background:#292a38;border-color:#464253}
:root[data-theme="night"] .theme-switch button{background:transparent;color:#b4aec7}
:root[data-theme="night"] .theme-switch button[aria-pressed="true"]{background:#51406f;border-color:#7d62a5;color:#f0e9ff;box-shadow:0 2px 10px #0d0b1829}
:root[data-theme="night"] .app-shell aside{background:linear-gradient(165deg,#24212f,#1d202a 70%,#1c282e);border-right:1px solid #3d394c}
:root[data-theme="night"] .nav:hover,:root[data-theme="night"] .nav.active{background:#3d3453;border-color:#65507f}
:root[data-theme="night"] .logout{color:#c1b9d3;border-color:#4e475e}
:root[data-theme="night"] :is(.panel,.metric,.dialog-card,.login-card,.fleet-counts>div){background:var(--cloud-panel);border-color:var(--cloud-line);color:var(--cloud-text);box-shadow:0 6px 24px #08090e24}
:root[data-theme="night"] #view-dashboard .metric,:root[data-theme="night"] .log-metric,:root[data-theme="night"] .distribution-metric{background:linear-gradient(130deg,#2e2b3e,#252731);border-color:#494156}
:root[data-theme="night"] #view-dashboard .metric:nth-child(2),:root[data-theme="night"] .log-metric-3,:root[data-theme="night"] .distribution-metric:nth-child(2){background:linear-gradient(130deg,#213b3b,#252731);border-color:#345351}
:root[data-theme="night"] #view-dashboard .metric:nth-child(3),:root[data-theme="night"] .log-metric-2,:root[data-theme="night"] .distribution-metric:nth-child(3){background:linear-gradient(130deg,#3c332d,#252731);border-color:#554b3f}
:root[data-theme="night"] #view-dashboard .metric:nth-child(4){background:linear-gradient(130deg,#26364b,#252731);border-color:#3d5067}
:root[data-theme="night"] .log-metric-1{background:linear-gradient(130deg,#402c3a,#252731)}
:root[data-theme="night"] .login-shell{background:radial-gradient(ellipse at 15% 12%,#41325b66,transparent 42%),radial-gradient(ellipse at 85% 85%,#164c5366,transparent 40%),#17181f}
:root[data-theme="night"] .login-card{background:#252731f5;border-color:#454253;box-shadow:0 24px 80px #08090f66}
:root[data-theme="night"] :is(input,select,textarea){background:var(--cloud-field);color:var(--cloud-text);border-color:#525467}
:root[data-theme="night"] :is(input,textarea)::placeholder{color:#a2aac0;opacity:1}
:root[data-theme="night"] :is(input,select,textarea):focus{border-color:#b09afa;box-shadow:0 0 0 3px #a78bfa25}
:root[data-theme="night"] button,:root[data-theme="night"] .download-link{background:var(--cloud-field);color:#e2dcf5;border-color:#525164}
:root[data-theme="night"] button:hover,:root[data-theme="night"] .download-link:hover{background:#403852;border-color:#9c80d1;color:#fff}
:root[data-theme="night"] .primary{background:linear-gradient(135deg,#8562ea,#684acb);color:#fff;border-color:#9b7ae8}
:root[data-theme="night"] .theme-switch button{background:transparent;border-color:transparent;color:#c3bad3}
:root[data-theme="night"] .theme-switch button[aria-pressed="true"]{background:#51406f;border-color:#7d62a5;color:#f0e9ff}
:root[data-theme="night"] :is(.nav,.logout){background:transparent}
:root[data-theme="night"] .nav{border-color:transparent;color:#c4bed5}
:root[data-theme="night"] .nav:hover,:root[data-theme="night"] .nav.active{background:#3d3453;border-color:#65507f;color:#fff}
:root[data-theme="night"] .text-action{background:transparent;color:var(--cloud-accent);border:0}
:root[data-theme="night"] :is(.panel h2,.overview-charts h2,.fleet-map-layout h2,.fleet-list h2,.health-main>strong,.fleet-counts strong,.chart-legend strong,.ranking-label strong,.permission-option strong,.search-gate strong,.log-message strong,.site-facts dd,.license-type-card dd,.license-type-heading h3,.license-capacity-heading h3){color:var(--cloud-text)}
:root[data-theme="night"] :is(.muted,.panel p,.panel label,.login-card label,.dialog-card label,.metric span,.metric small,.metric>div>small,.panel small,.chart-legend,.chart-data,.health-main>span,.ranking-label,.ranking-label small,.fleet-counts span,.site-facts dt,.site-placeholder,.security-list,.permission-summary,.permission-option small,.search-gate,.pagination,.server-log-filters label,.log-time,.log-category,.log-actor,.log-message small,.log-pagination p,.license-search-block small){color:var(--cloud-muted)}
:root[data-theme="night"] #view-dashboard .metric small{color:#b0b8cc}
:root[data-theme="night"] :is(.eyebrow,.overview-charts .eyebrow,.fleet-site>.eyebrow,.permission-grid legend,.license-count-help summary,.location-label){color:var(--cloud-accent)}
:root[data-theme="night"] :is(.soft-tag,.role-pill,.role-badge,.role-lock){background:#39334e;color:#d2c3ff;border-color:#514563}
:root[data-theme="night"] .page-heading-icon{background:linear-gradient(135deg,#433658,#24464a);border-color:#65547c;color:#ddccff}
:root[data-theme="night"] :is(.table-wrap,th,td){border-color:#414351}
:root[data-theme="night"] th,:root[data-theme="night"] #server-log-table th{background:#30323e;color:#c3cbe0}
:root[data-theme="night"] :is(.fleet-list .selected-row,#server-log-table tr:hover){background:#383246}
:root[data-theme="night"] #server-log-table tr{background:var(--cloud-panel);border-color:var(--cloud-line)}
:root[data-theme="night"] #server-log-table tr:hover{background:#383246}
:root[data-theme="night"] :is(.server-log-filters,.permission-grid fieldset,.role-card,.distribution-pool-option,.license-export-bar,.assignment-result-keys,.credit-summary div,.detail-grid div,.site-license,.license-type-card,.license-credit-grid>div,.license-inventory-totals>div,.search-gate,.license-status-total,.license-status-key){background:var(--cloud-inset);border-color:var(--cloud-line);color:var(--cloud-text)}
:root[data-theme="night"] :is(.license-type-card.subvendo,.site-license){background:linear-gradient(130deg,#263b40,#302d42);border-color:#40505c}
:root[data-theme="night"] :is(.assignment-result-summary>div,#distribution-result-dialog .assignment-result-summary>div,#client-assignment-dialog .assignment-result-summary>div){background:var(--cloud-inset);border-color:var(--cloud-line)}
:root[data-theme="night"] :is(#distribution-result-dialog,#client-assignment-dialog){color:var(--cloud-text);color-scheme:dark}
:root[data-theme="night"] :is(#distribution-result-dialog h2,#client-assignment-dialog h2,#distribution-result-dialog .assignment-result-summary strong,#client-assignment-dialog .assignment-result-summary strong){color:var(--cloud-text)}
:root[data-theme="night"] :is(.license-export-bar strong,.site-license>strong,.license-status-key>strong,.license-status-total strong,.license-inventory-totals strong){color:#d3c2ff}
:root[data-theme="night"] :is(.license-credit-grid strong,.license-device-report strong){color:#78dbd6}
:root[data-theme="night"] :is(.site-license>span,.site-license>div,.detail-grid dt,.assignment-result-summary span,.credit-summary span,.license-status-total>div>span,.license-status-total-note,.license-status-key>small,.license-status-detail,.license-inventory-totals small,.license-inventory-totals span,.license-credit-grid span,.license-device-report span,.license-type-card dt,.license-type-heading>span,.license-capacity-heading>span){color:#b7b0cc}
:root[data-theme="night"] :is(.activity-chart text,.donut-wrap text){fill:#b5bfd4}
:root[data-theme="night"] .donut-wrap .donut-total{fill:#f1edff}
:root[data-theme="night"] .activity-chart line{stroke:#777b9845}
:root[data-theme="night"] :is(.rank-track,.health-bar){background:#3a3c49}
:root[data-theme="night"] .license-status-key:hover,:root[data-theme="night"] .license-status-key.is-selected{background:#423556;border-color:#9b80c5}
:root[data-theme="night"] :is(.status.online,.status.active,.pill.good,.connection-badge.online){background:#163f36;color:#80e4bb}
:root[data-theme="night"] :is(.status.offline,.status.suspended,.pill.warn,.connection-badge.offline,.log-level-warning){background:#4a3922;color:#ffcd80}
:root[data-theme="night"] :is(.status.revoked,.status.expired,.pill.bad,.log-level-error){background:#4b2837;color:#ffabbc}
:root[data-theme="night"] .log-level{background:#283d59;color:#a3c9ff}
:root[data-theme="night"] .log-level-warning{background:#4a3922;color:#ffcd80}
:root[data-theme="night"] .log-level-error{background:#4b2837;color:#ffabbc}
:root[data-theme="night"] :is(.warning,.ip-location-note){background:#483b25;color:#f0d09b!important;border-color:#7d653b}
:root[data-theme="night"] .error{color:#ffa9b9}
:root[data-theme="night"] .icon-button.danger{background:#4b2837;color:#ffabbc;border-color:#774153}
:root[data-theme="night"] .icon-button.credit{background:#163f36;color:#80e4bb;border-color:#346c58}
:root[data-theme="night"] .security-list code{background:#393647;color:#e0d4ff}
:root[data-theme="night"] :is(.chart-note,.map-privacy-note){color:#b2bbd0!important}
:root[data-theme="night"] :is(.map-footer,.map-footer a){color:#b2bbd0}
:root[data-theme="night"] .fleet-map{border-color:#4a5162;background:radial-gradient(ellipse at 30% 30%,#283746,#1e2a38)}
:root[data-theme="night"] .map-land{fill:#4b5d70;stroke:#7a8ba3}
:root[data-theme="night"] .map-grid{stroke:#72849a}
:root[data-theme="night"] .map-empty{background:#202736dd;color:#d3dbee}
:root[data-theme="night"] dialog{background:var(--cloud-panel);color:var(--cloud-text)}
:root[data-theme="night"] dialog::backdrop{background:#070910bb}
:root[data-theme="night"] .monitor-hero .eyebrow{color:#aeece9}
:root[data-theme="night"] .monitor-hero p:last-child{color:#d0d8ef}
:root[data-theme="night"] .monitor-sync button{background:#ffffff17;border-color:#ffffff38;color:white}
:root[data-theme="night"] .monitor-sync button:hover{background:#ffffff25}
:root[data-theme="night"] .toast{background:#e5ddf4;color:#252033}
@media(max-width:1100px){.content>header{flex-wrap:wrap;gap:14px}.header-controls{margin-left:auto}}
@media(max-width:600px){.content>header{gap:12px}.header-controls{width:100%;justify-content:space-between;gap:8px}.header-status{flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px}.header-status .pill{margin:0}.theme-switch button{min-height:36px;padding:7px 9px;font-size:.67rem}.login-card>.theme-switch{justify-self:stretch}.login-card>.theme-switch button{flex:1}.theme-switch{max-width:100%}}

/* The sidebar keeps one fixed palette in both Day and Night modes. */
#application aside{background:#21232d;color:#f2eefb;border-right:1px solid #3e3b4d}
#application .cloud-brand-sidebar small{color:#c2cbe1}
#application .nav{background:transparent;border-color:transparent;color:#c4bed5}
#application .nav:hover,#application .nav.active{background:#3d3453;border-color:#65507f;color:#fff}
#application .logout{background:transparent;color:#c1b9d3;border-color:#4e475e}
#application .logout:hover{background:#3d3453;color:#fff;border-color:#65507f}

/* Controller directory and activated-controller pagination. */
.app-shell .controller-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:14px;color:var(--cloud-muted,#6b7588);font-size:.75rem}
.app-shell .controller-pagination .controller-page-size{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;margin:0}
.app-shell .controller-pagination select{width:auto;min-width:72px;padding:7px 26px 7px 9px;font:inherit}
.app-shell .controller-pagination .pagination-buttons{display:flex;flex-wrap:wrap;gap:6px}
.app-shell .controller-pagination button{min-height:34px;padding:6px 10px;font-size:.72rem;white-space:nowrap}
@media(max-width:600px){.app-shell .controller-pagination{align-items:flex-start;gap:10px}.app-shell .controller-pagination [role=status]{flex-basis:100%}.app-shell .controller-pagination .pagination-buttons{width:100%}.app-shell .controller-pagination .pagination-buttons button{flex:1}}

/* Password-confirmed administrator deletion. */
.admin-account-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.admin-account-delete { color:#b91c1c; border-color:#fecaca; }
#admin-account-delete-submit { background:#b91c1c; color:#fff; border-color:#b91c1c; }
#admin-account-delete-submit:disabled { opacity:.6; }
#admin-account-delete-dialog { max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); }
#admin-account-delete-dialog .dialog-card { width:min(480px,calc(100vw - 56px)); max-height:calc(100dvh - 56px); overflow:auto; }
#admin-account-delete-dialog .panel-title { align-items:flex-start; }
#admin-account-delete-target { overflow-wrap:anywhere; }
:root[data-theme="night"] .admin-account-delete { color:#ffabbc; border-color:#774153; }
:root[data-theme="night"] #admin-account-delete-submit { background:#a92d48; border-color:#e67891; color:#fff; }
@media(max-width:700px) { #admin-account-delete-password { font-size:16px; } }

/* Keep phone navigation in the left sidebar, with its own scroll area. */
@media (max-width: 900px) {
  #application > aside {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }
  #application > aside > nav {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    align-content: start;
    scrollbar-width: thin;
  }
  #application > aside > .brand,
  #application > aside > .logout { flex-shrink: 0; }
}
@media (max-width: 600px) {
  #application {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
  }
  #application > aside {
    position: sticky;
    top: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    padding: 10px 6px max(10px, env(safe-area-inset-bottom));
  }
  #application > aside > .brand {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 0 0 10px;
    text-align: center;
  }
  #application .cloud-brand-sidebar .cloud-logo { width: 40px; height: 40px; }
  #application .cloud-brand-sidebar > div { display: block; }
  #application .cloud-brand-sidebar strong { font-size: 12px; letter-spacing: 0; }
  #application .cloud-brand-sidebar small { display: none; }
  #application > aside > nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  #application .nav,
  #application .logout {
    display: grid;
    justify-items: center;
    justify-content: center;
    align-content: center;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 7px 3px;
    gap: 3px;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
  #application .nav span,
  #application .logout span { display: block; max-width: 100%; overflow-wrap: anywhere; }
  #application .logout { min-height: 50px; margin-top: 8px; }
  #application > .content { min-width: 0; padding: 14px 10px; }
  #application .content > .view { min-width: 0; max-width: 100%; }
  #application .content :is(.grid-two, .form-grid, .permission-grid) {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }
  #application .content :is(.panel, form, fieldset, label, input, select, textarea) { min-width: 0; }
  #application .content .dialog-actions { flex-wrap: wrap; }
  #application .content .panel-title { flex-wrap: wrap; min-width: 0; }
  #application .content .row-actions { flex-wrap: wrap; min-width: 0; max-width: 100%; }
  #application #view-backups,
  #application #view-backups form { grid-template-columns: minmax(0, 1fr); min-width: 0; }
  #application #view-backups :is(input, select, textarea) { min-width: 0; }
  #application .page-heading,
  #application .page-heading > div,
  #application .header-controls { min-width: 0; }
  #application #page-title { font-size: 1.15rem; overflow-wrap: anywhere; }
  #application .header-status .role-pill { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
}

/* Compact server presentation. Application behavior and permissions are unchanged. */
:root {
  --server-ui-font: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif,
    system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--server-ui-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { font-size: 13px; line-height: 1.48; }
button, input, select, textarea { font-family: inherit; }
#application .content { font-size: 13px; }
#application .content > header { gap: 12px; margin-bottom: 14px; }
#application #page-title { font-size: 20px; line-height: 1.25; font-weight: 650; letter-spacing: -.025em; }
#application .page-heading { gap: 9px; }
#application .page-heading-icon { width: 34px; height: 34px; border-radius: 10px; }
#application .page-heading-icon .ui-icon { width: 18px; height: 18px; }
#application .content > header .eyebrow { font-size: 10px; line-height: 1.4; letter-spacing: .15em; }
#application .content :is(.panel h2, .dialog-card h2) { font-size: 15px; line-height: 1.35; font-weight: 650; letter-spacing: -.015em; }
#application .content .panel { border-radius: 12px; padding: 15px 16px; margin-bottom: 12px; }
#application .panel-title { gap: 10px; margin-bottom: 10px; }
#application .panel-title p, #application .panel > p { font-size: 12.5px; line-height: 1.5; }
#application :is(.form-panel, .batch-panel, .dialog-card) label { font-size: 12px; font-weight: 600; gap: 6px; }
#application button, #application .download-link { font-size: 12px; font-weight: 600; line-height: 1.3; min-height: 32px; padding: 7px 10px; }
#application :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]) { font-size: 13px; line-height: 1.4; padding: 8px 10px; border-radius: 8px; }
#application :is(input, select):not([type="checkbox"]):not([type="radio"]) { min-height: 36px; }
#application :is(.form-grid, .distribution-form-grid, .backup-grid) { gap: 12px; }
#application .toolbar { gap: 8px; }
#application .pill, #application :is(.role-pill, .role-badge, .role-lock, .status) { font-size: 10.5px; font-weight: 650; }
#application .theme-switch { padding: 3px; border-radius: 10px; }
#application .theme-switch button { min-height: 30px; padding: 6px 9px; font-size: 11px; }
#application .table-wrap :is(th, td) { padding: 10px 11px; }
#application .table-wrap th { font-size: 10px; line-height: 1.4; letter-spacing: .045em; font-weight: 650; }
#application .table-wrap td { font-size: 12px; line-height: 1.45; }
#application .table-wrap td small { font-size: 11px; line-height: 1.45; }
#application .table-wrap :is(code.license-key, .license-key) { font-size: 11.5px; }
#application :is(.row-actions, .admin-account-actions) { gap: 6px; }
#application .icon-button { padding: 7px; min-width: 32px; }
#application .content :is(.metric strong, .fleet-counts strong, .distribution-metric strong, .license-inventory-totals strong, .license-credit-grid strong) {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
  font-weight: 650;
}
#application .metrics { gap: 10px; margin-bottom: 12px; }
#application .metric { padding: 11px 12px; border-radius: 11px; gap: 10px; }
#application .metric strong { font-size: 21px; line-height: 1.2; }
#application .metric span { font-size: 11.5px; font-weight: 600; }
#application .metric small { font-size: 11px; }
#application .metric-icon { width: 32px; height: 32px; border-radius: 9px; }
#application .monitor-hero { gap: 14px; padding: 17px 19px; border-radius: 14px; margin-bottom: 12px; }
#application .monitor-hero h2 { font-size: 20px; line-height: 1.25; font-weight: 650; margin: 5px 0; }
#application .monitor-hero p:last-child { font-size: 12px; line-height: 1.5; }
#application .monitor-sync { font-size: 11px; }
#application #view-dashboard > .metrics { gap: 10px; margin-bottom: 12px; }
#application #view-dashboard .metric { padding: 12px 13px; border-radius: 12px; }
#application #view-dashboard .metric strong { font-size: 23px; line-height: 1.2; margin: 5px 0 3px; }
#application #view-dashboard .metric small { font-size: 11px; }
#application .overview-charts { gap: 12px; }
#application .overview-charts > .panel { padding: 15px 17px; border-radius: 12px; margin: 0; }
#application .overview-charts h2 { font-size: 14px; }
#application .overview-charts .panel-title { margin-bottom: 10px; }
#application .overview-charts .eyebrow { font-size: 9.5px; letter-spacing: .12em; }
#application .soft-tag { font-size: 10px; padding: 4px 7px; border-radius: 6px; }
#application .license-inventory-totals { gap: 10px; }
#application .license-inventory-totals > div { padding: 11px 13px; border-radius: 10px; }
#application .license-inventory-totals strong { font-size: 24px; line-height: 1.2; margin: 4px 0; }
#application :is(.license-inventory-totals, .license-credit-grid, .license-device-report) span { font-size: 11.5px; font-weight: 600; }
#application .license-inventory-totals small { font-size: 11px; line-height: 1.4; }
#application .license-type-grid { gap: 10px; margin-top: 12px; }
#application .license-type-card { padding: 12px 13px; border-radius: 10px; }
#application :is(.license-type-heading, .license-capacity-heading) h3 { font-size: 12.5px; font-weight: 650; }
#application .license-type-card dt { font-size: 11px; }
#application .license-type-card dd { font-size: 17px; line-height: 1.25; font-weight: 650; }
#application .license-capacity-heading { margin-top: 14px; }
#application .license-credit-grid { gap: 10px; }
#application .license-credit-grid > div { padding: 10px 13px; border-radius: 9px; }
#application .license-credit-grid strong { font-size: 20px; line-height: 1.25; }
#application .license-device-report { margin-top: 12px; padding-top: 11px; gap: 12px; }
#application .license-device-report strong { font-size: 19px; font-weight: 650; }
#application .license-count-help { margin-top: 12px; }
#application .license-count-help :is(summary, p) { font-size: 11px; }
#application .health-main { margin: 13px 0; }
#application .health-main > strong { font-size: 28px; font-weight: 650; }
#application .health-main strong small { font-size: 18px; }
#application .health-main > span { font-size: 11.5px; }
#application .license-status-total { padding: 10px 13px; border-radius: 10px; }
#application .license-status-total strong { font-size: 26px; font-weight: 650; letter-spacing: -.03em; }
#application .license-status-total-note { font-size: 10.5px; }
#application .license-status-key { min-height: 32px; padding: 6px 8px; }
#application .client-ranking { margin-top: 16px; gap: 13px; }
#application .ranking-label { font-size: 11.5px; }
#application .text-action { min-height: 28px; padding: 0; margin-top: 12px; }
#application .chart-empty { padding: 38px 0; }
#application .activity-chart { max-height: 205px; }
#application .fleet-counts { gap: 10px; margin-bottom: 12px; }
#application .fleet-counts > div { padding: 10px 12px; border-radius: 10px; }
#application .fleet-counts strong { font-size: 20px; }
#application .fleet-map-layout { gap: 12px; margin-bottom: 12px; }
#application :is(.distribution-metric, .log-metric) { padding: 12px 14px; border-radius: 11px; }
#application :is(.distribution-metric, .log-metric) strong { font-size: 22px; line-height: 1.2; font-weight: 650; }
#application .role-card { padding: 11px 12px; border-radius: 10px; }
#application .role-card p { font-size: 12px; }
#application .permission-grid { gap: 10px; }
#application .permission-grid fieldset { padding: 11px 12px; border-radius: 10px; }
#application .permission-option { padding: 7px 8px; }
#application .permission-option strong { font-size: 12px; }
#application .permission-option small { font-size: 10.5px; }
#application .ota-release > header { padding: 14px 16px; gap: 12px; }
#application .ota-release h3 { font-size: 17px; font-weight: 650; }
#application .ota-artifacts { padding: 0 16px; }
#application .ota-artifact { gap: 14px; padding: 14px 0; }
#application .security-list { font-size: 12px; line-height: 1.5; gap: 7px; }
#application .license-export-bar { padding: 11px 13px; border-radius: 10px; }
#application .search-gate { padding: 18px 16px; }
#application :is(.detail-grid, .assignment-result-summary, .credit-summary) { gap: 8px; }
@media (max-width: 1100px) {
  #application .content > header { gap: 10px; }
  #application .overview-charts > .panel { padding: 14px 15px; }
}
@media (max-width: 600px) {
  #application #page-title { font-size: 17px; }
  #application .page-heading-icon { width: 30px; height: 30px; }
  #application .content > header { gap: 9px; margin-bottom: 12px; }
  #application .header-controls { gap: 8px; }
  #application .theme-switch button { font-size: 10.5px; padding: 6px 7px; }
  #application .content .panel { padding: 13px; }
  #application .content :is(.panel h2, .dialog-card h2) { font-size: 14px; }
  #application .panel-title p, #application .panel > p { font-size: 12px; }
  #application .monitor-hero { padding: 14px; gap: 12px; border-radius: 12px; }
  #application .monitor-hero h2 { font-size: 18px; }
  #application #view-dashboard .metric { padding: 10px; gap: 7px; }
  #application #view-dashboard .metric span { font-size: 10.5px; }
  #application #view-dashboard .metric strong { font-size: 19px; overflow-wrap: anywhere; }
  #application #view-dashboard .metric small { font-size: 10.5px; }
  #application #view-dashboard .metric-icon { width: 27px; height: 27px; }
  #application .overview-charts > .panel { padding: 13px; }
  #application .license-inventory-totals > div { padding: 10px 12px; }
  #application .license-inventory-totals strong { font-size: 22px; }
  #application .license-type-card { padding: 11px 12px; }
  #application .license-device-report { align-items: flex-start; }
  #application .content :is(button, .download-link) { min-height: 36px; }
  /* A 16px editing font prevents iPhone focus zoom while compact padding stays readable. */
  #application :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]),
  #admin-account-delete-password { font-size: 16px; }
  #application .table-wrap :is(th, td) { padding: 9px 10px; }
  /* Desktop flex bases must not become tall rows when the toolbar stacks. */
  #application .license-search-block, #application .license-search-options { flex: 0 0 auto; width: 100%; min-width: 0; }
  #application .license-search-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 8px; }
  #application .license-search-options select { grid-column: 1 / -1; min-height: 40px; }
  #application #license-search { min-height: 84px; height: 96px; }
}

/* Compact dashboard headers: presentation only; existing controls and permissions retained. */
#application .monitor-hero {
  min-height: 94px;
  padding: 16px 20px;
  gap: 16px;
  border-radius: 12px;
  border-color: #43567c;
  background: radial-gradient(ellipse at 100% 0, #2a8b8d1f, transparent 55%),
    linear-gradient(110deg, #222b50, #30335b 63%, #203d50);
  box-shadow: 0 5px 16px #2632520c;
}
#application .monitor-hero .monitor-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
#application .monitor-hero .monitor-heading-copy { min-width: 0; }
#application .monitor-hero .monitor-heading-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: #a6efdf;
  background: #8bd7d712;
  border: 1px solid #9edbd728;
  border-radius: 11px;
}
#application .monitor-heading-icon .ui-icon { width: 20px; height: 20px; }
#application .monitor-hero .eyebrow {
  margin: 0 0 4px;
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: .13em;
  font-weight: 650;
}
#application .monitor-hero h2 {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.025em;
  font-weight: 650;
  color: #fff;
}
#application .monitor-hero .monitor-heading-copy > p:last-child {
  max-width: none;
  color: #d2d9eb;
  font-size: 12px;
  line-height: 1.5;
}
#application .monitor-hero .monitor-sync {
  max-width: none;
  justify-content: flex-end;
  font-size: 11px;
  gap: 8px;
}
#application .monitor-hero .monitor-sync button { margin-left: 4px; }
#application .monitor-hero .soft-tag { white-space: nowrap; }
@media (min-width: 801px) {
  #application .monitor-hero { align-items: center; }
}
@media (max-width: 800px) {
  #application .monitor-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 16px;
    gap: 12px;
  }
  #application .monitor-hero .monitor-sync {
    width: 100%;
    justify-content: flex-start;
    row-gap: 10px;
  }
  #application .monitor-hero h2 { font-size: 18px; }
}
@media (max-width: 600px) {
  #application .monitor-hero { padding: 13px; gap: 11px; }
  #application .monitor-hero .monitor-heading { align-items: flex-start; gap: 10px; }
  #application .monitor-hero .monitor-heading-icon {
    width: 32px; height: 32px; flex-basis: 32px; border-radius: 9px;
  }
  #application .monitor-heading-icon .ui-icon { width: 18px; height: 18px; }
  #application .monitor-hero h2 { font-size: 18px; }
  #application .monitor-hero .monitor-sync button { margin-left: auto; }
}

/* Remote access controls follow the existing compact server theme. */
#remote-devices { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(260px,100%),1fr)); gap: 12px; }
#application .remote-device-card { margin-bottom: 0; }
.remote-device-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0; }
.remote-dialog { width: min(560px,calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 1px solid var(--border,#d6dced); border-radius: 14px; padding: 0; color: inherit; background: var(--panel,#fff); }
.remote-dialog::backdrop { background: #11172a80; }
.remote-dialog-card { display: grid; gap: 12px; padding: 18px; max-height: calc(100dvh - 28px); overflow-y: auto; }
.remote-dialog-card .panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.remote-dialog-card h2 { font-size: 16px; margin: 0; }
.remote-dialog-card p { margin: 0; font-size: 13px; }
.remote-dialog-card fieldset { display: grid; gap: 9px; padding: 12px; border: 1px solid #8997b74d; border-radius: 9px; min-width: 0; }
.remote-dialog-card legend { font-size: 12px; font-weight: 600; }
.remote-dialog-card .remote-choice { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.remote-choice input { width: 16px; height: 16px; flex: 0 0 16px; }
:root[data-theme="night"] .remote-dialog { background: #272934; color: #e5e8ef; }
@media(max-width:600px) { .remote-dialog-card { padding: 14px; }.remote-dialog-card button { min-height: 38px; } }

/* Customer -> generated batch -> key browsing; existing remote policy is retained. */
.remote-search-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:14px 0 8px; }
#application #remote-search { flex:1 1 260px; min-width:0; }
#remote-search-note { margin:0 0 12px; font-size:12px; }
.remote-customer-choice { display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:5px; width:100%; }
#application .remote-customer-choice strong { font-size:14px; }
.remote-customer-choice span { font-size:12px; }
.remote-browser-content { display:grid; gap:10px; min-width:0; }
.remote-batch-choice { display:grid; gap:5px; text-align:left; width:100%; }
.remote-batch-choice strong { font-size:13px; }
.remote-batch-choice span { font-size:12px; }
.remote-browser-pager { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; grid-column:1/-1; }
.remote-browser-pager span { font-size:11px; }
.remote-dialog:has(.remote-browser-content) { width:min(920px,calc(100vw - 24px)); }
.remote-browser-content .table-wrap { overflow-x:auto; }
.remote-browser-content td,.remote-browser-content th { padding:10px; text-align:left; font-size:12px; }
.remote-browser-content .license-key { white-space:nowrap; }
.remote-controller-actions { display:inline-flex; flex-wrap:wrap; gap:6px; }
@media(max-width:600px){ .remote-search-toolbar { align-items:stretch; }#application #remote-search { flex-basis:100%; } .remote-browser-content button { min-height:38px; }.remote-browser-content td { font-size:12px; }.remote-dialog:has(.remote-browser-content) .dialog-card { padding:13px; } }
@media(max-width:600px){
  .remote-browser-content .table-wrap table,.remote-browser-content tbody { display:block; width:100%; min-width:0; }
  .remote-browser-content thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
  .remote-browser-content tbody tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; padding:11px; margin-bottom:9px; border:1px solid #8997b74d; border-radius:9px; }
  .remote-browser-content tbody td { display:block; min-width:0; width:auto; border:0; padding:0; overflow-wrap:anywhere; }
  .remote-browser-content tbody td:first-child,.remote-browser-content tbody td:last-child { grid-column:1/-1; }
  .remote-browser-content td[data-label]::before { content:attr(data-label); display:block; margin-bottom:5px; color:inherit; opacity:.7; font-size:10px; }
  .remote-browser-content tbody td:last-child button { width:100%; }
  .remote-dialog:has(.remote-browser-content) .panel-title { position:sticky; top:-13px; z-index:2; margin:-13px -13px 0; padding:13px; background:#fff; }
  :root[data-theme="night"] .remote-dialog:has(.remote-browser-content) .panel-title { background:#272934; }
}

/* Compact customer, batch and key lists. Search remains outside the windows. */
#remote-devices { display:block; min-width:0; }
.remote-list-wrap { width:100%; min-width:0; overflow-x:auto; border:1px solid #8997b733; border-radius:9px; }
#application .remote-list-table { width:100%; min-width:0; border-collapse:collapse; table-layout:auto; }
#application .remote-list-table th,#application .remote-list-table td { text-align:left; padding:10px 12px; font-size:12px; border-bottom:1px solid #8997b72b; }
#application .remote-list-table tr:last-child td { border-bottom:0; }
#application .remote-list-link,.remote-dialog .remote-list-link { background:transparent; border:0; padding:0; color:inherit; box-shadow:none; text-align:left; min-height:34px; }
#application .remote-list-link:hover,.remote-dialog .remote-list-link:hover { color:#6552d9; text-decoration:underline; }
#application .remote-customer-choice { gap:3px; }
#application .remote-customer-choice strong { font-size:13px; }
#application .remote-customer-choice span { font-size:12px; }
.remote-browser-pager { margin-top:12px; justify-content:flex-end; }
.remote-page-size { margin-right:auto; }
.remote-page-size select { width:auto; min-width:110px; font-size:12px; padding:7px; }
.remote-list-table td:last-child button { white-space:nowrap; }
@media(max-width:600px){
  #application .remote-list-table,.remote-browser-content .remote-list-table { display:table; min-width:0; width:100%; }
  .remote-browser-content .remote-list-table thead { display:table-header-group; position:static; width:auto; height:auto; overflow:visible; clip:auto; }
  .remote-browser-content .remote-list-table tbody { display:table-row-group; width:auto; }
  .remote-browser-content .remote-list-table tbody tr { display:table-row; padding:0; margin:0; border:0; border-radius:0; }
  #application .remote-list-table td,#application .remote-list-table th,.remote-browser-content .remote-list-table td,.remote-browser-content .remote-list-table th { display:table-cell; width:auto; padding:9px 7px; border-bottom:1px solid #8997b72b; font-size:11px; overflow-wrap:anywhere; }
  .remote-browser-content .remote-list-table td:first-child code { white-space:normal; overflow-wrap:anywhere; }
  .remote-browser-content .remote-list-table td:last-child button { width:auto; font-size:11px; padding:7px; }
  .remote-browser-pager { gap:7px; }
  .remote-browser-pager .remote-page-size { flex-basis:100%; }
  .remote-page-size select { font-size:16px; }
}

/* Existing account access editor. */
#admin-permissions-edit-dialog { width:min(800px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); padding:0; border:1px solid var(--cloud-line,#d6dced); border-radius:14px; }
#admin-permissions-edit-dialog .dialog-card { display:grid; gap:14px; width:auto; max-height:calc(100dvh - 28px); overflow-y:auto; padding:20px; }
#admin-permissions-edit-dialog .panel-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0; }
#admin-permissions-edit-dialog :is(h2,h3,p) { margin:0; }
#admin-permissions-edit-dialog h2 { font-size:18px; }
#admin-permissions-edit-dialog h3 { margin-bottom:5px; font-size:14px; }
#admin-permissions-edit-dialog p { font-size:12px; line-height:1.5; }
#admin-permissions-edit-dialog .permission-edit-target { font-weight:600; overflow-wrap:anywhere; }
#admin-permissions-edit-dialog .permission-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
#admin-permissions-edit-dialog .permission-grid fieldset { min-width:0; padding:10px 12px; }
#admin-permissions-edit-dialog .permission-option { padding:7px 0; }
#admin-permissions-edit-dialog .permission-option strong { font-size:12px; }
#admin-permissions-edit-dialog .permission-option small { font-size:10px; overflow-wrap:anywhere; }
#admin-permissions-edit-dialog .dialog-actions { position:sticky; bottom:-20px; padding:12px 0 0; background:var(--cloud-panel,#fff); }
:root[data-theme="night"] #admin-permissions-edit-dialog { background:var(--cloud-panel,#272934); color:var(--cloud-text,#e5e8ef); }
@media(max-width:600px) {
  #admin-permissions-edit-dialog .dialog-card { padding:14px; }
  #admin-permissions-edit-dialog .permission-grid { grid-template-columns:minmax(0,1fr); }
  #admin-permissions-edit-dialog .dialog-actions { bottom:-14px; }
  #admin-permissions-edit-dialog button { min-height:38px; }
}

/* Client and reseller administration */
.portal-management-link{display:block;padding:11px 14px;margin:4px 0;color:inherit;font-size:.78rem;text-decoration:none;border-radius:8px}.portal-management-link:hover{background:#6548db15}
