.elementor-99942 .elementor-element.elementor-element-42ecce64{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;--overlay-opacity:0.54;border-style:solid;--border-style:solid;border-width:0px 0px 1px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:1px;--border-left-width:0px;border-color:#28303E;--border-color:#28303E;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-99942 .elementor-element.elementor-element-42ecce64::before, .elementor-99942 .elementor-element.elementor-element-42ecce64 > .elementor-background-video-container::before, .elementor-99942 .elementor-element.elementor-element-42ecce64 > .e-con-inner > .elementor-background-video-container::before, .elementor-99942 .elementor-element.elementor-element-42ecce64 > .elementor-background-slideshow::before, .elementor-99942 .elementor-element.elementor-element-42ecce64 > .e-con-inner > .elementor-background-slideshow::before, .elementor-99942 .elementor-element.elementor-element-42ecce64 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{--background-overlay:'';}.elementor-99942 .elementor-element.elementor-element-5340d54d{--display:flex;--align-items:flex-start;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--padding-top:64px;--padding-bottom:64px;--padding-left:0px;--padding-right:0px;}.elementor-99942 .elementor-element.elementor-element-39dd9b59{text-align:start;}.elementor-99942 .elementor-element.elementor-element-39dd9b59 .elementor-heading-title{font-family:var( --e-global-typography-2533200-font-family ), Sans-serif;font-size:var( --e-global-typography-2533200-font-size );font-weight:var( --e-global-typography-2533200-font-weight );text-transform:var( --e-global-typography-2533200-text-transform );line-height:var( --e-global-typography-2533200-line-height );color:#71A1FA;}.elementor-99942 .elementor-element.elementor-element-54f2492{width:var( --container-widget-width, 665px );max-width:665px;--container-widget-width:665px;--container-widget-flex-grow:0;text-align:start;}.elementor-99942 .elementor-element.elementor-element-54f2492 .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-99942 .elementor-element.elementor-element-7522620a{width:var( --container-widget-width, 556px );max-width:556px;--container-widget-width:556px;--container-widget-flex-grow:0;text-align:start;font-family:var( --e-global-typography-4689bf1-font-family ), Sans-serif;font-size:var( --e-global-typography-4689bf1-font-size );font-weight:var( --e-global-typography-4689bf1-font-weight );line-height:var( --e-global-typography-4689bf1-line-height );}.elementor-99942 .elementor-element.elementor-element-21e97043{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-99942 .elementor-element.elementor-element-22778eaa{--display:flex;}.elementor-99942 .elementor-element.elementor-element-742a94f4{width:100%;max-width:100%;}@media(min-width:786px){.elementor-99942 .elementor-element.elementor-element-5340d54d{--width:100%;}.elementor-99942 .elementor-element.elementor-element-21e97043{--width:100%;}}@media(max-width:1060px) and (min-width:786px){.elementor-99942 .elementor-element.elementor-element-22778eaa{--width:100%;}}@media(max-width:1060px){.elementor-99942 .elementor-element.elementor-element-39dd9b59 .elementor-heading-title{font-size:var( --e-global-typography-2533200-font-size );line-height:var( --e-global-typography-2533200-line-height );}.elementor-99942 .elementor-element.elementor-element-54f2492 .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-99942 .elementor-element.elementor-element-7522620a{font-size:var( --e-global-typography-4689bf1-font-size );line-height:var( --e-global-typography-4689bf1-line-height );}.elementor-99942 .elementor-element.elementor-element-22778eaa{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}@media(max-width:785px){.elementor-99942 .elementor-element.elementor-element-5340d54d{--padding-top:32px;--padding-bottom:32px;--padding-left:0px;--padding-right:0px;}.elementor-99942 .elementor-element.elementor-element-39dd9b59 .elementor-heading-title{font-size:var( --e-global-typography-2533200-font-size );line-height:var( --e-global-typography-2533200-line-height );}.elementor-99942 .elementor-element.elementor-element-54f2492 .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-99942 .elementor-element.elementor-element-7522620a{font-size:var( --e-global-typography-4689bf1-font-size );line-height:var( --e-global-typography-4689bf1-line-height );}}/* Start custom CSS for shortcode, class: .elementor-element-742a94f4 *//* =============================================================
 * Nagios Partner Finder — Dark Mode (matches site design system)
 *
 * Replaces the previous nagios-partner-finder.css in:
 * Elementor > Site Settings > Custom CSS
 * (or on your page > Advanced > Custom CSS)
 *
 * Tokens pulled from existing Nagios CSS:
 *  - Page bg #00061b, card bg #131B25, border #2A3B51
 *  - Accent #4d89f9 / #71A1FA
 *  - Status: #68F37B (ok), #f59e0b (warn), #f87171 (critical)
 *  - Button: #0444d3 primary, 4px radius
 * ============================================================= */

.npf-root {
  --npf-bg:            #00061b;
  --npf-surface:       #131B25;
  --npf-surface-2:     #0d1724;
  --npf-surface-3:     rgba(255, 255, 255, 0.03);
  --npf-border:        #2A3B51;
  --npf-border-soft:   rgba(77, 137, 249, 0.18);
  --npf-border-blue:   rgba(77, 137, 249, 0.3);

  --npf-text:          #EEEEEE;
  --npf-text-strong:   #F4F7FB;
  --npf-text-muted:    #94a3b8;
  --npf-text-subtle:   rgba(217, 230, 255, 0.6);

  --npf-accent:        #4d89f9;
  --npf-accent-hover:  #71A1FA;
  --npf-accent-bg:     rgba(77, 137, 249, 0.08);
  --npf-accent-bg-2:   rgba(77, 137, 249, 0.12);

  --npf-btn:           #0444d3;
  --npf-btn-hover:     #0550f5;

  --npf-ok:            #68F37B;
  --npf-warn:          #f59e0b;
  --npf-crit:          #f87171;

  --npf-shadow:        0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --npf-shadow-lg:     0 12px 40px rgba(0, 0, 0, 0.5);
  --npf-radius:        6px;
  --npf-radius-lg:     8px;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--npf-text);
  background: var(--npf-bg);
  box-sizing: border-box;
}
.npf-root *, .npf-root *::before, .npf-root *::after { box-sizing: border-box; }

/* =============================================================
 * Hero — dark grid pattern matching .hero-section-container
 * ============================================================= */
