/* Keep existing sidebar values and original finance events; contain only the visible thumb. */
.sidebar-slider .slider-line>.slider-cursor{pointer-events:none;transform:none}
.sidebar-slider .slider-line>.wic-sidebar-range{position:absolute;top:50%;transform:translateY(-50%);height:44px;min-width:0;margin:0;padding:0;border:0;opacity:0;z-index:5;cursor:pointer;touch-action:pan-y;-webkit-appearance:none;appearance:none}
.sidebar-slider .wic-sidebar-range::-webkit-slider-thumb{-webkit-appearance:none;width:var(--wic-sidebar-thumb,60px);height:44px}
.sidebar-slider .wic-sidebar-range::-moz-range-thumb{width:var(--wic-sidebar-thumb,60px);height:44px;border:0}
.sidebar-slider .slider-line:has(>.wic-sidebar-range:focus-visible)>.slider-cursor{outline:3px solid #365c79;outline-offset:3px}
@media(max-width:800px){.sidebar-slider .slider-form-block.slider-active{display:block!important}}

.sidebar-slider .wic-mobile-form{display:none!important}

.sidebar-slider>.wic-sidebar-picker{display:block;margin:0 0 12px;font-size:13px;font-weight:600;line-height:1.5;text-align:left}
.sidebar-slider>.wic-sidebar-picker select{display:block;width:100%;height:44px;margin-top:6px;padding:8px;border:1px solid #b7c9ae;border-radius:7px;background:#fff;color:#243529;font-size:14px}
.sidebar-slider:has(>.wic-sidebar-picker) .slider-switchers{display:none}
.sidebar-slider:not(.thirteen-compact-sidebar) a[data-slider-action]{width:28px;height:28px;margin:1px 6px;border:1px solid #3f671f;border-radius:50%;background:#fff;color:#3f671f;line-height:26px;font-size:18px}
.sidebar-slider:not(.thirteen-compact-sidebar) .slider-line{height:5px;min-width:0;border:0;border-radius:4px;background:#666;margin:12.5px 0}
.sidebar-slider:not(.thirteen-compact-sidebar) .slider-line>.slider-line-bg{height:5px;border-radius:4px;background:#3f671f}
.sidebar-slider:not(.thirteen-compact-sidebar) .slider-line>.slider-cursor{width:60px;height:20px;border:1px solid #fff;border-radius:10px;top:50%;transform:translateY(-50%);line-height:18px;font-size:12px}
.sidebar-slider:not(.thirteen-compact-sidebar) .slider-cursor:before,.sidebar-slider:not(.thirteen-compact-sidebar) .slider-cursor:after{display:none}

html body .sidebar-slider:not(.wic-slider-ready) .slider-cursor{visibility:hidden}

html body .sidebar-slider .slider-switchers{display:none!important}
html body .sidebar-slider:not(:has(>.wic-sidebar-picker)):before{content:"Kredīta veids";display:block;height:69.5px;margin:0 0 12px;font-size:13px;font-weight:600;line-height:19.5px;text-align:left}
html[lang^="ru"] body .sidebar-slider:not(:has(>.wic-sidebar-picker)):before{content:"Вид кредита"}

@media(max-width:800px){html body .sidebar-slider .slider-form-block.slider-active{display:block!important}}
html body .sidebar-slider .wic-mobile-form{display:none!important}

/* Stable value rows before and after the legacy engine initializes. */
html body .sidebar-slider .slider-main-row{display:grid;grid-template-columns:28px minmax(0,1fr) 60px minmax(0,1fr) 28px;gap:6px 8px;align-items:center;height:auto;min-height:66px;margin:8px 0}
html body .sidebar-slider .slider-main-row>div{float:none;width:auto!important;min-width:0;margin:0;padding:0}
html body .sidebar-slider .slider-main-row>.slider-side-block:first-child{grid-column:1;grid-row:1}
html body .sidebar-slider .slider-main-row>.slider-middle-block{grid-column:2/5;grid-row:1}
html body .sidebar-slider .slider-main-row>.slider-side-block:nth-child(3){grid-column:5;grid-row:1}
html body .sidebar-slider .slider-main-row>.slider-value-block{grid-column:3;grid-row:2}
html body .sidebar-slider .slider-main-row>.slider-sign-block{grid-column:4/6;grid-row:2;justify-self:start;white-space:nowrap}
html body .sidebar-slider a[data-slider-action]{width:28px;height:28px;box-sizing:border-box;margin:0;line-height:26px}
html body .sidebar-slider .slider-input{display:block;width:60px;height:30px;margin:0;padding:3px;box-sizing:border-box}
html body .sidebar-slider .slider-sign-block label{margin:0}
html body .sidebar-slider .slider-detail-row{display:none}
html body .sidebar-slider .slider-line{margin:11.5px 0;height:5px}

html body .sidebar-slider:not(.thirteen-compact-sidebar) a[data-slider-action]{margin:0!important}
