/* RHC teaching figures and worked cases use the shared guide palette. */
#hemo .rhc-deep p{margin:7px 0;line-height:1.38}
#hemo .rhc-deep table.tbl th,#hemo .rhc-deep table.tbl td{padding:5px 7px;line-height:1.35}
#hemo .rhc-deep table.tbl td.k{white-space:normal}
#hemo .rhc-case{margin:9px 0;padding:9px 11px;background:var(--paper-warm);border:1px solid var(--rule-hair);border-radius:6px}
#hemo .rhc-case h3{font-size:10pt;margin:0 0 5px;line-height:1.25}
#hemo .rhc-takehome{margin:8px 0;padding:8px 10px;border-left:3px solid var(--guide-red-deep);background:var(--tint);line-height:1.4}
#hemo .rhc-svg-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#hemo .rhc-svg-pair>svg{min-width:0;width:100%;height:auto}
#hemo .rhc-ph-map{margin:8px 0;border:1px solid var(--rule-hair);border-radius:7px;overflow:hidden}
#hemo .rhc-ph-map>p{padding:8px 11px;background:var(--ink);color:var(--paper);font-weight:750;margin:0}
#hemo .rhc-ph-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#hemo .rhc-ph-grid>div{padding:8px 10px;border:1px solid var(--rule-soft)}
#hemo .rhc-ph-grid strong{display:block;color:var(--guide-red-deep);margin-bottom:4px}
#hemo .rhc-ph-grid span{display:block}
#hemo .rhc-route{margin:8px 0;padding:8px 10px;background:var(--paper-warm);border:1px solid var(--rule-hair);line-height:1.45}
#hemo .rhc-route a{color:var(--guide-red-deep);font-weight:700}
#hemo .rhc-atlas img{max-width:510px;margin:auto}
#hemo .rhc-enlarge{display:inline-flex;align-items:center;min-height:44px;margin-top:5px;color:var(--guide-red-deep);font-size:14px;font-weight:700}
@media screen and (max-width:700px){#hemo .rhc-svg-pair,#hemo .rhc-ph-grid{grid-template-columns:minmax(0,1fr)}#hemo .rhc-deep p{line-height:1.55}#hemo .rhc-case{padding:13px}#hemo .rhc-takehome{padding:12px}}
@media print{#hemo .rhc-deep p{font-size:8pt;line-height:1.34;margin:6px 0}#hemo .rhc-deep table.tbl td{font-size:7.4pt}#hemo .rhc-case{padding:7px 9px;margin:7px 0}#hemo .rhc-case h3{font-size:9pt}#hemo .rhc-takehome{padding:6px 8px;margin:6px 0}#hemo .rhc-route{font-size:7.4pt;padding:5px 8px;margin:5px 0}#hemo .rhc-enlarge{display:none}#hemo .rhc-atlas img{max-width:390px}#hemo .rhc-svg-pair{gap:8px}#hemo .rhc-td .rhc-svg-pair svg{max-height:130px}#hemo .rhc-deep .dx-motion svg{max-height:240px}#hemo .rhc-ph-map{font-size:7.2pt}#hemo .rhc-ph-map>p{padding:5px 8px}#hemo .rhc-ph-grid>div{padding:5px 8px}}

#hemo .rhc-phone-visual{display:none}
@media screen and (max-width:700px){#hemo .rhc-desktop-visual{display:none}#hemo .rhc-phone-visual{display:block}}

@media screen and (max-width:700px){
  #hemo .dx-motion,#hemo .hemo-real{margin-left:-24px;margin-right:-24px}
  #hemo .rhc-deep svg text[font-size="13"],#hemo .rhc-deep svg text[font-size="14"],#hemo .rhc-deep svg text[font-size="15"]{font-size:16px}
}
@media print{#hemo .rhc-desktop-visual{display:block}#hemo .rhc-phone-visual{display:none}}