.npf-page-header {
  background-color: var(--npf-bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  position: relative;
  padding: 64px 32px 56px;
}
.npf-page-header-inner { max-width: 1400px; margin: 0 auto; }
.npf-page-header h1 {
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--npf-text-strong);
}
.npf-page-header p {
  color: var(--npf-text-subtle);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* =============================================================
 * Main wrap
 * ============================================================= */
.npf-main-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 32px 64px;
}

/* =============================================================
 * Search + view toggle row
 * ============================================================= */
.npf-search-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.npf-search-input-wrap {
  flex: 0 0 70%;
  position: relative;
}
.npf-search-input-wrap svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--npf-text-muted);
  pointer-events: none;
}
.npf-search-input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius);
  font-size: 14.5px;
  font-family: inherit;
  background: var(--npf-surface);
  color: var(--npf-text);
  transition: border-color 160ms, background 160ms;
}
.npf-search-input::placeholder { color: var(--npf-text-muted); }
.npf-search-input:focus {
  outline: none;
  border-color: var(--npf-accent);
  background: var(--npf-surface-2);
}

.npf-view-toggle {
  display: inline-flex;
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius);
  overflow: hidden;
  background: var(--npf-surface);
}
.npf-view-toggle button {
  height: 44px;
  padding: 0 16px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--npf-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 160ms, color 160ms;
}
.npf-view-toggle button + button { border-left: 1px solid var(--npf-border); }
.npf-view-toggle button:hover {
  background: var(--npf-accent-bg);
  color: var(--npf-accent-hover);
}
.npf-view-toggle button.active {
  background: var(--npf-accent-bg-2);
  color: var(--npf-accent-hover);
}

/* =============================================================
 * Content grid
 * ============================================================= */
.npf-content-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

/* =============================================================
 * Filter rail
 * ============================================================= */
.npf-filter-rail {
  background: var(--npf-surface);
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius-lg);
  padding: 20px;
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.npf-filter-rail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--npf-border);
}
.npf-filter-rail-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--npf-text);
  letter-spacing: 0.02em;
}
.npf-clear-btn {
  background: none;
  border: none;
  color: var(--npf-accent-hover);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 160ms;
}
.npf-clear-btn:hover { color: var(--npf-accent); text-decoration: underline; }
.npf-clear-btn:disabled {
  color: var(--npf-text-subtle);
  cursor: not-allowed;
  text-decoration: none;
}

.npf-filter-group { margin-bottom: 24px; }
.npf-filter-group:last-child { margin-bottom: 0; }
.npf-filter-group h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--npf-text-muted);
  margin: 0 0 12px;
}

.npf-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--npf-text);
  cursor: pointer;
  user-select: none;
  transition: color 160ms;
}
.npf-filter-option:hover { color: var(--npf-accent-hover); }
.npf-filter-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1.5px solid var(--npf-border);
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 160ms;
  margin: 0; padding: 0;
  background: var(--npf-surface-2);
}
.npf-filter-option input[type="checkbox"]:checked {
  background: var(--npf-accent);
  border-color: var(--npf-accent);
}
.npf-filter-option input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.npf-filter-option:hover input[type="checkbox"]:not(:checked) {
  border-color: var(--npf-accent);
}
.npf-filter-count {
  color: var(--npf-text-subtle);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  font-weight: 500;
}

/* =============================================================
 * Results area
 * ============================================================= */
.npf-results-area { min-height: 400px; }

.npf-results-area.npf-view-split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.npf-results-area.npf-view-split #npf-map-container {
  height: 360px;
  width: 100%;
}
.npf-results-area.npf-view-map .npf-cards-container { display: none; }
.npf-results-area.npf-view-map #npf-map-container { height: calc(100vh - 120px); }
.npf-results-area.npf-view-map #npf-meta-bar { display: none; }
.npf-results-area.npf-view-list #npf-map-container { display: none; }

.npf-cards-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#npf-map-container {
  background: var(--npf-surface);
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius-lg);
  overflow: hidden;
}
#npf-map { width: 100%; height: 100%; background: var(--npf-surface-2); }

/* Meta bar */
#npf-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px;
}
.npf-results-count {
  font-size: 13px;
  color: var(--npf-text-muted);
}
.npf-results-count strong {
  color: var(--npf-text);
  font-weight: 600;
}

.npf-sort-select {
  height: 38px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius);
  background: var(--npf-surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 12px center;
  background-size: 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--npf-text);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 160ms;
}
.npf-sort-select:hover { border-color: var(--npf-border-blue); }
.npf-sort-select:focus { outline: none; border-color: var(--npf-accent); }
.npf-sort-select option { background: var(--npf-surface); color: var(--npf-text); }

/* =============================================================
 * Partner card
 * ============================================================= */
.npf-partner-card {
  background: var(--npf-surface);
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius-lg);
  padding: 20px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  cursor: pointer;
  transition: all 180ms;
}
.npf-partner-card:hover {
  border-color: var(--npf-border-blue);
  background: var(--npf-surface);
  box-shadow: 0 0 0 1px rgba(77, 137, 249, 0.1), var(--npf-shadow);
  transform: translateY(-1px);
}
.npf-partner-card:focus-visible {
  outline: 2px solid var(--npf-accent);
  outline-offset: 2px;
}

.npf-partner-logo, .npf-partner-logo-img {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 10px;
}
.npf-partner-logo {
  background: linear-gradient(135deg, #1e4b9a 0%, #4d89f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.npf-partner-logo-img {
  object-fit: contain;
  background: var(--npf-surface-2);
  border: 1px solid var(--npf-border);
  padding: 4px;
}

.npf-partner-body { flex: 1; min-width: 0; }
.npf-partner-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.npf-partner-title-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--npf-text-strong);
  letter-spacing: -0.01em;
}

.npf-partner-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--npf-text-muted);
  font-size: 13.5px;
  margin-bottom: 12px;
}
.npf-partner-location svg { flex-shrink: 0; }

