{activeScope===null&&
No scope — showing all items
}
{activeScope==="Project"&&
{projects.map((p,i)=>{setActiveProjIdx(i);setNoProject(false)}} style={{display:"flex",alignItems:"center",gap:6,width:"100%",padding:"4px 8px",borderRadius:R.sm,border:"none",cursor:"pointer",backgroundColor:!noProject&&activeProjIdx===i?c.accentBtn+"10":"transparent",fontFamily:font.sans,textAlign:"left"}}>{p.name} )}
setNoProject(true)} style={{display:"flex",alignItems:"center",gap:6,width:"100%",padding:"4px 8px",border:"none",cursor:"pointer",backgroundColor:noProject?c.accentBtn+"10":"transparent",fontFamily:font.sans,borderRadius:R.sm}}>No Project
}
{activeScope==="Folders"&&
Folders {setNewFolderMode({parent:null});setNewFolderName("")}} style={{padding:"1px 6px",borderRadius:R.sm,border:`1px solid ${c.border}`,backgroundColor:"transparent",cursor:"pointer",fontSize:9,color:c.accentBtn,fontFamily:font.sans,display:"flex",alignItems:"center",gap:2}}>New
{newFolderMode&&newFolderMode.parent===null&&
setNewFolderName(e.target.value)} placeholder="Folder name…" onKeyDown={e=>{if(e.key==="Enter")createFolder(null);if(e.key==="Escape"){setNewFolderMode(null);setNewFolderName("")}}} style={{flex:1,border:`1px solid ${c.accentBtn}40`,borderRadius:3,padding:"2px 6px",fontSize:11,fontFamily:font.sans,outline:"none",backgroundColor:c.bgCard}}/>
}
{renderFolderTree(null,0,false)}
}
{activeScope==="Notes"&&
Note Folders
{renderNoteFolders(null,0)}
}
{activeScope==="Saved Views"&&
Saved Views
{savedViews.map(sv=>
setActiveSavedView(activeSavedView===sv.id?null:sv.id)} style={{display:"flex",alignItems:"center",gap:6,width:"100%",padding:"4px 8px",borderRadius:R.sm,border:"none",cursor:"pointer",backgroundColor:activeSavedView===sv.id?c.accentBtn+"10":"transparent",fontFamily:font.sans,textAlign:"left"}}>{sv.name} built-in )}
{userSavedViews.map(sv=>
{sv.name} )}
}
{activeScope&&!["Project","Folders","Saved Views","Notes","Collection","Bucket","Places"].includes(activeScope)&&
{activeScope}…
}
{const sY=e.clientY,sP=splitterPos;const m=ev=>setSplitterPos(Math.max(60,Math.min(250,sP+(ev.clientY-sY))));const u=()=>{document.removeEventListener("mousemove",m);document.removeEventListener("mouseup",u)};document.addEventListener("mousemove",m);document.addEventListener("mouseup",u)}}>
{/* Folder overlay */}
{folderOverlay&&activeScope!=="Folders"&&
Drag items to folders setFolderOverlay(false)} style={{border:"none",backgroundColor:"transparent",cursor:"pointer",display:"flex",color:c.textTer}}>
{renderFolderTree(null,0,true)}
}
{/* Type chips */}
{typeChips.map(t=>toggleType(t)} style={{padding:"1px 6px",borderRadius:3,border:`1px solid ${activeTypes.has(t)?c.accentBtn+"50":c.borderLight}`,backgroundColor:activeTypes.has(t)?c.accentBtn+"10":"transparent",fontSize:9.5,fontWeight:activeTypes.has(t)?600:400,color:activeTypes.has(t)?c.accentBtn:c.textTer,cursor:"pointer",fontFamily:font.sans,height:18}}>{t} )}
{activeTypes.size>0&&setActiveTypes(new Set())} style={{padding:"1px 6px",borderRadius:3,border:"none",cursor:"pointer",fontSize:9,color:c.textTer,fontFamily:font.sans,height:18}}>clear }
{/* Filter/Sort bar */}
{filtered.length} items
flash("Save view…")} title="Save view" style={{padding:2,border:"none",cursor:"pointer",backgroundColor:"transparent",display:"flex",color:c.textTer}}>
{e.stopPropagation();setSortDrop(!sortDrop)}}>{sortKey} ▾
{sortDrop&&
e.stopPropagation()} style={{position:"absolute",top:16,right:0,backgroundColor:c.bgCard,border:`1px solid ${c.border}`,borderRadius:R.sm,boxShadow:"0 4px 12px rgba(0,0,0,0.1)",zIndex:50,minWidth:120,padding:3}}>
{sortOptions.map(s=>{setSortKey(s);setSortDrop(false)}} style={{display:"block",width:"100%",padding:"5px 10px",border:"none",cursor:"pointer",backgroundColor:s===sortKey?c.accentBtn+"08":"transparent",fontSize:11,color:s===sortKey?c.accentBtn:c.textPri,textAlign:"left",borderRadius:R.sm,fontFamily:font.sans,fontWeight:s===sortKey?600:400}}>{s}{s===sortKey&&" ✓"} )}
}
{/* Results */}
{filtered.map((item,i)=>
setDragItem(item.title)} onDragEnd={()=>setDragItem(null)} onClick={()=>setSelectedIdx(i)} style={{display:"flex",alignItems:"center",gap:6,padding:"6px 8px",height:32,borderBottom:`1px solid ${c.borderLight}`,cursor:folderOverlay?"grab":"pointer",backgroundColor:selectedIdx===i?c.accentBtn+"08":"transparent"}} onMouseEnter={e=>{if(selectedIdx!==i)e.currentTarget.style.backgroundColor=c.bgPanelAlt}} onMouseLeave={e=>{if(selectedIdx!==i)e.currentTarget.style.backgroundColor="transparent"}}>
{item.pin&&}
{item.title}
{item.st&&{item.st} }
{item.type}
{item.time}
)}
{filtered.length===0&&
No items match
}
{/* Browser footer */}
{activeScope?{activeScope} :All }
{activeScope==="Project"&&!noProject&&· {projects[activeProjIdx].name} }
{selectedCollections.size>0&&· {[...selectedCollections].join(", ")} }
{activeTypes.size>0&&· {[...activeTypes].join(", ")} }
{folderOverlay&&· 📁 Folders }
{sortKey}
{/* Resize handle */}
{const sX=e.clientX,sW=browserWidth;const m=ev=>setBrowserWidth(Math.max(200,Math.min(400,sW+(ev.clientX-sX))));const u=()=>{document.removeEventListener("mousemove",m);document.removeEventListener("mouseup",u)};document.addEventListener("mousemove",m);document.addEventListener("mouseup",u)}}/>
}
{/* ═══ MAIN WORKSPACE ═══ */}
{/* ═══ TAB BAR ═══ */}
{/* Browser toggle */}
setBrowserOpen(!browserOpen)} title={browserOpen?"Hide browser (⌘B)":"Show browser (⌘B)"} style={{width:28,height:28,borderRadius:"6px 6px 0 0",border:"none",backgroundColor:browserOpen?c.bgPanel:"transparent",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:browserOpen?c.accentBtn:c.textTer,marginRight:4}} onMouseEnter={e=>{if(!browserOpen)e.currentTarget.style.backgroundColor="#d0d3d8"}} onMouseLeave={e=>{if(!browserOpen)e.currentTarget.style.backgroundColor="transparent"}}>
{/* Tabs */}
{tabs.map(tab=>
setActiveTabId(tab.id)} onContextMenu={e=>{e.preventDefault();setTabContextMenu({x:e.clientX,y:e.clientY,tabId:tab.id})}} style={{display:"flex",alignItems:"center",gap:5,padding:"0 10px",height:32,minWidth:100,maxWidth:200,borderRadius:"8px 8px 0 0",backgroundColor:tab.id===activeTabId?c.bgPanel:"#e8eaed",borderBottom:tab.id===activeTabId?`2.5px solid ${tab.color}`:`1px solid ${c.border}`,cursor:"pointer",position:"relative",flexShrink:1,overflow:"hidden"}}>
{tab.icon}
{tab.title}
{e.stopPropagation();closeTab(tab.id)}} style={{cursor:"pointer",display:"flex",opacity:tab.id===activeTabId?1:0,padding:2,borderRadius:3,flexShrink:0}} onMouseEnter={e=>e.currentTarget.style.backgroundColor=c.bgInput} onMouseLeave={e=>e.currentTarget.style.backgroundColor="transparent"}>
)}
{/* [+] new tab dropdown */}
{e.stopPropagation();setNewTabDrop(!newTabDrop)}} style={{width:28,height:28,borderRadius:"6px 6px 0 0",border:"none",backgroundColor:"transparent",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:c.textTer,marginBottom:2}} onMouseEnter={e=>e.currentTarget.style.backgroundColor="#d0d3d8"} onMouseLeave={e=>e.currentTarget.style.backgroundColor="transparent"}>
{newTabDrop&&
e.stopPropagation()} style={{position:"absolute",top:30,left:0,backgroundColor:c.bgCard,border:`1px solid ${c.border}`,borderRadius:R.sm,boxShadow:"0 4px 12px rgba(0,0,0,0.1)",zIndex:100,minWidth:150,padding:3}}>
addTab("note")}>📝 New Note
addTab("doc")}>📄 Open Document
addTab("web")}>🌐 New Web Tab
}
{/* Tab context menu */}
{tabContextMenu&&
e.stopPropagation()} style={{position:"fixed",left:tabContextMenu.x,top:tabContextMenu.y,backgroundColor:c.bgCard,border:`1px solid ${c.border}`,borderRadius:R.sm,boxShadow:"0 4px 16px rgba(0,0,0,0.15)",zIndex:9999,minWidth:160,padding:4}}>
{closeTab(tabContextMenu.tabId);setTabContextMenu(null)}}>Close
{setTabs(p=>p.filter(t=>t.id===tabContextMenu.tabId));setTabContextMenu(null)}}>Close Others
{flash("Duplicated");setTabContextMenu(null)}}>Duplicate
{flash("Pinned");setTabContextMenu(null)}}>Pin
{tabs.find(t=>t.id===tabContextMenu.tabId)?.type==="note"&&{const name=prompt("New name:");if(name)setTabs(p=>p.map(t=>t.id===tabContextMenu.tabId?{...t,title:name}:t));setTabContextMenu(null)}}>Rename }
}
{/* ═══ CONTENT AREA + RIGHT PANEL ═══ */}
{/* CONTENT */}
{if(bubbleMenu&&!e.target.closest("[data-bubble]"))setBubbleMenu(null)}}>
{/* ─── NOTE TAB CONTENT ─── */}
{activeTab.type==="note"&&<>
{/* Notes toolbar */}
Paragraph H1 H2
B}/>I}/>U}/>
}/>}/>
} title="Copy" onClick={()=>flash("Copied")}/>
} label="Save As…" dropdown onClick={e=>{e.stopPropagation();setOpenDrop(openDrop==="save"?null:"save")}}/>
{openDrop==="save"&&e.stopPropagation()} style={{position:"absolute",top:28,left:0,backgroundColor:c.bgCard,border:`1px solid ${c.border}`,borderRadius:R.sm,boxShadow:"0 8px 24px rgba(0,0,0,0.12)",zIndex:999,minWidth:180,padding:4}}>
{flash("Export MD");setOpenDrop(null)}}>Export as Markdown
{flash("Export DOCX");setOpenDrop(null)}}>Export as DOCX
{flash("Export PDF");setOpenDrop(null)}}>Export as PDF
}
} label="Ref" onClick={()=>flash("Ref copied")}/>
} active={findBar} onClick={()=>setFindBar(!findBar)}/>}/>
} label="+Module" onClick={()=>flash("Insert module…")}/>
} label={`${openC.length}`} active={rightOpen&&rightTab==="comments"} onClick={()=>{if(rightOpen&&rightTab==="comments")setRightOpen(false);else{setRightOpen(true);setRightTab("comments")}}}/>
} label={showMarkup?"Markup":"Clean"} active={showMarkup} onClick={()=>setShowMarkup(!showMarkup)}/>
} label="2" dropdown active onClick={e=>{e.stopPropagation();setOpenDrop(openDrop==="review"?null:"review")}}/>
{openDrop==="review"&&e.stopPropagation()} style={{position:"absolute",top:28,right:0,backgroundColor:c.bgCard,border:`1px solid ${c.border}`,borderRadius:R.sm,boxShadow:"0 8px 24px rgba(0,0,0,0.12)",zIndex:999,minWidth:160,padding:4}}>
{flash("All accepted");setOpenDrop(null)}}>✓ Accept All (2)
{flash("All rejected");setOpenDrop(null)}}>✗ Reject All (2)
}
Saved 2m ago
{if(rightOpen&&rightTab==="send")setRightOpen(false);else{setRightOpen(true);setRightTab("send")}}} style={{padding:"3px 10px",borderRadius:R.sm,border:`1px solid ${c.accentBtn}40`,backgroundColor:(rightOpen&&rightTab==="send")?c.accentBtn:c.accentBtn+"08",cursor:"pointer",display:"flex",alignItems:"center",gap:4,color:(rightOpen&&rightTab==="send")?"#fff":c.accentBtn,fontFamily:font.sans,fontSize:10.5,fontWeight:600,height:26}}>Send to Agent
{findBar&&0/0 setFindBar(false)} style={{padding:2,border:"none",cursor:"pointer",backgroundColor:"transparent",display:"flex",color:c.textTer}}>
}
{/* Note content */}
Paramount v. City of LA · 2h ago · 📌 Pinned
Trial May 4 — 30 days out. Focus items for today.
Expert Motions
{/* TaskList block module */}
📋 Task List
{[{text:"Finalize MIL No. 3 re: Sanli",done:false,due:"Apr 7"},{text:"Review Christensen engagement agreement",done:true,due:"Apr 3"},{text:"Prep Sanli depo cross-exam outline",done:false,due:"Apr 10"}].map((t,i)=>
{t.text}
{t.due}
)}
Activity
{/* ActivityFeed block module */}
⚡ Activity Feed
{[{agent:"Elnor",action:"Completed Sanli report analysis",time:"45m ago",color:c.agentAv},{agent:"Scout",action:"Found 3 comparable signage transactions",time:"1h ago",color:"#5B5F97"}].map((a,i)=>
{a.agent} — {a.action}
{a.time} )}
Cross-reference Sanli discount rate (18%) against industry comparables. Scout found 8-12% average — document this for MIL argument.
Check with Danny Christensen on supplemental report timing.
>}
{/* ─── DOCUMENT TAB CONTENT ─── */}
{activeTab.type==="doc"&&<>
Sanli Expert Report — Economic Damages PDF
} onClick={()=>flash("Copied")}/>
} label="Save As…" dropdown/>
} label="To Note" onClick={()=>flash("Converting…")}/>
} label="Ref" onClick={()=>flash("Ref copied")}/>
}/>} onClick={()=>flash("Opening…")}/>} onClick={()=>flash("Print…")}/>
} active={pinned} onClick={()=>{setPinned(!pinned);flash(pinned?"Unpinned":"Pinned")}}/>
}/>
} label={`${openC.length}`} active={rightOpen&&rightTab==="comments"} onClick={()=>{if(rightOpen&&rightTab==="comments")setRightOpen(false);else{setRightOpen(true);setRightTab("comments")}}}/>
} label={showMarkup?"Markup":"Clean"} active={showMarkup} onClick={()=>setShowMarkup(!showMarkup)}/>
} label="3" dropdown active/>
} label="v2" dropdown onClick={e=>{e.stopPropagation();setOpenDrop(openDrop==="ver"?null:"ver")}}/>
{openDrop==="ver"&&e.stopPropagation()} style={{position:"absolute",top:30,right:0,backgroundColor:c.bgCard,border:`1px solid ${c.border}`,borderRadius:R.sm,boxShadow:"0 8px 24px rgba(0,0,0,0.12)",zIndex:999,minWidth:220,padding:4}}>
v2 — Current · 10m
{flash("Switched to v1");setOpenDrop(null)}}>v1 — Original · 1d
}
{if(rightOpen&&rightTab==="send")setRightOpen(false);else{setRightOpen(true);setRightTab("send")}}} style={{padding:"4px 12px",borderRadius:R.sm,border:`1px solid ${c.accentBtn}40`,backgroundColor:(rightOpen&&rightTab==="send")?c.accentBtn:c.accentBtn+"08",cursor:"pointer",display:"flex",alignItems:"center",gap:5,color:(rightOpen&&rightTab==="send")?"#fff":c.accentBtn,fontFamily:font.sans,fontSize:11.5,fontWeight:600,height:28}}>Send to Agent
Expert Report of Dr. Mehmet Sanli
Economic Damages Analysis
Prepared at the request of Defendants City of Los Angeles, et al.
Case No. BC587659 — Paramount Contractors & Developers, Inc. v. City of Los Angeles
I. Summary of Opinions
It is my opinion that Plaintiff's claimed damages of $4.2 million are speculative and overstated. Based on my analysis of comparable signage transactions, market data, and standard valuation methodologies, I estimate Plaintiff's actual economic damages to be approximately $380,000.
My analysis employs a willing buyer-willing seller valuation framework with an 18% discount rate reflecting the risk profile of signage rights in the Los Angeles market.
II. Qualifications
I am a professor of economics at UCLA Anderson School of Management, specializing in urban real estate valuation and municipal policy analysis…
TABLE 1 — Damages Comparison
Category Paramount Dr. Sanli
Lost signage revenue $2,840,000 $210,000
Permit value diminution $980,000 $120,000
Consequential damages $380,000 $50,000
Total $4,200,000 $380,000
Paramount v. City of LA · v2 · 3 pending · 1d ago
>}
{/* ─── WEB TAB CONTENT ─── */}
{activeTab.type==="web"&&<>
{setBookmarked(!bookmarked);flash(bookmarked?"Removed":"Bookmarked")}} style={{width:28,height:28,borderRadius:R.sm,border:"none",cursor:"pointer",backgroundColor:"transparent",display:"flex",alignItems:"center",justifyContent:"center"}}>
} active={readerMode} onClick={()=>{setReaderMode(!readerMode);flash(readerMode?"Page view":"Reader mode")}}/>
} label="Save" onClick={()=>flash("Saving…")}/>
} label="Clip" onClick={()=>{setClipsCount(n=>n+1);flash("Clipped to Clips: 4.4-1")}}/>
} label={`${openC.length}`} active={rightOpen&&rightTab==="comments"} onClick={()=>{if(rightOpen&&rightTab==="comments")setRightOpen(false);else{setRightOpen(true);setRightTab("comments")}}}/>
{if(rightOpen&&rightTab==="send")setRightOpen(false);else{setRightOpen(true);setRightTab("send")}}} style={{padding:"3px 10px",borderRadius:R.sm,border:`1px solid ${c.accentBtn}40`,backgroundColor:(rightOpen&&rightTab==="send")?c.accentBtn:c.accentBtn+"08",cursor:"pointer",display:"flex",alignItems:"center",gap:4,color:(rightOpen&&rightTab==="send")?"#fff":c.accentBtn,fontFamily:font.sans,fontSize:10.5,fontWeight:600,height:26}}>Ask {agent.name}
United States District Court
Central District of California
PARAMOUNT CONTRACTORS & DEVELOPERS, INC.,
Plaintiff,
v.
CITY OF LOS ANGELES, et al.,
Defendants.
Case No. BC587659 | Filed: March 15, 2026
PLAINTIFF'S MOTION IN LIMINE NO. 3
To Exclude Expert Testimony of Dr. Mehmet Sanli
Plaintiff Paramount respectfully moves this Court for an order excluding the expert testimony and report of Dr. Mehmet Sanli on the grounds that his opinions are unreliable, speculative, and based on flawed methodology that does not satisfy Sargon Enterprises, Inc. v. University of Southern California (2012) 55 Cal.4th 747.
I. BACKGROUND
Dr. Sanli's methodology suffers from three defects: (1) he applies a "willing buyer-willing seller" framework to non-transferable signage rights; (2) he ignores the City's own permit valuations; and (3) his discount rate of 18% has no support in comparable data.
II. LEGAL STANDARD
Under Sargon , the trial court acts as a "gatekeeper" to exclude expert opinion based on "assumptions of fact without evidentiary support." 55 Cal.4th at 770.
>}
{/* ─── CLIPS TAB CONTENT ─── */}
{activeTab.type==="clips"&&<>
} onClick={()=>flash("Copied")}/>
} label="Save As…" dropdown/>
} label="Ref" onClick={()=>flash("Ref copied")}/>
Session Clips · {clipsCount} items
{if(rightOpen&&rightTab==="send")setRightOpen(false);else{setRightOpen(true);setRightTab("send")}}} style={{padding:"3px 10px",borderRadius:R.sm,border:`1px solid ${c.purple}40`,backgroundColor:(rightOpen&&rightTab==="send")?c.purple:c.purple+"08",cursor:"pointer",display:"flex",alignItems:"center",gap:4,color:(rightOpen&&rightTab==="send")?"#fff":c.purple,fontFamily:font.sans,fontSize:10.5,fontWeight:600,height:26}}>Send to Agent
✂️
Clips: 4.4-1
Session Active
{/* Clipped passages */}
{[
{source:"Sanli Expert Report.pdf",text:"I estimate Plaintiff's actual economic damages to be approximately $380,000. My analysis employs a willing buyer-willing seller valuation framework with an 18% discount rate.",time:"12:34 PM"},
{source:"ecf.cacd.uscourts.gov — MIL No. 3",text:"Dr. Sanli's discount rate of 18% is unsupported by any comparable transaction data and appears selected solely to minimize Paramount's recovery.",time:"12:41 PM"},
].map((clip,i)=>
{clip.source} {clip.time}
{clip.text}
)}
Add notes to this session…
>}
{/* Bubble menu (shared) */}
{bubbleMenu&&
{setNewCm({text:bubbleMenu.text});setBubbleMenu(null);setRightOpen(true);setRightTab("comments");setTimeout(()=>cmRef.current?.focus(),100)}} style={{padding:"5px 10px",borderRadius:R.sm,border:"none",cursor:"pointer",backgroundColor:c.accentBtn,color:"#fff",fontSize:11,fontWeight:600,fontFamily:font.sans,display:"flex",alignItems:"center",gap:4}}>Comment
{flash(`Sent to ${agent.name}`);dismissBubble()}} style={{padding:"5px 8px",borderRadius:R.sm,border:"none",cursor:"pointer",backgroundColor:"transparent",color:c.textSec,fontSize:11,fontFamily:font.sans,display:"flex",alignItems:"center",gap:3}}>Ask {agent.name}
{activeTab.type==="web"&&<>{flash("Summarize…");dismissBubble()}} style={{padding:"5px 8px",borderRadius:R.sm,border:"none",cursor:"pointer",backgroundColor:"transparent",color:c.textSec,fontSize:11,fontFamily:font.sans}}>Summarize
{setClipsCount(n=>n+1);flash("Clipped");dismissBubble()}} style={{padding:"5px 8px",borderRadius:R.sm,border:"none",cursor:"pointer",backgroundColor:"transparent",color:c.textSec,fontSize:11,fontFamily:font.sans,display:"flex",alignItems:"center",gap:3}}>Clip >}
{activeTab.type==="note"&&["Rewrite","Expand","Shorten"].map(a=>{flash(`${agent.name}: ${a}…`);dismissBubble()}} style={{padding:"5px 8px",borderRadius:R.sm,border:"none",cursor:"pointer",backgroundColor:"transparent",color:c.textSec,fontSize:11,fontFamily:font.sans}}>{a} )}
}
{/* ═══ SHARED RIGHT PANEL ═══ */}
{rightOpen&&
{/* Resize handle */}
{const sX=e.clientX,sW=rightWidth;const m=ev=>setRightWidth(Math.max(240,Math.min(450,sW-(ev.clientX-sX))));const u=()=>{document.removeEventListener("mousemove",m);document.removeEventListener("mouseup",u)};document.addEventListener("mousemove",m);document.addEventListener("mouseup",u)}}/>
{/* Panel tabs */}
setRightTab("comments")} style={{flex:1,padding:"7px 0",border:"none",cursor:"pointer",backgroundColor:rightTab==="comments"?c.bgPanelAlt:c.bgInput,color:rightTab==="comments"?c.accentBtn:c.textTer,fontSize:10.5,fontWeight:rightTab==="comments"?650:450,fontFamily:font.sans,borderBottom:rightTab==="comments"?`2px solid ${c.accentBtn}`:"2px solid transparent",display:"flex",alignItems:"center",justifyContent:"center",gap:3}}>Comments ({openC.length})
setRightTab("send")} style={{flex:1,padding:"7px 0",border:"none",cursor:"pointer",backgroundColor:rightTab==="send"?c.bgPanel:c.bgInput,color:rightTab==="send"?c.accentBtn:c.textTer,fontSize:10.5,fontWeight:rightTab==="send"?650:450,fontFamily:font.sans,borderBottom:rightTab==="send"?`2px solid ${c.accentBtn}`:"2px solid transparent",display:"flex",alignItems:"center",justifyContent:"center",gap:3}}>Ask {agent.name}
setRightOpen(false)} style={{width:26,border:"none",cursor:"pointer",backgroundColor:"transparent",display:"flex",alignItems:"center",justifyContent:"center",color:c.textTer}}>
{/* Comments tab */}
{rightTab==="comments"&&
{newCm&&
{newCm.text&&
"{newCm.text.slice(0,80)}"
}
}
{openC.length>0&&
Open ({openC.length})
}
{openC.map(cm=>
)}
{resolvedC.length>0&&Resolved ({resolvedC.length})
}
{resolvedC.map(cm=>)}
setNewCm({text:""})}>Add general comment…
}
{/* Ask Agent tab */}
{rightTab==="send"&&<>
Agent
{e.stopPropagation();setAgentDrop(!agentDrop)}} style={{display:"flex",alignItems:"center",gap:6,padding:"7px 10px",borderRadius:R.sm,border:`1px solid ${c.border}`,backgroundColor:c.bgCard,cursor:"pointer"}}>
{agent.name}
{agentDrop&&
{agents.map((a,i)=>
{setAgentIdx(i);setAgentDrop(false)}}>{a.name}{i===agentIdx&&} )}
}
{/* Context card */}
Context
{activeTab.icon} {activeTab.title}
{activeTab.type==="note"?"Tiptap note · 847 words":activeTab.type==="doc"?"PDF document · 12 pages":activeTab.type==="web"?"ecf.cacd.uscourts.gov · 4,200 words":"Session clips · "+clipsCount+" items"}
Include
{includeItems.map(opt=>
setIncludeItems(p=>p.map(x=>x.id===opt.id?{...x,checked:!x.checked}:x))} style={{accentColor:c.accentBtn,width:12,height:12}}/>
{opt.label}
setIncludeItems(p=>p.filter(x=>x.id!==opt.id))} style={{cursor:"pointer",display:"flex",color:c.textTer,opacity:.5}}>
)}
flash(`Sent to ${agent.name}`)} style={{width:"100%",justifyContent:"center"}}> Ask {agent.name}
Continue in full chat →
>}
}
{/* ═══ STATUS BAR ═══ */}
{Math.floor(sessionMinutes/60)}h {sessionMinutes%60}m
·
{clipsCount} clips
·
{tabs.length} tabs
flash("New session started")}>New Session
·
100%
);
}