/* =============================================================================
 * NS Partners Smart Chatbot — v1.9.0
 * Premium institutional finance UI. All classes prefixed nsp-chatbot / nsp-.
 * Inherits the site font-family. No external font, no CDN.
 * ============================================================================ */

.nsp-chatbot-root {
  --nsp-primary: #071a33;
  --nsp-primary-2: #0d2746;
  --nsp-primary-3: #030d1c;
  --nsp-accent: #b20d2b;
  --nsp-accent-2: #8c0b22;
  --nsp-gold: #c8a45d;
  --nsp-white: #ffffff;
  --nsp-ink: #0f1f36;
  --nsp-text: #2a3447;
  --nsp-muted: #5b6678;
  --nsp-soft: #f5f7fb;
  --nsp-soft-2: #eef1f7;
  --nsp-border: rgba(7, 26, 51, 0.10);
  --nsp-border-strong: rgba(7, 26, 51, 0.18);
  --nsp-shadow: 0 30px 80px rgba(2, 11, 24, .28);
  font-family: inherit;
  position: relative;
  z-index: 999999;
}

.nsp-chatbot-root *,
.nsp-chatbot-root *::before,
.nsp-chatbot-root *::after {
  box-sizing: border-box;
}

/* Visually-hidden state checkbox (CSS-only fallback) */
.nsp-chatbot-state {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* -------------------------------------------------------------------------
 * Launcher (floating button)
 * ---------------------------------------------------------------------- */
.nsp-chatbot-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 10px 20px 10px 10px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.14), transparent 34%),
    linear-gradient(135deg, var(--nsp-primary), var(--nsp-primary-3) 78%);
  color: #fff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .32);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, opacity .2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}

.nsp-chatbot-launcher::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px solid rgba(200, 164, 93, .14);
  pointer-events: none;
}

.nsp-chatbot-launcher:hover,
.nsp-chatbot-launcher:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .36);
  outline: none;
  filter: saturate(1.05);
}

.nsp-chatbot-launcher.is-hidden,
.nsp-chatbot-state:checked ~ .nsp-chatbot-launcher {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(.98);
}

.nsp-chatbot-launcher-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nsp-accent), var(--nsp-accent-2));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 22px rgba(178, 13, 43, .30);
}

.nsp-chatbot-launcher-icon svg {
  display: block;
}

.nsp-chatbot-launcher-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  min-width: 122px;
  text-align: left;
}

.nsp-chatbot-launcher-kicker {
  color: rgba(255, 255, 255, .60);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.nsp-chatbot-launcher-text {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
}

/* -------------------------------------------------------------------------
 * Panel
 * ---------------------------------------------------------------------- */
.nsp-chatbot-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 430px;
  max-width: calc(100vw - 32px);
  height: min(680px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  color: var(--nsp-ink);
  border: 1px solid var(--nsp-border);
  border-radius: 22px;
  box-shadow: var(--nsp-shadow);
  transform: translateY(18px) scale(.985);
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s ease, transform .26s ease;
  font-family: inherit;
}

.nsp-chatbot-panel.is-open,
.nsp-chatbot-state:checked ~ .nsp-chatbot-panel,
.nsp-chatbot-inline .nsp-chatbot-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.nsp-chatbot-inline .nsp-chatbot-panel {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: 100%;
  height: 650px;
}

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */
.nsp-chatbot-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(135deg, var(--nsp-primary), var(--nsp-primary-2) 58%, var(--nsp-primary-3));
  color: #fff;
}

.nsp-chatbot-header::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 164, 93, .55), transparent);
}

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

.nsp-chatbot-brand-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nsp-accent), var(--nsp-accent-2));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}

.nsp-chatbot-brand-text {
  min-width: 0;
}

.nsp-chatbot-header strong {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
}

.nsp-chatbot-brand-text span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1.3;
}

.nsp-chatbot-header-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nsp-chatbot-restart,
.nsp-chatbot-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
  font-family: inherit;
  padding: 0;
}

.nsp-chatbot-restart:hover,
.nsp-chatbot-restart:focus-visible,
.nsp-chatbot-close:hover,
.nsp-chatbot-close:focus-visible {
  background: rgba(255,255,255,.18);
  outline: none;
  border-color: rgba(255,255,255,.30);
}

.nsp-chatbot-close:hover,
.nsp-chatbot-close:focus-visible {
  transform: rotate(90deg);
}

/* -------------------------------------------------------------------------
 * Body / messages
 * ---------------------------------------------------------------------- */
