.fba-icmp{position:relative;overflow:hidden;border-radius:var(--fba-icmp-radius,14px);line-height:0}
.fba-icmp__pane{position:relative}
.fba-icmp__img{display:block;width:100%;height:auto}
.fba-icmp__pane--after{position:absolute;inset:0;overflow:hidden}
.fba-icmp--vertical .fba-icmp__pane--after{width:var(--fba-icmp-pos,50%)}
.fba-icmp--horizontal .fba-icmp__pane--after{height:var(--fba-icmp-pos,50%);width:100%}
.fba-icmp--vertical .fba-icmp__pane--after .fba-icmp__img{width:var(--fba-icmp-w,100%);max-width:none}
.fba-icmp__handle{position:absolute;background:var(--fba-icmp-handle,#fff);pointer-events:none;z-index:2;box-shadow:0 0 0 1px rgba(10,14,22,.15)}
.fba-icmp--vertical .fba-icmp__handle{top:0;bottom:0;left:var(--fba-icmp-pos,50%);width:3px;transform:translateX(-50%)}
.fba-icmp--horizontal .fba-icmp__handle{left:0;right:0;top:var(--fba-icmp-pos,50%);height:3px;transform:translateY(-50%)}
.fba-icmp__handle::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:999px;background:inherit;box-shadow:0 2px 10px rgba(10,14,22,.3)}
.fba-icmp--horizontal .fba-icmp__handle::after{width:40px;height:40px}
.fba-icmp__label{position:absolute;z-index:3;padding:5px 11px;border-radius:999px;background:var(--fba-icmp-label-bg,rgba(10,14,22,.72));color:var(--fba-icmp-label-color,#fff);font-size:.75rem;font-weight:600;line-height:1.4}
.fba-icmp__label--before{top:12px;inset-inline-end:12px}
.fba-icmp__label--after{top:12px;inset-inline-start:12px}
/* The range input covers the whole element and is the real control. It is visually
   transparent but fully operable, which is why the handle above is decorative. */
.fba-icmp__range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;z-index:4;appearance:none;background:transparent}
.fba-icmp--horizontal .fba-icmp__range{cursor:ns-resize}
.fba-icmp__range:focus-visible{opacity:0;outline:none}
.fba-icmp:has(.fba-icmp__range:focus-visible){outline:2px solid var(--fba-color-accent);outline-offset:2px}
