:root {
  --bg: #05080b;
  --panel: rgba(8, 15, 20, 0.92);
  --panel-strong: rgba(12, 23, 29, 0.96);
  --line: rgba(105, 221, 230, 0.28);
  --line-strong: rgba(105, 221, 230, 0.54);
  --text: #e9fbff;
  --muted: #9ab5bc;
  --dim: #6f878e;
  --cyan: #54e1f4;
  --green: #72f0a6;
  --amber: #f1c96b;
  --red: #ff6b7a;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
.app-root {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(circle at 18% 8%, rgba(84, 225, 244, 0.14), transparent 30%),
    linear-gradient(135deg, #030506 0%, #091016 48%, #030506 100%);
  color: var(--text);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.console {
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  overflow: hidden;
}

.topbar {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(4, 8, 11, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid var(--line-strong);
  background: rgba(84, 225, 244, 0.08);
}

.brand h1,
.panel h2,
.map-heading h2 {
  margin: 0;
  letter-spacing: 0;
}

.brand h1 {
  font-size: 22px;
  line-height: 1.05;
}

.brand p,
.top-meta,
.panel p,
.metric span,
.watch-meta,
.layer-button span,
.field label,
.footnote {
  color: var(--muted);
}

.brand p {
  margin: 4px 0 0;
  font-size: 12px;
}

.top-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  white-space: nowrap;
}

.status-pill {
  min-width: 112px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--amber);
  background: rgba(241, 201, 107, 0.08);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.live {
  color: var(--green);
  background: rgba(114, 240, 166, 0.08);
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-actions a,
.command-button,
.layer-button,
.mode-button {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(8, 22, 29, 0.72);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.nav-actions a,
.command-button,
.mode-button {
  min-height: 36px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-actions a:hover,
.command-button:hover,
.layer-button:hover,
.mode-button:hover {
  border-color: var(--line-strong);
  background: rgba(84, 225, 244, 0.12);
}

.workspace {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(320px, 1fr) minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
}

.map-panel,
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.map-panel {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}

.map-heading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: rgba(5, 10, 13, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.map-heading h2 {
  font-size: 14px;
  text-transform: uppercase;
}

.map-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.map-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}

.map-wrap {
  position: relative;
  min-height: 0;
  background: #05080b;
}

.live-map {
  position: absolute;
  inset: 0;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(135deg, #05080b, #102029);
}

.map-fallback.visible {
  display: flex;
}

.map-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 400;
  max-width: min(420px, calc(100% - 28px));
  padding: 9px 10px;
  border: 1px solid rgba(105, 221, 230, 0.28);
  background: rgba(3, 8, 11, 0.74);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}

.map-badge strong {
  color: var(--cyan);
}

.leaflet-container {
  background: #05080b;
  font: inherit;
}

.leaflet-control-attribution,
.leaflet-control-logo {
  display: none !important;
}

.leaflet-tile-pane {
  filter: contrast(1.08) saturate(1.08) brightness(0.82);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  color: var(--text);
  background: rgba(6, 13, 17, 0.96);
  border: 1px solid var(--line);
  border-radius: 0;
}

.leaflet-popup-content {
  margin: 10px 12px;
  min-width: 180px;
}

.map-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: rgba(5, 10, 13, 0.82);
  backdrop-filter: blur(12px);
}

.map-footer div {
  padding: 10px 12px;
  border-right: 1px solid rgba(105, 221, 230, 0.16);
}

.map-footer div:last-child {
  border-right: 0;
}

.map-footer span,
.metric span,
.summary-stat span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  text-transform: uppercase;
}

.map-footer strong,
.metric strong,
.summary-stat strong {
  font-size: 16px;
}

.ops-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  align-content: start;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: var(--line-strong) rgba(8, 15, 20, 0.45);
}

.panel {
  padding: 14px;
}

.panel h2 {
  font-size: 13px;
  text-transform: uppercase;
}

.panel p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.intel-panel,
.phase-panel,
.event-panel {
  grid-column: 1 / -1;
}

.intel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.intel-card {
  min-width: 0;
  min-height: 86px;
  padding: 11px;
  display: grid;
  align-content: space-between;
  gap: 6px;
  border: 1px solid rgba(105, 221, 230, 0.2);
  background: rgba(255, 255, 255, 0.025);
}

.intel-card span,
.intel-card em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}

.intel-card strong {
  color: var(--text);
  font-size: 21px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.metric,
.summary-stat,
.coverage-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(105, 221, 230, 0.18);
  background: rgba(255, 255, 255, 0.025);
}

.metric strong,
.summary-stat strong,
.coverage-card strong {
  display: block;
  overflow-wrap: anywhere;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.coverage-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.coverage-card strong {
  color: var(--green);
  font-size: 14px;
}

.coverage-card p {
  margin-top: 6px;
}

.layers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 274px;
  overflow: auto;
  padding-right: 2px;
}

.layer-button {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  text-align: left;
}

.layer-button strong {
  color: var(--cyan);
  font-size: 13px;
}

.layer-button.active {
  border-color: var(--green);
  background: rgba(114, 240, 166, 0.1);
}

.watch-list,
.evidence-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.watch-item {
  padding: 10px;
  border: 1px solid rgba(105, 221, 230, 0.18);
  background: rgba(255, 255, 255, 0.025);
}

.watch-item strong {
  display: block;
  font-size: 13px;
}

.object-item strong {
  color: var(--cyan);
}

.watch-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: 11px;
}

.evidence-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field label {
  font-size: 11px;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  min-height: 36px;
  padding: 8px 9px;
  color: var(--text);
  border: 1px solid rgba(105, 221, 230, 0.24);
  background: rgba(2, 7, 10, 0.84);
  outline: none;
}

.field input:focus {
  border-color: var(--line-strong);
}

.field.full,
.evidence-actions {
  grid-column: 1 / -1;
}

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

.command-button.primary {
  color: #071014;
  background: var(--cyan);
  border-color: var(--cyan);
}

.command-button.warn {
  border-color: rgba(241, 201, 107, 0.62);
  color: var(--amber);
}

.empty {
  padding: 10px;
  color: var(--muted);
  border: 1px dashed rgba(105, 221, 230, 0.18);
}

.footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 2px 0;
  font-size: 11px;
}

