.page-shortcuts {
 position: fixed;
 z-index: 12;
 right: max(16px, env(safe-area-inset-right));
 bottom: max(18px, env(safe-area-inset-bottom));
 display: grid;
 justify-items: center;
 gap: 10px;
 pointer-events: none;
}
.page-shortcuts button { pointer-events: auto }
.page-shortcuts .support-launch { position: static }
.back-to-top {
 position: relative;
 width: 46px;
 height: 46px;
 padding: 0;
 border: 1.5px solid #171717;
 border-radius: 50%;
 background: #fff;
 color: #171717;
 cursor: pointer;
}
.back-to-top[hidden] { display: none }
.back-to-top::before, .back-to-top::after {
 content: '';
 position: absolute;
 left: 50%;
}
.back-to-top::before {
 top: 14px;
 width: 10px;
 height: 10px;
 border: solid currentColor;
 border-width: 2px 0 0 2px;
 transform: translateX(-50%) rotate(45deg);
}
.back-to-top::after {
 top: 14px;
 height: 17px;
 border-left: 2px solid currentColor;
 transform: translateX(-50%);
}
.back-to-top:focus-visible { outline: 2px solid #171717; outline-offset: 3px }
@media(max-width:700px){
 .page-shortcuts { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)) }
 body:has(#studio-chat:not([hidden])) .page-shortcuts { bottom: max(178px, calc(env(safe-area-inset-bottom) + 168px)) }
}
@media print { .page-shortcuts { display: none } }
