/* A single native RTL strip: dragging right reveals the following tools. */
.mobile-focus-editor>nav{display:flex;min-width:0;overflow:hidden;}
.mobile-focus-editor>nav #mobileToolStrip{display:flex;flex:1;min-width:0;width:100%;height:48px;gap:2px;direction:rtl;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;border:0;margin:0;padding:0;}
.mobile-focus-editor>nav #mobileToolStrip::-webkit-scrollbar{display:none;}
.mobile-focus-editor>nav #mobileToolStrip button{display:flex;flex-direction:column;flex:0 0 64px;min-width:64px;width:64px;height:48px;min-height:48px;padding:2px 0;margin:0;gap:1px;scroll-snap-align:start;touch-action:pan-x;user-select:none;-webkit-user-select:none;}
.mobile-focus-editor>nav #mobileToolStrip button b{font-size:20px;line-height:22px;}
.mobile-focus-editor>nav #mobileToolStrip button small,.mobile-focus-editor>nav #mobileToolStrip button span{font-size:10px;line-height:14px;white-space:nowrap;}
.mobile-focus-editor>nav #mobileToolStrip button svg{width:22px;height:22px;flex:none;}
.mobile-focus-editor>nav #mobileToolStrip button[aria-expanded=true]{background:#3a505f;box-shadow:inset 0 0 0 1px #ffd15a;}
/* These containers keep their IDs for existing handlers but have no spare rows. */
#mobileMorePanel>.mobile-more-actions:empty,#mobileMorePanel #previewActions:empty{display:none!important;}
@media(orientation:landscape) and (max-height:600px){
 .mobile-focus-editor>nav #mobileToolStrip,.mobile-focus-editor>nav #mobileToolStrip button{height:44px;min-height:44px;}
}
