/**
 * Portal surface — Phase 2H-F3
 * Shared foundation: Tabler + /assets/warstrikes-ui.css
 * Calmer customer product surface; do not recreate a second design system.
 */

.ws-surface-portal .navbar-brand {
  letter-spacing: 0;
}

.ws-surface-portal .navbar-brand-subtitle {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--tblr-secondary);
}

/* Card header: title above subtitle (approved Admin F1/F2 composition) */
.ws-surface-portal .card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.ws-surface-portal .card-subtitle {
  display: block;
  margin-top: 0;
}

/* Mobile no-JS nav — Portal-scoped equivalent of approved Admin topbar */
.ws-surface-portal .ws-nav-details {
  background: var(--tblr-bg-surface, #ffffff);
  border-bottom: 1px solid var(--tblr-border-color, #e6e7e9);
}

.ws-surface-portal .ws-mobile-nav-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  user-select: none;
}

.ws-surface-portal .ws-mobile-nav-summary::-webkit-details-marker {
  display: none;
}

.ws-surface-portal .ws-mobile-nav-summary::marker {
  content: '';
}

.ws-surface-portal .ws-mobile-nav-brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.ws-surface-portal .ws-mobile-nav-brand-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tblr-body-color, #1e293b);
}

.ws-surface-portal .ws-mobile-nav-brand-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--tblr-secondary, #64748b);
  margin-top: 0.1rem;
}

