/* 139 v4: right-side tracing, deliberate focus and a single content-first model. */
/* Source cards remain in the left rail in both tracing states. */
body.rd-hishtalshelus .rd-vision-source-rail>header,body.rd-hishtalshelus .rd-vision-source-list{display:revert!important}
body.rd-hishtalshelus .rd-vision-source-list{display:flex!important;flex-direction:column}
.rh-right-margin{grid-column:3;grid-row:1;position:sticky;top:104px;min-width:0;z-index:31;max-height:calc(100dvh - 130px);overflow:auto;scrollbar-width:thin;padding:0 5px 8px 10px}
body.rd-hishtalshelus .rh-margin{margin:0 0 24px;padding-bottom:20px;border-bottom:1px solid var(--ns-rule);font-family:var(--util)}
/* Put public notes below the tracing controls in the same right-hand flow, not over them. */
@media(min-width:1280px){body.rd-hishtalshelus .rd-public-desktop{position:static!important;max-height:none!important;overflow:visible!important;padding:18px 0 8px;border-top:1px solid #c9c1b1}body.rd-hishtalshelus .rh-margin{display:block!important;position:static!important;max-height:none!important;width:auto!important;box-shadow:none!important;background:transparent!important;border-inline:0;padding-inline:0}body.rd-hishtalshelus .rh-mobile-tab{display:none!important}}
.rh-focus-hint{font:12px/1.6 var(--util)!important;color:#68737c;margin:14px 0!important}.rh-focus-hint:before{content:'Focus · ';font-weight:700}.rh-lines{pointer-events:none;z-index:32}.rh-lines path{pointer-events:none}.rh-lines path.rh-line-hit{stroke:transparent;stroke-width:20;stroke-dasharray:none;pointer-events:stroke;cursor:pointer}.rh-lines path.rh-line-hit:focus{outline:none;stroke:#c7a15d66}.rh-hit{cursor:pointer}.rh-hit:focus-visible{outline:2px solid #a6452e;outline-offset:5px}
body.rh-tracing #synthesis .rh-hit{box-shadow:3px 0 #c7a15d;padding-left:0;padding-right:12px}body.rh-tracing #synthesis .rh-current{box-shadow:3px 0 #8a652d}
body.rh-focus #synthesis .rh-hit{padding:16px 22px!important;margin-bottom:24px!important;background:#fbfaf6;box-shadow:3px 0 #8a652d,0 8px 28px #131d260a;cursor:auto}
body.rh-focus #synthesis .rh-context{display:block!important;filter:none!important;opacity:1!important;margin:16px 0!important;padding:0!important;position:relative}body.rh-focus #synthesis .rh-context.mark{font:600 12px/1.5 var(--util);letter-spacing:.04em;color:#735626}
body.rh-focus #synthesis section[data-stage]{padding-top:12px!important;margin-bottom:28px!important}body.rh-focus .rd-vision-hero{filter:blur(2px);opacity:.42}body.rh-focus .rd-vision-source-rail{filter:blur(1.5px);opacity:.4}body.rh-focus .rd-public-margin{opacity:.45}
body.rd-hishtalshelus.rd-desk-source-open .rh-right-margin{display:none}
@media(max-width:1279px){body.rd-hishtalshelus .rh-right-margin{display:none}body.rd-hishtalshelus>.rh-margin{position:fixed!important;inset:86px 12px auto auto!important;width:min(330px,calc(100vw - 24px))!important;max-height:calc(100dvh - 180px)!important;overflow:auto;overscroll-behavior:contain;display:none!important;padding:18px!important;border:1px solid #c9c1b1!important;border-top:3px solid #c7a15d!important;background:#f5f1e8!important;box-shadow:0 15px 55px #131d2633!important;z-index:160}body.rd-hishtalshelus>.rh-margin.is-open{display:block!important}body.rd-hishtalshelus .rh-mobile-tab{display:block;right:0;top:43vh;z-index:145;min-width:38px}body.rd-hishtalshelus .rd-vision-source-list{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(180px,230px);overflow-x:auto}body.rh-tracing .rd-vision-source-rail{margin-bottom:24px!important}body.rd-hishtalshelus #synthesis{padding-right:18px!important}}
/* Same Night Study header as the article, regardless of model base CSS order. */
body.rd-model-v2>.rd-header{background:rgba(19,29,38,.97)!important;color:var(--ns-cream)!important;border-bottom:1px solid #34414b!important;box-shadow:none!important}body.rd-model-v2>.rd-header :is(.rd-wordmark,.rd-menu,nav a){color:var(--ns-cream)!important}body.rd-model-v2>.rd-header .rd-mark{color:var(--ns-gold)!important;border-color:var(--ns-gold)!important}
.rh-return-bar{position:sticky;top:72px;z-index:75;display:flex;justify-content:space-between;align-items:center;gap:14px;background:#eee9dd;padding:12px max(24px,calc((100vw - 1284px)/2));border-bottom:1px solid #c9c1b1;font:12px/1.4 var(--util)}.rh-return-bar a{display:inline-flex;align-items:center;min-height:40px;padding:7px 13px;border:1px solid #94713e;color:#263b4b;font-weight:600;text-decoration:none}.rh-return-bar a:hover{background:#e1d6c0}
body.rd-model-v2 .lm-model,body.rd-model-v2 #lm-inspector{top:150px}body.rd-model-v2 #lm-inspector{max-height:calc(100dvh - 165px);scroll-margin-top:152px}body.rd-model-v2 .rh-model-nav{position:sticky;top:-20px;background:#fbfaf6;z-index:3;padding:12px 0;margin-top:-8px}body.rd-model-v2 .lm-exact{padding:18px 0;border-top:1px solid #c9c1b180}body.rd-model-v2 .lm-exact blockquote{border-left:2px solid #c7a15d;margin:14px 0 0;padding:0 0 0 16px;font:19px/1.7 var(--display);color:#1c2428}body.rd-model-v2 .rh-primary-source h3{font:600 12px/1.6 var(--util);margin:0 0 16px;color:#68737c}body.rd-model-v2 .rh-source-quote.he{direction:rtl;text-align:right;font:21px/1.9 var(--hebrew,Georgia)}body.rd-model-v2 .rh-source-quote.en{font:18px/1.7 var(--display)}body.rd-model-v2 .rh-primary-source .note{font:11px/1.6 var(--util);color:#68737c}body.rd-model-v2 .lm-node.is-selected rect{fill:#e8d6b5;stroke:#8c1c22;stroke-width:4}body.rd-model-v2 .lm-edge-line.rh-selected-edge{stroke:#8c1c22;stroke-width:4.5}body.rd-model-v2 .lm-gap-node{cursor:default}body.rd-model-v2 .rh-reasoning{font-size:12px}
body.rd-model-v2 .rd-source-dialog{z-index:180}body.rd-model-v2 .rd-source-dialog-close{color:#fff!important;background:transparent!important;border-color:#ffffff73!important}body.rd-model-v2 .rd-source-dialog-body{max-height:calc(100dvh - 210px);overflow:auto}body.rd-model-v2 .rd-source-dialog-body .row{grid-template-columns:1fr!important}body.rd-model-v2 .rd-source-dialog-body .source{direction:ltr}body.rd-model-v2 .rd-source-dialog-body .he{direction:rtl}
@media(max-width:760px){.rh-return-bar{top:64px;padding:8px 16px}.rh-return-bar>span{font-size:10px;max-width:100px}body.rd-model-v2 #lm-inspector{position:static;max-height:none;padding:18px;scroll-margin-top:142px}body.rd-model-v2 .rh-model-nav{top:133px;margin-top:0}body.rd-model-v2 .lm-model{position:static}body.rd-model-v2 .lm-model::after{content:'The highlighted stage and its connecting lines follow your place in the text.'}body.rd-model-v2 .rd-source-dialog-body{max-height:calc(88dvh - 110px)}body.rd-model-v2 .lm-exact blockquote{font-size:18px}}
@media print{.rh-right-margin,.rh-return-bar,.rh-mobile-tab,.rh-margin,.rh-lines{display:none!important}body.rh-focus .rd-vision-source-rail{filter:none;opacity:1}}