.npf-partner-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.npf-service-chip {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  background: var(--npf-accent-bg);
  border: 1px solid var(--npf-border-soft);
  color: var(--npf-accent-hover);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.npf-partner-description {
  color: var(--npf-text-muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.npf-partner-description.empty {
  font-style: italic;
  color: var(--npf-text-subtle);
}

.npf-partner-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--npf-border);
  font-size: 12.5px;
  color: var(--npf-text-muted);
  flex-wrap: wrap;
  gap: 8px;
}
.npf-partner-contacts { display: flex; gap: 16px; align-items: center; }
.npf-partner-contacts a {
  color: var(--npf-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 160ms;
}
.npf-partner-contacts a:hover { color: var(--npf-accent-hover); }

/* =============================================================
 * Empty state
 * ============================================================= */
.npf-empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--npf-text-muted);
  background: var(--npf-surface);
  border: 1px dashed var(--npf-border);
  border-radius: var(--npf-radius-lg);
}
.npf-empty-state h3 {
  margin: 0 0 8px;
  color: var(--npf-text);
  font-size: 18px;
  font-weight: 600;
}
.npf-empty-state p { margin: 0; font-size: 14px; }

/* =============================================================
 * Loading skeleton
 * ============================================================= */
.npf-skeleton-card {
  background: var(--npf-surface);
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius-lg);
  padding: 20px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.npf-skel-logo {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: var(--npf-surface-2);
  flex-shrink: 0;
  animation: npf-skel-pulse 1.4s ease-in-out infinite;
}
.npf-skel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.npf-skel-line {
  height: 12px;
  background: var(--npf-surface-2);
  border-radius: 6px;
  animation: npf-skel-pulse 1.4s ease-in-out infinite;
}
.npf-skel-line-wide { width: 70%; height: 18px; }
.npf-skel-line-mid  { width: 40%; }
@keyframes npf-skel-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* =============================================================
 * Side sheet
 * ============================================================= */
.npf-sheet-overlay {
  position: fixed;
  inset: 0;
  /* Solid darker overlay instead of backdrop-filter blur. Blur effects
     on full-screen overlays are a major CPU/GPU cost; a solid opaque
     colour achieves the same visual isolation without the per-frame cost. */
  background: rgba(0, 6, 27, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms;
  z-index: 9998;
}
.npf-sheet-overlay.open { opacity: 1; pointer-events: auto; }

.npf-sheet {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 480px;
  max-width: 100vw;
  background: var(--npf-bg);
  box-shadow: var(--npf-shadow-lg);
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--npf-border);
  /* Compositing hints — tell the browser to promote this to its own layer
     so scrolling/animating the sheet doesn't force the whole page to repaint. */
  will-change: transform;
  contain: layout paint;
}
.npf-sheet.open { transform: translateX(0); }

.npf-sheet-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius);
  background: var(--npf-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--npf-text);
  z-index: 2;
  transition: all 160ms;
}
.npf-sheet-close:hover {
  background: var(--npf-accent-bg);
  border-color: var(--npf-accent);
  color: var(--npf-accent-hover);
}

.npf-sheet-header {
  padding: 28px 28px 24px;
  background:
    linear-gradient(135deg, rgba(77, 137, 249, 0.08) 0%, transparent 100%),
    var(--npf-surface);
  border-bottom: 1px solid var(--npf-border);
}
.npf-sheet-header-logo, .npf-sheet-header-logo-img {
  width: 72px; height: 72px;
  border-radius: 14px;
  margin-bottom: 14px;
}
.npf-sheet-header-logo {
  background: linear-gradient(135deg, #1e4b9a 0%, #4d89f9 100%);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.npf-sheet-header-logo-img {
  object-fit: contain;
  background: var(--npf-surface-2);
  border: 1px solid var(--npf-border);
  padding: 6px;
}
.npf-sheet-header h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--npf-text-strong);
}
.npf-sheet-header .npf-partner-location {
  margin-bottom: 18px;
  color: var(--npf-text);
}

/* CTAs — match .npc-btn-primary style */
.npf-sheet-ctas { display: flex; gap: 10px; }
.npf-sheet-cta {
  flex: 1;
  height: 44px;
  padding: 0 20px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 200ms, border-color 200ms, color 200ms;
}
.npf-sheet-cta.primary {
  background: var(--npf-btn);
  color: #e8e8e8;
  border: 1px solid var(--npf-btn);
}
.npf-sheet-cta.primary:hover {
  background: var(--npf-btn-hover);
  border-color: var(--npf-btn-hover);
  color: #fff;
}
.npf-sheet-cta.secondary {
  background: transparent;
  color: #e8e8e8;
  border: 1px solid rgba(232, 232, 232, 0.4);
}
.npf-sheet-cta.secondary:hover {
  background: rgba(232, 232, 232, 0.08);
  border-color: rgba(232, 232, 232, 0.7);
  color: #fff;
}

