.edge.arc.zone-raw .line { stroke:var(--accept); }
.arrow-raw path { fill:var(--accept); }
.box.kind-verb .frame,.box.kind-auxiliary .frame { fill:var(--box-action); stroke:var(--box-action-line); }
.box.kind-connector .frame,.box.kind-punctuation .frame { fill:var(--box-small); }
.box.dominant .frame { stroke-width:2; }
#confidence { width:150px; vertical-align:middle; }
.filters label { display:inline-flex; align-items:center; gap:5px; margin:4px 12px 4px 0; font-size:12px; }
.filter-note { display:block; margin:6px 0 0; }
.olink.layer-octopus path { stroke:var(--green); stroke-dasharray:3 2; }
.onode.layer-octopus .frame { stroke:var(--green); stroke-dasharray:3 2; }
.onode.layer-octopus .node-kind { fill:var(--green); }
.layer-number { --quantity-color:var(--class); }
.layer-unit { --quantity-color:var(--deep); }
.layer-counted { --quantity-color:var(--core); }
.olink.layer-number path,.olink.layer-unit path,.olink.layer-counted path { stroke:var(--quantity-color); }
.onode.layer-number .frame,.onode.layer-unit .frame,.onode.layer-counted .frame { stroke:var(--quantity-color); }
.onode.layer-number .node-kind,.onode.layer-unit .node-kind,.onode.layer-counted .node-kind { fill:var(--quantity-color); }
#details h2 { font:400 17px Georgia,serif; margin:2px 0 7px; }
#details p,#source p { margin:5px 0; font-size:12px; }
#details table { border-collapse:collapse; font-size:11px; width:100%; max-width:1000px; }
#details th,#details td { text-align:left; padding:4px 12px 4px 0; border-bottom:1px solid var(--line-soft); }
#details button { font-size:11px; text-align:left; }
#source pre { font-size:10px; white-space:pre-wrap; overflow-wrap:anywhere; }
#questions button { width:100%; text-align:left; }
.source-text mark { background:var(--answer-soft); color:var(--ink); }
.graph-footer { overflow-wrap:anywhere; }
#corpus-note { margin-top:8px !important; }
#article-search { width:100%; box-sizing:border-box; margin:6px 0 12px; }
.sentence-choice { display:block; border:0; border-bottom:1px solid var(--line-soft); border-radius:0; padding:9px 5px; background:transparent; font-size:12px; line-height:1.45; }
.sentence-choice[aria-current=true] { background:var(--answer-soft); color:var(--ink); }
body.qa #status { max-width:400px; overflow-wrap:anywhere; white-space:normal; font-size:11px; color:var(--muted); }
body.qa .qa-graph { flex:1; max-height:none; min-height:160px; }
#space-dialog { width:min(1150px,92vw); max-height:90vh; box-sizing:border-box; border:1px solid var(--line); border-radius:12px; color:var(--ink); background:var(--panel); padding:24px; }
#space-dialog::backdrop { background:rgb(0 0 0 / .4); }
.space-head { display:flex; align-items:center; justify-content:space-between; }
.space-head h2 { font:400 27px Georgia,serif; margin:5px 0; }
.space-toolbar { display:flex; gap:12px; align-items:center; margin:14px 0; font-size:12px; }
.space-toolbar select { max-width:280px; }
.space-layout { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr); gap:24px; }
#space-plot { width:100%; background:var(--panel-soft); border:1px solid var(--line-soft); border-radius:8px; }
.space-axis { stroke:var(--line); fill:none; }
.space-point { cursor:pointer; }
.space-point circle { fill:var(--deep); }
.space-point.verb circle { fill:#c88c41; }
.space-point.member circle { fill:var(--muted); opacity:.38; }
.space-point.chosen circle { stroke:var(--ink); stroke-width:2; }
.space-point:hover circle,.space-point:focus circle { stroke:var(--ink); stroke-width:2; opacity:1; }
.space-point text { fill:var(--muted); font:10px system-ui,sans-serif; }
.selected-vector { stroke:var(--ink); stroke-width:2; }
.selected-label { fill:var(--ink); font:11px system-ui,sans-serif; }
#cluster-note,#projection-note { font-size:11px; line-height:1.5; }
#cluster-members { max-height:430px; overflow:auto; }
.cluster-member { display:block; width:100%; text-align:left; border:0; border-radius:0; border-bottom:1px solid var(--line-soft); padding:9px 5px; background:transparent; font-size:13px; }
.cluster-member small { display:block; color:var(--muted); font-size:10px; margin-top:4px; }
@media(max-width:760px) { .space-layout { grid-template-columns:1fr; } #cluster-members { max-height:220px; } }
.meaning-composition { fill:none; stroke:var(--meaning); stroke-width:1.6; opacity:.7; }
.meaning-composition.related { opacity:1; stroke-width:2.2; }
.meaning-composition.dim { opacity:.14; }
