/* tree-view.css — the "chart look" for the Tree of Life SVG.
 * Applied by adding class `tree-view` to #tree-svg (done by TreeView.configure).
 * Shared by /chart (read-only) and /app (interactive). No pointer-events rules
 * here: /chart disables clicks at the page level, /app keeps them; the decorative
 * edge/flow clones are made click-through in JS. */

#tree-svg.tree-view .conduit { stroke-width: 40 !important; }

/* names on the paths: Italian sephira names + planet/sign words, no Hebrew */
#tree-svg.tree-view .node .he { display: none !important; }
#tree-svg.tree-view .node .it { font-family: "Marcellus", serif; font-weight: 400; fill: #ffffff; letter-spacing: .02em; font-size: 21px; }
#tree-svg.tree-view .word { font-family: "Marcellus", serif !important; font-size: 18px !important; font-weight: 400 !important; fill: #f4f1e8 !important; letter-spacing: .02em; }
/* arcana names: readable size; the long ones wrap on two tight lines (app2) */
#tree-svg.tree-view .layer-arcana .word { font-size: 15px !important; letter-spacing: .01em; }
/* ordinals and gematria values: short numbers, slightly larger */
#tree-svg.tree-view .layer-ordinal .word,
#tree-svg.tree-view .layer-value .word { font-size: 21px !important; }
#tree-svg.tree-view .node .verb { font-family: "Marcellus", serif; fill: #e8c468; font-size: 21px; letter-spacing: .02em; }
/* Daat: hidden everywhere, revealed ONLY in the 'chakra' lettering mode */
#tree-svg .node.daat { display: none; }
#tree-svg.tree-view[data-lettering="chakra"] .node.daat { display: block; }
/* two-line label ("CENTRO DELLE / DECISIONI"), larger */
#tree-svg.tree-view .node.daat .it { font-size: 17px; letter-spacing: .02em; }
#tree-svg.tree-view .node.daat .verb { font-size: 15px; }

/* 'ebraico' lettering mode: Hebrew sephira names shown, transliteration below, no verbs.
   Path glyphs and sephira names in PURE WHITE (they are colour-tinted elsewhere). */
#tree-svg.tree-view[data-lettering="ebraico"] .node .he { display: block !important; fill: #ffffff !important; }
#tree-svg.tree-view[data-lettering="ebraico"] .glyph { fill: #ffffff !important; }
#tree-svg.tree-view[data-lettering="ebraico"] .node .verb { display: none; }

/* no glow on sephirot circles, channels and planet dots */
#tree-svg.tree-view .node .halo,
#tree-svg.tree-view .node .ring,
#tree-svg.tree-view .node .disc,
#tree-svg.tree-view .conduit { filter: none !important; }

/* flowing dashes inside the lit channels */
@keyframes conduit-flow-anim { to { stroke-dashoffset: -32; } }
@keyframes conduit-flow-anim-rev { to { stroke-dashoffset: 32; } }
#tree-svg.tree-view .conduit-flow { animation: conduit-flow-anim 1.1s linear infinite; }
#tree-svg.tree-view .conduit-flow-rev { animation: conduit-flow-anim-rev 1.1s linear infinite; }

/* focus/spotlight: recessed channels go DARK but KEEP their border (just dim + darken it,
   never white, never invisible). Only the flow dashes hide. Mirrors app2's .dimmed via reflectFocus(). */
#tree-svg.tree-view .conduit-edge.dimmed { filter: brightness(0.3) !important; opacity: 0.7 !important; }
#tree-svg.tree-view .conduit-flow.dimmed,
#tree-svg.tree-view .conduit-flow-rev.dimmed { opacity: 0 !important; }