.npf-sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 48px;
  background: var(--npf-bg);
}
.npf-sheet-section { margin-bottom: 28px; }
.npf-sheet-section:last-child { margin-bottom: 0; }
.npf-sheet-section h4 {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--npf-text-muted);
}
.npf-sheet-description {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--npf-text);
  margin: 0;
}
.npf-sheet-description.empty {
  font-style: italic;
  color: var(--npf-text-subtle);
  padding: 12px 14px;
  background: var(--npf-surface);
  border: 1px dashed var(--npf-border);
  border-radius: var(--npf-radius);
}
.npf-sheet-chip-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.npf-sheet-chip {
  padding: 6px 13px;
  background: var(--npf-accent-bg);
  border: 1px solid var(--npf-border-soft);
  color: var(--npf-accent-hover);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.npf-sheet-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.npf-sheet-info-row { font-size: 14px; }
.npf-sheet-info-row a {
  color: var(--npf-accent-hover);
  text-decoration: none;
  word-break: break-all;
  transition: color 160ms;
}
.npf-sheet-info-row a:hover {
  color: var(--npf-accent);
  text-decoration: underline;
}
.npf-sheet-empty-row {
  font-size: 13px;
  color: var(--npf-text-subtle);
  font-style: italic;
}

/* Nagios partnership badge */
.npf-nagios-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--npf-accent-bg);
  border: 1px solid var(--npf-border-blue);
  color: var(--npf-accent-hover);
  border-radius: var(--npf-radius);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.npf-nagios-badge .npf-nagios-logo {
  width: 22px; height: 22px;
  background: var(--npf-accent);
  border-radius: 4px;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============================================================
 * Leaflet overrides (scoped inside .npf-root)
 * ============================================================= */
.npf-root .leaflet-container {
  background: var(--npf-surface-2);
  font-family: inherit;
}
.npf-root .leaflet-popup-content-wrapper {
  background: var(--npf-surface);
  color: var(--npf-text);
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius);
  box-shadow: var(--npf-shadow-lg);
}
.npf-root .leaflet-popup-tip {
  background: var(--npf-surface);
  border: 1px solid var(--npf-border);
}
.npf-root .leaflet-popup-close-button {
  color: var(--npf-text-muted) !important;
}
.npf-root .leaflet-popup-close-button:hover {
  color: var(--npf-text) !important;
}
.npf-root .leaflet-popup-content {
  margin: 14px 16px;
  font-family: inherit;
  font-size: 13px;
  color: var(--npf-text);
}
.npf-popup-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--npf-text-strong);
}
.npf-popup-location {
  color: var(--npf-text-muted);
  margin-bottom: 10px;
}
.npf-popup-btn {
  background: var(--npf-btn);
  color: #e8e8e8;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
  transition: background 160ms;
}
.npf-popup-btn:hover { background: var(--npf-btn-hover); color: #fff; }

/* Leaflet attribution — tone down for dark theme */
.npf-root .leaflet-control-attribution {
  background: rgba(19, 27, 37, 0.85) !important;
  color: var(--npf-text-muted) !important;
  border: 1px solid var(--npf-border);
  border-right: none;
  border-bottom: none;
  padding: 2px 8px;
  font-size: 10px;
}
.npf-root .leaflet-control-attribution a {
  color: var(--npf-accent-hover) !important;
}

/* Zoom controls */
.npf-root .leaflet-bar {
  border: 1px solid var(--npf-border) !important;
  box-shadow: var(--npf-shadow) !important;
}
.npf-root .leaflet-bar a {
  background: var(--npf-surface) !important;
  color: var(--npf-text) !important;
  border-bottom-color: var(--npf-border) !important;
}
.npf-root .leaflet-bar a:hover {
  background: var(--npf-accent-bg) !important;
  color: var(--npf-accent-hover) !important;
}

/* Cluster marker colors — use brand palette */
.npf-root .marker-cluster {
  background-clip: padding-box;
  border-radius: 50%;
}
.npf-root .marker-cluster div {
  width: 30px; height: 30px;
  margin: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 12px 'Inter', sans-serif;
  color: #fff;
  letter-spacing: 0.02em;
}
.npf-root .marker-cluster-small {
  background-color: rgba(77, 137, 249, 0.35);
}
.npf-root .marker-cluster-small div {
  background-color: var(--npf-accent);
  box-shadow: 0 0 0 2px rgba(77, 137, 249, 0.3);
}
.npf-root .marker-cluster-medium {
  background-color: rgba(77, 137, 249, 0.45);
}
.npf-root .marker-cluster-medium div {
  background-color: var(--npf-btn);
  box-shadow: 0 0 0 2px rgba(77, 137, 249, 0.35);
}
.npf-root .marker-cluster-large {
  background-color: rgba(4, 68, 211, 0.5);
}
.npf-root .marker-cluster-large div {
  background-color: #0338af;
  box-shadow: 0 0 0 2px rgba(4, 68, 211, 0.4);
}

/* Individual marker */
.npf-partner-marker {
  background: var(--npf-accent-hover);
  border: 2px solid var(--npf-bg);
  border-radius: 50%;
  width: 14px !important;
  height: 14px !important;
  box-shadow: 0 0 0 2px rgba(113, 161, 250, 0.3), 0 2px 6px rgba(0, 0, 0, 0.5);
}


/* Pause the map while sheet is open — prevents Leaflet from doing work
   that gets composited but can't be seen. */
#npf-map-container.npf-map-paused {
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 200ms;
}

/* =============================================================
 * Responsive
 * ============================================================= */
@media (max-width: 768px) {
  .npf-page-header { padding: 40px 20px 32px; }
  .npf-page-header h1 { font-size: 28px; }
  .npf-main-wrap { padding: 16px 20px 48px; }

  .npf-content-grid { grid-template-columns: 1fr; }

  .npf-search-row { flex-wrap: wrap; gap: 10px; }
  .npf-search-input-wrap { flex-basis: 100%; }
  .npf-search-row .npf-view-toggle { flex: 1; }
  .npf-search-row .npf-view-toggle button {
    flex: 1;
    justify-content: center;
  }

  /* Filter rail: collapsed by default on mobile */
  .npf-filter-rail {
    position: static;
    max-height: none;
    padding: 0;
    overflow: visible;
  }
  .npf-filter-rail-header {
    padding: 16px 20px;
    margin: 0;
    border-bottom: 1px solid var(--npf-border);
    cursor: pointer;
    user-select: none;
  }
  .npf-filter-rail.collapsed .npf-filter-rail-header {
    border-bottom-color: transparent;
  }
  .npf-filter-rail.collapsed .npf-filter-rail-header .npf-clear-btn {
    display: none;
  }
  .npf-filter-rail-header::after {
    content: '';
    width: 10px; height: 10px;
    border-right: 2px solid var(--npf-text-muted);
    border-bottom: 2px solid var(--npf-text-muted);
    transform: rotate(45deg);
    margin-left: auto;
    margin-right: 4px;
    transition: transform 200ms;
  }
  .npf-filter-rail.collapsed .npf-filter-rail-header::after {
    transform: rotate(-45deg);
    margin-bottom: -4px;
  }
  .npf-filter-rail-header h3 { flex: 1; }
  .npf-filter-rail-body { padding: 16px 20px 20px; display: block; }
  .npf-filter-rail.collapsed .npf-filter-rail-body { display: none; }

  #npf-meta-bar { margin: 14px 0 10px; }
  #npf-meta-bar .npf-results-count { font-size: 12.5px; }
  #npf-meta-bar .npf-sort-select {
    height: 34px;
    font-size: 12.5px;
    padding: 0 30px 0 12px;
    background-size: 10px;
  }

  .npf-results-area.npf-view-split #npf-map-container { height: 240px; }

  .npf-partner-card { padding: 16px; gap: 14px; }
  .npf-partner-logo, .npf-partner-logo-img {
    width: 48px; height: 48px; font-size: 13px;
  }
  .npf-partner-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .npf-sheet { width: 100vw; }
}/* End custom CSS */
/* Start custom CSS */.npf-root {
  --npf-bg:            #00061b;
  --npf-surface:       #05112B;
  --npf-surface-2:     #05112B;
  --npf-surface-3:     rgba(255, 255, 255, 0.03);
  --npf-border:        #2A3B51;
  --npf-border-soft:   rgba(77, 137, 249, 0.18);
  --npf-border-blue:   rgba(77, 137, 249, 0.3);

  --npf-text:          #EEEEEE;
  --npf-text-strong:   #F4F7FB;
  --npf-text-muted:    #94a3b8;
  --npf-text-subtle:   rgba(217, 230, 255, 0.6);

  --npf-accent:        #4d89f9;
  --npf-accent-hover:  #71A1FA;
  --npf-accent-bg:     rgba(77, 137, 249, 0.08);
  --npf-accent-bg-2:   rgba(77, 137, 249, 0.12);

  --npf-btn:           #0444d3;
  --npf-btn-hover:     #0550f5;

  --npf-toggle-bg:     rgba(226, 232, 240, 0.08);
  --npf-toggle-active-bg: #4d89f930;
  --npf-toggle-active-text: white;

  --npf-ok:            #68F37B;
  --npf-warn:          #f59e0b;
  --npf-crit:          #f87171;

  --npf-shadow:        0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --npf-shadow-lg:     0 12px 40px rgba(0, 0, 0, 0.5);
  --npf-radius:        6px;
  --npf-radius-lg:     8px;
  --npf-radius-pill:   100px;
}

