/* Quiet two-way long-page navigation. No layout space or sticky footer overlap. */
.volarre-scroll-nav[hidden]{display:none!important}
.volarre-scroll-nav{display:flex;flex-direction:column;gap:3px;padding:3px;background:#fffdf8;border:1px solid #cdb9b0;border-radius:24px;box-shadow:0 3px 14px #412d3920;isolation:isolate;box-sizing:border-box}
.volarre-scroll-page{position:fixed;right:max(12px,env(safe-area-inset-right));bottom:calc(max(24px,env(safe-area-inset-bottom)) + 54px);z-index:18}
.volarre-scroll-nav button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#65454e;cursor:pointer;box-sizing:border-box;line-height:1}
.volarre-scroll-nav button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.volarre-scroll-nav button[aria-disabled=true]{color:#a99b9b;cursor:default}
.volarre-scroll-nav button:not([aria-disabled=true]):hover{background:#f2eae3}
.volarre-scroll-nav button:focus-visible{outline:2px solid #65454e;outline-offset:1px}
.preview-panel{position:relative}
.volarre-scroll-panel{position:absolute;right:12px;bottom:16px;z-index:5}
@media(max-width:600px){.volarre-scroll-page{right:max(6px,env(safe-area-inset-right));bottom:calc(max(12px,env(safe-area-inset-bottom)) + 72px)}.volarre-scroll-nav{gap:0;padding:2px}.volarre-scroll-panel{right:5px;bottom:12px}}
@media print{.volarre-scroll-nav{display:none!important}}

/* Revision 7: use the opposite edge only when the shared collision check
   finds a clear space. Never cover a full-width active filter deck. */
@media(max-width:680px){
 .volarre-scroll-page{--volarre-scroll-gutter:12px}
 .volarre-scroll-page.volarre-scroll-left{right:auto;left:max(var(--volarre-scroll-gutter),env(safe-area-inset-left))}
}
@media(max-width:600px){.volarre-scroll-page{--volarre-scroll-gutter:6px}}
