/* The bell panel's app cards: one collapsed row per sending app, and an
   inline expanded item list below it. Split out of notification-items.css
   (itself already split from notifications.css) so every notification
   source file stays under the 300-line gate. */

.notification-group-list {
  margin: 0;
  padding: 6px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notification-group {
  border-radius: 11px;
}

.notification-group.is-expanded {
  background: var(--desktop-surface-strong);
}

.notification-group-summary {
  width: 100%;
  display: grid;
  grid-template-columns: 26px 1fr 15px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 10px 8px 8px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.notification-group-summary:hover {
  background: var(--desktop-surface-strong);
}

/* Shrinking the box alone left the (unscaled) 26px glyph nearly filling a
   28px box — every icon read as slightly too heavy and inconsistently
   cropped depending on its own shape. Scaling the glyph down with it keeps
   the same padding ratio the full-size app icon uses everywhere else. */
.notification-group-summary .desktop-app-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.notification-group-summary .desktop-app-icon svg {
  width: 15px;
  height: 15px;
}

.notification-group-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.notification-group-top {
  display: flex;
  align-items: center;
  gap: 7px;
}

.notification-group-top strong {
  font-size: 12.5px;
  font-weight: 600;
}

.notification-group-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 8px;
  background: #00a9bf;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

:root[data-alyssiun-atmosphere="neo"] .notification-group-badge {
  background: #00e5ff;
  color: #04161a;
}

.notification-group-latest {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  color: var(--desktop-muted);
  font-size: 11.5px;
}

.notification-group-latest-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.notification-group-latest-time {
  flex: none;
}

.notification-group-chevron {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--desktop-muted);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.notification-group.is-expanded .notification-group-chevron {
  transform: rotate(90deg);
}

.notification-group-items {
  margin: 0;
  padding: 0 6px 6px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