.error-text {
  color: var(--red);
}

@media (max-width: 1180px) {
  .topbar,
  .workspace {
    grid-template-columns: 1fr;
  }

  .top-meta,
  .nav-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .ops-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .console {
    padding: 10px;
    gap: 10px;
  }

  .workspace {
    grid-template-rows: minmax(260px, 1fr) minmax(0, 1fr);
  }

  .map-panel {
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
  }

  .map-heading,
  .map-footer {
    grid-template-columns: 1fr;
  }

  .map-heading,
  .map-tools,
  .evidence-actions {
    flex-wrap: wrap;
  }

  .ops-panel,
  .intel-panel,
  .intel-grid,
  .metric-grid,
  .coverage-grid,
  .evidence-form {
    grid-template-columns: 1fr;
  }

  .intel-panel {
    grid-column: auto;
  }

  .topbar {
    padding: 10px;
  }

  .brand h1 {
    font-size: 19px;
  }
}

/* XN live layout override: map exactly top half, details exactly lower half. */
html, body, .app-root { width: 100%; height: 100%; overflow: hidden; }
body { background: #05080b; }
.console { height: 100vh; width: 100vw; padding: 0; gap: 0; overflow: hidden; }
.topbar { position: absolute; z-index: 900; top: 12px; left: 12px; right: 12px; min-height: 52px; grid-template-columns: minmax(220px, 1fr) auto auto; padding: 9px 10px; background: rgba(2, 7, 10, 0.72); backdrop-filter: blur(14px); box-shadow: none; }
.brand-mark { width: 32px; height: 32px; }
.brand h1 { font-size: 18px; }
.brand p, .top-meta, .nav-actions a { font-size: 11px; }
.nav-actions a, .command-button, .mode-button { min-height: 32px; padding: 7px 9px; }
.workspace { height: 100vh; display: grid; grid-template-rows: 50vh 50vh; gap: 0; min-height: 0; }
.map-panel { height: 50vh; min-height: 0; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.map-wrap, .live-map, .leaflet-container { width: 100% !important; height: 100% !important; }
.map-heading { top: auto; left: 12px; right: 12px; bottom: 58px; padding: 9px 10px; border: 1px solid rgba(105, 221, 230, 0.22); background: rgba(2, 7, 10, 0.62); }
.map-heading h2 { font-size: 12px; }
.map-heading p { display: none; }
.map-badge { top: 78px; left: 12px; max-width: 360px; background: rgba(2, 7, 10, 0.58); }
.map-footer { left: 12px; right: 12px; bottom: 10px; border: 1px solid rgba(105, 221, 230, 0.22); background: rgba(2, 7, 10, 0.68); }
.map-footer div { padding: 7px 10px; }
.map-footer span, .metric span, .summary-stat span { margin-bottom: 2px; }
.map-footer strong { font-size: 13px; }
.ops-panel { height: 50vh; min-height: 0; overflow-y: auto; padding: 12px 12px 18px; display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 12px; background: #071015; }
.panel { box-shadow: none; background: rgba(8, 15, 20, 0.92); }
.footnote { display: none; }
.leaflet-tile-pane { filter: contrast(1.08) saturate(1.06) brightness(0.92); }
@media (max-width: 900px) { .topbar { position: static; min-height: 58px; grid-template-columns: 1fr; } .workspace { height: calc(100vh - 58px); grid-template-rows: 50% 50%; } .map-panel { height: auto; } .ops-panel { height: auto; grid-template-columns: 1fr; } .map-heading { left: 8px; right: 8px; bottom: 54px; } .map-footer { left: 8px; right: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .map-badge { top: 8px; left: 8px; } }
/* 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;
		}
	}

/* XAYN 75/25 operational layout */
.workspace{grid-template-rows:75vh 25vh!important}.map-panel{height:75vh!important}.ops-panel{height:25vh!important;overflow-y:auto!important}.leaflet-control-attribution{display:block!important;background:rgba(0,0,0,.7)!important;color:#bcd!important}.leaflet-control-attribution a{color:#54e1f4!important}

.anchor-intel{display:grid;gap:7px;min-width:240px}.anchor-intel>strong{color:#54e1f4;font-size:14px}.anchor-intel>span{display:grid;grid-template-columns:82px 1fr;gap:8px;color:#e9fbff}.anchor-intel b{color:#9ab5bc;font-weight:500}

.leaflet-popup-content-wrapper{background:#03090d!important;color:#fff!important;border:2px solid #54e1f4!important;box-shadow:0 12px 36px rgba(0,0,0,.9)!important}.leaflet-popup-tip{background:#03090d!important;border:1px solid #54e1f4!important}.leaflet-popup-close-button{color:#fff!important;font-size:22px!important;font-weight:700!important}.leaflet-popup-content{color:#fff!important;font-size:13px!important;line-height:1.45!important}.anchor-intel{background:#03090d!important;color:#fff!important;min-width:260px!important;gap:9px!important}.anchor-intel>strong{color:#fff!important;font-size:16px!important}.anchor-intel>span{color:#fff!important;font-size:13px!important}.anchor-intel b{color:#54e1f4!important;font-weight:700!important}

.mode-button.active{border-color:#54e1f4!important;background:#54e1f4!important;color:#031014!important}.aircraft-intel>strong{color:#72f0a6!important}

/* Compact 25% intelligence workspace */
.ops-panel{height:25vh!important;padding:8px 12px!important;gap:8px!important;grid-template-columns:minmax(0,3fr) minmax(280px,1fr)!important;align-content:start!important;overflow-y:auto!important}.ops-panel>.panel{padding:9px 10px!important;min-width:0!important}.intel-panel{grid-column:auto!important}.panel h2{font-size:12px!important;margin:0 0 7px!important}.intel-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}.intel-card{min-height:50px!important;height:50px!important;padding:6px 8px!important;overflow:hidden!important}.intel-card span{font-size:8px!important;line-height:1.1!important}.intel-card strong{font-size:14px!important;line-height:1.15!important;margin-top:2px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.intel-card em{font-size:8px!important;line-height:1.1!important;margin-top:2px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.watch-list{gap:5px!important}.watch-item{padding:6px 8px!important}.watch-item strong{font-size:11px!important}.watch-meta{font-size:8px!important;gap:5px!important}.object-list{max-height:172px!important;overflow-y:auto!important}.leaflet-top.leaflet-left{top:78px!important;left:12px!important}.leaflet-control-zoom{margin:0!important;border:1px solid #54e1f4!important;box-shadow:0 6px 18px rgba(0,0,0,.65)!important}.leaflet-control-zoom a{width:30px!important;height:30px!important;line-height:28px!important;background:#03090d!important;color:#fff!important;border-color:#28505a!important;font-size:20px!important}.leaflet-control-zoom a:hover{background:#54e1f4!important;color:#031014!important}.map-badge{left:56px!important;top:78px!important}@media(max-width:1000px){.intel-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ops-panel{grid-template-columns:minmax(0,2fr) minmax(240px,1fr)!important}}@media(max-width:760px){.ops-panel{grid-template-columns:1fr!important;padding:7px!important}.intel-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.map-badge{left:50px!important;max-width:calc(100% - 62px)!important}}

.brand-logo{width:38px;height:38px;object-fit:cover;flex:0 0 38px;filter:drop-shadow(0 0 8px rgba(0,116,255,.7))}.brand h1{font-size:17px!important;letter-spacing:0!important}.brand p{font-size:10px!important;color:#b9d8e0!important}.map-title{display:flex!important;align-items:center!important;gap:7px!important}.map-title img{width:22px;height:22px;object-fit:cover;filter:drop-shadow(0 0 5px rgba(0,116,255,.75))}.footer-brand{display:flex!important;align-items:center!important;gap:6px!important;color:#e9fbff!important;font-weight:700!important}.footer-brand img{width:18px;height:18px;object-fit:cover}@media(max-width:760px){.brand-logo{width:32px;height:32px;flex-basis:32px}.brand p{max-width:230px;white-space:normal;line-height:1.2}}

/* Right-side map instruments and expanded intelligence workspace */
.workspace{grid-template-rows:64vh 36vh!important}.map-panel{height:64vh!important}.ops-panel{height:36vh!important}.map-heading{top:78px!important;right:12px!important;left:auto!important;width:390px!important;padding:9px 10px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;border:1px solid rgba(84,225,244,.38)!important;background:rgba(3,9,13,.93)!important}.map-heading h2{font-size:11px!important}.map-heading p{font-size:9px!important;margin-top:2px!important}.map-heading .map-tools{gap:5px!important;flex-wrap:nowrap!important}.map-heading .mode-button,.map-heading .status-pill{min-height:28px!important;padding:5px 7px!important;font-size:8px!important}.map-footer{top:145px!important;right:12px!important;bottom:auto!important;left:auto!important;width:390px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;border:1px solid rgba(84,225,244,.28)!important;background:rgba(3,9,13,.91)!important}.map-footer>div{padding:6px 8px!important;min-height:39px!important}.map-footer span{font-size:7px!important}.map-footer strong{font-size:10px!important}.panel h2{font-size:11px!important}.intel-card span{font-size:7px!important}.ops-panel{align-content:start!important}.intel-panel{min-height:0!important}.object-list{max-height:260px!important}@media(max-width:900px){.workspace{grid-template-rows:60vh 40vh!important}.map-panel{height:60vh!important}.ops-panel{height:40vh!important}.map-heading{width:calc(100% - 76px)!important;top:76px!important}.map-footer{width:calc(100% - 24px)!important;top:auto!important;bottom:10px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}}@media(max-width:600px){.workspace{grid-template-rows:55vh 45vh!important}.map-panel{height:55vh!important}.ops-panel{height:45vh!important}.map-heading{grid-template-columns:1fr!important}.map-footer{grid-template-columns:repeat(2,minmax(0,1fr))!important}.map-heading .map-tools{flex-wrap:wrap!important}}

.map-heading{bottom:auto!important;min-height:0!important}.map-footer{min-height:0!important}

/* Readable right instrument hierarchy and larger intelligence cards */
.map-heading{width:450px!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;align-items:stretch!important;padding:11px 12px!important;gap:9px!important}.map-title{font-size:14px!important;line-height:1.2!important}.map-title img{width:26px!important;height:26px!important}.map-heading p{font-size:10px!important;line-height:1.3!important}.map-heading .map-tools{display:grid!important;grid-template-columns:minmax(70px,1fr) repeat(4,auto)!important;gap:7px!important;width:100%!important}.map-heading .mode-button,.map-heading .status-pill{min-height:32px!important;padding:7px 9px!important;font-size:10px!important;line-height:1!important;white-space:nowrap!important}.map-footer{top:198px!important;width:450px!important}.map-footer>div{padding:8px 10px!important;min-height:48px!important}.map-footer span{font-size:9px!important}.map-footer strong{font-size:12px!important;line-height:1.25!important}.panel h2{font-size:13px!important;margin-bottom:9px!important}.intel-grid{gap:7px!important}.intel-card{height:64px!important;min-height:64px!important;padding:8px 10px!important}.intel-card span{font-size:10px!important;line-height:1.15!important}.intel-card strong{font-size:17px!important;line-height:1.2!important;margin-top:3px!important}.intel-card em{font-size:9px!important;line-height:1.15!important;margin-top:3px!important}.watch-list{gap:7px!important}.watch-item{padding:8px 10px!important}.watch-item strong{font-size:13px!important;line-height:1.2!important}.watch-meta{font-size:10px!important;line-height:1.25!important;gap:7px!important}.object-list{max-height:300px!important}.ops-panel>.panel{padding:11px 12px!important}.map-badge{font-size:12px!important;line-height:1.4!important}@media(max-width:1100px){.map-heading{width:calc(100% - 80px)!important}.map-footer{width:calc(100% - 24px)!important;top:auto!important;bottom:10px!important}.map-heading .map-tools{grid-template-columns:repeat(3,minmax(0,1fr))!important}.intel-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:650px){.map-heading .map-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}.intel-card{height:68px!important;min-height:68px!important}.intel-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

.map-heading .map-title{font-size:14px!important}.intel-card{grid-template-rows:auto auto auto!important;gap:2px!important}.intel-card strong,.intel-card em{margin-top:0!important}
/* connected map rail */.map-heading{top:12px!important;right:12px!important;width:320px!important;padding:12px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;border-bottom:0!important}.map-heading>div:first-child{width:100%!important}.map-heading .map-title{font-size:16px!important;line-height:1.25!important}.map-heading .map-title img{width:30px!important;height:30px!important}.map-heading>div:first-child>p{font-size:12px!important;line-height:1.35!important}.map-heading .map-tools{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:6px!important}.map-heading .status-pill,.map-heading .mode-button{width:100%!important;min-height:38px!important;padding:9px 12px!important;font-size:12px!important;line-height:1.2!important;text-align:left!important}.map-footer{top:254px!important;right:12px!important;bottom:auto!important;width:320px!important;display:grid!important;grid-template-columns:1fr!important;gap:0!important;border-top:0!important}.map-footer>div{min-height:52px!important;padding:9px 12px!important;border-top:1px solid #24424b!important}.map-footer span{font-size:11px!important;line-height:1.2!important}.map-footer strong{font-size:15px!important;line-height:1.3!important;margin-top:4px!important}@media(max-width:720px){.map-heading,.map-footer{width:260px!important;right:8px!important}.map-heading{top:8px!important}.map-footer{top:248px!important}}.map-heading #mapFooter{position:static!important;inset:auto!important;width:100%!important;margin:0!important;border:1px solid #24424b!important;display:grid!important;grid-template-columns:1fr!important}.map-heading>div:first-child>p{display:none!important}.map-heading{max-height:calc(64vh - 24px)!important;overflow-y:auto!important}.map-heading #mapFooter{margin-top:-10px!important;flex:0 0 auto!important}@media(max-width:720px){
html,body,.app-root,.console{height:auto!important;min-height:100%!important;overflow-x:hidden!important}
.workspace{height:auto!important;min-height:0!important;display:block!important;overflow:visible!important}
.map-panel,.map-wrap,.live-map{height:62svh!important;min-height:500px!important}
.map-heading{left:52px!important;right:8px!important;top:8px!important;width:auto!important;max-height:none!important;padding:8px!important;display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;overscroll-behavior-x:contain!important;scrollbar-width:thin!important}
.map-heading>div:first-child,.map-heading .map-tools,.map-heading #mapFooter{display:contents!important}
.map-heading>div:first-child>p{display:none!important}
.map-heading .map-title,.map-heading .status-pill,.map-heading .mode-button,.map-heading #mapFooter>div{box-sizing:border-box!important;flex:0 0 158px!important;width:158px!important;min-width:158px!important;height:76px!important;min-height:76px!important;margin:0!important;padding:10px!important;border:1px solid #31525d!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;text-align:left!important;scroll-snap-align:start!important;white-space:normal!important}
.map-heading .map-title{flex-basis:210px!important;width:210px!important;min-width:210px!important;font-size:15px!important}
.map-heading .map-title img{width:30px!important;height:30px!important}
.map-heading #mapFooter{position:static!important}
.map-footer span{font-size:10px!important}.map-footer strong{font-size:14px!important;overflow-wrap:anywhere!important}
.map-badge{top:104px!important;left:52px!important;right:auto!important;max-width:210px!important}
.ops-panel{height:auto!important;min-height:0!important;display:block!important;overflow:visible!important;padding:8px!important}
.ops-panel>.panel{position:static!important;width:100%!important;height:auto!important;min-height:0!important;margin:0 0 8px!important;overflow:hidden!important}
.intel-panel{height:auto!important;min-height:0!important}
.intel-grid{display:flex!important;grid-template-columns:none!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;padding:0 0 8px!important}
.intel-card{box-sizing:border-box!important;flex:0 0 72vw!important;width:72vw!important;height:92px!important;min-height:92px!important;scroll-snap-align:start!important;padding:12px!important}
.intel-card span{font-size:11px!important}.intel-card strong{font-size:20px!important}.intel-card em{font-size:10px!important}
.watch-list,.layers{display:flex!important;flex-direction:row!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;max-height:none!important;padding-bottom:8px!important}
.watch-item,.layer-button{box-sizing:border-box!important;flex:0 0 82vw!important;width:82vw!important;min-width:82vw!important;min-height:86px!important;scroll-snap-align:start!important}
.object-list{height:auto!important;max-height:none!important}
.panel h2{font-size:14px!important;margin-bottom:10px!important}
.footnote{position:static!important}
}@media(max-width:720px){.map-heading{flex-wrap:nowrap!important;height:92px!important;min-height:92px!important}.map-heading .map-title,.map-heading .status-pill,.map-heading .mode-button,.map-heading #mapFooter>div{flex-shrink:0!important}.ops-panel>.panel+.panel{clear:both!important}}@media(min-width:721px){.workspace{overflow:visible!important}.ops-panel{height:36vh!important;min-height:300px!important;overflow-y:auto!important;overflow-x:hidden!important;grid-auto-rows:max-content!important;align-content:start!important}.ops-panel>.panel{position:static!important;height:auto!important;min-height:120px!important;overflow:visible!important}.ops-panel>.intel-panel{min-height:250px!important}.intel-grid{height:auto!important;overflow:visible!important}.object-list,.watch-list,.layers{max-height:260px!important;overflow-y:auto!important}}@media(min-width:721px){.ops-panel{position:relative!important}.ops-panel>.panel{inset:auto!important;transform:none!important}.intel-panel{grid-column:1!important}.ops-panel>.panel:nth-child(2){grid-column:2!important}.ops-panel>.panel:nth-child(3){grid-column:1!important}.ops-panel>.panel:nth-child(4){grid-column:2!important}}@media(min-width:721px){.map-heading{top:76px!important;max-height:calc(64vh - 88px)!important}}.layer-button{box-sizing:border-box!important;height:auto!important;min-height:68px!important;padding:10px 12px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important;align-items:center!important;gap:10px!important;overflow:hidden!important}.layer-button span{display:block!important;min-width:0!important;font-size:13px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important}.layer-button strong{position:static!important;align-self:center!important;justify-self:end!important;font-size:14px!important;line-height:1!important}.layers{gap:8px!important;padding:0 4px 8px 0!important}@media(min-width:721px){.map-heading{width:270px!important;padding:9px!important;gap:7px!important}.map-heading .map-title{font-size:14px!important;line-height:1.15!important}.map-heading .map-title img{width:25px!important;height:25px!important}.map-heading .status-pill,.map-heading .mode-button{min-height:34px!important;padding:7px 9px!important;font-size:11px!important}.map-heading #mapFooter{width:100%!important}.map-footer>div{min-height:44px!important;padding:7px 9px!important}.map-footer span{font-size:9px!important}.map-footer strong{font-size:13px!important;line-height:1.2!important;margin-top:2px!important}}.xayn-plane-marker{background:transparent!important;border:0!important}.xayn-plane-marker span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;color:#fff;font-size:22px;line-height:1;text-shadow:0 0 3px #001,0 0 8px #00d9ff;transform-origin:center}.leaflet-tooltip{background:#061117!important;color:#eafcff!important;border:1px solid #31525d!important;box-shadow:none!important;font-size:11px!important}.phase-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.phase-card{border:1px solid #284852;padding:10px;background:#081218;min-height:112px}.phase-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.phase-head span{font-size:10px;text-transform:uppercase;color:#54e1f4}.phase-head em{font-size:9px;font-style:normal;text-transform:uppercase;color:#72f0a6}.phase-card>strong{display:block;font-size:15px;margin-top:8px;color:#f4fbff}.phase-card p{font-size:11px;margin:5px 0;color:#b8d6df}.phase-card small{display:block;font-size:9px;line-height:1.35;color:#73a8b8;overflow-wrap:anywhere}@media(max-width:720px){.phase-list{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.phase-card{flex:0 0 82vw;scroll-snap-align:start}}.phase-panel{grid-column:1/-1!important;min-height:0!important}.phase-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.phase-mode{min-height:36px;border:1px solid #31525d;background:#081218;color:#b8d6df;font-size:11px;text-transform:uppercase}.phase-mode.active{border-color:#54e1f4;color:#fff;background:#10232b}.phase-workspace{margin-top:8px;border-top:1px solid #24424b;padding-top:8px}.phase-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.phase-metrics>div,.temporal-readout,.cognition-posture{border:1px solid #284852;padding:9px;background:#071116}.phase-metrics span,.temporal-readout span,.cognition-posture span{display:block;font-size:9px;text-transform:uppercase;color:#73a8b8}.phase-metrics strong,.temporal-readout strong,.cognition-posture strong{display:block;margin-top:4px;font-size:15px;color:#f4fbff}.temporal-readout em{display:block;margin-top:4px;font-size:10px;color:#9fc1ca;font-style:normal}.cognition-posture p{margin:5px 0 0;font-size:10px;color:#b8d6df}.phase-actions{display:flex;gap:6px;margin-top:8px}.phase-actions button{min-height:32px;padding:7px 10px;border:1px solid #31525d;background:#0a161c;color:#eafcff;font-size:10px}.phase-actions button:disabled{opacity:.4}.ops-panel[data-phase="data"] .event-panel,.ops-panel[data-phase="data"] .evidence-panel{display:none!important}.ops-panel[data-phase="temporal"] .object-panel,.ops-panel[data-phase="temporal"] .layer-panel,.ops-panel[data-phase="temporal"] .evidence-panel{display:none!important}.ops-panel[data-phase="prediction"] .object-panel,.ops-panel[data-phase="prediction"] .layer-panel,.ops-panel[data-phase="prediction"] .evidence-panel{display:none!important}.ops-panel[data-phase="cognition"] .object-panel,.ops-panel[data-phase="cognition"] .layer-panel{display:none!important}@media(max-width:720px){.phase-list{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.phase-mode{flex:0 0 42vw;scroll-snap-align:start}.phase-metrics{display:flex;overflow-x:auto}.phase-metrics>div{flex:0 0 58vw}.phase-actions{overflow-x:auto}.phase-actions button{flex:0 0 auto}}
/* Full-width primary intelligence rows. */
.ops-panel > .intel-panel,
.ops-panel > .phase-panel,
.ops-panel > .event-panel { grid-column: 1 / -1 !important; width: 100% !important; }

/* Mobile intelligence drawers. */
.mobile-drawer-toggle{display:none}
@media(max-width:900px){
 body,.app-root,.console{height:100dvh!important;min-height:100dvh!important;overflow:hidden!important}
 .topbar{position:relative!important;z-index:1200!important}
 .workspace{height:calc(100dvh - 156px)!important;min-height:0!important;display:block!important;overflow:hidden!important}
 .map-panel{position:relative!important;width:100%!important;height:100%!important;min-height:0!important}
 .mobile-drawer-toggle{display:grid!important;position:fixed!important;z-index:1500!important;width:42px!important;height:42px!important;padding:0!important;place-items:center!important;border:1px solid var(--line-strong)!important;background:rgba(2,7,10,.94)!important;color:var(--cyan)!important;font-size:24px!important;font-weight:800!important;line-height:1!important;box-shadow:0 8px 24px rgba(0,0,0,.45)!important}
 .mobile-right-toggle{right:0!important;top:50%!important;transform:translateY(-50%)!important;border-right:0!important}
 .mobile-bottom-toggle{left:50%!important;bottom:0!important;transform:translateX(-50%)!important;border-bottom:0!important}
 .map-heading{position:fixed!important;z-index:1400!important;top:156px!important;right:0!important;bottom:0!important;left:auto!important;width:min(86vw,330px)!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:10px!important;padding:12px!important;overflow-y:auto!important;overscroll-behavior:contain!important;background:rgba(2,7,10,.98)!important;border:1px solid var(--line)!important;transform:translateX(105%)!important;transition:transform .22s ease!important}
 .map-heading.mobile-open{transform:translateX(0)!important}
 .map-heading .map-tools{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
 .map-heading .map-footer{position:static!important;display:grid!important;grid-template-columns:1fr!important;width:100%!important;margin:0!important}
 .ops-panel{position:fixed!important;z-index:1390!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;height:min(62dvh,620px)!important;max-height:calc(100dvh - 120px)!important;display:grid!important;grid-template-columns:1fr!important;align-content:start!important;grid-auto-rows:max-content!important;gap:8px!important;padding:44px 8px 180px!important;overflow-x:hidden!important;overflow-y:scroll!important;overscroll-behavior:contain!important;scrollbar-width:auto!important;background:#071015!important;box-shadow:0 -12px 36px rgba(0,0,0,.6)!important;transform:translateY(105%)!important;transition:transform .22s ease!important}
 .ops-panel.mobile-open{transform:translateY(0)!important}
 .ops-panel>.panel{grid-column:1!important;width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important}
 .ops-panel>.intel-panel{min-height:0!important}
 .intel-grid{max-height:none!important;overflow-x:auto!important;overflow-y:visible!important}
}

@media(max-width:900px){.ops-panel>.event-panel{display:block!important}.ops-panel{scrollbar-color:var(--cyan) rgba(2,7,10,.75)!important}.ops-panel::-webkit-scrollbar{width:8px}.ops-panel::-webkit-scrollbar-track{background:rgba(2,7,10,.75)}.ops-panel::-webkit-scrollbar-thumb{background:var(--cyan);border:2px solid #071015}}

/* Professional compact mobile operating rail. */
@media(max-width:900px){
 .map-heading{top:168px!important;right:0!important;bottom:auto!important;width:282px!important;height:auto!important;max-height:calc(100dvh - 188px)!important;padding:10px!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;align-content:start!important;overflow-y:auto!important;background:#061015!important;border:1px solid var(--line-strong)!important;box-shadow:-10px 14px 32px rgba(0,0,0,.55)!important}
 .map-heading>div:first-child{display:block!important;width:100%!important;height:auto!important;margin:0!important;padding:0 0 8px!important;border-bottom:1px solid var(--line)!important}
 .map-heading .map-title{display:flex!important;align-items:center!important;gap:8px!important;font-size:13px!important;line-height:1.2!important;color:var(--text)!important}
 .map-heading .map-title img{display:block!important;width:24px!important;height:24px!important;object-fit:cover!important}
 .map-heading .map-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;width:100%!important;height:auto!important;margin:0!important}
 .map-heading .status-pill,.map-heading .mode-button{width:100%!important;min-width:0!important;min-height:38px!important;height:38px!important;margin:0!important;padding:6px 7px!important;font-size:10px!important;line-height:1.1!important;border:1px solid var(--line)!important;background:#09151b!important}
 .map-heading #mapFooter{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
 .map-heading #mapFooter>div{display:flex!important;flex-direction:column!important;justify-content:center!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:58px!important;padding:7px 8px!important;border:1px solid var(--line)!important;background:#09151b!important}
 .map-heading #mapFooter span{margin:0 0 4px!important;font-size:8px!important;line-height:1!important;color:var(--muted)!important}
 .map-heading #mapFooter strong{font-size:11px!important;line-height:1.2!important;overflow-wrap:anywhere!important;color:var(--text)!important}
 body:has(.map-heading.mobile-open) .mobile-right-toggle{right:282px!important}
 .mobile-right-toggle{transition:right .22s ease!important}
}

/* Fill the complete mobile map panel; prevent the lower black strip. */
@media(max-width:900px){.map-panel>.map-wrap{position:absolute!important;inset:0!important;width:100%!important;height:auto!important;min-height:0!important;overflow:hidden!important}.map-panel>.map-wrap>.live-map,.map-panel>.map-wrap>.leaflet-container{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}}

/* Minimal two-line mobile drawer controls. */
@media(max-width:900px){.mobile-drawer-toggle{width:34px!important;height:34px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:transparent!important;font-size:0!important;outline:0!important}.mobile-drawer-toggle::before{content:"";display:block;width:14px;height:14px;border-top:2px solid var(--cyan);border-left:2px solid var(--cyan);filter:drop-shadow(0 1px 2px rgba(0,0,0,.8))}.mobile-right-toggle::before{transform:rotate(-45deg)}body:has(.map-heading.mobile-open) .mobile-right-toggle::before{transform:rotate(135deg)}.mobile-bottom-toggle::before{transform:rotate(45deg)}body:has(.ops-panel.mobile-open) .mobile-bottom-toggle::before{transform:rotate(225deg)}}

/* Edge-to-edge mobile operating-map header only. */
@media(max-width:900px){.map-heading>div:first-child{width:calc(100% + 20px)!important;max-width:none!important;height:auto!important;min-height:0!important;margin:-10px -10px 0!important;padding:9px 10px!important}.map-heading .map-title{width:100%!important;max-width:none!important;height:auto!important;min-height:28px!important;margin:0!important;padding:0!important}}

@media(max-width:900px){.map-heading>div:first-child{padding:9px 0!important}.map-heading .map-title{box-sizing:border-box!important;width:100%!important;padding:0 10px!important}}

/* Flush mobile brand header to the viewport edges. */
@media(max-width:900px){.topbar{top:0!important;left:0!important;right:auto!important;width:100%!important;max-width:100%!important;margin:0!important;transform:none!important}.workspace{margin:0!important}}

/* Compact mobile observation badge at the map corner. */
@media(max-width:900px){.map-badge{top:8px!important;left:8px!important;right:auto!important;max-width:170px!important;padding:6px 7px!important;font-size:10px!important;line-height:1.25!important;background:rgba(2,7,10,.82)!important}.map-badge strong{font-size:10px!important}.leaflet-top.leaflet-left{top:56px!important;left:0!important}}

/* High-resolution satellite + terrain rendering */
.leaflet-tile-pane { filter: contrast(1.045) saturate(1.08) brightness(0.98); }
.xayn-satellite-tile { image-rendering: auto; backface-visibility: hidden; }
.leaflet-terrain-pane { mix-blend-mode: soft-light; filter: contrast(1.35) brightness(1.05); }
.xayn-terrain-relief { image-rendering: auto; }
.xayn-reference-tile { image-rendering: auto; filter: contrast(1.12) brightness(1.08); }
/* Complete aircraft route framing and labels */
.xayn-aircraft-route { stroke-linecap: round; stroke-linejoin: round; }
.xayn-route-flown { filter: drop-shadow(0 0 3px rgba(84,225,244,.85)); }
.xayn-route-planned { filter: drop-shadow(0 0 3px rgba(241,201,107,.72)); }
.xayn-airport-endpoint { filter: drop-shadow(0 0 4px rgba(255,255,255,.8)); }
.leaflet-tooltip.xayn-route-label { padding: 3px 6px!important; background: rgba(2,9,13,.92)!important; border: 1px solid #54e1f4!important; color: #fff!important; font-size: 10px!important; font-weight: 800!important; white-space: nowrap!important; }
.xayn-route-label:before { border-top-color: #54e1f4!important; }
@media(max-width:720px){.leaflet-tooltip.xayn-route-label{font-size:9px!important;padding:2px 4px!important}}
/* Maritime shipment corridors */
.xayn-ocean-route { stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(114,240,166,.72)); }
.xayn-port-endpoint { filter: drop-shadow(0 0 4px rgba(255,255,255,.82)); }
.leaflet-tooltip.xayn-ocean-route-label { padding: 3px 6px!important; background: rgba(2,13,12,.94)!important; border: 1px solid #72f0a6!important; color: #edfff4!important; font-size: 10px!important; font-weight: 800!important; white-space: nowrap!important; }
.xayn-ocean-route-label:before { border-top-color: #72f0a6!important; }
.maritime-intel>strong { color: #72f0a6!important; }
@media(max-width:720px){.leaflet-tooltip.xayn-ocean-route-label{font-size:9px!important;padding:2px 4px!important}}
/* Leaflet positioning fallback for blocked/late CDN CSS */
.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg,.leaflet-pane>canvas{position:absolute;left:0;top:0}.leaflet-tile-container{position:absolute;left:0;top:0}
