.pn-wrap { position: relative; display:inline-block; }
.pn-bell {
  display:flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.4rem .6rem; border-radius:9999px; cursor:pointer; user-select:none;
}
.pn-badge {
  min-width: 1.25rem; height:1.25rem; line-height:1.25rem;
  font-size:.75rem; text-align:center; color:#fff; background:#e11d48;
  border-radius:9999px; padding:0 .3rem; margin-left:.25rem; display:none;
}
.pn-dropdown {
  position:absolute; right:0; top:calc(100% + .5rem); width:min(420px, 90vw);
  background:#fff; border:1px solid #e5e7eb; border-radius:.75rem;
  box-shadow:0 8px 30px rgba(0,0,0,.08); display:none; z-index:4000;
}
.pn-head {
  display:flex; align-items:center; justify-content:space-between;
  padding:.7rem .9rem; border-bottom:1px solid #f1f5f9; gap:.5rem;
}
.pn-title { font-weight:600; font-size:.95rem; }
.pn-actions { display:flex; gap:.5rem; }
.pn-btn {
  font-size:.8rem; padding:.35rem .6rem; border-radius:.5rem; border:1px solid #e5e7eb;
  background:#fff; cursor:pointer;
}
.pn-btn:hover { background:#f8fafc; }
.pn-list { max-height: 380px; overflow:auto; }
.pn-empty { padding:1rem; color:#6b7280; text-align:center; }
.pn-item {
  display:flex; gap:.75rem; padding:.75rem .9rem; border-bottom:1px solid #f1f5f9;
}
.pn-item:last-child { border-bottom:none; }
.pn-dot {
  width:.6rem; height:.6rem; border-radius:9999px; margin-top:.35rem;
  background:#e2e8f0;
}
.pn-item.unread .pn-dot { background:#22c55e; }
.pn-body { flex:1; }
.pn-titleline { display:flex; align-items:center; justify-content:space-between; gap:.5rem; }
.pn-msgtitle { font-weight:600; font-size:.92rem; }
.pn-time { font-size:.75rem; color:#64748b; white-space:nowrap; }
.pn-text { margin:.25rem 0 .5rem; color:#334155; font-size:.9rem; line-height:1.35; }
.pn-cta { display:flex; gap:.5rem; }
.pn-cta .pn-btn-primary {
  border-color:#2563eb; background:#2563eb; color:#fff;
}
.pn-cta .pn-btn-primary:hover { background:#1d4ed8; }

.pn-toast {
  position:fixed; right:1rem; bottom:1rem; width:min(360px, 92vw);
  background:#fff; border:1px solid #e5e7eb; border-radius:.75rem;
  box-shadow:0 12px 40px rgba(0,0,0,.12); display:none; z-index:5000;
}
.pn-toast .pn-item { border-bottom:none; }

.pn-tabs {
  display: inline-flex;
  gap: .4rem;
  background: #f1f5f9;
  border-radius: 9999px;
  padding: .25rem;
}

.pn-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #6b7280;
  padding: .35rem .6rem;
  border-radius: 9999px;
  font-size: .8rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.pn-tab:hover { color: #0f172a; }
.pn-tab.pn-tab-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), inset 0 0 0 1px #e5e7eb;
}

.pn-badge-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 9px;
  font-size: 11px;
  background: #e5e7eb;
  color: #111827;
}

.pn-pane { padding: .5rem; }