.npf-root button,
.npf-root .npf-sheet-cta,
.npf-root a.npf-sheet-cta,
.npf-root .npf-view-toggle button,
.npf-root .npf-clear-btn,
.npf-root .npf-sheet-close,
.npf-root .npf-popup-btn {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: none !important;
  background-image: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-style: normal !important;
  font-weight: inherit !important;
  letter-spacing: normal !important;
  line-height: normal !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  text-shadow: none !important;
  transform: none !important;
  transition: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  white-space: normal;
  vertical-align: baseline !important;
  outline: none !important;
  filter: none !important;
}

/* Light basemap fallback */
#npf-map.npf-basemap-light .leaflet-tile-pane {
  filter: invert(1) hue-rotate(200deg) brightness(0.9) contrast(.9);
}

/* Main wrap*/
.npf-root .npf-main-wrap {
  margin: 0 auto;
  margin-top:48px;
  margin-bottom:48px;
  width: 100%;
  padding:0px;
}

/* Search + view toggle row */
.npf-root .npf-search-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  justify-content: space-between;
}
.npf-root .npf-search-input-wrap {
   flex:30%;
  position: relative;
}
.npf-root .npf-search-input-wrap svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--npf-text-muted);
  pointer-events: none;
}
.npf-root input.npf-search-input,
.npf-root .npf-search-input {
  width: 100% !important;
  height: 44px !important;
  padding: 0 16px 0 44px !important;
  border: 1px solid var(--npf-border) !important;
  border-radius: var(--npf-radius) !important;
  font-size: 14.5px !important;
  font-family: inherit !important;
  font-weight: 400 !important;
  background: var(--npf-surface) !important;
  color: var(--npf-text) !important;
  box-shadow: none !important;
  transition: border-color 160ms, background 160ms !important;
  box-sizing: border-box !important;
}
.npf-root .npf-search-input::placeholder {
  color: var(--npf-text-muted) !important;
  opacity: 1 !important;
}
.npf-root .npf-search-input:focus {
  outline: none !important;
  border-color: var(--npf-accent) !important;
  background: var(--npf-surface-2) !important;
  box-shadow: none !important;
}

.npf-root .npf-view-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 4px !important;
  border: 1px solid var(--npf-border) !important;
  border-radius: var(--npf-radius) !important;
  background: var(--npf-surface) !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.npf-root .npf-view-toggle button {
  height: 36px !important;
  padding: 0 18px !important;
  border: none !important;
  border-left: none !important;
  border-radius: 4px !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  color: var(--npf-text-muted) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-decoration: none !important;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease !important;
  min-width: 0 !important;
  min-height: 0 !important;
  white-space: nowrap !important;
  transform: none !important;
}
.npf-root .npf-view-toggle button + button {
  border-left: none !important;
  margin-left: 2px !important;
}
.npf-root .npf-view-toggle button svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.npf-root .npf-view-toggle button:hover,
.npf-root .npf-view-toggle button:focus {
  background: transparent !important;
  color: var(--npf-text-strong) !important;
  outline: none !important;
  box-shadow: none !important;
}
.npf-root .npf-view-toggle button.active,
.npf-root .npf-view-toggle button.active:hover,
.npf-root .npf-view-toggle button.active:focus {
  background: var(--npf-toggle-active-bg) !important;
  color: var(--npf-toggle-active-text) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/*Content grid */
.npf-root .npf-content-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

/*Filter rail */
.npf-root .npf-filter-rail {
  background: var(--npf-surface);
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius-lg);
  padding: 20px;
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.npf-root .npf-filter-rail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--npf-border);
}
.npf-root .npf-filter-rail-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--npf-text);
  letter-spacing: 0.02em;
}

/* Clear all */
.npf-root button.npf-clear-btn,
.npf-root .npf-clear-btn {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  color: var(--npf-accent-hover) !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  cursor: pointer !important;
  padding: 4px 2px !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: color 160ms !important;
  transform: none !important;
}
.npf-root button.npf-clear-btn:hover,
.npf-root .npf-clear-btn:hover {
  background: transparent !important;
  color: var(--npf-accent) !important;
  text-decoration: underline !important;
}
/* Hide the Clear-all button entirely when no filters are active. */
.npf-root button.npf-clear-btn:disabled,
.npf-root .npf-clear-btn:disabled,
.npf-root button.npf-clear-btn[disabled],
.npf-root .npf-clear-btn[disabled] {
  display: none !important;
}

.npf-root .npf-filter-group { margin-bottom: 24px; }
.npf-root .npf-filter-group:last-child { margin-bottom: 0; }
.npf-root .npf-filter-group h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--npf-text-muted);
  margin: 0 0 12px;
}

