@@ -341,13 +341,13 @@ export function BrainWorkspace({ agentId, client, onRefineContext, sectionId }:
341341 if ( section . id === "saved-guidance" ) {
342342 return (
343343 < div className = "flex flex-1 flex-col overflow-y-auto" >
344- < div className = "flex items-center gap-3 border-b border-border/20 px-5 py-4 lg:px-6" >
345- < div className = "flex size-7 shrink-0 items-center justify-center rounded-md bg-primary/8 " >
346- < DatabaseIcon className = "size-3.5 text-primary" />
344+ < div className = "flex items-center gap-3 border-b border-border/20 bg-card/30 px-5 py-4 lg:px-6 dark:bg-white/[0.01] " >
345+ < div className = "flex size-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 shadow-sm ring-1 ring-primary/10 " >
346+ < DatabaseIcon className = "size-4 text-primary" />
347347 </ div >
348348 < div >
349- < h2 className = "font-display text-sm font-bold tracking-tight" > { section . label } </ h2 >
350- < p className = "text-[11px] text-muted-foreground/70 " > { section . description } </ p >
349+ < h2 className = "font-display text-[15px] font-bold tracking-tight" > { section . label } </ h2 >
350+ < p className = "text-[11px] text-muted-foreground/60 " > { section . description } </ p >
351351 </ div >
352352 </ div >
353353 < OperatingMemorySection agentId = { agentId } client = { client } />
@@ -358,13 +358,13 @@ export function BrainWorkspace({ agentId, client, onRefineContext, sectionId }:
358358 if ( section . id === "specialist-context" ) {
359359 return (
360360 < div className = "flex flex-1 flex-col overflow-y-auto" >
361- < div className = "flex items-center gap-3 border-b border-border/20 px-5 py-4 lg:px-6" >
362- < div className = "flex size-7 shrink-0 items-center justify-center rounded-md bg-primary/8 " >
363- < UsersIcon className = "size-3.5 text-primary" />
361+ < div className = "flex items-center gap-3 border-b border-border/20 bg-card/30 px-5 py-4 lg:px-6 dark:bg-white/[0.01] " >
362+ < div className = "flex size-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 shadow-sm ring-1 ring-primary/10 " >
363+ < UsersIcon className = "size-4 text-primary" />
364364 </ div >
365365 < div >
366- < h2 className = "font-display text-sm font-bold tracking-tight" > { section . label } </ h2 >
367- < p className = "text-[11px] text-muted-foreground/70 " > { section . description } </ p >
366+ < h2 className = "font-display text-[15px] font-bold tracking-tight" > { section . label } </ h2 >
367+ < p className = "text-[11px] text-muted-foreground/60 " > { section . description } </ p >
368368 </ div >
369369 </ div >
370370 < SpecialistContextSection agentId = { agentId } client = { client } />
@@ -915,7 +915,7 @@ function SectionedMarkdownView({ content }: { content: string }) {
915915 // If there are no h2 sections, render as a single card
916916 if ( nonEmpty . length <= 1 && ! nonEmpty [ 0 ] ?. heading ) {
917917 return (
918- < div className = "rounded-xl border border-border/50 bg-card p-5 transition-all duration-100 hover:border-border/70 hover:shadow-sm dark:hover:border-white/[0.10]" >
918+ < div className = "rounded-xl border border-border/40 bg-card p-5 shadow-sm shadow-black/[0.02] transition-all duration-100 hover:border-border/60 hover:shadow-md dark:border-white/[0.06] dark:shadow-black/10 dark:hover:border-white/[0.10]" >
919919 < div className = { SECTION_CARD_PROSE_CLASSES } >
920920 < Markdown remarkPlugins = { [ remarkGfm ] } > { stripped } </ Markdown >
921921 </ div >
@@ -936,8 +936,8 @@ function SectionedMarkdownView({ content }: { content: string }) {
936936 className = { cn (
937937 "relative rounded-xl border p-5 transition-all duration-100" ,
938938 isFirst
939- ? "border-primary/15 bg-primary/[0.015] hover:border-primary/25 hover:shadow-sm dark:border-primary/[0.08] dark:bg-primary/[0.01] dark:hover:border-primary/[0.15]"
940- : "border-border/50 bg-card hover:border-border/70 hover:shadow-sm dark:hover:border-white/[0.10]" ,
939+ ? "border-primary/15 bg-primary/[0.015] shadow-sm shadow-black/[0.02] hover:border-primary/25 hover:shadow-md dark:border-primary/[0.08] dark:bg-primary/[0.01] dark:shadow-black/10 dark:hover:border-primary/[0.15]"
940+ : "border-border/40 bg-card shadow-sm shadow-black/[0.02] hover:border-border/60 hover:shadow-md dark:border-white/[0.06] dark:shadow-black/10 dark:hover:border-white/[0.10]" ,
941941 ) }
942942 >
943943 { isFirst && (
@@ -1200,21 +1200,21 @@ function SectionHeader({
12001200 children ?: React . ReactNode ;
12011201} ) {
12021202 return (
1203- < div className = "flex items-center justify-between border-b border-border/20 px-5 py-4 lg:px-6" >
1203+ < div className = "flex items-center justify-between border-b border-border/20 bg-card/30 px-5 py-4 lg:px-6 dark:bg-white/[0.01] " >
12041204 < div className = "flex items-center gap-3" >
1205- < div className = "flex size-7 shrink-0 items-center justify-center rounded-md bg-primary/8 " >
1206- < section . icon className = "size-3.5 text-primary" />
1205+ < div className = "flex size-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 shadow-sm ring-1 ring-primary/10 " >
1206+ < section . icon className = "size-4 text-primary" />
12071207 </ div >
12081208 < div >
12091209 < div className = "flex items-center gap-2" >
1210- < h2 className = "font-display text-sm font-bold tracking-tight" > { section . label } </ h2 >
1210+ < h2 className = "font-display text-[15px] font-bold tracking-tight" > { section . label } </ h2 >
12111211 { lastUpdated && (
1212- < span className = "text-[11px] font-mono text-muted-foreground/60 tabular-nums" >
1212+ < span className = "text-[11px] font-mono text-muted-foreground/50 tabular-nums" >
12131213 Updated { formatRelativeTime ( lastUpdated ) }
12141214 </ span >
12151215 ) }
12161216 </ div >
1217- < p className = "text-[11px] text-muted-foreground/70 " > { section . description } </ p >
1217+ < p className = "text-[11px] text-muted-foreground/60 " > { section . description } </ p >
12181218 </ div >
12191219 </ div >
12201220 < div className = "flex items-center gap-2" >
0 commit comments