/* Approved РУХ scroll indicator: 1.2px track, 30% smaller percentage. */
.ruh-scroll-progress{position:fixed;z-index:35;box-sizing:border-box;display:flex;align-items:center;gap:6px;height:14px;padding:0 16px;background:#fff;pointer-events:none;contain:layout style;visibility:hidden}
.ruh-scroll-progress[hidden]{display:none!important}
.ruh-scroll-progress-track{flex:1;min-width:0;height:1.2px;overflow:hidden;border-radius:2px;background:#eef0f7}
.ruh-scroll-progress-fill{display:block;width:100%;height:100%;background:#3154e9;transform:scaleX(0);transform-origin:left center}
.ruh-scroll-progress-value{flex:none;min-width:23px;color:#52649c;font:500 7.7px/1 Manrope,system-ui,sans-serif;font-variant-numeric:tabular-nums;text-align:right}
.ruh-to-top{position:fixed;z-index:42;right:max(14px,env(safe-area-inset-right,0px));bottom:calc(76px + env(safe-area-inset-bottom,0px) + 14px);display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #dce3ed;border-radius:50%;background:rgba(255,255,255,.82);color:#3154e9;box-shadow:0 3px 12px #17212e18;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);touch-action:manipulation;cursor:pointer}
.ruh-to-top[hidden]{display:none!important}
.ruh-to-top svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ruh-to-top:focus-visible{outline:3px solid #86b6ff;outline-offset:2px}
.ruh-to-top:active{background:#eaf0ff}
@media(hover:hover) and (pointer:fine){.ruh-to-top:hover{background:#f6f8ff}}
/* Directly follows scrolling, without easing, bounce or looping motion. */
@media(prefers-reduced-motion:reduce){.ruh-scroll-progress,.ruh-scroll-progress-fill{animation:none;transition:none}}
@media(forced-colors:active){.ruh-scroll-progress,.ruh-to-top{background:Canvas}.ruh-scroll-progress-track{background:GrayText}.ruh-scroll-progress-fill{background:Highlight}.ruh-scroll-progress-value{color:CanvasText}.ruh-to-top{border-color:CanvasText}}
@media print{.ruh-scroll-progress,.ruh-to-top{display:none!important}}