.npf-root .npf-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--npf-text);
  cursor: pointer;
  user-select: none;
  transition: color 160ms;
}
.npf-root .npf-filter-option:hover { color: var(--npf-accent-hover); }
.npf-root .npf-filter-option input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 16px !important;
  height: 16px !important;
  border: 1.5px solid var(--npf-border) !important;
  border-radius: 4px !important;
  position: relative !important;
  cursor: pointer !important;
  flex-shrink: 0;
  transition: border-color 160ms, background-color 160ms;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--npf-surface-2) !important;
  box-shadow: none !important;
  vertical-align: baseline !important;
  min-width: 0 !important;
  min-height: 0 !important;
}
.npf-root .npf-filter-option input[type="checkbox"]:checked {
  background: var(--npf-accent) !important;
  border-color: var(--npf-accent) !important;
}
.npf-root .npf-filter-option input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.npf-root .npf-filter-option:hover input[type="checkbox"]:not(:checked) {
  border-color: var(--npf-accent) !important;
}
.npf-root .npf-filter-count {
  color: var(--npf-text-subtle);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  font-weight: 500;
}

/*Results area*/
.npf-root .npf-results-area { min-height: 400px; }

.npf-root .npf-results-area.npf-view-split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.npf-root .npf-results-area.npf-view-split #npf-map-container {
  height: 420px;
  width: 100%;
}
.npf-root .npf-results-area.npf-view-map .npf-cards-container { display: none; }
.npf-root .npf-results-area.npf-view-map #npf-map-container { height: calc(100vh - 120px); }
.npf-root .npf-results-area.npf-view-map #npf-meta-bar { display: none; }
.npf-root .npf-results-area.npf-view-list #npf-map-container { display: none; }

.npf-root .npf-cards-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.npf-root #npf-map-container {
  background: var(--npf-surface);
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius-lg);
  overflow: hidden;
}
.npf-root #npf-map { width: 100%; height: 100%; background: var(--npf-surface-2); }

/* Map paused when sheet is open */
.npf-root #npf-map-container.npf-map-paused {
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 200ms;
}

/* Meta bar */
.npf-root #npf-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px;
}
.npf-root .npf-results-count {
  font-size: 13px;
  color: var(--npf-text-muted);
}
.npf-root .npf-results-count strong {
  color: var(--npf-text);
  font-weight: 600;
}

/* Sort select */
.npf-root select.npf-sort-select,
.npf-root .npf-sort-select {
  height: 38px !important;
  width: auto !important;
  max-width: 180px !important;
  padding: 0 36px 0 14px !important;
  border: 1px solid var(--npf-border) !important;
  border-radius: var(--npf-radius) !important;
  background: var(--npf-surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 12px center !important;
  background-size: 12px !important;
  font-size: 13px !important;
  font-family: inherit !important;
  font-weight: 400 !important;
  color: var(--npf-text) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: border-color 160ms !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}
.npf-root .npf-sort-select:hover { border-color: var(--npf-border-blue) !important; }
.npf-root .npf-sort-select:focus { outline: none !important; border-color: var(--npf-accent) !important; }
.npf-root .npf-sort-select option {
  background: var(--npf-surface);
  color: var(--npf-text);
}

/*Partner card*/
.npf-root .npf-partner-card {
  background: var(--npf-surface);
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius-lg);
  padding: 20px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  cursor: pointer;
  transition: border-color 180ms, box-shadow 180ms, transform 180ms, background 180ms;
  will-change: transform, box-shadow;
}
.npf-root .npf-partner-card:hover {
  border-color: var(--npf-border-blue);
  background: var(--npf-surface);
  box-shadow: 0 0 0 1px rgba(77, 137, 249, 0.1), var(--npf-shadow);
  transform: translateY(-1px);
}
.npf-root .npf-partner-card:focus-visible {
  outline: 2px solid var(--npf-accent);
  outline-offset: 2px;
}

.npf-root .npf-partner-logo,
.npf-root .npf-partner-logo-img {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 10px;
}
.npf-root .npf-partner-logo {
  background: linear-gradient(135deg, #1e4b9a 0%, #4d89f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.npf-root .npf-partner-logo-img {
  object-fit: contain;
  background-color:white;
  border: 1px solid var(--npf-border);
  padding: 4px;
}

.npf-root .npf-partner-body { flex: 1; min-width: 0; }
.npf-root .npf-partner-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.npf-root .npf-partner-title-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--npf-text-strong);
  letter-spacing: -0.01em;
}

.npf-root .npf-partner-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--npf-text-muted);
  font-size: 13.5px;
  margin-bottom: 12px;
}
.npf-root .npf-partner-location svg { flex-shrink: 0; }

.npf-root .npf-partner-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.npf-root .npf-service-chip {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  background: var(--npf-accent-bg);
  border: 1px solid var(--npf-border-soft);
  color: var(--npf-accent-hover);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.npf-root .npf-partner-description {
  color: var(--npf-text-muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.npf-root .npf-partner-description.empty {
  font-style: italic;
  color: var(--npf-text-subtle);
}

.npf-root .npf-partner-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--npf-border);
  font-size: 12.5px;
  color: var(--npf-text-muted);
  flex-wrap: wrap;
  gap: 8px;
}
.npf-root .npf-partner-contacts { display: flex; gap: 16px; align-items: center; }
.npf-root .npf-partner-contacts a {
  color: var(--npf-text-muted) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  transition: color 160ms !important;
}
.npf-root .npf-partner-contacts a:hover {
  color: var(--npf-accent-hover) !important;
  background: transparent !important;
}

/* Empty state */
.npf-root .npf-empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--npf-text-muted);
  background: var(--npf-surface);
  border: 1px dashed var(--npf-border);
  border-radius: var(--npf-radius-lg);
}
.npf-root .npf-empty-state h3 {
  margin: 0 0 8px;
  color: var(--npf-text);
  font-size: 18px;
  font-weight: 600;
}
.npf-root .npf-empty-state p { margin: 0; font-size: 14px; }