.nsp-chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  background:
    linear-gradient(180deg, #f7f8fb, #ffffff 46%);
  scrollbar-width: thin;
  scrollbar-color: rgba(7, 26, 51, .25) transparent;
}

.nsp-chatbot-body::-webkit-scrollbar { width: 8px; }
.nsp-chatbot-body::-webkit-scrollbar-thumb { background: rgba(7, 26, 51, .22); border-radius: 999px; }

.nsp-chatbot-message {
  display: flex;
  margin: 0 0 12px;
  animation: nspMessageIn .22s ease;
}

@keyframes nspMessageIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nsp-chatbot-message.user {
  justify-content: flex-end;
}

.nsp-chatbot-bubble {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  color: var(--nsp-text);
  border: 1px solid var(--nsp-border);
  box-shadow: 0 8px 22px rgba(7, 26, 51, .06);
  font-size: 14.5px;
  line-height: 1.5;
}

.nsp-chatbot-bubble p {
  margin: 0 0 8px;
}
.nsp-chatbot-bubble p:last-child {
  margin-bottom: 0;
}
.nsp-chatbot-bubble strong { color: var(--nsp-primary); }

.nsp-chatbot-message.bot .nsp-chatbot-bubble {
  border-top-left-radius: 6px;
}

.nsp-chatbot-message.user .nsp-chatbot-bubble {
  background: linear-gradient(135deg, var(--nsp-primary), #0c294e);
  color: #fff;
  border-color: rgba(7, 26, 51, .08);
  border-top-right-radius: 6px;
}

.nsp-chatbot-message.user .nsp-chatbot-bubble strong { color: #fff; }

.nsp-chatbot-message.is-typing .nsp-chatbot-bubble {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nsp-chatbot-message.is-typing span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nsp-accent);
  opacity: .45;
  animation: nspTyping 1s infinite ease-in-out;
}
.nsp-chatbot-message.is-typing span:nth-child(2) { animation-delay: .12s; }
.nsp-chatbot-message.is-typing span:nth-child(3) { animation-delay: .24s; }

@keyframes nspTyping {
  0%, 80%, 100% { transform: translateY(0); opacity: .35; }
  40%           { transform: translateY(-4px); opacity: 1; }
}

/* -------------------------------------------------------------------------
 * Quick actions / buttons
 * ---------------------------------------------------------------------- */
.nsp-chatbot-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.nsp-chatbot-quick-actions button,
.nsp-result-actions button,
.nsp-result-actions a,
.nsp-contact-trigger,
.nsp-contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--nsp-border-strong);
  border-radius: 999px;
  padding: 9px 14px;
  background: #fff;
  color: var(--nsp-primary);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  font-family: inherit;
  letter-spacing: .01em;
}

.nsp-chatbot-quick-actions button:hover,
.nsp-chatbot-quick-actions button:focus-visible,
.nsp-result-actions button:hover,
.nsp-result-actions button:focus-visible,
.nsp-result-actions a:hover,
.nsp-result-actions a:focus-visible {
  background: var(--nsp-primary);
  border-color: var(--nsp-primary);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

/* Primary action — red NS Partners accent */
.nsp-result-actions a.nsp-btn-primary {
  background: linear-gradient(135deg, var(--nsp-accent), var(--nsp-accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(178, 13, 43, .22);
}
.nsp-result-actions a.nsp-btn-primary:hover,
.nsp-result-actions a.nsp-btn-primary:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: #fff;
  border-color: transparent;
}

/* -------------------------------------------------------------------------
 * Input
 * ---------------------------------------------------------------------- */
.nsp-chatbot-input {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border-top: 1px solid var(--nsp-border);
}

.nsp-chatbot-input input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--nsp-border-strong);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--nsp-ink);
  background: #fff;
  font: inherit;
  /* 16px prevents iOS auto-zoom on focus */
  font-size: 16px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.nsp-chatbot-input input:focus {
  border-color: rgba(178, 13, 43, .55);
  box-shadow: 0 0 0 3px rgba(178, 13, 43, .10);
}

.nsp-chatbot-input button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--nsp-accent), var(--nsp-accent-2));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(178, 13, 43, .22);
  transition: filter .18s ease, transform .18s ease;
  font-family: inherit;
}
.nsp-chatbot-input button:hover,
.nsp-chatbot-input button:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
  outline: none;
}

/* -------------------------------------------------------------------------
 * Footer (compliance disclaimer)
 * ---------------------------------------------------------------------- */
