body:not(.details-visible) .extra-detail { display:none; }
body:not(.details-visible) #workspace { grid-template-columns:minmax(0,1fr); }
body.meaning-view .connection-control { display:none; }
header label { white-space:nowrap; }
#recent-example { width:100%; }
#view-note { margin:8px 0; color:var(--muted); }
#meaning-legend { display:flex; flex-wrap:wrap; gap:16px; font-size:12px; margin:10px 0; }
#meaning-legend[hidden] { display:none; }
#graph,.performer { --performer:#9879c9; --object:#258b7b; --recipient:#bd8427; --time:#378fbe; --negation:#c25573; }
.performer { color:#9879c9; }.object { color:#258b7b; }.recipient { color:#bd8427; }.time { color:#378fbe; }.negation { color:#c25573; }
.meaning-card rect { fill:var(--panel); stroke:var(--line); stroke-width:1.5; }
.meaning-card text { fill:var(--ink); font:13px system-ui,sans-serif; text-anchor:middle; pointer-events:none; }
.meaning-card .card-note { font-size:11px; fill:var(--muted); }
.meaning-card .card-title { font-weight:650; }
.meaning-card { cursor:pointer; }
.meaning-card.selected rect { stroke:var(--deep); stroke-width:3; }
.meaning-card.event rect { stroke:#9879c9; stroke-width:2; }
.meaning-card.concept rect { stroke:#258b7b; stroke-width:2; }
.meaning-wire { fill:none; stroke-width:2; opacity:.65; }
.meaning-wire:hover,.meaning-wire.emphasised { stroke-width:4; opacity:1; }
.meaning-wire.muted { opacity:.12; }
.meaning-caption { fill:var(--muted); font:12px system-ui,sans-serif; }
@media(prefers-color-scheme:dark) {
  #graph { --performer:#bc9aef; --object:#61c4ae; --recipient:#eabd6a; --time:#83bfe5; --negation:#ef99b1; }
  .performer { color:#bc9aef; }.object { color:#61c4ae; }.recipient { color:#eabd6a; }.time { color:#83bfe5; }.negation { color:#ef99b1; }
}