/* Loading skeleton */
.npf-root .npf-skeleton-card {
  background: var(--npf-surface);
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius-lg);
  padding: 20px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.npf-root .npf-skel-logo {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: var(--npf-surface-2);
  flex-shrink: 0;
  animation: npf-skel-pulse 1.4s ease-in-out infinite;
}
.npf-root .npf-skel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.npf-root .npf-skel-line {
  height: 12px;
  background: var(--npf-surface-2);
  border-radius: 6px;
  animation: npf-skel-pulse 1.4s ease-in-out infinite;
}
.npf-root .npf-skel-line-wide { width: 70%; height: 18px; }
.npf-root .npf-skel-line-mid  { width: 40%; }
@keyframes npf-skel-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/*Side sheet */
.npf-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 6, 27, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms;
  z-index: 999998;
}
.npf-sheet-overlay.open { opacity: 1; pointer-events: auto; }

.npf-sheet {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 480px;
  max-width: 100vw;
  background: var(--npf-bg);
  box-shadow: var(--npf-shadow-lg);
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--npf-border);
  will-change: transform;
  contain: layout paint;
}
.npf-sheet.open { transform: translateX(0); }

/* Sheet close button */
.npf-sheet button.npf-sheet-close,
.npf-sheet .npf-sheet-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  /* Close button now sits on the white header — adjust border + colors so it
     reads clearly there instead of disappearing into the white. */
  border: 1px solid #e5e7eb !important;
  border-radius: var(--npf-radius) !important;
  background: #ffffff !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #475569 !important;
  z-index: 2 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-size: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  transition: background-color 160ms, border-color 160ms, color 160ms !important;
}
.npf-sheet .npf-sheet-close:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0F1729 !important;
}

.npf-sheet-header {
  padding: 28px 28px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.npf-sheet-header-logo,
.npf-sheet-header-logo-img {
  width: 72px; height: 72px;
  border-radius: 14px;
  margin-bottom: 14px;
}
.npf-sheet-header-logo {
  background: linear-gradient(135deg, #1e4b9a 0%, #4d89f9 100%);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.npf-sheet-header-logo-img {
  object-fit: contain;
  background: transparent;
 
  border: 1px solid #e5e7eb;
  padding: 6px;
}
.npf-sheet-header h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0F1729;
}
.npf-sheet-header .npf-partner-location {
  margin-bottom: 18px;
  color: #475569;
}

/* Sheet CTAs */
.npf-sheet-ctas {
  display: flex !important;
  gap: 10px !important;
}
.npf-sheet a.npf-sheet-cta,
.npf-sheet .npf-sheet-cta {
  flex: 1 !important;
  height: 44px !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border-radius: 4px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  white-space: nowrap !important;
  transition: background 200ms, border-color 200ms, color 200ms !important;
  transform: none !important;
}
.npf-sheet a.npf-sheet-cta.primary,
.npf-sheet .npf-sheet-cta.primary {
  background: var(--npf-btn) !important;
  color: #e8e8e8 !important;
  border: 1px solid var(--npf-btn) !important;
}
.npf-sheet a.npf-sheet-cta.primary:hover,
.npf-sheet .npf-sheet-cta.primary:hover {
  background: var(--npf-btn-hover) !important;
  border-color: var(--npf-btn-hover) !important;
  color: #fff !important;
}
.npf-sheet a.npf-sheet-cta.secondary,
.npf-sheet .npf-sheet-cta.secondary {

  background: transparent !important;
  color: #0F1729 !important;
  border: 1px solid #cbd5e1 !important;
}
.npf-sheet a.npf-sheet-cta.secondary:hover,
.npf-sheet .npf-sheet-cta.secondary:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0F1729 !important;
}

.npf-sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 48px;
  background: var(--npf-bg);
}
.npf-sheet-section { margin-bottom: 28px; }
.npf-sheet-section:last-child { margin-bottom: 0; }
.npf-sheet-section h4 {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--npf-text-muted);
}
.npf-sheet-description {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--npf-text);
  margin: 0;
}
.npf-sheet-description.empty {
  font-style: italic;
  color: var(--npf-text-subtle);
  padding: 12px 14px;
  background: var(--npf-surface);
  border: 1px dashed var(--npf-border);
  border-radius: var(--npf-radius);
}
.npf-sheet-chip-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.npf-sheet-chip {
  padding: 6px 13px;
  background: var(--npf-accent-bg);
  border: 1px solid var(--npf-border-soft);
  color: var(--npf-accent-hover);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.npf-sheet-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.npf-sheet-info-row { font-size: 14px; }
.npf-sheet-info-row a {
  color: var(--npf-accent-hover) !important;
  text-decoration: none !important;
  word-break: break-all;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  transition: color 160ms !important;
}
.npf-sheet-info-row a:hover {
  color: var(--npf-accent) !important;
  text-decoration: underline !important;
  background: transparent !important;
}
.npf-sheet-empty-row {
  font-size: 13px;
  color: var(--npf-text-subtle);
  font-style: italic;
}

/* Leaflet overrides (scoped inside .npf-root) */
.npf-root .leaflet-container {
  background: var(--npf-surface-2);
  font-family: inherit;
}
.npf-root .leaflet-popup-content-wrapper {
  background: var(--npf-surface);
  color: var(--npf-text);
  border: 1px solid var(--npf-border);
  border-radius: var(--npf-radius);
  box-shadow: var(--npf-shadow-lg);
}
.npf-root .leaflet-popup-tip {
  background: var(--npf-surface);
  border: 1px solid var(--npf-border);
}
.npf-root .leaflet-popup-close-button {
  color: var(--npf-text-muted) !important;
}
.npf-root .leaflet-popup-close-button:hover {
  color: var(--npf-text) !important;
}
.npf-root .leaflet-popup-content {
  margin: 14px 16px;
  font-family: inherit;
  font-size: 13px;
  color: var(--npf-text);
}
.npf-root .npf-popup-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--npf-text-strong);
}
.npf-root .npf-popup-location {
  color: var(--npf-text-muted);
  margin-bottom: 10px;
}

/* Popup "View details" button */
.npf-root button.npf-popup-btn,
.npf-root .npf-popup-btn {
  background: var(--npf-btn) !important;
  color: #e8e8e8 !important;
  border: none !important;
  padding: 8px 14px !important;
  margin: 0 !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  cursor: pointer !important;
  font-family: inherit !important;
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: inline-block !important;
  transition: background 160ms !important;
}
.npf-root .npf-popup-btn:hover {
  background: var(--npf-btn-hover) !important;
  color: #fff !important;
}

