/* Header messages / notifications preview dropdowns */
.pb-header-dd { position: relative; display: inline-flex; }
.pb-header-dd-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(360px, 92vw);
  max-height: min(70vh, 420px);
  overflow: auto;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.16);
  z-index: 1200;
}
.pb-header-dd.is-open .pb-header-dd-panel { display: block; }
.pb-dd-head {
  padding: 12px 14px 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6b7280;
  border-bottom: 1px solid #f3f4f6;
}
.pb-dd-list { padding: 4px 0; }
.pb-dd-empty {
  padding: 20px 16px;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}
.pb-dd-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 14px;
  text-decoration: none;
  color: #111827;
  border-left: 3px solid transparent;
}
.pb-dd-item:hover { background: #f9fafb; }
.pb-dd-item.is-unread {
  background: #fff7f8;
  border-left-color: #ff385c;
}
.pb-dd-item-main { flex: 1; min-width: 0; }
.pb-dd-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pb-dd-body {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.35;
  max-height: 2.7em;
  overflow: hidden;
}
.pb-dd-time {
  flex-shrink: 0;
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
}
.pb-dd-foot {
  display: block;
  padding: 12px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #ff385c;
  text-decoration: none;
  border-top: 1px solid #f3f4f6;
}
.pb-dd-foot:hover { background: #fff5f7; }
