/* Shared continuous tool rail for Belegstudio and every compact workspace. */
.kv14414-rail{background:#fff;border:0;border-left:1px solid #dce4ed;border-radius:0;padding:8px 7px;color:#61788f;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
body #appView .kv14413-host .kv14414-rail{position:sticky;top:64px;height:calc(100dvh - 76px);border-radius:0;align-self:start;background:#fff}
body #appView .kv14413-host .kv14414-rail button,body #appView #p3-belegstudio .kv14414-rail button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:100%!important;min-height:66px!important;padding:7px 3px!important;border:0!important;border-radius:5px!important;background:transparent!important;box-shadow:none!important;color:#61788f!important;font-size:11px!important;font-weight:400!important;line-height:1.3!important;text-align:center!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
body #appView .kv14414-rail button:before,body #appView .kv14414-rail button:after{content:none!important}
body #appView .kv14414-rail button svg{width:20px!important;height:20px!important;flex:none}
body #appView .kv14414-rail button[aria-pressed=true],body #appView .kv14414-rail button:hover{background:#eff4f8!important;color:#3b6285!important;font-weight:400!important}
body #appView .kv14414-rail button:focus-visible{outline:2px solid #486f99;outline-offset:-2px}
body #appView .kv14414-rail .kv14413-subtools{padding-top:5px;border-top:1px solid #e3e9f0;border-bottom:1px solid #e3e9f0;margin-block:6px}
body #appView .kv14414-rail .kv14413-toolcount{font-size:10px!important;font-weight:400!important;line-height:1.1;min-height:0;color:inherit}
@media(min-width:737px){.kv14413-layout{grid-template-columns:minmax(0,1fr) 102px;gap:14px}}
@media(max-width:736px){body #appView .kv14413-host .kv14414-rail{position:static;top:auto;height:auto;max-height:55dvh;border:0;border-bottom:1px solid #dce4ed;overflow-y:auto;grid-template-columns:repeat(3,minmax(0,1fr));padding:6px}body #appView .kv14413-host .kv14414-rail button{min-height:64px!important;font-size:11px!important}.kv14414-rail .kv14413-subtools{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}



/* UI-RAIL-EDGE-001: one viewport rail, independent of centered inner cards. */
@media(min-width:737px){
 body #appView>main.container:has(.view:not(.hidden) .kv14414-rail){padding-right:116px!important}
 body #appView .kv14413-host>.kv14413-layout{grid-template-columns:minmax(0,1fr)}
 body #appView .kv14413-host>.kv14413-layout>.kv14414-rail,
 body #appView #p3-belegstudio .right.kv14414-rail{position:fixed!important;right:0!important;left:auto!important;top:var(--kv145-header,76px)!important;bottom:0!important;width:102px!important;height:calc(100dvh - var(--kv145-header,76px))!important;align-self:stretch!important;max-height:none!important;margin:0!important;border-radius:0!important;z-index:1100;overflow-y:auto}
 body #appView #p3-belegstudio .layout{grid-template-columns:48px minmax(0,1fr)!important}
 body #appView #p3-belegstudio .top{padding-right:18px}
 body #appView .kv14413-host:has(.kv14413-content .kv14414-rail)>.kv14413-layout>.kv14414-rail{display:none!important}
}
