/* Phone/tablet editing bar pinned above the on-screen keyboard (app/mobile-toolbar.js). */
.mobile-toolbar{position:fixed;left:0;right:auto;bottom:0;z-index:60;box-sizing:border-box;width:100%;display:flex;align-items:center;gap:2px;padding:2px 6px calc(2px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e9e9e7;box-shadow:0 -2px 8px rgba(15,15,15,.04);overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;touch-action:pan-x;}
.mobile-toolbar[hidden]{display:none;}
.mobile-toolbar::-webkit-scrollbar{display:none;}
.mobile-toolbar button{flex:0 0 auto;min-width:44px;height:44px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#37352f;font-family:inherit;font-size:16px;font-weight:500;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;}
.mobile-toolbar button:active{background:#f1f1ef;}
.mobile-toolbar button:focus-visible{outline:2px solid #2383e2;outline-offset:-2px;}
.mobile-toolbar .mt-slash{font-weight:600;color:#787774;}
.mobile-toolbar .mt-bold{font-weight:700;}
.mobile-toolbar .mt-italic{font-style:italic;font-family:Georgia,serif;}
.mobile-toolbar .mt-mark{background:linear-gradient(transparent 55%,#fbecb0 55%);background-clip:content-box;}
.mobile-toolbar .mt-heading{font-weight:700;}
.mobile-toolbar .mt-undo{margin-left:auto;}
.mobile-toolbar .mt-done{color:#787774;}
/* Leaves room so the last lines of a note are not hidden behind the bar. */
html.mobile-toolbar-open body{padding-bottom:calc(52px + env(safe-area-inset-bottom,0px));}
