/* השוואת נוסחים — the free comparison (vcmp.js). Same face and colours as the
   rest of the reading screen: navy headings, the accent for verse numbers. */
.vc-panel{ margin:6px 0 14px; }
.vc-bar{ display:flex; flex-direction:column; gap:8px; background:#f6f8fc; border:1px solid #e3e8f2; border-radius:12px; padding:10px; margin-bottom:8px; }
.vc-pick{ display:flex; align-items:flex-end; gap:8px; flex-wrap:wrap; }
.vc-lab{ display:flex; flex-direction:column; gap:3px; flex:1 1 200px; min-width:0; }
.vc-lab.wide{ flex-basis:100%; }
.vc-lab-t{ font-size:12.5px; color:#5a6478; font-weight:600; }
.vc-sel{ font:inherit; font-size:15px; padding:6px 8px; border:1px solid #c9d2e3; border-radius:8px; background:#fff; min-width:0; max-width:100%; }
.vc-sel.small{ font-size:14px; padding:5px 6px; }
.vc-in{ font:inherit; font-size:15px; padding:5px 8px; border:1px solid #c9d2e3; border-radius:8px; width:110px; }
.vc-swap{ flex:0 0 auto; font-size:22px; line-height:1; width:44px; height:38px; border-radius:10px; border:1px solid #c9d2e3; background:#fff; color:var(--navy, #1a3873); cursor:pointer; }
.vc-swap:hover{ background:#eef2fa; }
.vc-favrow, .vc-viewrow, .vc-chips{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.vc-chip{ font:inherit; font-size:13.5px; padding:5px 10px; border-radius:999px; border:1px solid #c9d2e3; background:#fff; color:#243049; cursor:pointer; white-space:nowrap; }
.vc-chip.on{ background:#1a3873; color:#fff; border-color:#1a3873; }
.vc-chip.go{ border-color:#1a3873; color:#1a3873; font-weight:600; }
.vc-chip[disabled]{ opacity:.45; cursor:default; }
.vc-seg{ display:inline-flex; border:1px solid #c9d2e3; border-radius:999px; overflow:hidden; }
.vc-seg button{ font:inherit; font-size:13.5px; padding:5px 10px; border:0; background:#fff; color:#243049; cursor:pointer; }
.vc-seg button.on{ background:#1a3873; color:#fff; }
.vc-tog{ font-size:13.5px; display:inline-flex; align-items:center; gap:3px; white-space:nowrap; cursor:pointer; }
.vc-more{ font-size:13.5px; }
.vc-more summary{ cursor:pointer; color:#1a3873; }
.vc-more[open]{ display:flex; flex-direction:column; gap:4px; padding:4px 0; flex-basis:100%; max-width:100%; }
/* a long option wraps inside the box on a phone instead of running off the screen */
.vc-more .vc-tog{ white-space:normal; align-items:flex-start; }
.vc-notes{ display:flex; flex-direction:column; gap:4px; margin:4px 0 8px; }
.vc-note{ font-size:13px; color:#4a5468; background:#fffbea; border:1px solid #efe2b2; border-radius:8px; padding:5px 9px; line-height:1.5; }
.vc-err{ color:#8a1f1f; background:#fdf0f0; border:1px solid #efc9c9; border-radius:8px; padding:8px 10px; }
.vc-dim{ color:#6b7386; font-size:13px; }

/* figures */
.vc-stats{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 10px; }
.vc-stat{ display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:96px; flex:1 1 96px; padding:6px 8px; background:#fff; border:1px solid #e3e8f2; border-radius:10px; text-align:center; }
.vc-stat b{ font-size:18px; color:#1a3873; font-variant-numeric:tabular-nums; }
.vc-stat span{ font-size:12px; color:#4a5468; line-height:1.3; }
.vc-stat small{ font-size:11px; color:#7a8296; }
.vc-legend{ flex-basis:100%; display:flex; flex-wrap:wrap; gap:4px 10px; font-size:13px; color:#243049; padding:2px 2px 0; }
.vc-key{ display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.vc-sw{ display:inline-block; width:11px; height:11px; border-radius:3px; vertical-align:middle; border:1px solid rgba(0,0,0,.15); }

/* the kinds of difference: a tint behind the word and a line under it, so the
   kind is never told by colour alone (the legend names it, the word's card too) */
.k-nikud  { --k:#7d8fb3; } .k-orth{ --k:#4f8fd6; } .k-letter{ --k:#e08a1e; } .k-morph{ --k:#8a5cc7; }
.k-root   { --k:#b0213a; } .k-word{ --k:#d6453b; } .k-plus{ --k:#2e9a57; } .k-minus{ --k:#c2410c; }
.k-order  { --k:#0f8f8f; } .k-lost{ --k:#9aa0aa; } .k-nomap_a{ --k:#a1722f; } .k-nomap_b{ --k:#a1722f; }
.k-onemany{ --k:#6b8e23; } .k-xorder{ --k:#0f8f8f; }
.vc-sw[class*="k-"]{ background:var(--k); }
.vc-w{ border-radius:3px; cursor:pointer; padding:0 1px; }
.vc-w[class*=" k-"]{ background:color-mix(in srgb, var(--k) 16%, transparent); box-shadow:inset 0 -2px 0 var(--k); color:#1b1b1b; }
.vc-w.k-plus, .vc-w.k-minus{ box-shadow:inset 0 -2px 0 var(--k), inset 0 2px 0 var(--k); }
.vc-w.vc-hot{ outline:2px solid #1a3873; outline-offset:1px; background:#fff2b3; }
.vc-w.vc-pin{ outline-color:#c2410c; }
.vc-w .vc-r{ color:#9aa3b2; }
.vc-w .vc-u{ text-decoration:underline dotted #6b7386; text-underline-offset:4px; }
.vc-w.vc-gap{ color:#9aa3b2; letter-spacing:1px; cursor:default; }
.vc-w.vc-lxxv{ text-decoration:underline dashed #2f6b7d; text-underline-offset:5px; }
.vc-gl{ display:block; font-size:.58em; line-height:1.15; color:#5a6478; font-family:system-ui, sans-serif; text-align:center; }
.vc-w:has(.vc-gl){ display:inline-flex; flex-direction:column; align-items:center; vertical-align:top; margin:0 2px 4px; }

/* side by side */
.vc-wrap{ overflow-x:auto; }
.vc-grid{ display:grid; column-gap:8px; direction:rtl; }
.vc-cell{ line-height:1.7; padding:5px 8px; border-bottom:1px solid #edf0f5; direction:rtl; text-align:right; min-width:0; overflow-wrap:anywhere; }
.vc-cell[data-side]:not(.vc-head){ unicode-bidi:plaintext; }
.vc-head{ text-align:center; font-weight:700; color:var(--navy, #1a3873); font-size:16px; position:sticky; top:0; background:#fff; z-index:1; border-bottom:2px solid #d7deea; }
.vc-head-l{ display:none; }
.vc-full{ font-size:14px; border:0; background:none; color:#1a3873; cursor:pointer; margin-inline-start:4px; opacity:.75; }
.vc-full:hover{ opacity:1; }
.vc-vn{ color:var(--accent, #b4511f); font-weight:700; font-size:.78em; margin-inline-end:6px; font-family:system-ui, sans-serif; unicode-bidi:isolate; direction:ltr; display:inline-block; }
.vc-none{ color:#6b7386; font-size:.72em; font-style:italic; }
.vc-fill .vc-w{ color:#6b7386; }
.vc-fillnote{ font-size:.62em; color:#6b7386; font-family:system-ui, sans-serif; }
.vc-photo{ text-decoration:none; font-size:.8em; margin-inline-start:6px; }
.vc-altlbl{ font-size:13px; color:#5a6478; text-align:center; align-self:center; }
.vc-alt + .vc-alt .vc-cell, .vc-row.vc-alt > .vc-cell{ background:#fbfcfe; }

/* one under the other */
.vc-stack{ display:flex; flex-direction:column; gap:8px; }
.vc-srow{ display:flex; flex-direction:column; border:1px solid #e3e8f2; border-radius:10px; overflow:hidden; background:#fff; }
.vc-srow .vc-cell{ border-bottom:1px solid #f0f2f6; }
.vc-srow .vc-cell:last-child{ border-bottom:0; }
.vc-lbl{ display:inline-block; font-size:12px; font-family:system-ui, sans-serif; color:#fff; background:#1a3873; border-radius:6px; padding:0 6px; margin-inline-end:6px; vertical-align:middle; }

/* the word's card under its verse */
.vc-tip{ position:relative; margin:4px 0 8px; padding:8px 34px 8px 10px; border:1px solid #c9d2e3; border-radius:10px; background:#fff; box-shadow:0 2px 8px rgba(20,40,80,.12); font-size:14px; display:flex; flex-direction:column; gap:4px; }
[dir="ltr"] .vc-tip, .vc-tip[dir="ltr"]{ padding:8px 10px 8px 34px; }
.vc-tip-src{ color:#5a6478; }
.vc-x{ position:absolute; top:4px; inset-inline-end:6px; border:0; background:none; font-size:20px; cursor:pointer; color:#5a6478; }
.vc-favitem{ position:relative; display:flex; align-items:center; gap:6px; }
.vc-favitem .vc-x{ position:static; }
.vc-favlist{ display:flex; flex-direction:column; gap:6px; }

/* word against word */
.vc-words{ display:flex; flex-direction:column; gap:8px; }
.vc-wblk{ border:1px solid #e3e8f2; border-radius:10px; padding:6px 8px; background:#fff; }
.vc-wref{ font-size:13px; color:#1a3873; font-weight:600; margin-bottom:4px; }
.vc-wtab{ width:100%; border-collapse:collapse; font-size:15px; }
.vc-wtab th{ font-size:12.5px; color:#5a6478; text-align:start; font-weight:600; border-bottom:1px solid #e3e8f2; padding:3px 4px; }
.vc-wtab td{ padding:3px 4px; border-bottom:1px solid #f2f4f8; vertical-align:top; }
.vc-heb{ font-family:inherit; }

/* full screen */
.modal-box.vc-fullbox{ max-width:none; width:96vw; height:92vh; max-height:none; }
.vc-fulltext{ overflow-y:auto; flex:1; line-height:1.9; direction:rtl; text-align:right; }
.modal-box.vc-favbox{ max-width:420px; }

/* the search */
.modal-box.vc-searchbox{ max-width:900px; width:96vw; max-height:92vh; overflow-y:auto; }
.vc-search{ gap:10px; }
.vc-sform{ display:flex; flex-direction:column; gap:8px; background:#f6f8fc; border:1px solid #e3e8f2; border-radius:12px; padding:10px; }
.vc-where{ display:flex; gap:8px; flex-wrap:wrap; align-items:flex-end; }
.vc-where .vc-lab{ flex:0 1 auto; }
.vc-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.vc-found{ font-weight:700; color:#1a3873; margin:6px 0; }
.vc-list{ display:flex; flex-direction:column; gap:6px; }
.vc-item{ border:1px solid #e3e8f2; border-inline-start:4px solid var(--k, #c9d2e3); border-radius:8px; padding:6px 9px; background:#fff; display:flex; flex-direction:column; gap:3px; align-items:flex-start; }
.vc-item-h{ display:flex; gap:6px; flex-wrap:wrap; align-items:center; font-size:13px; }
.vc-item-ref{ color:#1a3873; font-weight:600; }
.vc-tag{ font-size:12px; padding:1px 7px; border-radius:999px; background:#eef2fa; color:#243049; text-decoration:none; white-space:nowrap; }
.vc-tag.dim{ background:#f3f4f7; color:#5a6478; }
.vc-item-w{ font-size:18px; line-height:1.6; }
.vc-arrow{ color:#7a8296; font-size:14px; }
.vc-pager{ display:flex; gap:10px; align-items:center; justify-content:center; margin:8px 0; }

@media (max-width: 640px){
  .vc-bar{ padding:8px; }
  .vc-pick{ flex-wrap:nowrap; gap:4px; }
  .vc-pick .vc-lab{ flex:1 1 0; }
  .vc-pick .vc-sel{ font-size:14px; padding:5px 4px; }
  .vc-pick .vc-swap{ width:36px; height:34px; font-size:19px; }
  .vc-lab.wide, .vc-where .vc-lab{ flex-basis:100%; }
  .vc-stats{ gap:4px; }
  .vc-stat{ min-width:0; flex:1 1 30%; padding:4px 5px; }
  .vc-stat b{ font-size:16px; }
  .vc-stat span{ font-size:11.5px; }
  .vc-cell{ padding:4px 5px; }
  .vc-grid{ column-gap:4px; }
  .modal-box.vc-searchbox{ width:100vw; max-height:100vh; border-radius:0; }
}

/* a word that the mapping does not link (two languages): a gap in the mapping,
   not a difference in the text — a light dotted line only */
.vc-w.k-nomap_a, .vc-w.k-nomap_b{ background:none; box-shadow:none; text-decoration:underline dotted var(--k); text-underline-offset:5px; }

/* the Latin Vulgate: left to right, a Latin serif; one note above a pair with no word mapping */
.vc-cell.vc-la{ text-align:left; font-family:Georgia, "Times New Roman", serif; }
.vc-cell.vc-la .vc-vn{ margin:0 6px 0 0; }
.vc-unmapped{ margin:4px 2px 8px; font-size:13px; line-height:1.5; }
