/* A 30px visual circle within a 44px transparent touch target, below Contact on the right. */
#kb-back-to-top {
 all:initial;box-sizing:border-box;position:fixed;left:auto;right:calc(max(18px,env(safe-area-inset-right)) + 12px);
 bottom:calc(20px + env(safe-area-inset-bottom));width:44px;height:44px;
 display:grid;place-items:center;z-index:2147481900;cursor:pointer;
 color:#eddbac;touch-action:manipulation;border-radius:50%;
}
#kb-back-to-top::before {content:"";position:absolute;inset:7px;border-radius:50%;background:#17382ee8;border:1px solid #c9b78380;box-shadow:0 3px 12px #0004;}
#kb-back-to-top svg {position:relative;width:17px;height:17px;display:block;pointer-events:none;}
#kb-back-to-top[hidden] {display:none!important;}
#kb-back-to-top:focus-visible {outline:2px solid #eed9a7;outline-offset:1px;}
@media(hover:hover){#kb-back-to-top:hover::before{background:#28533f;border-color:#eed9a7;}}
@media(max-width:800px){#kb-back-to-top{bottom:calc(86px + env(safe-area-inset-bottom));}}
@media print{#kb-back-to-top{display:none!important;}}

/* Reserve a vertical stack: Contact, 8px gap, then the small top button. */
#kb-shalom-root.kb-admin-contact .kb-shalom-launcher {
 bottom:calc(72px + env(safe-area-inset-bottom))!important;
}
@media(max-width:800px){
 #kb-shalom-root.kb-admin-contact .kb-shalom-launcher{bottom:calc(138px + env(safe-area-inset-bottom))!important;}
}
@media(max-width:600px){
 #kb-back-to-top{right:calc(max(14px,env(safe-area-inset-right)) + 8px);}
}
