.file-folder {
  margin: 8px 0 2px;
  padding: 4px 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-family: var(--font-mono, monospace);
}

.image-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font-size: 12px;
  word-break: break-all;
}

.image-item:hover {
  background: var(--surface-2);
}

.image-item.active {
  border-color: var(--accent);
  background: rgba(139, 92, 246, 0.14);
}

.image-dot {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.image-asset-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.58);
}

.image-asset-panel {
  width: min(720px, 100%);
  max-height: min(760px, 92dvh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

.image-asset-head,
.image-asset-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.image-asset-actions {
  justify-content: flex-end;
  border-top: 1px solid var(--border);
  border-bottom: none;
}

.image-asset-body {
  min-height: 0;
  overflow: auto;
  padding: 12px;
}

.image-asset-body img {
  display: block;
  width: min(100%, 520px);
  max-height: 56dvh;
  object-fit: contain;
  margin: 0 auto 12px;
  border-radius: 8px;
}

.image-asset-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
}
