/* ===== WORD TRAIL ==========================================================
   One file, every rule for the Word Trail tool, and nothing else.

   ISOLATED. Every selector starts with .jayms-word-trail, so nothing here can
   touch a post, the theme or another tool. The tool sits inside
   .jayms-tool-alpha, so it already inherits the tool font, the max width and
   the --a-* aliases from global styles 90171.

   NO NEW COLOURS. Every colour is a token from :root in 90171. Boxes use the
   site's own .a-box with its locked variants, so an edge means here what it
   means everywhere else:
     v-witness   (--edge-original)   the Hebrew or Greek word itself
     v-wording   (--edge-modern)     how another version reads it: the Greek OT
     v-scripture (--edge-text)       a verse as a version prints it (NET)
     v-explain   (--edge-note)       method, what the numbers mean
     v-open      (--edge-open)       what stays open: hinges, undated events
     v-apparatus (--edge-apparatus)  sources
     v-plain                         first, in plain English
   Chart marks reuse the same tokens for the same meanings:
     --aramaic   Hebrew uses, and the copies that survive
     --lavender  the Greek Old Testament, translations and print
     --gold      New Testament uses
     --rust      the one selected
     Echoes grades keep the colours the Echoes tool gives them:
     clear --aramaic, probable --gold, possible --muted.

   MERGING INTO 90171 LATER. Paste this file at the end of the 90171 CSS as
   one block. Nothing needs renaming. If any rule turns out to be wanted by a
   second tool, move it up beside the .a-* components and drop the prefix.
   ========================================================================= */

.jayms-word-trail{--wt-gap:22px}
.jayms-word-trail *{box-sizing:border-box}

/* ---- the trail: the words looked at in this visit ----------------------- */
.jayms-word-trail .wt-trail{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 14px}
.jayms-word-trail .wt-trail:empty{display:none}
.jayms-word-trail .wt-trl{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-right:4px}
.jayms-word-trail .wt-trs{color:var(--muted);font-size:13px}
.jayms-word-trail .wt-tri{display:inline-flex;align-items:baseline;gap:6px;padding:5px 11px;border-radius:999px;background:transparent;
  border:1px solid var(--line);color:var(--ink-soft);font-family:inherit;font-size:13px;cursor:pointer;line-height:1.3}
.jayms-word-trail .wt-tri span{font-size:15px}
.jayms-word-trail .wt-tri.wt-he span{color:var(--gold)}
.jayms-word-trail .wt-tri.wt-gr span{color:var(--blue)}
.jayms-word-trail .wt-tri:hover{border-color:var(--ink-soft);color:var(--ink)}
.jayms-word-trail .wt-tri.on.wt-he{border-color:var(--gold);color:var(--ink)}
.jayms-word-trail .wt-tri.on.wt-gr{border-color:var(--blue);color:var(--ink)}
.jayms-word-trail .wt-trc{margin-left:6px}

/* ---- search row ------------------------------------------------------- */
.jayms-word-trail .wt-find{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 14px}
.jayms-word-trail .wt-find .a-search{flex:1 1 320px;margin:0!important}
.jayms-word-trail .wt-hint{flex:0 0 100%;font-size:13px;color:var(--muted);margin:2px 0 0}
.jayms-word-trail .wt-sugg{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}
.jayms-word-trail .wt-sugg[hidden]{display:none}
/* each suggestion carries its language's colour: Hebrew gold, Greek blue */
.jayms-word-trail .wt-sg{border:1px solid var(--line)}
.jayms-word-trail .wt-sg .wt-sgl{font-size:15px}
.jayms-word-trail .wt-sg.wt-he .wt-sgl{color:var(--gold)}
.jayms-word-trail .wt-sg.wt-gr .wt-sgl{color:var(--blue)}
.jayms-word-trail .wt-sg.wt-he:hover,.jayms-word-trail .wt-sg.wt-he.on{border-color:var(--gold);background:var(--paper-deeper);color:var(--ink)}
.jayms-word-trail .wt-sg.wt-gr:hover,.jayms-word-trail .wt-sg.wt-gr.on{border-color:var(--blue);background:var(--paper-deeper);color:var(--ink)}

/* ---- view tabs: the four views, one row bounded by hairlines ------------ */
.jayms-word-trail .wt-tabs{display:flex;flex-wrap:wrap;gap:4px;border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);margin:0 0 18px;padding:0}
.jayms-word-trail .wt-tab{background:none;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;
  padding:12px 14px;cursor:pointer;font-family:inherit;font-size:12px;letter-spacing:.13em;
  text-transform:uppercase;color:var(--ink-soft)}
.jayms-word-trail .wt-tab:hover{color:var(--ink);border-bottom-color:var(--line)}
.jayms-word-trail .wt-tab.on{color:var(--gold);border-bottom-color:var(--gold);font-weight:600}

/* ---- the two-column desk: word card on the left, the view on the right -- */
.jayms-word-trail .wt-desk{display:flex;flex-wrap:wrap;gap:var(--wt-gap);align-items:flex-start}
.jayms-word-trail .wt-side{flex:1 1 100%;max-width:none;min-width:0;display:flex;flex-direction:column;gap:13px}
.jayms-word-trail .wt-side > .a-box{margin:0}
.jayms-word-trail .wt-main{flex:1 1 100%;min-width:0;order:-1}
@media (max-width:900px){.jayms-word-trail .wt-side{max-width:none}}

