/* HDH pilot banner + profile share card */

.hdh-pilot-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(90deg, #f0f9ff 0%, #f8fafc 100%);
  border-bottom: 1px solid #bae6fd;
  color: #0c4a6e;
  font-size: 0.875rem;
  line-height: 1.4;
  position: relative;
  z-index: 40;
}

.hdh-pilot-banner__pill {
  flex: 0 0 auto;
  background: #0284c7;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  margin-top: 0.1rem;
}

.hdh-pilot-banner__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.hdh-pilot-banner__text strong {
  font-weight: 700;
}

.hdh-pilot-banner__close {
  margin-left: auto;
  border: none;
  background: transparent;
  color: #0369a1;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.15rem;
}

.hdh-pilot-banner__close:hover {
  color: #0c4a6e;
}

.hdh-pilot-share-slot {
  margin: 1rem 0 0;
}

.hdh-pilot-share-slot--action {
  margin: 0;
  grid-column: 1 / -1;
}

.hdh-pilot-share-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hdh-pilot-share-card__body {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.hdh-pilot-share-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hdh-pilot-share-card strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
}

.hdh-pilot-share-card p {
  margin: 0.15rem 0 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.4;
}

.hdh-pilot-share-card__btn {
  border: none;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.hdh-pilot-share-card__btn:hover {
  background: #1e293b;
}

@media (max-width: 640px) {
  .hdh-pilot-banner {
    font-size: 0.8rem;
    padding: 0.55rem 0.75rem;
  }

  .hdh-pilot-share-card__btn {
    width: 100%;
    justify-content: center;
  }
}

/* Dark mode — pilot-banner / share-card */
body.dark-mode .hdh-pilot-banner {
  background: linear-gradient(90deg, #0c4a6e 0%, #0f172a 100%);
  border-bottom-color: #075985;
  color: #e0f2fe;
}

body.dark-mode .hdh-pilot-banner__pill {
  background: #38bdf8;
  color: #0f172a;
}

body.dark-mode .hdh-pilot-share-card {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

body.dark-mode .hdh-pilot-share-card p {
  color: #94a3b8;
}

body.dark-mode .hdh-pilot-share-card__btn {
  background: #e2e8f0;
  color: #0f172a;
}

body.dark-mode .hdh-pilot-share-card__btn:hover {
  background: #f8fafc;
}
