The file /Users/neog/Apps/macOS/PredictiveHistory-macOS/Features/Study/StudyView.swift has been updated. Here's the result of running `cat -n` on a snippet of the edited file: 120→ } 121→ } 122→ } 123→ 124→ private var compactHeader: some View { 125→ HStack(spacing: 12) { 126→ // Order badge with status 127→ ZStack { 128→ RoundedRectangle(cornerRadius: 8) 129→ .fill(progress.isWatched ? Color.green.opacity(0.15) : Color.secondary.opacity(0.1)) 130→ .frame(width: 44, height: 44) 131→ 132→ VStack(spacing: 2) { 133→ if progress.isWatched { 134→ Image(systemName: "checkmark.circle.fill") 135→ .font(.caption) 136→ .foregroundStyle(.green) 137→ } 138→ Text("#\(video.order)") 139→ .font(.subheadline.monospaced().bold()) 140→ .foregroundStyle(progress.isWatched ? .green : .secondary) 141→ } 142→ } 143→ 144→ // Title and meta 145→ VStack(alignment: .leading, spacing: 4) { 146→ Text(video.title) 147→ .font(.headline) 148→ .lineLimit(1) 149→ 150→ HStack(spacing: 10) { 151→ // Duration with icon 152→ HStack(spacing: 4) { 153→ Image(systemName: "clock") 154→ Text(video.duration) 155→ } 156→ 157→ // Views 158→ HStack(spacing: 4) { 159→ Image(systemName: "eye") 160→ Text(video.views) 161→ } 162→ 163→ // Series badge 164→ Text(video.series) 165→ .font(.caption.weight(.medium)) 166→ .padding(.horizontal, 8) 167→ .padding(.vertical, 3) 168→ .background( 169→ Capsule() 170→ .fill(Series.from(video.series).color.opacity(0.15)) 171→ ) 172→ .foregroundStyle(Series.from(video.series).color) 173→ 174→ // Transcript status 175→ if !transcript.isEmpty { 176→ HStack(spacing: 3) { 177→ Image(systemName: "doc.text.fill") 178→ Text("Transcript") 179→ } 180→ .foregroundStyle(.green) 181→ } 182→ } 183→ .font(.caption) 184→ .foregroundStyle(.secondary) 185→ } 186→ 187→ Spacer() 188→ 189→ // Quick actions 190→ HStack(spacing: 8) { 191→ // Notes toggle 192→ Button { 193→ withAnimation(.spring(response: 0.3)) { showNotes.toggle() } 194→ } label: { 195→ Image(systemName: showNotes ? "note.text.badge.plus" : "note.text") 196→ .font(.body) 197→ .foregroundStyle(showNotes ? Color.accentColor : Color.secondary) 198→ .frame(width: 28, height: 28) 199→ .background( 200→ RoundedRectangle(cornerRadius: 6) 201→ .fill(showNotes ? Color.accentColor.opacity(0.1) : Color.clear) 202→ ) 203→ } 204→ .buttonStyle(.plain) 205→ .help("Toggle notes") 206→ } 207→ } 208→ .padding(.horizontal, 14) 209→ .padding(.vertical, 10) 210→ .background(Color.secondary.opacity(0.03)) 211→ } 212→ 213→ private var noVideoPlaceholder: some View { 214→ VStack(spacing: 12) { 215→ Image(systemName: "play.slash")