.process-card {
  align-self: flex-start;
  width: min(100%, 720px);
  max-width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 16px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 12px;
  line-height: 1.45;
}

.process-card summary {
  min-height: 42px;
  padding: 5px 4px 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  border-radius: 14px;
}

.process-card summary:hover { background: var(--aura-wash); }
.process-card summary::-webkit-details-marker { display: none; }

.process-card summary::before {
  width: 18px;
  flex: 0 0 18px;
  content: "›";
  color: var(--mist);
  font-size: 16px;
  text-align: center;
  transform: rotate(0deg);
  transition: transform .16s ease;
}

.process-card[open] summary::before { transform: rotate(90deg); }
.process-avatar { width: 26px; height: 26px; flex: 0 0 26px; font-size: 9.5px; }

.process-title {
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
}

.process-latest {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: var(--ink-soft);
  font-weight: 450;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.process-meta {
  flex: 0 0 auto;
  color: var(--mist);
  font-size: 10.5px;
  font-weight: 520;
  white-space: nowrap;
}

.process-lines {
  max-height: 160px;
  margin: 2px 0 6px 48px;
  padding: 8px 12px;
  display: grid;
  gap: 7px;
  overflow: auto;
  border-left: 1px solid var(--hairline);
  color: var(--ink-soft);
}

.process-line { overflow-wrap: anywhere; }

@media (max-width: 560px) {
  .process-card { width: 100%; }
  .process-meta { display: none; }
  .process-title { max-width: 74px; overflow: hidden; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
  .process-card summary::before { transition: none; }
}