.nsp-chatbot-footer {
  padding: 11px 16px 14px;
  background: var(--nsp-soft);
  color: var(--nsp-muted);
  border-top: 1px solid var(--nsp-border);
  font-size: 11.5px;
  line-height: 1.45;
}

/* -------------------------------------------------------------------------
 * Result cards
 * ---------------------------------------------------------------------- */
.nsp-result-section {
  margin-top: 14px;
}

.nsp-result-section > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--nsp-primary);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.nsp-result-card {
  position: relative;
  margin: 8px 0;
  padding: 14px 14px 14px 22px;
  border: 1px solid var(--nsp-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(7, 26, 51, .045);
}

.nsp-result-card::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--nsp-accent), var(--nsp-gold));
  opacity: .85;
}

.nsp-result-card h4 {
  margin: 4px 0 6px;
  color: var(--nsp-primary);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.25;
}
.nsp-result-card h4 a {
  color: inherit;
  text-decoration: none;
}
.nsp-result-card h4 a:hover { color: var(--nsp-accent); }

.nsp-result-card p {
  margin: 0 0 10px;
  color: var(--nsp-text);
  font-size: 13.5px;
  line-height: 1.5;
}

.nsp-result-kicker {
  color: var(--nsp-accent);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .085em;
}

.nsp-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 8px;
  color: var(--nsp-muted);
  font-size: 12.5px;
}
.nsp-result-meta strong { color: var(--nsp-primary); font-weight: 700; }

/* Person card meta (role · office · department) */
.nsp-result-person .nsp-result-meta {
  gap: 4px 10px;
  margin-bottom: 8px;
}
.nsp-result-person .nsp-result-meta span {
  position: relative;
  padding-right: 10px;
  color: var(--nsp-primary);
  font-weight: 600;
}
.nsp-result-person .nsp-result-meta span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: 0;
  color: var(--nsp-muted);
  font-weight: 400;
}

/* Source page line under a linked document */
.nsp-result-source {
  margin: 0 0 8px !important;
  color: var(--nsp-muted) !important;
  font-size: 12.5px !important;
}
.nsp-result-source a {
  color: var(--nsp-primary);
  text-decoration: none;
  border-bottom: 1px dotted rgba(7, 26, 51, .25);
}
.nsp-result-source a:hover { color: var(--nsp-accent); border-color: var(--nsp-accent); }

.nsp-result-disclaimer {
  margin: 6px 0 0;
  padding: 8px 10px;
  border-left: 2px solid var(--nsp-gold);
  background: rgba(200, 164, 93, .06);
  color: var(--nsp-muted);
  font-size: 12.5px;
}

.nsp-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.nsp-result-fallback {
  margin-top: 12px;
}

.nsp-contact-trigger {
  width: 100%;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--nsp-primary), #0a2445);
  border-color: transparent;
  color: #fff;
}
.nsp-contact-trigger:hover,
.nsp-contact-trigger:focus-visible {
  background: linear-gradient(135deg, var(--nsp-primary-2), #0a2445);
  color: #fff;
  border-color: transparent;
  outline: none;
}

/* -------------------------------------------------------------------------
 * Contact form
 * ---------------------------------------------------------------------- */
.nsp-contact-form h4 {
  margin: 0 0 6px;
  color: var(--nsp-primary);
  font-size: 16px;
  font-weight: 700;
}

.nsp-contact-form p {
  margin: 0 0 10px;
  color: var(--nsp-muted);
  font-size: 13px;
}

.nsp-contact-form label {
  display: block;
  margin: 10px 0;
  color: var(--nsp-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.nsp-contact-form input,
.nsp-contact-form select,
.nsp-contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--nsp-border-strong);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--nsp-ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.nsp-contact-form input:focus,
.nsp-contact-form select:focus,
.nsp-contact-form textarea:focus {
  border-color: rgba(178, 13, 43, .55);
  box-shadow: 0 0 0 3px rgba(178, 13, 43, .10);
}

.nsp-contact-form textarea {
  resize: vertical;
  min-height: 96px;
}

.nsp-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600 !important;
  line-height: 1.4;
}
.nsp-checkbox input {
  flex: 0 0 auto;
  width: auto;
  margin-top: 2px;
}
.nsp-checkbox span { flex: 1; }

.nsp-contact-form button[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, var(--nsp-accent), var(--nsp-accent-2));
  color: #fff;
  border-color: transparent;
  font-size: 14px;
  min-height: 44px;
}
.nsp-contact-form button[type="submit"]:hover,
.nsp-contact-form button[type="submit"]:focus-visible {
  filter: brightness(1.05);
  color: #fff;
  border-color: transparent;
  outline: none;
}

