.rh-before-after .rh-ba-stage{position:relative;width:100%;aspect-ratio:1024/683;overflow:hidden;background:#e8ede5;border-radius:2px}
.rh-hub-article .rh-before-after .rh-ba-stage img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;opacity:0;transition:opacity .45s ease}
.rh-hub-article .rh-before-after .rh-ba-stage img.is-active{opacity:1}
.rh-ba-label{position:absolute;top:18px;left:18px;z-index:2;padding:8px 15px;border-radius:3px;background:#233b36;color:white;font:600 16px/1.4 system-ui,sans-serif;box-shadow:0 2px 8px #0002;pointer-events:none}
.rh-ba-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;flex-wrap:wrap}
.rh-ba-note{font:12px/1.5 system-ui,sans-serif;color:#53635e}
.rh-ba-toggle{border:1px solid #233b3640;background:#fff;color:#233b36;padding:10px 14px;min-height:44px;font:13px/1.4 system-ui,sans-serif;cursor:pointer;border-radius:3px}
.rh-ba-toggle:focus-visible{outline:3px solid #467c24;outline-offset:3px}
@media(max-width:767px){.rh-ba-label{top:12px;left:12px;font-size:14px;padding:6px 12px}}
@media(prefers-reduced-motion:reduce){.rh-hub-article .rh-before-after .rh-ba-stage img{transition:none}}
