.cpn-hero,
.cpn-client-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  margin-bottom: 18px;
  color: #102033;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5f7 100%);
  border: 1px solid #dce7ed;
  border-radius: 8px;
}

.cpn-hero h1,
.cpn-client-header h2,
.cpn-page-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.cpn-hero p {
  margin: 8px 0 0;
  color: #64748b;
}

.cpn-eyebrow {
  margin: 0 0 6px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cpn-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.cpn-tab {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: #334155;
  background: #fff;
  border: 1px solid #d8e1e8;
  border-radius: 6px;
}

.cpn-tab:hover {
  color: #0f172a;
  border-color: #9db5c9;
  text-decoration: none;
}

.cpn-stat-row {
  margin-bottom: 18px;
}

.cpn-stat {
  min-height: 112px;
  padding: 18px;
  background: #fff;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
}

.cpn-stat span {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.cpn-stat strong {
  display: block;
  margin-top: 10px;
  color: #0f172a;
  font-size: 34px;
  line-height: 1;
}

.cpn-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cpn-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 12px;
}

.cpn-url {
  max-width: 460px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cpn-preview,
.cpn-side-panel {
  display: flex;
  gap: 14px;
  padding: 16px;
  margin: 12px 0 18px;
  background: #f8fafc;
  border: 1px solid #dce7ed;
  border-radius: 8px;
}

.cpn-preview-icon,
.cpn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: #fff;
  background: #2563eb;
  border-radius: 8px;
}

.cpn-client-wrap {
  padding-top: 10px;
}

.cpn-list {
  display: grid;
  gap: 12px;
}

.cpn-notification {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #dce7ed;
  border-left-width: 4px;
  border-radius: 8px;
}

.cpn-notification.is-read {
  opacity: .74;
}

.cpn-notification.is-unread {
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.cpn-info { border-left-color: #2563eb; }
.cpn-success { border-left-color: #16a34a; }
.cpn-warning { border-left-color: #d97706; }
.cpn-danger { border-left-color: #dc2626; }

.cpn-body {
  flex: 1;
  min-width: 0;
}

.cpn-notification-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cpn-notification h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.cpn-notification time {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 12px;
}

.cpn-notification p {
  margin: 8px 0 12px;
  color: #475569;
}

.cpn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cpn-side-panel {
  display: block;
}

.cpn-big-count {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
}

.cpn-empty {
  padding: 28px;
  color: #64748b;
  text-align: center;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}

.cpn-menu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  color: #fff;
  background: #dc2626;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.cpn-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 420px;
  padding: 14px 16px;
  color: #0f172a;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
}

.cpn-consent button {
  flex: 0 0 auto;
  color: #fff;
  background: #2563eb;
  border: 0;
  border-radius: 6px;
  padding: 7px 12px;
}

@media (max-width: 767px) {
  .cpn-hero,
  .cpn-client-header,
  .cpn-notification-head {
    align-items: stretch;
    flex-direction: column;
  }
}