/* Leaflet attribution */
.npf-root .leaflet-control-attribution {
  background: rgba(19, 27, 37, 0.85) !important;
  color: var(--npf-text-muted) !important;
  border: 1px solid var(--npf-border);
  border-right: none;
  border-bottom: none;
  padding: 2px 8px;
  font-size: 10px;
}
.npf-root .leaflet-control-attribution a {
  color: var(--npf-accent-hover) !important;
}

/* Zoom controls */
.npf-root .leaflet-bar {
  border: 1px solid var(--npf-border) !important;
  box-shadow: var(--npf-shadow) !important;
}
.npf-root .leaflet-bar a {
  background: var(--npf-surface) !important;
  color: var(--npf-text) !important;
  border-bottom-color: var(--npf-border) !important;
}
.npf-root .leaflet-bar a:hover {
  background: var(--npf-accent-bg) !important;
  color: var(--npf-accent-hover) !important;
}

/* Cluster markers */
.npf-root .marker-cluster {
  background-clip: padding-box;
  border-radius: 50%;
}
.npf-root .marker-cluster div {
  width: 30px; height: 30px;
  margin: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 12px 'Inter', sans-serif;
  color: #fff;
  letter-spacing: 0.02em;
}
.npf-root .marker-cluster-small {
  background-color: rgba(77, 137, 249, 0.35);
}
.npf-root .marker-cluster-small div {
  background-color: var(--npf-accent);
  box-shadow: 0 0 0 2px rgba(77, 137, 249, 0.3);
}
.npf-root .marker-cluster-medium {
  background-color: rgba(77, 137, 249, 0.45);
}
.npf-root .marker-cluster-medium div {
  background-color: var(--npf-btn);
  box-shadow: 0 0 0 2px rgba(77, 137, 249, 0.35);
}
.npf-root .marker-cluster-large {
  background-color: rgba(4, 68, 211, 0.5);
}
.npf-root .marker-cluster-large div {
  background-color: #0338af;
  box-shadow: 0 0 0 2px rgba(4, 68, 211, 0.4);
}

/* Individual marker */
.npf-partner-marker {
  background: var(--npf-accent-hover);
  border: 2px solid var(--npf-bg);
  border-radius: 50%;
  width: 14px !important;
  height: 14px !important;
  box-shadow: 0 0 0 2px rgba(113, 161, 250, 0.3), 0 2px 6px rgba(0, 0, 0, 0.5);
}

/*  Responsive (mobile ≤ 1060px) */
@media (max-width: 1060px) {
    
    
/* Main wrap*/
.npf-root .npf-main-wrap {
  margin: 0 auto;
  margin-top:48px;
  margin-bottom:48px;
  width: 100%;
}

  .npf-root .npf-content-grid { grid-template-columns: 1fr; }

  .npf-root .npf-search-row { flex-wrap: wrap; gap: 10px; }
  .npf-root .npf-search-input-wrap { flex-basis: 100%; }
  .npf-root .npf-search-row .npf-view-toggle { flex: 1; }
  .npf-root .npf-search-row .npf-view-toggle button {
    flex: 1 !important;
    justify-content: center !important;
  }

  /* iOS Safari auto-zooms */
  .npf-root input.npf-search-input,
  .npf-root .npf-search-input {
    font-size: 16px !important;
    height: 46px !important;
  }

  /* Filter rail: collapsed by default on mobile */
  .npf-root .npf-filter-rail {
    position: static;
    max-height: none;
    padding: 0;
    overflow: visible;
  }
  .npf-root .npf-filter-rail-header {
    padding: 16px 20px;
    margin: 0;
    border-bottom: 1px solid var(--npf-border);
    cursor: pointer;
    user-select: none;
  }
  .npf-root .npf-filter-rail.collapsed .npf-filter-rail-header {
    border-bottom-color: transparent;
  }
  /* Mobile filter-rail header */
  .npf-root .npf-filter-rail-header h3 {
    flex: 0 0 auto;
  }
  .npf-root .npf-filter-rail-header .npf-clear-btn {
    margin-left: 12px !important;
    flex: 0 0 auto;
  }

  .npf-root .npf-filter-rail.collapsed .npf-filter-rail-header .npf-clear-btn:not(:disabled):not([disabled]) {
    display: inline-block !important;
  }
  .npf-root .npf-filter-rail-header::after {
    content: '';
    width: 10px; height: 10px;
    border-right: 2px solid var(--npf-text-muted);
    border-bottom: 2px solid var(--npf-text-muted);
    transform: rotate(45deg);
    margin-left: auto;
    margin-right: 4px;
    transition: transform 200ms;
    flex-shrink: 0;
  }
  .npf-root .npf-filter-rail.collapsed .npf-filter-rail-header::after {
    transform: rotate(-45deg);
    margin-bottom: -4px;
  }
  .npf-root .npf-filter-rail-body { padding: 16px 20px 20px; display: block; }
  .npf-root .npf-filter-rail.collapsed .npf-filter-rail-body { display: none; }

  .npf-root #npf-meta-bar { margin: 14px 0 10px; }
  .npf-root #npf-meta-bar .npf-results-count { font-size: 12.5px; }
  .npf-root #npf-meta-bar .npf-sort-select {
    height: 34px !important;
    font-size: 12.5px !important;
    padding: 0 30px 0 12px !important;
    background-size: 10px !important;
    max-width: 150px !important;
  }

  .npf-root .npf-results-area.npf-view-split #npf-map-container { height: 240px; }

  /* CARD LAYOUT on mobile */
  .npf-root .npf-partner-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 20px 16px !important;
    gap: 14px !important;
  }
  .npf-root .npf-partner-logo,
  .npf-root .npf-partner-logo-img {
    width: 56px; height: 56px; font-size: 14px;
  }
  .npf-root .npf-partner-body {
    width: 100%;
  }
  .npf-root .npf-partner-title-row {
    justify-content: flex-start !important;
  }
  .npf-root .npf-partner-location {
    justify-content: flex-start !important;
  }
  .npf-root .npf-partner-services {
    justify-content: flex-start !important;
  }
  .npf-root .npf-partner-description {
    text-align: left !important;
  }
  .npf-root .npf-partner-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }
  .npf-root .npf-partner-contacts {
    justify-content: flex-start !important;
  }

  .npf-sheet { width: 100vw; }
}/* End custom CSS */