.ws-surface-portal .ws-mobile-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--tblr-border-color, #e6e7e9);
  border-radius: var(--tblr-border-radius, 4px);
  color: var(--tblr-body-color, #1e293b);
  background: var(--tblr-bg-surface-secondary, #f6f8fb);
  font-size: 0.85rem;
  font-weight: 600;
}

.ws-surface-portal .ws-mobile-nav-trigger .icon {
  display: block;
}

.ws-surface-portal .ws-nav-details[open] .ws-mobile-nav-trigger {
  color: var(--ws-brand, #1a56a8);
  border-color: rgba(26, 86, 168, 0.35);
  background: rgba(26, 86, 168, 0.08);
}

.ws-surface-portal .ws-mobile-nav-panel {
  border-top: 1px solid var(--tblr-border-color, #e6e7e9);
  background: var(--tblr-bg-surface, #ffffff);
  max-height: min(70vh, 32rem);
  overflow-y: auto;
}

.ws-surface-portal .ws-mobile-nav-panel .navbar-nav .nav-link {
  color: var(--tblr-secondary, #64748b);
  border-radius: var(--tblr-border-radius, 4px);
  margin: 0 0.35rem;
}

.ws-surface-portal .ws-mobile-nav-panel .navbar-nav .nav-link.active {
  color: var(--ws-brand, #1a56a8);
  background: rgba(26, 86, 168, 0.08);
  font-weight: 600;
}

/* Mono fields that may wrap (invite token, secrets) */
.ws-surface-portal .mono,
.ws-surface-portal .secret-once,
.ws-surface-portal .secret-callout {
  word-break: break-all;
  overflow-wrap: anywhere;
  font-family: var(--ws-mono);
}

.ws-surface-portal .code-block {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  color: var(--tblr-body-color, #182433);
  background: var(--tblr-bg-surface-secondary, #f6f8fb);
  border: 1px solid var(--tblr-border-color, #e6e7e9);
  border-radius: var(--tblr-border-radius, 4px);
  padding: 0.75rem 0.9rem;
}

.ws-surface-portal .code-block code {
  color: inherit;
  background: transparent;
}

.ws-surface-portal .org-list .list-group-item {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.ws-surface-portal .team-row-actions {
  max-width: 100%;
}

.ws-surface-portal .team-row-actions .form-select {
  min-width: 6.5rem;
  width: auto;
}

.ws-surface-portal .ws-org-status-grid .card-sm .subheader {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ws-surface-portal .ws-mobile-record-list .list-group-item {
  border-left: 0;
  border-right: 0;
}

.ws-surface-portal .ws-help-layout .howto-toc a {
  text-decoration: none;
}

.ws-surface-portal .ws-help-layout .playbook-steps {
  padding-left: 1.25rem;
}

.ws-surface-portal .ws-login-page .card {
  max-width: 24rem;
}

/* Phase 2N-F Intelligence Explorer */
.ws-surface-portal .ws-intel-filters .form-label {
  font-size: 0.78rem;
  font-weight: 600;
}

.ws-surface-portal .ws-intel-results {
  display: grid;
  gap: 0.75rem;
}

.ws-surface-portal .ws-intel-result .mono,
.ws-surface-portal .ws-intel-detail .mono,
.ws-surface-portal .ws-intel-api .mono {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ws-surface-portal .ws-intel-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin: 1rem 0;
}

.ws-surface-portal .ws-intel-meta dt {
  color: var(--tblr-secondary, #64748b);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.ws-surface-portal .ws-intel-meta dd {
  margin: 0.15rem 0 0;
}

.ws-surface-portal .ws-intel-api .code-block {
  max-height: 16rem;
  overflow: auto;
}

.ws-surface-portal .ws-intel-status-badge {
  color: #14532d;
  background: #dcfce7;
  border: 1px solid #15803d;
}

.ws-surface-portal .ws-intel-classification-badge {
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid #64748b;
}

.ws-surface-portal .ws-intel-alert {
  color: #422006;
  background: #fff7d6;
  border: 1px solid #b45309;
}

@media (max-width: 575.98px) {
  .ws-surface-portal .ws-intel-meta {
    grid-template-columns: 1fr;
  }

  .ws-surface-portal .ws-intel-filters .btn {
    flex: 1 1 auto;
  }
}

/* Local Leaflet1.9.4: same reviewed dependency, no external CSS. */
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-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;
		}
	}

/* Phase2O-B/D: existing Portal, progressive current-page Intelligence Explorer. */
.ws-explorer-layout{display:grid;grid-template-columns:288px minmax(0,1fr);gap:20px;align-items:start}
.ws-explorer-main{min-width:0}.ws-explorer-filter-panel{background:#fff;border:1px solid #dce3ea;border-radius:12px;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto}
.ws-explorer-filter-panel>summary{font-weight:650;padding:14px 16px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;border-bottom:1px solid #e5eaf0;min-height:48px}.ws-explorer-filter-panel:not([open])>summary{border-bottom:0}
.ws-explorer-form{padding:16px;border:0;margin:0!important;background:transparent;box-shadow:none}.ws-explorer-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.ws-explorer-filter-heading h2{font-size:15px;margin:0}.ws-explorer-filter-heading a{font-size:12px;white-space:nowrap}
.ws-explorer-hint{font-size:12px;line-height:1.5;color:#53677b;margin:8px 0}.ws-explorer-form fieldset{border:0;border-bottom:1px solid #e5eaf0;padding:10px 0 14px;margin:0}.ws-explorer-form legend{font-size:13px;font-weight:650;margin:0 0 8px}.ws-explorer-form label{font-size:12px;font-weight:550;margin-bottom:4px}.ws-explorer-form input,.ws-explorer-form select{font-size:13px;min-height:36px}.ws-explorer-custom-dates{display:grid;gap:5px;margin-top:10px}.ws-explorer-form input[type=datetime-local]{width:100%;min-width:0}
.ws-explorer-multi{border-bottom:1px solid #e5eaf0}.ws-explorer-multi>summary{font-size:13px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:12px 0;min-height:44px;gap:6px}.ws-explorer-multi>summary span{font-weight:400;font-size:11px;color:#52687e}.ws-explorer-multi-body{padding-bottom:12px}/* Outrank the legacy Portal label rule only inside the enhanced multiselect. */
.ws-explorer-options{max-height:190px;overflow:auto;margin:8px 0;border:1px solid #e1e6ed;border-radius:6px;padding:4px;background:#fff}
.ws-surface-portal .ws-explorer-form .ws-explorer-multi .ws-explorer-options .ws-explorer-option{
  display:flex;align-items:center;gap:8px;margin:0;padding:8px 6px;min-height:44px;
  color:#24364b;font-size:13px;font-weight:400;line-height:1.4;cursor:pointer;
  border-radius:4px;overflow-wrap:anywhere;
}
.ws-explorer-option>span{min-width:0}
.ws-explorer-option input{min-height:16px;width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:#174d8b}
.ws-explorer-options .ws-explorer-option:has(input:checked){background:#e8f0fb;box-shadow:inset 0 0 0 1px #9db9d8}
.ws-explorer-options .ws-explorer-option:not(:has(input:disabled)):hover{background:#f1f6fc}
.ws-explorer-options .ws-explorer-option:has(input:checked):not(:has(input:disabled)):hover{background:#dce9fa}
.ws-explorer-options .ws-explorer-option:has(input:focus-visible){outline:2px solid #174d8b;outline-offset:1px}
.ws-surface-portal .ws-explorer-form .ws-explorer-multi .ws-explorer-options .ws-explorer-option:has(input:disabled){color:#52687e;background:#f2f4f7;cursor:not-allowed}
.ws-explorer-option[hidden]{display:none}
.ws-explorer-apply{width:100%;margin-top:14px;min-height:42px}.ws-explorer-region p{font-size:12px;overflow-wrap:anywhere}
.ws-explorer-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.ws-explorer-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid #bdcee0;border-radius:20px;padding:5px 10px;font-size:12px;color:#164b82;background:#eef5fc;max-width:100%;overflow-wrap:anywhere;text-decoration:none}.ws-explorer-chip:hover{background:#e0edf9}.ws-explorer-chip span{font-size:17px;line-height:1}.ws-explorer-interval{font-size:11px;color:#52687e;margin:0 0 12px;overflow-wrap:anywhere}
.ws-explorer-map-card{border:1px solid #dce3ea;border-radius:12px;background:#fff;overflow:hidden;margin-bottom:18px}.ws-explorer-map-card>header{padding:14px 16px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ws-explorer-map-card h2{font-size:16px;margin:0 0 3px}.ws-explorer-map-card header p{font-size:12px;color:#52687e;margin:0}.ws-explorer-map-note{font-size:12px;margin:8px 16px 12px;color:#52687e}.ws-explorer-map{height:340px;width:100%;background:#d8e9f4;border-top:1px solid #e1e8ef;border-bottom:1px solid #e1e8ef}.ws-explorer-map-summary{font-size:12px;color:#344e69;margin:10px 16px 6px}.ws-explorer-map-card>.ws-explorer-hint,.ws-explorer-map-card>noscript{margin:6px 16px 12px}.ws-explorer-map-unavailable{padding:20px 16px;color:#52687e;background:#f5f7fa;font-size:13px}.ws-explorer-map:focus-visible,.ws-explorer-map path:focus-visible{outline:3px solid #174d8b;outline-offset:3px}.ws-explorer-popup{font:12px/1.5 system-ui;max-width:280px}.ws-explorer-popup strong{font-size:14px}.ws-explorer-popup p{margin:6px 0}.ws-explorer-map .leaflet-control-attribution{font-size:10px}.ws-explorer-map .leaflet-interactive{cursor:pointer}
.ws-explorer-results-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.ws-explorer-results-heading h2{font-size:18px;margin:0}.ws-explorer-results-heading p{font-size:12px;color:#52687e;margin:0}.ws-explorer-result-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ws-explorer-result-title h3{font-size:15px;margin:0;overflow-wrap:anywhere}.ws-explorer-result-title .badge{white-space:nowrap;font-size:10px}.ws-intel-result{transition:border-color .1s,box-shadow .1s}.ws-intel-result.is-selected{border-color:#174d8b;box-shadow:0 0 0 2px #dbe9f8}.ws-explorer-result-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;font-size:12px}.ws-explorer-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0;font-size:13px}.ws-explorer-api{margin-top:20px;border-top:1px solid #dce3ea;padding-top:12px}.ws-explorer-api>summary{cursor:pointer;font-size:13px;font-weight:600}.ws-explorer-api .card{margin-top:12px}
.ws-intel-detail>.ws-explorer-map-card{margin-top:18px}.ws-explorer-enhanced [data-multi-select][hidden]{display:none}.ws-explorer-form [hidden],.ws-explorer-map-card [hidden],.ws-explorer-result-actions [hidden]{display:none!important}
.ws-explorer-form :focus-visible,.ws-explorer-chip:focus-visible,.ws-explorer-result-actions :focus-visible,.ws-explorer-filter-panel>summary:focus-visible,.ws-explorer-multi>summary:focus-visible{outline:3px solid #174d8b;outline-offset:2px}
@media(max-width:1200px){.ws-explorer-layout{grid-template-columns:270px minmax(0,1fr);gap:16px}.ws-explorer-map{height:310px}.ws-explorer-result-title{flex-wrap:wrap}}
@media(max-width:900px){.ws-explorer-layout{grid-template-columns:minmax(0,1fr)}.ws-explorer-filter-panel{position:static;max-height:none}.ws-explorer-filter-panel>summary{background:#f3f7fc}.ws-explorer-map{height:300px}.ws-explorer-main{width:100%}}
@media(max-width:480px){.ws-explorer-map{height:270px}.ws-explorer-map-card>header{padding:12px 12px 0}.ws-explorer-result-actions{flex-wrap:wrap}.ws-explorer-form{padding:12px}.ws-explorer-chip{font-size:11px}.ws-explorer-result-title .badge{white-space:normal}}
@media(prefers-reduced-motion:reduce){.ws-intel-result{transition:none}}
