/* Shared Daf 117 foundation and compatibility for every publication. */
:root{--hebrew:"Times New Roman",serif}
*,*::before,*::after{box-sizing:border-box}
.daf-he,.he,.inline-he{font-family:var(--hebrew);direction:rtl}
body.rd-template-daf .rd-vision-reading{width:auto;max-width:88rem}
body.rd-template-daf .rd-vision-reading #synthesis>.mark,
body.rd-template-daf .rd-vision-reading #synthesis>section>.mark{
  display:block;margin:3.6rem 0 1rem;padding:1.15rem 0 0;
  border-top:2px solid var(--accent);color:var(--ink);
  font:600 clamp(1.55rem,2.25vw,2.15rem)/1.08 var(--display);
  letter-spacing:-.025em;text-transform:none;
}
body.rd-template-daf .rd-citation-register{margin-top:2.5rem;border-top:1px solid var(--rule);padding-top:1rem}
body.rd-template-daf .rd-citation-register>summary{cursor:pointer;font:600 .9rem var(--util);padding:.7rem 0}
body.rd-template-daf .rd-citation-register .tier-head{display:none}
body.rd-template-daf .rd-citation-register #register{display:block!important;padding-top:.5rem;min-width:0}
body.rd-template-daf .rd-citation-register .reg-wrap{overflow-x:auto;max-width:100%}
body.rd-template-daf .rd-source-dialog-pagination{position:sticky;inset:auto;bottom:0;display:flex;justify-content:space-between;padding:.65rem 1rem;background:var(--ns-night);pointer-events:auto}
body.rd-template-daf .rd-source-dialog-pagination[hidden]{display:none!important}
body.rd-template-daf .rd-source-dialog-pagination button{position:static;width:52px;height:44px;margin:0;border-radius:4px;box-shadow:none}
body.rd-template-daf .rd-source-dialog .haoros{margin-top:1.5rem;padding:1rem;border-top:1px solid var(--rule);font:1rem/1.7 var(--hebrew);direction:rtl}
body.rd-template-daf .rd-source-dialog sup.f[role=button]{cursor:pointer;text-decoration:underline;text-underline-offset:2px}
body.rd-template-daf .rd-source-dialog .rd-note-focus{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:860px){
  body.rd-template-daf .rd-vision-reading #synthesis>.mark,
  body.rd-template-daf .rd-vision-reading #synthesis>section>.mark{margin-top:3rem;font-size:1.65rem}
}

body.rd-template-daf .rd-night-player-host>.lbl{display:none!important}
body.rd-template-daf .rd-vision-evidence .rd-audio-only{justify-content:flex-start}
body.rd-template-daf .rd-vision-evidence .rd-audio-only>.rd-night-player-host{margin-top:0!important}
body.rd-template-daf .rd-vision-evidence .rd-audio-only>.rd-night-source-link{margin-top:1.1rem}