/* the word itself, at the head of the card */
.jayms-word-trail .wt-word{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;margin:0 0 6px}
.jayms-word-trail .wt-lemma{font-size:44px;line-height:1.05;color:var(--gold)}
.jayms-word-trail .wt-lemma[lang="he"]{direction:rtl}
.jayms-word-trail .wt-gloss{font-size:20px;line-height:1.3;color:var(--ink)}
.jayms-word-trail .wt-code{font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.jayms-word-trail .wt-def{font-size:15px;line-height:1.55;color:var(--ink-soft);margin:8px 0 0}

/* the Greek Old Testament renderings: a landscape strip above the views,
   one card per Greek word, side by side, wrapping on a phone */
.jayms-word-trail .wt-strip{margin:0 0 16px}
/* one language, one colour, everywhere in the tool, the way Word Study marks them:
   Hebrew --gold, Greek --blue. Boxes, bars, the pyramid and the legend all follow it. */
.jayms-word-trail .a-box.wt-he{--bc:var(--gold)}
.jayms-word-trail .a-box.wt-gr{--bc:var(--blue)}
.jayms-word-trail .wt-he .wt-lemma{color:var(--gold)}
.jayms-word-trail .wt-gr .wt-lemma{color:var(--blue)}
.jayms-word-trail .wt-he .wt-bar > span{background:var(--gold)}
.jayms-word-trail .wt-gr .wt-bar > span{background:var(--blue)}
/* the word bar: the word, what it means, how often, side by side */
.jayms-word-trail .wt-wb{display:flex;flex-wrap:wrap;align-items:center;gap:10px 28px}
.jayms-word-trail .wt-wb-word{flex:0 0 auto}
.jayms-word-trail .wt-wordbar .wt-word{margin:0 0 4px}
.jayms-word-trail .wt-wb-def{flex:1 1 320px;margin:0;font-size:16px}
.jayms-word-trail .wt-wb-n{flex:0 1 220px;margin:0}
.jayms-word-trail .wt-gbar{padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid var(--line)}
.jayms-word-trail .wt-fbd{font-size:.85em;color:var(--ink-soft);font-style:italic}
.jayms-word-trail .wt-fbe{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid var(--line)}
.jayms-word-trail .wt-fbe:last-child{padding-bottom:0;margin-bottom:0;border-bottom:0}
.jayms-word-trail .wt-sub{font-size:13px;line-height:1.5;color:var(--ink-soft);margin:0 0 10px}
.jayms-word-trail .wt-rrow{display:flex;flex-wrap:wrap;gap:8px}
.jayms-word-trail .wt-rend{flex:1 1 190px;max-width:280px;min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:6px;
  min-height:46px;padding:10px 12px;background:transparent;border:1px solid var(--line);border-radius:7px;
  cursor:pointer;font-family:inherit;color:var(--ink);text-align:left}
.jayms-word-trail .wt-rend:hover{border-color:var(--gold)}
.jayms-word-trail .wt-rend.on{border-color:var(--gold);background:var(--paper-deeper)}
.jayms-word-trail .wt-rend:disabled{opacity:.45;cursor:default}
.jayms-word-trail .wt-rtop{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0}
.jayms-word-trail .wt-rg{font-size:22px;line-height:1.15;color:var(--ink-bright);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jayms-word-trail .wt-rt{font-size:12.5px;line-height:1.35;color:var(--ink-soft)}
.jayms-word-trail .wt-bar{display:block;height:4px;border-radius:2px;background:var(--line)}
.jayms-word-trail .wt-bar > span{display:block;height:4px;border-radius:2px;background:var(--lavender)}
.jayms-word-trail .wt-ra{flex:0 0 auto;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.jayms-word-trail .wt-rend.on .wt-ra{color:var(--gold)}
.jayms-word-trail .wt-strip .a-bnote{margin-top:12px}
/* on a phone the strip stays one row and scrolls sideways */
@media (max-width:640px){
  .jayms-word-trail .wt-rrow{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
  .jayms-word-trail .wt-rend{flex:0 0 190px}
}

/* small numbers in running text */
.jayms-word-trail .wt-n{color:var(--gold);font-weight:600;font-variant-numeric:tabular-nums}
.jayms-word-trail .wt-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}

/* ---- the panel every view draws into ----------------------------------- */
.jayms-word-trail .wt-panel{background:var(--paper-deep);border:1px solid var(--line);border-radius:9px;padding:16px 18px;margin:0 0 13px}
.jayms-word-trail .wt-stat{font-size:16px;line-height:1.5;color:var(--ink-soft);margin:0 0 10px}
.jayms-word-trail .wt-stat b{color:var(--ink);font-weight:600}
.jayms-word-trail .wt-ctl{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}

/* a layer switch: a chip with a dot in the layer's colour. Off is dimmed,
   never removed, so the row never shifts. */
.jayms-word-trail .wt-lay{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border-radius:999px;
  background:transparent;border:1px solid var(--line);color:var(--ink-soft);font-family:inherit;font-size:13px;
  line-height:1.3;cursor:pointer;min-height:36px}
.jayms-word-trail .wt-lay:hover{border-color:var(--gold);color:var(--ink)}
.jayms-word-trail .wt-lay.on{background:var(--paper-deeper);color:var(--ink)}
.jayms-word-trail .wt-lay:disabled{opacity:.4;cursor:default}
.jayms-word-trail .wt-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto;background:var(--wt-c,var(--muted))}
.jayms-word-trail .wt-lay:not(.on) .wt-dot{opacity:.35}

/* the colour each mark carries */
.jayms-word-trail .c-heb{--wt-c:var(--gold)}
.jayms-word-trail .c-grk{--wt-c:var(--blue)}
.jayms-word-trail .c-nt{--wt-c:var(--blue)}
.jayms-word-trail .c-sel{--wt-c:var(--rust)}
.jayms-word-trail .c-a{--wt-c:var(--gold)}
.jayms-word-trail .c-b{--wt-c:var(--blue)}
.jayms-word-trail .c-ms{--wt-c:var(--aramaic)}
.jayms-word-trail .c-find{--wt-c:var(--muted)}
.jayms-word-trail .c-tr{--wt-c:var(--lavender)}
.jayms-word-trail .c-uses{--wt-c:var(--ink-soft)}
.jayms-word-trail .c-clear{--wt-c:var(--aramaic)}
.jayms-word-trail .c-probable{--wt-c:var(--gold)}
.jayms-word-trail .c-possible{--wt-c:var(--muted)}
.jayms-word-trail .c-world{--wt-c:var(--border-bright)}
.jayms-word-trail .c-famous{--wt-c:var(--ink)}
.jayms-word-trail .c-people{--wt-c:var(--gold)}
.jayms-word-trail .c-events{--wt-c:var(--olive)}

/* ---- view 1: every use -------------------------------------------------- */
.jayms-word-trail .wt-arcwrap{position:relative;width:100%;overflow:hidden}
.jayms-word-trail .wt-arcs{display:block;width:100%;height:auto;cursor:crosshair}
.jayms-word-trail .wt-arcs .heb{stroke:var(--aramaic);stroke-opacity:.32}
.jayms-word-trail .wt-arcs .nt{stroke:var(--gold);stroke-opacity:.6}
.jayms-word-trail .wt-arcs .sel{stroke:var(--rust);stroke-width:2.5}
.jayms-word-trail .wt-arcs .bridge{stroke:var(--muted);stroke-dasharray:3 4}
.jayms-word-trail .wt-arcs .lbl{fill:var(--muted);font-family:inherit;font-size:10px;letter-spacing:.12em}
.jayms-word-trail .wt-arcs .ctr{fill:var(--rust)}
.jayms-word-trail .wt-arcs .hover{stroke:var(--ink);stroke-opacity:.5}
.jayms-word-trail .wt-axis rect.ot0{fill:var(--border-bright)}
.jayms-word-trail .wt-axis rect.ot1{fill:var(--line)}
.jayms-word-trail .wt-axis rect.nt0{fill:var(--gold);fill-opacity:.55}
.jayms-word-trail .wt-axis rect.nt1{fill:var(--gold);fill-opacity:.25}
.jayms-word-trail .wt-axis text{fill:var(--muted);font-family:inherit;font-size:9px}
.jayms-word-trail .wt-axis text.nt{fill:var(--gold)}
.jayms-word-trail .wt-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:10px 0 0;font-size:13px;color:var(--muted)}
.jayms-word-trail .wt-legend span{display:inline-flex;align-items:center;gap:7px}
.jayms-word-trail .wt-legend i{display:inline-block;width:16px;height:3px;background:var(--wt-c)}
.jayms-word-trail .wt-pair{display:flex;flex-wrap:wrap;gap:13px;margin:0 0 13px}
.jayms-word-trail .wt-pair > .a-box{flex:1 1 100%;min-width:0;margin:0}
.jayms-word-trail .wt-hl{color:var(--gold);font-weight:600}

/* ---- view 1, the stepped pyramid: word, books, verses -------------------
   Full-strength tokens, no washed-out opacity: Old Testament --blue,
   the Greek Old Testament --lavender, New Testament --gold, selected --rust. */
.jayms-word-trail.wt-wide .wt-main{flex:1 1 100%;order:-1}
.jayms-word-trail.wt-wide .wt-side{flex:1 1 100%;max-width:none}
.jayms-word-trail.wt-wide .wt-side > .a-box{margin:0}
.jayms-word-trail.wt-wide .wt-side > .wt-links{grid-column:1/-1;margin:0}
.jayms-word-trail .wt-pyr{display:block;width:100%;height:auto}
/* on a phone the pyramid keeps a readable size and scrolls sideways inside its panel */
@media (max-width:760px){
  .jayms-word-trail.wt-wide .wt-arcwrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .jayms-word-trail .wt-pyr{width:900px;max-width:none}
}
.jayms-word-trail .wt-pyr path{fill:none}
.jayms-word-trail .wt-pyr .t-heb{--wt-c:var(--gold)}
.jayms-word-trail .wt-pyr .t-nt{--wt-c:var(--blue)}
.jayms-word-trail .wt-pyr .t-grk{--wt-c:var(--blue)}
.jayms-word-trail .wt-pyr .lk{stroke:var(--wt-c);stroke-linecap:round;stroke-opacity:.85}
.jayms-word-trail .wt-pyr .lk.on{stroke:var(--ink-bright);stroke-opacity:1}
.jayms-word-trail .wt-pyr .fan{stroke:var(--wt-c);stroke-width:.9;stroke-opacity:.7}
.jayms-word-trail .wt-pyr .sel{stroke:var(--rust);stroke-width:2.6}
.jayms-word-trail .wt-pyr .bn{cursor:pointer;outline:none}
.jayms-word-trail .wt-pyr .bn .hit{fill:transparent}
.jayms-word-trail .wt-pyr .bn .dot{fill:var(--paper-deeper);stroke:var(--wt-c);stroke-width:2}
.jayms-word-trail .wt-pyr .bn:hover .dot,.jayms-word-trail .wt-pyr .bn:focus .dot{fill:var(--wt-c)}
.jayms-word-trail .wt-pyr .bn.on .dot{fill:var(--ink-bright);stroke:var(--ink-bright)}
.jayms-word-trail .wt-pyr .ab{fill:var(--ink);font-family:inherit;font-size:10px;letter-spacing:.04em}
.jayms-word-trail .wt-pyr .bn.on .ab{fill:var(--ink-bright);font-weight:700}
.jayms-word-trail .wt-pyr .ct{fill:var(--ink-soft);font-family:inherit;font-size:9px}
.jayms-word-trail .wt-pyr .vd{fill:var(--ink-bright)}
.jayms-word-trail .wt-pyr .vd.on{fill:var(--rust)}
.jayms-word-trail .wt-pyr .apex{fill:var(--gold)}
.jayms-word-trail .wt-pyr .apl{fill:var(--gold);font-size:30px}
.jayms-word-trail .wt-pyr .apex.gr,.jayms-word-trail .wt-pyr .apl.gr{fill:var(--blue)}
.jayms-word-trail .wt-pyr .gn{fill:var(--blue)}
.jayms-word-trail .wt-pyr .apg{fill:var(--ink-bright);font-family:inherit;font-size:14px;font-style:italic}
.jayms-word-trail .wt-pyr .vn{fill:var(--ink-soft);font-family:inherit;font-size:9px}
.jayms-word-trail .wt-pyr .vlead{stroke:var(--line);stroke-width:.6}
.jayms-word-trail .wt-pyr .vn.on{fill:var(--rust);font-weight:700;font-size:10px}
.jayms-word-trail .wt-pyr .gl{fill:var(--ink-bright);font-size:22px}
.jayms-word-trail .wt-pyr .lbl{fill:var(--ink-soft);font-family:inherit;font-size:10px;letter-spacing:.12em}
.jayms-word-trail .wt-pyr .basehit{fill:transparent;cursor:pointer}
.jayms-word-trail .c-grk i{background:var(--blue)}

/* ---- view 2: where it lands --------------------------------------------- */
.jayms-word-trail .wt-flow{display:flex;gap:0;width:100%}
.jayms-word-trail .wt-flow svg{display:block;flex:1 1 auto;min-width:0;height:auto}
.jayms-word-trail .wt-flow .l-clear{stroke:var(--aramaic);stroke-opacity:.7;stroke-width:1.6}
.jayms-word-trail .wt-flow .l-probable{stroke:var(--gold);stroke-opacity:.6;stroke-width:1.2;stroke-dasharray:6 4}
.jayms-word-trail .wt-flow .l-possible{stroke:var(--muted);stroke-opacity:.7;stroke-width:1;stroke-dasharray:1 4;stroke-linecap:round}
.jayms-word-trail .wt-flow .l-sel{stroke:var(--rust);stroke-width:3;stroke-opacity:1;stroke-dasharray:none}
.jayms-word-trail .wt-flow .hit{stroke:transparent;stroke-width:9;cursor:pointer}
.jayms-word-trail .wt-flow text{fill:var(--ink-soft);font-family:inherit;font-size:11px}
.jayms-word-trail .wt-flow text.dim{fill:var(--muted);opacity:.5}
.jayms-word-trail .wt-flow text.nt{fill:var(--gold)}
.jayms-word-trail .wt-gline{display:inline-block;width:30px;height:0;border-top:2px solid var(--wt-c)}
.jayms-word-trail .wt-gline.d-probable{border-top-style:dashed}
.jayms-word-trail .wt-gline.d-possible{border-top-style:dotted}
.jayms-word-trail .wt-list{display:flex;flex-direction:column;gap:1px;background:var(--line);border:1px solid var(--line);
  border-radius:9px;overflow-y:auto;max-height:430px;margin:13px 0 0;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.jayms-word-trail .wt-li{display:flex;align-items:baseline;gap:14px;width:100%;padding:11px 14px;background:var(--paper-deep);
  border:0;border-left:3px solid var(--wt-c,var(--line));cursor:pointer;font-family:inherit;color:var(--ink);text-align:left;font-size:15px;line-height:1.4}
.jayms-word-trail .wt-li:hover,.jayms-word-trail .wt-li.on{background:var(--paper-deeper)}
.jayms-word-trail .wt-li .a-tag{flex:0 0 auto}
.jayms-word-trail .wt-li span:first-child{flex:1 1 auto;min-width:0}

/* ---- views 3 and 4: the two clocks -------------------------------------- */
.jayms-word-trail .wt-clock{position:relative;width:100%;overflow-x:auto}
.jayms-word-trail .wt-ticks{position:relative;height:24px;border-bottom:1px solid var(--line);margin-left:var(--wt-lab)}
.jayms-word-trail .wt-ticks span{position:absolute;top:5px;transform:translateX(-50%);font-size:10.5px;
  letter-spacing:.06em;color:var(--muted);white-space:nowrap}
.jayms-word-trail .wt-tl{--wt-lab:150px;min-width:720px}
.jayms-word-trail .wt-sec{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:14px 0 4px}
.jayms-word-trail .wt-row{display:flex;align-items:center;min-height:20px;border-bottom:1px solid var(--paper-deeper)}
.jayms-word-trail .wt-row.tall{min-height:34px}
.jayms-word-trail .wt-row.off{opacity:.2}
.jayms-word-trail .wt-rl{flex:0 0 var(--wt-lab);padding-right:10px;font-size:13px;line-height:1.25;color:var(--ink-soft);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jayms-word-trail .wt-rl small{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.jayms-word-trail .wt-rt2{position:relative;flex:1 1 auto;height:100%;min-height:inherit}
.jayms-word-trail .wt-ru{flex:0 0 96px;min-width:0;overflow:hidden;display:flex;align-items:center;gap:6px;padding-left:10px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.jayms-word-trail .wt-ubar{display:inline-block;height:5px;border-radius:3px;background:var(--wt-c)}
.jayms-word-trail .wt-secu{display:flex;justify-content:space-between;gap:10px}
.jayms-word-trail .wt-uh{flex:0 0 96px;padding-left:10px;font-size:10px;letter-spacing:.1em}
.jayms-word-trail .wt-tl.has-u .wt-ticks{margin-right:96px}
.jayms-word-trail .wt-bar2{position:absolute;height:5px;border-radius:3px;background:var(--wt-c);min-width:4px}
.jayms-word-trail .wt-bar2.a{top:4px}
.jayms-word-trail .wt-bar2.b{top:11px}
.jayms-word-trail .wt-bar2.mid{top:calc(50% - 3px)}
.jayms-word-trail .wt-bar2.alt{background:none;border:1px dashed var(--wt-c)}
.jayms-word-trail .wt-bar2,.jayms-word-trail .wt-tick{pointer-events:none}
.jayms-word-trail .wt-tick{position:absolute;top:2px;bottom:2px;width:2px;background:var(--wt-c);opacity:.9}
.jayms-word-trail .wt-band{position:absolute;top:5px;bottom:5px;border-left:2px solid var(--wt-c);background:var(--paper-deeper);
  padding:0 6px;display:flex;align-items:center;overflow:hidden;font-size:12px;line-height:1.1;color:var(--ink);white-space:nowrap}
.jayms-word-trail .wt-mark{position:absolute;display:flex;align-items:center;gap:5px;background:none;border:0;padding:0 6px 0 0;
  font-family:inherit;font-size:12px;color:var(--ink-soft);white-space:nowrap;cursor:pointer;transform:translateX(-5px);min-height:20px}
.jayms-word-trail .wt-mark.end{flex-direction:row-reverse;transform:translateX(calc(-100% + 5px));padding:0 0 0 6px}
.jayms-word-trail .wt-mark span{max-width:128px;overflow:hidden;text-overflow:ellipsis}
.jayms-word-trail .wt-mark i{flex:0 0 auto;width:9px;height:9px;border:1px solid var(--wt-c);background:transparent}
.jayms-word-trail .wt-mark.diamond i{transform:rotate(45deg)}
.jayms-word-trail .wt-mark.round i{border-radius:50%}
.jayms-word-trail .wt-mark.on i,.jayms-word-trail .wt-mark:hover i{background:var(--wt-c)}
.jayms-word-trail .wt-mark.on{color:var(--ink)}
.jayms-word-trail .wt-cursor{position:absolute;top:0;bottom:0;width:0;border-left:1px dashed var(--rust);pointer-events:none;z-index:2}
.jayms-word-trail .wt-hit{position:absolute;top:0;bottom:0;background:transparent;border:0;padding:0;cursor:pointer}
.jayms-word-trail .wt-shelf{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.jayms-word-trail .wt-pick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:6px 0 10px}
.jayms-word-trail .wt-pick .a-chip{justify-content:center;border-color:var(--line)}
.jayms-word-trail .wt-meanwhile{list-style:none;margin:0;padding:0}
.jayms-word-trail .wt-meanwhile li{display:flex;gap:9px;align-items:flex-start;font-size:15px;line-height:1.4;color:var(--ink);margin:0 0 7px}
.jayms-word-trail .wt-meanwhile li .wt-dot{margin-top:6px}
.jayms-word-trail .wt-meanwhile li small{color:var(--muted)}

/* ---- a panel with nothing to show stays put, greyed, and still opens ---- */
.jayms-word-trail .wt-empty{opacity:.45}

/* the translation buttons in a verse box */
.jayms-word-trail .wt-vsw{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 9px}
.jayms-word-trail .wt-vb{font:inherit;font-size:11.5px;letter-spacing:.08em;line-height:1;padding:6px 11px;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--ink-soft);cursor:pointer}
.jayms-word-trail .wt-vb:hover{border-color:var(--ink-soft);color:var(--ink)}
.jayms-word-trail .wt-vb.on{border-color:var(--gold);color:var(--gold)}
.jayms-word-trail .wt-vb:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.jayms-word-trail .wt-loading{color:var(--muted);font-style:italic;padding:18px 0}

@media (max-width:640px){
  .jayms-word-trail .wt-lemma{font-size:36px}
  .jayms-word-trail .wt-tab{padding:11px 10px;font-size:11px}
  .jayms-word-trail .wt-panel{padding:13px 13px}
  .jayms-word-trail .wt-tl{--wt-lab:104px}
}

/* ---- cards carry their language color, the same gold and blue as the word bars above them ---- */
.jayms-word-trail .wt-he .wt-rg{color:var(--gold)}
.jayms-word-trail .wt-gr .wt-rg{color:var(--blue)}
.jayms-word-trail .wt-he .wt-rend:hover,.jayms-word-trail .wt-he .wt-rend.on{border-color:var(--gold)}
.jayms-word-trail .wt-gr .wt-rend:hover,.jayms-word-trail .wt-gr .wt-rend.on{border-color:var(--blue)}
.jayms-word-trail .wt-he .wt-rend.on .wt-ra{color:var(--gold)}
.jayms-word-trail .wt-gr .wt-rend.on .wt-ra{color:var(--blue)}
.jayms-word-trail .wt-gr .wt-n{color:var(--blue)}
.jayms-word-trail .wt-rx{font-size:11.5px;line-height:1.35;color:var(--muted)}
/* every line of text in the tool uses the tool's own face, not the page's paragraph serif */
/* the site sets "body, p, li" with !important, so it is answered in kind, with the face the site already uses for tool text */
.jayms-word-trail p,.jayms-word-trail li{font-family:"Archivo",system-ui,-apple-system,Arial,sans-serif !important}
.jayms-word-trail .wt-wsl{flex:0 0 auto;font-size:13px;white-space:nowrap}
.jayms-word-trail .wt-gr .wt-wsl{color:var(--blue)}
.jayms-word-trail .wt-pyr .ct.on{fill:var(--ink-bright);font-weight:700}

/* ---- where it lands: every New Testament book, three sources ----
   A line takes the color of the Old Testament group it starts in. The stroke says how strong the link is:
   solid strong, dashed medium, dotted light. The same seven group colors run the Book Echoes circle. */
.jayms-word-trail .g-law,.jayms-book-echoes .g-law{--wt-c:var(--rust)}
.jayms-word-trail .g-hist,.jayms-book-echoes .g-hist{--wt-c:var(--olive)}
.jayms-word-trail .g-wis,.jayms-book-echoes .g-wis{--wt-c:var(--gold)}
.jayms-word-trail .g-pro,.jayms-book-echoes .g-pro{--wt-c:var(--blue)}
.jayms-word-trail .g-gos,.jayms-book-echoes .g-gos{--wt-c:var(--aramaic)}
.jayms-word-trail .g-paul,.jayms-book-echoes .g-paul{--wt-c:var(--lavender)}
.jayms-word-trail .g-gen,.jayms-book-echoes .g-gen{--wt-c:var(--ink-soft)}
.jayms-word-trail .wt-flow .ln{fill:none;stroke:var(--wt-c);stroke-linecap:round}
.jayms-word-trail .wt-flow .ln.s3{stroke-width:2;stroke-opacity:.95}
.jayms-word-trail .wt-flow .ln.s2{stroke-width:1.3;stroke-opacity:.8;stroke-dasharray:6 4}
.jayms-word-trail .wt-flow .ln.s1{stroke-width:1;stroke-opacity:.75;stroke-dasharray:1 4}
.jayms-word-trail .wt-flow .l-sel{stroke:var(--ink-bright);stroke-width:3.2}
.jayms-word-trail .wt-flow text[class^="g-"],.jayms-word-trail .wt-flow text[class*=" g-"]{fill:var(--wt-c)}
.jayms-word-trail .wt-flow text.dim{fill:var(--muted);opacity:.45}
.jayms-word-trail .wt-flow text.nt{fill:var(--blue)}
.jayms-word-trail .wt-gline.s3,.jayms-word-trail .wt-gline.s2,.jayms-word-trail .wt-gline.s1{border-top:2px solid var(--ink-soft)}
.jayms-word-trail .wt-gline.s2{border-top-style:dashed !important}
.jayms-word-trail .wt-gline.s1{border-top-style:dotted !important}
.jayms-word-trail .wt-ntrow{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 12px}
.jayms-word-trail .wt-ntb{cursor:pointer}
.jayms-word-trail .wt-ntb.none{opacity:.55}
.jayms-word-trail .wt-ntb.on{border-color:var(--blue);color:var(--ink-bright);opacity:1}
.jayms-word-trail .wt-secn{text-transform:none;letter-spacing:0;font-size:12px;margin-left:8px;color:var(--muted)}
@media (max-width:760px){.jayms-word-trail .wt-ntrow{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.jayms-word-trail .wt-ntb{flex:0 0 auto}}
.jayms-word-trail .wt-ntb.on{background:var(--paper-deeper);border-color:var(--blue);color:var(--ink-bright)}

/* ---- Book Echoes: its own section. The mount carries .jayms-word-trail too, so it shares the controls,
   lists and verse boxes above; only the circle is its own. ---- */
.jayms-book-echoes .be-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 6px}
.jayms-book-echoes .be-pick{display:flex;align-items:center;gap:10px}
.jayms-book-echoes .be-lab{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.jayms-book-echoes .be-pick select{width:auto;min-width:220px;padding:9px 12px;font-size:15px}
.jayms-book-echoes .be-head .wt-ctl{margin:0}
.jayms-book-echoes .be-wrap{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start;margin:8px 0 14px}
.jayms-book-echoes .be-circle{min-width:0}
.jayms-book-echoes .be-svg{display:block;width:100%;height:auto;max-width:860px;margin:0 auto}
.jayms-book-echoes .be-rib{fill:var(--wt-c);fill-opacity:.62;stroke:var(--paper);stroke-width:.4;cursor:pointer;transition:fill-opacity .15s}
.jayms-book-echoes .be-rib:hover{fill-opacity:.9}
.jayms-book-echoes .be-rib.dim{fill-opacity:.16}
.jayms-book-echoes .be-rib.on{fill-opacity:.95}
.jayms-book-echoes .be-arc{cursor:pointer;outline:none}
.jayms-book-echoes .be-arc .hit{fill:transparent}
.jayms-book-echoes .be-arc .seg{fill:var(--wt-c)}
.jayms-book-echoes .be-arc.none .seg{fill:var(--line)}
.jayms-book-echoes .be-arc.src .seg{fill:var(--ink-bright)}
.jayms-book-echoes .be-arc text{fill:var(--ink-soft);font-family:inherit;font-size:13px}
.jayms-book-echoes .be-arc.none text{fill:var(--muted);opacity:.55}
.jayms-book-echoes .be-arc.src text,.jayms-book-echoes .be-arc.on text{fill:var(--ink-bright);font-weight:700}
.jayms-book-echoes .be-arc:hover text,.jayms-book-echoes .be-arc:focus text{fill:var(--ink-bright)}
.jayms-book-echoes .be-tops{display:flex;flex-direction:column;gap:5px;max-height:560px;overflow-y:auto;padding-right:4px}
.jayms-book-echoes .be-top{display:flex;align-items:center;gap:8px;justify-content:flex-start;text-align:left;cursor:pointer}
.jayms-book-echoes .be-top i{display:inline-block;width:10px;height:10px;border-radius:2px;background:var(--wt-c);flex:0 0 auto}
.jayms-book-echoes .be-top .a-n{margin-left:auto}
.jayms-book-echoes .be-top.on{border-color:var(--wt-c);background:var(--paper-deeper);color:var(--ink-bright)}
.jayms-book-echoes .be-legend{margin-top:14px}
.jayms-book-echoes .wt-head{background:var(--paper-deeper);cursor:default;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.jayms-book-echoes .be-more{justify-content:center;color:var(--gold)}
@media (max-width:900px){
  .jayms-book-echoes .be-wrap{grid-template-columns:1fr}
  .jayms-book-echoes .be-books{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;max-height:none}
  .jayms-book-echoes .be-bk{flex:0 0 auto}
  .jayms-book-echoes .be-grp{display:none}
  .jayms-book-echoes .be-tops{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;max-height:none}
  .jayms-book-echoes .be-top{flex:0 0 auto}
  .jayms-book-echoes .be-arc text{font-size:17px}
}
.jayms-book-echoes .be-wrap > *{min-width:0}
.jayms-book-echoes .be-books{position:relative;display:flex;flex-direction:column;gap:4px;max-height:760px;overflow-y:auto;padding-right:4px}
.jayms-book-echoes .be-grp{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:10px 0 2px}
.jayms-book-echoes .be-grp:first-child{margin-top:0}
.jayms-book-echoes .be-bk.on{border-color:var(--ink-bright);background:var(--paper-deeper);color:var(--ink-bright)}
@media (min-width:901px) and (max-width:1180px){.jayms-book-echoes .be-wrap{grid-template-columns:minmax(0,1fr) 230px}}
@media (max-width:900px){
  .jayms-book-echoes .be-books{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;max-height:none;padding-bottom:4px}
  .jayms-book-echoes .be-bk{flex:0 0 auto}
  .jayms-book-echoes .be-grp{display:none}
}
/* the link to the sister page sits at the right end of the tab row */
.jayms-word-trail .wt-other{margin-left:auto;align-self:center;font-size:13px;color:var(--gold);text-decoration:none;padding:8px 4px;white-space:nowrap}
.jayms-word-trail .wt-other:hover{color:var(--ink-bright);text-decoration:underline}
@media (max-width:760px){.jayms-word-trail .wt-other{margin-left:12px}}

/* ---- When it happened: a synchronological chart, after Adams' Chart of History ----
   No word on this view, so the word search, trail and word boxes are hidden. Streams are tinted bands in the
   site's colors; time runs left to right; the chart scrolls sideways and the stream names stay put. */
.jayms-word-trail.wt-noword .wt-trail,.jayms-word-trail.wt-noword .wt-find,.jayms-word-trail.wt-noword .wt-sugg,
.jayms-word-trail.wt-noword #wt-greek,.jayms-word-trail.wt-noword .wt-side{display:none !important}
.jayms-word-trail.wt-noword .wt-desk{display:block}
.jayms-word-trail.wt-noword .wt-main{width:100%}
.jayms-word-trail .c-gold{--c:var(--gold)}.jayms-word-trail .c-olive{--c:var(--olive)}.jayms-word-trail .c-rust{--c:var(--rust)}
.jayms-word-trail .c-blue{--c:var(--blue)}.jayms-word-trail .c-lavender{--c:var(--lavender)}.jayms-word-trail .c-aramaic{--c:var(--aramaic)}
.jayms-word-trail .c-ink-soft{--c:var(--ink-soft)}
.jayms-word-trail .hp-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 10px}
.jayms-word-trail .hp-eras{margin:0}
.jayms-word-trail .hp-q{flex:1 1 260px;min-width:200px;padding:9px 12px;font-size:15px}
.jayms-word-trail .hp-found{font-size:13px;color:var(--muted);min-width:70px}
.jayms-word-trail .hp-chart{display:flex;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--paper)}
.jayms-word-trail .hp-side{position:relative;flex:0 0 150px;border-right:1px solid var(--line);background:var(--paper-deep)}
.jayms-word-trail .hp-lab{position:absolute;left:0;right:0;display:flex;align-items:center;padding:0 10px;border-left:4px solid var(--c);
  font-size:12px;line-height:1.25;color:var(--ink);overflow:hidden}
.jayms-word-trail .hp-scroll{flex:1 1 auto;min-width:0;overflow-x:auto;overflow-y:hidden;cursor:grab;user-select:none}
.jayms-word-trail .hp-scroll:active{cursor:grabbing}
.jayms-word-trail .hp-svg{display:block}
.jayms-word-trail .hp-band{fill:transparent}
.jayms-word-trail .hp-band.odd{fill:var(--paper-deep)}
.jayms-word-trail .hp-grid{stroke:var(--line);stroke-width:1;stroke-opacity:.7}
.jayms-word-trail .hp-grid.big{stroke:var(--border-bright);stroke-opacity:1}
.jayms-word-trail .hp-yr{fill:var(--ink-soft);font-family:inherit;font-size:10.5px}
.jayms-word-trail .hp-it{cursor:pointer;outline:none}
/* the bars print in the full site colors, like the inks of a printed chart, with dark type on them */
.jayms-word-trail .hp-it rect{fill:var(--c)}
.jayms-word-trail .hp-it.t-bad rect{fill:var(--rust)}
.jayms-word-trail .hp-it circle{fill:var(--c);stroke:var(--paper);stroke-width:1.5}
.jayms-word-trail .hp-it text{font-family:inherit;font-size:11px;fill:var(--ink-soft);pointer-events:none}
.jayms-word-trail .hp-it text.in{fill:var(--paper);font-weight:600}
.jayms-word-trail .hp-it:hover rect,.jayms-word-trail .hp-it:focus rect{fill:var(--ink-bright)}
.jayms-word-trail .hp-it:hover text,.jayms-word-trail .hp-it:focus text{fill:var(--ink-bright)}
.jayms-word-trail .hp-it:hover text.in,.jayms-word-trail .hp-it:focus text.in{fill:var(--paper)}
.jayms-word-trail .hp-it.hit rect,.jayms-word-trail .hp-it.hit circle{stroke:var(--ink-bright);stroke-width:2}
.jayms-word-trail .hp-it.hit text{fill:var(--ink-bright);font-weight:700}
.jayms-word-trail .hp-it.on rect{fill:var(--ink-bright)}
.jayms-word-trail .hp-it.on text.in{fill:var(--paper)}
.jayms-word-trail .hp-it.on circle{fill:var(--ink-bright)}
.jayms-word-trail .hp-it.on text{fill:var(--ink-bright);font-weight:700}
.jayms-word-trail .hp-split{fill:none;stroke:var(--gold);stroke-width:3}
.jayms-word-trail .hp-hint{margin:8px 0 0}
@media (max-width:760px){
  .jayms-word-trail .hp-side{flex-basis:92px}
  .jayms-word-trail .hp-lab{font-size:10.5px;padding:0 6px}
  .jayms-word-trail .hp-eras{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}
  .jayms-word-trail .hp-era{flex:0 0 auto}
}
.jayms-word-trail .hp-lab.odd{background:var(--paper-deeper)}
.jayms-word-trail .hp-lab.thin{font-size:10.5px;color:var(--muted)}.jayms-word-trail .hp-lab.thin span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* brighter on black: ribbons in full site color, the others stay readable while one is picked */
.jayms-book-echoes .be-books[hidden]{display:none !important}
.jayms-book-echoes .be-rib{fill-opacity:.85;stroke:none}
.jayms-book-echoes .be-rib:hover{fill-opacity:1}
.jayms-book-echoes .be-rib.dim{fill-opacity:.55}
.jayms-book-echoes .be-rib.on{fill-opacity:1}
.jayms-book-echoes .be-arc.none .seg{fill:var(--border-bright)}
.jayms-book-echoes .be-arc text{fill:var(--ink);font-size:14px}
.jayms-book-echoes .be-arc.none text{fill:var(--ink-soft);opacity:.7}
.jayms-book-echoes .be-arc:hover .seg{fill:var(--ink-bright)}

/* ---- chart colors ----
   The site's palette is built for type and boxes, and its olive, sage and gold read dull as data on black.
   Charts and rings use their own brighter set, scoped to these tools only. Text and box colors are untouched. */
.jayms-word-trail,.jayms-book-echoes{
  --viz-red:#ff6b6b;--viz-orange:#ffa94d;--viz-yellow:#ffd43b;--viz-lime:#a9e34b;--viz-teal:#38d9a9;
  --viz-blue:#4dabf7;--viz-violet:#da77f2;--viz-grey:#ced4da}
.jayms-word-trail .g-law,.jayms-book-echoes .g-law{--wt-c:var(--viz-red)}
.jayms-word-trail .g-hist,.jayms-book-echoes .g-hist{--wt-c:var(--viz-orange)}
.jayms-word-trail .g-wis,.jayms-book-echoes .g-wis{--wt-c:var(--viz-yellow)}
.jayms-word-trail .g-pro,.jayms-book-echoes .g-pro{--wt-c:var(--viz-blue)}
.jayms-word-trail .g-gos,.jayms-book-echoes .g-gos{--wt-c:var(--viz-teal)}
.jayms-word-trail .g-paul,.jayms-book-echoes .g-paul{--wt-c:var(--viz-violet)}
.jayms-word-trail .g-gen,.jayms-book-echoes .g-gen{--wt-c:var(--viz-grey)}
.jayms-word-trail .c-gold{--c:var(--viz-yellow)}.jayms-word-trail .c-olive{--c:var(--viz-lime)}.jayms-word-trail .c-rust{--c:var(--viz-red)}
.jayms-word-trail .c-blue{--c:var(--viz-blue)}.jayms-word-trail .c-lavender{--c:var(--viz-violet)}.jayms-word-trail .c-aramaic{--c:var(--viz-teal)}
.jayms-word-trail .c-ink-soft{--c:var(--viz-grey)}
.jayms-word-trail .hp-split{stroke:var(--viz-yellow)}
/* Book Echoes: picking a book in Most links leaves only its ribbon lit */
.jayms-book-echoes .be-rib.dim{fill-opacity:.08}
.jayms-book-echoes .be-rib.on{fill-opacity:1;stroke:var(--ink-bright);stroke-width:.8}
.jayms-book-echoes .be-arc.dim2 .seg{opacity:.35}
