.personal-memory-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.personal-memory-panel > p {
  margin: 0;
  line-height: 1.65;
}
.memory-policy {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
}
.personal-memory-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  line-height: 20px;
}
.personal-memory-summary::-webkit-details-marker {
  display: none;
}
.personal-memory-summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
.personal-memory-disclosure-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--native-muted, #666);
}
.personal-memory-disclosure-action .icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}
.personal-memory-disclosure[open] .personal-memory-disclosure-action .icon {
  transform: rotate(180deg);
}
.personal-memory-disclosure[open] .personal-memory-list {
  margin-top: 10px;
}
.personal-memory-list {
  display: grid;
  gap: 12px;
}
.personal-memory-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.personal-memory-row p {
  line-height: 1.65;
  white-space: pre-wrap;
}
.personal-memory-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.personal-memory-row .actions {
  margin-top: 10px;
}
.memory-empty {
  padding: 24px 12px;
  text-align: center;
  color: var(--muted);
}
@media (max-width: 600px) {
  .personal-memory-panel .actions {
    flex-wrap: wrap;
  }
  .personal-memory-row {
    padding: 12px;
  }
}