.nsp-contact-form button[disabled] {
  opacity: .65;
  cursor: not-allowed;
}

.nsp-success,
.nsp-error {
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
}

.nsp-success {
  background: #ecf8f1;
  color: #126439;
  border: 1px solid rgba(18, 100, 57, .16);
}

.nsp-error {
  margin-bottom: 10px;
  background: #fff1f3;
  color: #8a132a;
  border: 1px solid rgba(138, 19, 42, .16);
}

.nsp-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 1px !important;
  width: 1px !important;
}

/* -------------------------------------------------------------------------
 * Mobile
 * ---------------------------------------------------------------------- */
@media (max-width: 640px) {
  .nsp-chatbot-launcher {
    right: 14px;
    bottom: 14px;
    max-width: calc(100vw - 28px);
    min-height: 56px;
    padding-right: 16px;
  }

  .nsp-chatbot-launcher-copy {
    min-width: 112px;
  }

  .nsp-chatbot-panel {
    right: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .nsp-chatbot-header {
    padding: 14px 14px;
  }
  .nsp-chatbot-header strong { font-size: 16px; }

  .nsp-chatbot-body {
    padding: 14px;
  }

  .nsp-chatbot-bubble {
    max-width: 96%;
    font-size: 14.5px;
  }

  .nsp-chatbot-input {
    padding: 12px;
    /* Keep input visible above iOS keyboard */
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .nsp-chatbot-footer {
    font-size: 11px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .nsp-result-card {
    padding-left: 20px;
  }
}

/* Compact result cards (website results) */
.nsp-result-card.small {
  padding-top: 10px;
  padding-bottom: 10px;
}
.nsp-result-card.small h4 { font-size: 14.5px; }
.nsp-result-card.small p  { font-size: 13px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nsp-chatbot-launcher,
  .nsp-chatbot-panel,
  .nsp-chatbot-message,
  .nsp-chatbot-close,
  .nsp-chatbot-restart,
  .nsp-chatbot-quick-actions button,
  .nsp-result-actions button,
  .nsp-result-actions a,
  .nsp-contact-form button[type="submit"],
  .nsp-chatbot-input button {
    transition: none !important;
    animation: none !important;
  }
}

/* People directory controls — v1.5 */
.nsp-people-menu p {
  margin: 0 0 12px;
  color: #4d5968;
  font-size: 14px;
  line-height: 1.45;
}
.nsp-people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.nsp-people-grid button,
.nsp-people-grid a,
.nsp-people-name-form button {
  border: 1px solid rgba(7, 26, 51, .14);
  background: #fff;
  color: var(--nsp-primary, #071a33);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(7, 26, 51, .05);
}
.nsp-people-grid button:hover,
.nsp-people-grid a:hover,
.nsp-people-name-form button:hover {
  border-color: rgba(178, 13, 43, .28);
  color: #fff;
  background: linear-gradient(135deg, var(--nsp-primary, #071a33), var(--nsp-accent, #b20d2b));
}
.nsp-people-name-form {
  display: grid;
  gap: 10px;
}
.nsp-people-name-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #344052;
}
.nsp-people-name-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(7, 26, 51, .15);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: var(--nsp-primary, #071a33);
  font: inherit;
  outline: none;
}
.nsp-people-name-form input:focus {
  border-color: var(--nsp-accent, #b20d2b);
  box-shadow: 0 0 0 3px rgba(178, 13, 43, .12);
}
@media (max-width: 520px) {
  .nsp-people-grid { grid-template-columns: 1fr; }
  .nsp-people-grid button,
  .nsp-people-grid a,
  .nsp-people-name-form button { min-height: 42px; }
}

/* Temporary highlight when opening a team profile anchor from the chatbot. */
.nsp-profile-anchor-highlight {
  outline: 2px solid rgba(178, 13, 43, 0.75) !important;
  outline-offset: 8px !important;
  transition: outline-color 0.25s ease, outline-offset 0.25s ease;
}

/* Fund picker — Asset Management / Our Strategies */
.nsp-fund-picker {
  display: grid;
  gap: 14px;
}
.nsp-fund-picker-group {
  display: grid;
  gap: 8px;
}
.nsp-fund-picker-group > strong {
  display: block;
  color: var(--nsp-primary, #071a33);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.nsp-fund-grid button {
  border-radius: 14px;
  text-align: left;
  justify-content: flex-start;
  min-height: 42px;
}
