/* تاريخ الانشقاق الكنسي — uses the site's colour tokens from styles.css. Everything starts with sc-. */
.sc{gap:18px}
.sc button{font:inherit}
.sc-sub{font-family:var(--display);font-size:1.25rem;color:var(--maroon);margin:-6px 0 0}
.sc-lead{color:var(--muted);max-width:62ch}
.sc-card,.sc-detail,.sc-reflect,.sc-src{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px 18px}
.sc-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:8px}
#sc-ours{border:1.5px solid var(--maroon);background:var(--surface);color:var(--maroon);border-radius:999px;padding:2px 16px;font-weight:700;line-height:1.9}
#sc-ours[aria-pressed="true"]{background:var(--maroon);color:var(--on-accent)}
.sc-hint{color:var(--muted);font-size:.85rem}
@media (min-width:860px){ .sc-hint{display:none} }
/* The drawing keeps a readable size: on narrow screens it scrolls sideways inside its card. Labels use real font sizes (see the map fix of 29 Oct 2026). */
.sc-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;direction:ltr}
.sc-svg{display:block;width:100%;min-width:820px;height:auto}
.sc-svg text{font-family:var(--body);fill:var(--ink);direction:rtl;unicode-bidi:plaintext}
.sc-line{fill:none;stroke:var(--muted);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;transition:stroke .2s,opacity .2s}
.sc-trunk .sc-line{stroke:var(--ink);stroke-width:6px}
.sc-chal{fill:none;stroke:var(--muted);stroke-width:4px;transition:opacity .2s}
.sc-svg.ours-on .sc-chal{opacity:.18}
.sc-hit{fill:none;stroke:transparent;stroke-width:26px}
#sc-arr path{fill:var(--muted)}
.sc-lane,.sc-node{cursor:pointer;outline:none}
.sc-lname{font-size:16px;font-weight:700}
.sc-lsub{font-size:14px;fill:var(--teal)!important}
.sc-lane.ours .sc-line{stroke:var(--maroon);stroke-width:5px}
.sc-lane.ours .sc-lname{fill:var(--maroon)}
.sc-node circle{fill:var(--surface);stroke:var(--ink);stroke-width:3px;transition:fill .2s}
.sc-node.ours circle{stroke:var(--maroon)}
.sc-lab{font-size:16px;font-weight:700}
.sc-yr{font-size:14px;fill:var(--muted)!important}
.sc-her path{fill:none;stroke:var(--muted);stroke-width:1.5px;stroke-dasharray:4 4}
.sc-hlab{font-size:13px;fill:var(--muted)!important;font-style:italic}
.sc-lane:hover .sc-line,.sc-lane:focus-visible .sc-line{stroke-width:6px}
.sc-node:hover circle,.sc-node:focus-visible circle{fill:var(--gold-soft)}
.sc-lane.sel .sc-line{stroke:var(--gold)}
.sc-lane.sel .sc-lname{fill:var(--gold)}
.sc-node.sel circle{fill:var(--gold);stroke:var(--gold)}
/* «أين كنيستنا؟»: the other families fade */
.sc-svg.ours-on .sc-lane:not(.ours),.sc-svg.ours-on .sc-node:not(.ours),.sc-svg.ours-on .sc-her{opacity:.18}
.sc-svg.ours-on .sc-trunk .sc-line{stroke:var(--maroon)}
.sc-stations{display:flex;flex-wrap:wrap;gap:8px}
.sc-st{display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;padding:4px 12px;line-height:1.5;text-align:start}
.sc-st small{color:var(--muted);font-size:.78rem}
.sc-st.ours{border-color:var(--maroon-soft)}
.sc-st[aria-pressed="true"]{background:var(--gold-soft);border-color:var(--gold)}
.sc-st.dim{opacity:.35}
.sc-detail{display:flex;flex-direction:column;gap:12px}
.sc-panel{display:flex;flex-direction:column;gap:10px}
.sc-panel h2{margin:0;font-family:var(--display);color:var(--maroon)}
.sc-kind{color:var(--muted)}
.sc-panel p{margin:0;line-height:1.95}
.sc-ourtag{color:var(--maroon);font-weight:700}
.sc-rows{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 14px;margin:0}
.sc-rows dt{font-weight:700;color:var(--teal);white-space:nowrap}
.sc-rows dd{margin:0;line-height:1.9}
.sc-ch{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.sc-ch li{background:var(--maroon-soft);border-radius:12px;padding:8px 12px;display:flex;flex-direction:column}
.sc-ch b{color:var(--maroon)}
.sc-list{background:var(--teal-soft);border-radius:12px;padding:8px 12px}
.sc-nav{display:flex;justify-content:space-between;gap:8px}
.sc-nav button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;padding:4px 16px}
.sc-nav button:disabled{opacity:.4;cursor:default}
.sc-reflect ul,.sc-src ul{margin:8px 0 0;padding-inline-start:20px}
.sc-reflect li{line-height:1.95;margin-bottom:4px}
.sc-src{font-size:.9rem;color:var(--muted)}
.sc-src h3{margin:0;color:var(--ink);font-size:1rem}
@media (max-width:520px){ .sc-rows{grid-template-columns:minmax(0,1fr)} .sc-rows dt{margin-top:4px} }
/* The English edition reads left to right */
[dir="ltr"] .sc-svg text{direction:ltr}
