.completed-items-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.completed-items-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 0 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.completed-items-heading strong {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--muted);
  font-size: 11px;
}

.completed-items-list {
  display: grid;
  gap: 10px;
}

.completed-items-list .item.done {
  opacity: .72;
}

.push-settings-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.push-settings-head h3 {
  margin: 0;
}

.push-settings-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.push-settings-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--primary) 14%, var(--surface));
  font-size: 20px;
}

.push-status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 42%, transparent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--muted) 9%, transparent);
}

.push-status-dot.active {
  background: #22c55e;
  box-shadow: 0 0 0 5px color-mix(in srgb, #22c55e 14%, transparent);
}

.push-settings-copy {
  margin: 16px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.push-settings-card > button {
  width: 100%;
}

.push-permission-note {
  padding: 12px 13px;
  border-radius: 14px;
  background: color-mix(in srgb, #f59e0b 12%, var(--surface));
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
}

.changelog-version-pill {
  min-width: 32px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--primary) 14%, var(--surface));
  color: var(--primary-strong);
  font-size: 10px;
  font-weight: 900;
}

.enhancement-changelog {
  z-index: 120;
  opacity: 0;
  transition: opacity .16s ease;
}

.enhancement-changelog.is-visible {
  opacity: 1;
}

.changelog-modal {
  max-height: min(86vh, 760px);
  overflow-y: auto;
}

.changelog-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.changelog-intro {
  margin: -2px 0 18px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.changelog-list {
  display: grid;
  gap: 14px;
}

.changelog-entry {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.changelog-entry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.changelog-entry-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.changelog-entry-head h3 {
  margin: 4px 0 0;
  font-size: 16px;
}

.changelog-entry-head > strong {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 13%, var(--surface));
  color: var(--primary-strong);
  font-size: 11px;
}

.changelog-entry ul {
  margin: 13px 0 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.changelog-entry li + li {
  margin-top: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .enhancement-changelog { transition: none; }
}
