.window.phone{touch-action:manipulation;-webkit-tap-highlight-color:transparent;height:100dvh;overflow:hidden;--side-w:80vw!important}.phone-tools,.phone-scrim{display:none}.keyboard-catcher{opacity:0;pointer-events:none;border:0;width:1px;height:1px;padding:0;font-size:16px;position:fixed;top:0;left:0}.window.phone :is(.resizer,.notelist,#pageWidth,.desktop-only){display:none!important}.window.phone .setting-row:has(#noteListToggle),.window.phone .layouts{display:none}.window.phone .sidebar,.window.phone .main{opacity:1;position:absolute;top:0;bottom:0;left:0}.window.phone .sidebar{width:var(--side-w);z-index:3;border-right:0;transform:translate(-100%)}.window.phone .main{z-index:1;background:var(--bg);width:100%}.window.phone:is(.drawer,.no-note) .sidebar{box-shadow:1px 0 0 var(--line), 10px 0 28px #0000000f;transform:none}.window.phone:is(.drawer,.no-note) .main{transform:translateX(var(--side-w))}.window.phone .phone-scrim{z-index:10;opacity:0;pointer-events:none;background:#0000001a;display:block;position:absolute;inset:0}.window.phone:is(.drawer,.no-note) .phone-scrim{opacity:1;pointer-events:auto}.window.phone.animate :is(.sidebar,.main){transition:transform .4s cubic-bezier(.32,.72,0,1),box-shadow .4s}.window.phone.animate .phone-scrim{transition:opacity .4s}.window.phone.swiping :is(.sidebar,.main,.phone-scrim){transition:none}.window.phone.no-vault .sidebar,.window.phone.no-vault .phone-scrim{display:none}.window.phone.no-vault .main{transition:none;transform:none}@media (prefers-reduced-motion:reduce){.window.phone.animate :is(.sidebar,.main,.phone-scrim){transition:none}}.window.phone .row,.window.phone .icon-btn{transition:background-color .3s}@media (hover:none){.window.phone .row:hover,.window.phone .icon-btn:hover:not(.on){background:0 0}}.window.phone .row.sel:not(.hit){background:0 0}.window.phone .row:active,.window.phone .icon-btn:active,.window.phone .row.held{transition:none;background:var(--sel)!important}.drag-ghost{z-index:30;pointer-events:none;background:var(--sheet);opacity:.95;height:38px;box-shadow:0 0 0 .5px var(--line), 0 8px 24px var(--shadow);border-radius:8px;font-size:15px;position:fixed;top:0;left:0}.window.phone .icon-btn{border-radius:8px;width:36px;height:36px}.window.phone .icon-btn svg{width:18px;height:18px}.window.phone .row{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;border-radius:8px;height:38px;font-size:15px}.window.phone .row.sect{height:30px;font-size:12px}.window.phone .row.hit{height:auto;padding:8px 10px}.window.phone .row .add{opacity:1;width:30px;height:30px}.window.phone .tree{padding:0 8px calc(12px + env(safe-area-inset-bottom))}.window.phone .searching .search{height:34px;margin:0 12px 8px}.window.phone .side-head,.window.phone .topbar,.window.phone.sidebar-hidden .topbar{height:calc(46px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 8px 0 8px}.window.phone .side-foot{padding:6px 10px calc(4px + env(safe-area-inset-bottom));align-items:center}.window.phone .side-foot #newNote{margin-left:auto}.window.phone .crumbs,.window.phone .topbar .meta{opacity:1}.window.phone.no-vault #toggleSide{visibility:hidden}.pane-steps{display:none}.window.phone.split .pane-steps{flex-shrink:0;align-items:center;display:flex}.pane-steps .pane-count{color:var(--faint);text-align:center;white-space:nowrap;min-width:40px;font-size:12px}.pane-steps .icon-btn:disabled{opacity:.3}.window.phone .tab-group{position:relative}.window.phone .tab-group:before{content:"";background:var(--faint);opacity:.6;border-radius:1px;width:2px;position:absolute;top:10px;bottom:10px;left:13px}.window.phone .status{height:calc(30px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.window.phone input,.window.phone select,.window.phone textarea,[data-font=mono] .window.phone #panes .editor-host .cm-scroller{font-size:16px}.window.phone #panes .editor-host .cm-content{padding:8px 20px 40vh}.window.phone #panes .editor-host .cm-h1{font-size:26px}.window.phone .pane:not(.active){display:none}.window.phone .pane+.pane{border-left:0}.window.phone.editing .status{display:none}.window.phone.keyboard #panes .editor-host .cm-content{padding-bottom:48px}.window.phone.editing .phone-tools{border-top:1px solid var(--line);background:var(--bg);flex-shrink:0;justify-content:space-between;align-items:center;height:44px;padding:0 6px;display:flex}.window.phone.editing:not(.keyboard) .phone-tools{height:calc(44px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}@keyframes phone-sheet-in{0%{transform:translateY(100%)}}.window.phone.settings-open .settings{z-index:6;flex-direction:column;animation:.4s cubic-bezier(.32,.72,0,1) phone-sheet-in}.window.phone .set-nav{scrollbar-width:none;border-right:0;border-bottom:1px solid var(--line);width:auto;padding:calc(6px + env(safe-area-inset-top)) 8px 6px;flex-shrink:0;gap:2px;display:flex;overflow-x:auto}.window.phone .set-nav .side-head{display:none}.window.phone .set-nav button{white-space:nowrap;flex-shrink:0;width:auto;padding:7px 11px;font-size:14.5px}.window.phone .set-nav .set-back{margin-bottom:0}.window.phone .set-body{padding:0 18px calc(40px + env(safe-area-inset-bottom))}.window.phone .set-drag{height:16px}.window.phone .themes,.window.phone .palettes{grid-template-columns:repeat(2,1fr)}@keyframes phone-pop{0%{opacity:0;transform:scale(.94)}}html.is-phone .ctx-menu{transform-origin:0 0;min-width:210px;font-size:14.5px;animation:.16s cubic-bezier(.2,.8,.2,1) phone-pop}html.is-phone .ctx-item{border-radius:6px;padding:8px 10px 8px 4px}@keyframes phone-fade{0%{opacity:0}}html.is-phone .dialog-back{animation:.2s phone-fade}html.is-phone .dialog{width:min(300px,100vw - 48px);animation:.2s cubic-bezier(.2,.8,.2,1) phone-pop}html.is-phone .dialog-buttons .btn{padding:9px 12px}html.is-phone .toast{bottom:calc(56px + env(safe-area-inset-bottom));white-space:normal;text-align:center}
