:root{--mobile-safe-area-top:env(safe-area-inset-top)}:root:has(.mobile-embedded-host){--mobile-safe-area-top:0px}.mobile-app-shell :is(button,[role=button]),.mobile-sheet-content :is(button,[role=button]){transition:background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard)}.mobile-app-shell :focus-visible:not(:where(.mobile-search-input input,[contenteditable=true])),.mobile-sheet-content :focus-visible:not(:where(.mobile-search-input input,[contenteditable=true])){outline:2px solid var(--theme-primary);outline-offset:2px}.mobile-app-shell [contenteditable=true]:is(:focus,:focus-visible),.mobile-sheet-content [contenteditable=true]:is(:focus,:focus-visible){outline-offset:0;outline:0}.mobile-route-screen{height:calc(100dvh - var(--app-banner-height));background:var(--theme-base);min-height:0;position:relative;overflow:hidden}.mobile-screen{box-sizing:border-box;height:calc(100dvh - var(--app-banner-height));overscroll-behavior:contain;min-height:0;padding:max(16px, var(--mobile-safe-area-top)) 12px calc(88px + env(safe-area-inset-bottom));scrollbar-width:none;overflow-y:auto}.mobile-screen::-webkit-scrollbar{display:none}.mobile-loading-surface,.mobile-editor-loading{min-height:100%;color:var(--theme-subtext);font-size:var(--text-base);flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.mobile-app-shell>.mobile-loading-surface{min-height:calc(100dvh - var(--app-banner-height))}.mobile-user-orb,.mobile-icon-button{flex:none;justify-content:center;align-items:center;display:inline-flex}.mobile-section-heading{min-height:22px;color:var(--theme-muted);font-size:var(--text-sm);letter-spacing:.075em;text-transform:uppercase;justify-content:space-between;align-items:center;margin:18px 2px 8px;font-weight:700;display:flex}.mobile-empty-card,.mobile-inline-error{border:1px solid var(--theme-border-subtle);border-radius:var(--radius-element);background:var(--theme-mantle)}.mobile-empty-card-compact{min-height:132px}.mobile-empty-card strong{color:var(--theme-text);font-size:var(--text-base);font-weight:700}.mobile-empty-card span{color:var(--theme-subtext);font-size:var(--text-base);line-height:1.45}.mobile-secondary-button{border-radius:var(--radius-element);min-height:38px;font:inherit;font-size:var(--text-base);border:1px solid var(--theme-border);background:var(--theme-surface0);color:var(--theme-text);justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:700;display:inline-flex}.mobile-secondary-button:disabled{cursor:not-allowed;opacity:.58}.mobile-note-title-block{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.mobile-note-title-block span{color:var(--theme-muted);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;line-height:1.1;overflow:hidden}.mobile-note-title-block strong{color:var(--theme-text);font-size:var(--text-base);text-overflow:ellipsis;white-space:nowrap;font-weight:700;line-height:1.2;overflow:hidden}.mobile-note-screen{flex-direction:column;padding:0;display:flex;overflow:hidden}.mobile-note-header{min-height:54px;padding:calc(8px + var(--mobile-safe-area-top)) 8px 8px;border-bottom:1px solid var(--theme-border-subtle);background:var(--theme-mantle);flex:none;align-items:center;gap:10px;display:flex}.mobile-note-status-slot{justify-content:flex-end;align-items:center;display:flex}.mobile-note-status{border-radius:var(--radius-full);background:var(--theme-surface0);color:var(--theme-muted);font-size:var(--text-sm);white-space:nowrap;transition:opacity var(--duration-fast) var(--ease-standard);text-transform:capitalize;align-items:center;gap:4px;padding:3px 9px;font-weight:600;display:inline-flex}.mobile-note-status[data-kind=error],.mobile-note-status[data-kind=offline]{background:color-mix(in srgb, var(--theme-error) 12%, transparent);color:var(--theme-error)}.mobile-note-status[data-kind=saved]{color:var(--theme-subtext)}.mobile-note-body,.mobile-file-preview-shell{flex:auto;min-height:0;overflow:hidden}.mobile-note-edit-body .block-editor-shell{background:0 0;height:100%;min-height:0}.mobile-note-edit-body .block-editor-content-shell,.mobile-note-edit-body .block-editor-scroller{height:100%;min-height:0}.mobile-note-edit-body .block-editor-scroller{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.mobile-note-edit-body .block-editor-page{width:100%;max-width:none;min-height:100%;box-shadow:none;background:0 0;border:0;border-radius:0;padding:18px 14px 96px}.mobile-note-edit-body .block-editor-shell[data-focused-reading-width] .block-editor-scroller[data-readonly] .block-editor-page{padding-inline:calc(var(--spacing-3) + var(--spacing-0-5))}.mobile-note-edit-body .block-editor-prosemirror{min-height:280px;font-size:16px;line-height:1.68}.mobile-empty-note-copy{min-height:220px;color:var(--theme-muted);flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.mobile-empty-note-copy strong{color:var(--theme-text)}.mobile-tree-loading{min-height:120px;color:var(--theme-muted);font-size:var(--text-base);justify-content:center;align-items:center;gap:8px;display:flex}@media (min-width:760px){.mobile-app-shell{background:var(--theme-crust,var(--theme-base));justify-content:center;display:flex}.mobile-route-screen{border-right:1px solid var(--theme-border-subtle);border-left:1px solid var(--theme-border-subtle);background:var(--theme-base);width:min(430px,100vw)}}.mobile-route-screen,.mobile-note-screen,.mobile-note-body,.mobile-file-preview-shell,.mobile-note-edit-body .block-editor-shell,.mobile-note-edit-body .block-editor-content-shell,.mobile-note-edit-body .block-editor-scroller,.mobile-note-edit-body .block-editor-page{background:var(--theme-base)!important;background-image:none!important}.mobile-side-header>div:first-child{min-width:0}.mobile-side-header span{color:var(--theme-muted);font-size:var(--text-sm);line-height:1.25}.mobile-side-header strong{color:var(--theme-text);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:700;line-height:1.25;display:block;overflow:hidden}.mobile-side-search button{width:28px;height:var(--size-element-sm);border-radius:var(--radius-element);color:var(--theme-muted);background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.mobile-side-empty,.mobile-tree-loading{min-height:140px;color:var(--theme-muted);font-size:var(--text-base);text-align:center;justify-content:center;align-items:center;gap:8px;display:flex}.mobile-user-orb{border-radius:var(--radius-full);background:var(--theme-surface0);width:40px;height:40px;color:var(--theme-text);font-size:var(--text-base);flex:none;justify-content:center;align-items:center;font-weight:700;display:inline-flex;overflow:hidden}.mobile-user-orb img{object-fit:cover;width:100%;height:100%}.mobile-note-empty{margin:0}.mobile-empty-card{min-height:160px;color:var(--theme-muted);text-align:center;border:1px solid var(--theme-border-subtle);border-radius:var(--radius-element);background:var(--theme-mantle);flex-direction:column;justify-content:center;align-items:center;gap:8px;margin-top:16px;padding:16px;display:flex}.mobile-inline-error{color:var(--theme-error);font-size:var(--text-base);background:color-mix(in srgb, var(--theme-error) 10%, var(--theme-mantle));border:1px solid color-mix(in srgb, var(--theme-error) 38%, var(--theme-border-subtle));border-radius:var(--radius-element);margin:0 12px 8px;padding:9px 10px;line-height:1.4}@media (min-width:760px){.mobile-route-screen{width:min(430px,100vw)}}.mobile-app-shell{--size-tap:44px;--mobile-screen-pad-x:var(--spacing-4);min-height:calc(100dvh - var(--app-banner-height));color:var(--theme-text);--mobile-side-width:min(82vw, 332px);overflow:hidden;background:var(--theme-base)!important}.mobile-side-header{min-height:48px;padding:calc(8px + var(--mobile-safe-area-top)) 10px 8px;border-bottom:1px solid var(--theme-border-subtle);z-index:8;justify-content:space-between;align-items:center;gap:8px;display:flex;position:relative}.mobile-side-workspace-trigger{border-radius:var(--radius-element);min-width:0;min-height:38px;color:var(--theme-text);font:inherit;text-align:left;background:0 0;border:0;flex:auto;align-items:center;gap:8px;padding:4px 6px;display:flex}.mobile-side-workspace-trigger:active,.mobile-side-workspace-trigger[aria-expanded=true]{background:var(--color-overlay-pressed)}.mobile-side-workspace-trigger>span,.mobile-workspace-switcher-list button>span{flex-direction:column;flex:auto;gap:1px;min-width:0;display:flex}.mobile-side-workspace-trigger small,.mobile-workspace-switcher-list small{color:var(--theme-muted);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;line-height:1.1;overflow:hidden}.mobile-side-workspace-trigger strong,.mobile-workspace-switcher-list strong{color:var(--theme-text);font-size:var(--text-base);text-overflow:ellipsis;white-space:nowrap;font-weight:600;line-height:1.18;overflow:hidden}.mobile-workspace-switcher-list button,.mobile-side-workspace-loading{border-radius:var(--radius-element);width:100%;min-height:58px;color:var(--theme-text);font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:10px 12px;display:flex}.mobile-workspace-switcher-list button.is-active,.mobile-workspace-switcher-list button:active{background:var(--color-overlay-pressed)}.mobile-side-workspace-loading{color:var(--theme-muted);font-size:var(--text-sm)}.mobile-workspace-switcher-list small{font-size:var(--text-sm);line-height:1.25}.mobile-workspace-switcher-list strong{font-size:var(--text-base);line-height:1.2}.mobile-side-search{min-height:var(--size-element-lg);border:1px solid var(--theme-border-subtle);border-radius:var(--radius-element);background:var(--theme-base);color:var(--theme-subtext);align-items:center;gap:9px;margin:8px 10px 6px;padding:0 9px;display:flex}.mobile-side-search input{min-width:0;color:var(--theme-text);font:inherit;font-size:var(--text-base);background:0 0;border:0;outline:0;flex:1}.mobile-icon-button:active{background:var(--color-overlay-pressed);color:var(--theme-text)}.mobile-file-navigator{flex-direction:column;min-height:0;display:flex}.mobile-file-nav-header{min-height:30px;color:var(--theme-muted);justify-content:space-between;align-items:center;gap:8px;padding:0 2px 4px;display:flex}.mobile-file-nav-header>span{min-width:0;font-size:var(--text-sm);letter-spacing:normal;text-overflow:ellipsis;text-transform:none;white-space:nowrap;font-weight:500;line-height:1.2;overflow:hidden}.mobile-file-nav-actions,.mobile-file-row-actions{flex:none;align-items:center;gap:2px;display:inline-flex}.mobile-file-nav-actions button,.mobile-file-row-actions button{width:var(--size-tap);height:var(--size-tap);color:var(--theme-muted);font:inherit;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;padding:0;display:inline-flex}.mobile-file-nav-actions button:active,.mobile-file-row-actions button:active{background:var(--color-overlay-pressed);color:var(--theme-text)}.mobile-file-nav-list,.mobile-file-search-results,.mobile-file-folder-children{flex-direction:column;gap:1px;display:flex}.mobile-file-folder-group{flex-direction:column;display:flex}.mobile-file-row{width:100%;min-height:var(--size-element-lg);border-radius:var(--radius-element);color:var(--theme-subtext);font:inherit;font-size:var(--text-base);text-align:left;background:0 0;border:0;align-items:center;gap:7px;padding:0 6px 0 4px;line-height:1.2;display:flex}button.mobile-file-row,.mobile-file-folder-main{appearance:none;cursor:pointer}.mobile-file-row:active,.mobile-file-row-file.is-active{background:var(--color-overlay-pressed);color:var(--theme-text)}.mobile-file-row-file>span:last-child,.mobile-file-folder-main>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mobile-file-row-file>svg,.mobile-file-folder-main>svg{flex:none}.mobile-file-row-file>svg{color:var(--theme-muted)}.mobile-file-row-file.is-active>svg{color:var(--theme-primary)}.mobile-file-row-spacer{flex:0 0 15px;width:15px;height:1px}.mobile-file-folder-main{min-width:0;min-height:var(--size-element-lg);color:inherit;font:inherit;text-align:left;background:0 0;border:0;flex:auto;align-items:center;gap:7px;padding:0;display:flex}.mobile-file-folder-main>svg:first-child{color:var(--theme-muted);transition:transform .12s}.mobile-file-folder-main>svg:first-child.is-expanded{transform:rotate(90deg)}.mobile-file-folder-main>svg:nth-child(2){color:var(--theme-yellow,var(--theme-muted))}.mobile-file-row-actions{opacity:.82}.mobile-file-row-muted{min-height:var(--size-element-md);color:var(--theme-muted);font-size:var(--text-sm)}.mobile-viewport-host{height:calc(var(--mobile-viewport-height,100dvh) - var(--app-banner-height));min-height:0;overflow:hidden}.mobile-note-viewport-host{background:var(--theme-base)}.mobile-note-viewport-host>.mobile-note-screen{height:100%}.mobile-note-viewport-host .mobile-note-edit-body .block-editor-scroller{padding-bottom:calc(96px + var(--mobile-keyboard-inset,0px) + env(safe-area-inset-bottom))}.mobile-note-viewport-host .mobile-note-edit-body .block-editor-page{padding-bottom:calc(112px + var(--mobile-keyboard-inset,0px) + env(safe-area-inset-bottom))}.mobile-note-viewport-host .block-editor-floating-toolbar{bottom:calc(14px + var(--mobile-keyboard-inset,0px) + env(safe-area-inset-bottom))}.mobile-edit-fab[data-editing=true]{bottom:calc(84px + var(--mobile-keyboard-inset,0px) + env(safe-area-inset-bottom))}.mobile-action-sheet-header{border-bottom:1px solid var(--theme-border-subtle);flex-direction:column;gap:3px;margin-bottom:10px;padding:6px 10px 14px;display:flex}.mobile-action-sheet-header strong{font-size:var(--text-lg);font-size:var(--text-base);color:var(--theme-text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-action-sheet-header span{font-size:var(--text-sm);color:var(--theme-subtext)}.mobile-action-sheet-items{flex-direction:column;display:flex}.mobile-action-sheet-item{border-radius:var(--radius-element);min-height:52px;color:var(--theme-text);font-size:var(--text-lg);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:14px;padding:0 10px;display:flex}.mobile-action-sheet-item:active{background:var(--theme-surface)}.mobile-action-sheet-item:disabled{opacity:.45;cursor:default}.mobile-action-sheet-item[data-destructive=true]{color:var(--theme-error)}.mobile-action-sheet-item-icon{width:26px;min-width:26px;color:var(--theme-subtext);justify-content:center;align-items:center;display:inline-flex}.mobile-action-sheet-item-icon svg{width:20px;height:20px}.mobile-action-sheet-item[data-destructive=true] .mobile-action-sheet-item-icon{color:var(--theme-error)}.mobile-bottom-bar{z-index:41;min-height:52px;padding:var(--spacing-1) var(--spacing-2) calc(var(--spacing-1) + env(safe-area-inset-bottom));border-top:1px solid var(--theme-border-subtle);background:var(--theme-base);color:var(--theme-text);justify-content:space-around;align-items:stretch;gap:2px;display:flex;position:absolute;bottom:0;left:0;right:0}.mobile-bottom-bar button{min-width:0;min-height:var(--size-tap);border-radius:var(--radius-element);color:var(--theme-subtext);font:inherit;background:0 0;border:0;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:3px;display:inline-flex}.mobile-bottom-bar button:active{background:var(--color-overlay-pressed)}.mobile-bottom-bar button:disabled{color:var(--theme-muted);opacity:.42}.mobile-bottom-bar button[data-active=true]{color:var(--theme-text)}.mobile-bottom-bar button[data-active=true] .mobile-bottom-bar-label{font-weight:600}.mobile-bottom-bar-label{font-size:var(--text-xs);line-height:1}html[data-mobile-keyboard-open=true] .mobile-bottom-bar{display:none}.mobile-workspace-switcher-list{flex-direction:column;gap:4px;padding:0 4px;display:flex}.mobile-edit-fab{right:18px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:42;border:1px solid var(--theme-border-subtle);border-radius:var(--radius-full);background:var(--theme-primary);min-height:46px;color:var(--theme-base);font:inherit;font-size:var(--text-base);box-shadow:var(--shadow-med);align-items:center;gap:7px;padding:0 18px;font-weight:700;display:inline-flex;position:absolute}.mobile-edit-fab[data-editing=true]{background:var(--theme-surface0);color:var(--theme-text)}.mobile-edit-fab:active{filter:brightness(.92)}.mobile-edit-fab:disabled{opacity:.45}.mobile-search-sheet{bottom:var(--mobile-keyboard-inset,0px);height:min(72dvh, calc(var(--mobile-viewport-height,100dvh) - var(--spacing-6)));max-height:calc(var(--mobile-viewport-height,100dvh) - var(--spacing-6));padding-bottom:0}.mobile-search-sheet>.mobile-sheet-body{flex-direction:column;padding:0;display:flex;overflow:hidden}.mobile-search-screen{background:var(--theme-base);height:100%;color:var(--theme-text);flex-direction:column;display:flex}.mobile-search-topbar{padding:var(--spacing-2) var(--spacing-4) var(--spacing-3);align-items:center;gap:10px;display:flex}.mobile-search-input{border:1px solid var(--theme-border-subtle);border-radius:var(--radius-element);background:var(--theme-mantle);min-width:0;min-height:42px;color:var(--theme-subtext);flex:auto;align-items:center;gap:9px;padding:0 10px;display:flex}.mobile-search-input input{width:100%;min-width:0;color:var(--theme-text);font:inherit;font-size:var(--text-base);background:0 0;border:0;outline:0}.mobile-search-input input:is(:focus,:focus-visible){outline-offset:0;box-shadow:none;outline:0}.mobile-search-hint{margin:var(--spacing-3) var(--spacing-1);color:var(--theme-muted);font-size:var(--text-base);line-height:1.5}.mobile-search-screen .mobile-empty-card{text-align:left;background:0 0;border:0;align-items:flex-start}.mobile-search-input input::placeholder{color:var(--theme-muted)}.mobile-search-input button{border-radius:var(--radius-element);width:38px;height:38px;color:var(--theme-muted);background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.mobile-search-cancel{min-height:var(--size-tap);color:var(--theme-subtext);font:inherit;font-size:var(--text-base);font-weight:var(--font-weight-body);background:0 0;border:0;flex:none;padding:8px 2px}.mobile-search-body{-webkit-overflow-scrolling:touch;min-height:0;padding:0 14px calc(20px + env(safe-area-inset-bottom));flex:auto;overflow-y:auto}.mobile-search-results{flex-direction:column;display:flex}.mobile-search-result{border:0;border-bottom:1px solid var(--theme-border-subtle);width:100%;min-height:52px;color:var(--theme-subtext);font:inherit;text-align:left;background:0 0;align-items:flex-start;gap:11px;padding:10px 8px;display:flex}.mobile-search-result:last-child{border-bottom:0}.mobile-search-result:active{background:var(--color-overlay-pressed)}.mobile-search-result svg{color:var(--theme-muted);flex:none;margin-top:2px}.mobile-search-result-main{flex-direction:column;flex:auto;gap:2px;min-width:0;display:flex}.mobile-search-result-main strong{color:var(--theme-text);font-size:var(--text-base);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.mobile-search-result-main small{color:var(--theme-muted);font-size:var(--text-sm)}.mobile-search-result-main>span{-webkit-line-clamp:2;color:var(--theme-subtext);font-size:var(--text-sm);-webkit-box-orient:vertical;line-height:1.4;display:-webkit-box;overflow:hidden}.mobile-settings-account{border-bottom:1px solid var(--theme-border-subtle);align-items:center;gap:12px;margin-bottom:4px;padding:6px 8px 14px;display:flex}.mobile-settings-account-main{flex-direction:column;flex:auto;gap:2px;min-width:0;display:flex}.mobile-settings-account-main strong{color:var(--theme-text);font-size:var(--text-base);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.mobile-settings-account-main small{color:var(--theme-muted);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-settings-signout{border:1px solid var(--theme-border-subtle);border-radius:var(--radius-full);min-height:36px;color:var(--theme-text);font:inherit;font-size:var(--text-sm);background:0 0;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:600;display:inline-flex}.mobile-settings-signout:active{background:var(--color-overlay-pressed)}.mobile-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 2px;display:grid}.mobile-theme-swatch{border:1px solid var(--theme-border-subtle);border-radius:var(--radius-element);background:var(--theme-mantle);min-height:44px;color:var(--theme-subtext);font:inherit;font-size:var(--text-sm);text-align:left;align-items:center;gap:8px;padding:0 10px;display:flex}.mobile-theme-swatch.is-active{border-color:var(--theme-primary);color:var(--theme-text)}.mobile-theme-swatch.is-active svg{color:var(--theme-primary);flex:none}.mobile-theme-swatch-dots{flex:none;gap:3px;display:inline-flex}.mobile-theme-swatch-dots i{border:1px solid var(--theme-border-subtle);border-radius:var(--radius-full);width:12px;height:12px}.mobile-theme-swatch-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.mobile-settings-rows{flex-direction:column;padding:0 2px;display:flex}.mobile-settings-row{border-bottom:1px solid var(--theme-border-subtle);min-height:46px;color:var(--theme-text);font-size:var(--text-base);justify-content:space-between;align-items:center;gap:12px;display:flex}.mobile-settings-row:last-child{border-bottom:0}.mobile-settings-stepper{align-items:center;gap:10px;display:inline-flex}.mobile-settings-stepper strong{text-align:center;min-width:22px;color:var(--theme-text)}.mobile-settings-stepper button{border:1px solid var(--theme-border-subtle);border-radius:var(--radius-full);width:38px;height:38px;color:var(--theme-text);background:0 0;justify-content:center;align-items:center;display:inline-flex}.mobile-settings-stepper button:disabled{opacity:.4}.mobile-sheet-body .mobile-section-heading{margin:20px 4px 8px}.mobile-settings-group{border:1px solid var(--theme-border-subtle);border-radius:var(--radius-container);background:var(--theme-mantle);padding:4px 14px}.mobile-settings-group.mobile-settings-account{border-bottom:1px solid var(--theme-border-subtle);margin-bottom:0;padding:12px 14px}.mobile-settings-group .mobile-theme-grid{padding:8px 0}.mobile-switch{cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:0;display:inline-flex}.mobile-switch:disabled{opacity:.45;cursor:default}.mobile-switch-track{box-sizing:border-box;border:1px solid var(--theme-border-subtle);border-radius:var(--radius-full);background:var(--theme-surface1);width:48px;height:28px;transition:background-color var(--duration-fast,.12s) ease;align-items:center;padding:2px;display:inline-flex}.mobile-switch[data-checked=true] .mobile-switch-track{background:var(--theme-primary);border-color:var(--theme-primary)}.mobile-switch-thumb{border-radius:var(--radius-full);background:var(--theme-base);width:22px;height:22px;box-shadow:var(--shadow-low);transition:transform var(--duration-fast,.12s) ease}.mobile-switch[data-checked=true] .mobile-switch-thumb{transform:translate(20px)}.mobile-file-row,.mobile-search-result,.mobile-settings-row{min-height:var(--size-tap)}.mobile-icon-button{border-radius:var(--radius-element);width:34px;height:34px;color:var(--theme-muted);min-width:var(--size-tap);min-height:var(--size-tap);background:0 0;border:0}.mobile-edit-fab:active,.mobile-theme-swatch:active,.mobile-settings-stepper button:active,.mobile-switch:active .mobile-switch-track{transform:scale(.97)}.mobile-file-row-file.is-active{box-shadow:none;background:var(--theme-surface0);color:var(--theme-text)}.mobile-file-row-file.is-active svg{color:var(--theme-primary)}.mobile-side-header,.mobile-note-header{padding:calc(var(--spacing-2) + var(--mobile-safe-area-top)) var(--mobile-screen-pad-x) var(--spacing-2)}.mobile-hub-viewport-host{height:calc(100dvh - var(--app-banner-height))}.mobile-hub{height:calc(100dvh - var(--app-banner-height));background:var(--theme-base);min-height:0;color:var(--theme-text);flex-direction:column;display:flex;position:relative}.mobile-hub-header{flex:none}.mobile-hub-body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;min-height:0;padding:0 var(--spacing-2) calc(76px + env(safe-area-inset-bottom));scrollbar-width:none;flex:auto;overflow-y:auto}.mobile-hub-body::-webkit-scrollbar{display:none}.mobile-hub-recent{margin-bottom:var(--spacing-2);flex-direction:column;display:flex}.mobile-home-screen{padding:0 0 env(safe-area-inset-bottom);flex-direction:column;display:flex}.mobile-home-screen .mobile-side-search{margin:0 var(--mobile-screen-pad-x) var(--spacing-2)}.mobile-home-header .mobile-note-title-block{flex:auto}.mobile-home-body{-webkit-overflow-scrolling:touch;min-height:0;padding:0 var(--spacing-2);flex:auto;overflow-y:auto}.mobile-primary-button{min-height:var(--size-tap);border-radius:var(--radius-element);background:var(--theme-primary);color:var(--theme-base);font:inherit;font-size:var(--text-base);border:0;justify-content:center;align-items:center;gap:6px;padding:0 18px;font-weight:600;display:inline-flex}.mobile-primary-button:active{filter:brightness(.92)}.mobile-hub-skeleton,.mobile-note-skeleton{padding:18px var(--spacing-2);flex-direction:column;gap:14px;display:flex}.mobile-note-skeleton{width:100%;padding:var(--spacing-6) var(--mobile-screen-pad-x)}.mobile-note-skeleton-content{gap:var(--spacing-6);flex-direction:column;display:flex}.mobile-note-skeleton-paragraph{gap:var(--spacing-3);flex-direction:column;display:flex}.mobile-note-skeleton>.mobile-secondary-button{align-self:flex-start}.mobile-skeleton-row{border-radius:var(--radius-inner);background:var(--theme-surface0);height:14px;animation:1.4s ease-in-out infinite mobile-skeleton-pulse}.mobile-hub-skeleton .mobile-skeleton-row{height:30px}.mobile-skeleton-title{width:62%;height:26px;margin-bottom:8px}.mobile-skeleton-short{width:44%}@keyframes mobile-skeleton-pulse{0%,to{opacity:1}50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.mobile-skeleton-row{animation:none}}.mobile-file-row,.mobile-file-folder-main,.mobile-search-result{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.mobile-file-row-star{color:var(--theme-yellow,var(--theme-primary));flex:none;margin-left:auto}.mobile-confirm-message{color:var(--theme-subtext);font-size:var(--text-base);margin:4px 6px 16px;line-height:1.5}.mobile-confirm-message>span{display:block}.mobile-confirm-message>span+span{margin-top:10px}.mobile-confirm-actions{justify-content:flex-end;gap:10px;padding:0 2px;display:flex}.mobile-confirm-actions .mobile-secondary-button,.mobile-confirm-actions .mobile-primary-button{flex:1 1 0}.mobile-primary-button[data-destructive=true]{background:var(--theme-error);color:var(--theme-base)}.mobile-rename-form{flex-direction:column;gap:14px;padding:2px;display:flex}.mobile-rename-input{min-height:var(--size-tap);border:1px solid var(--theme-border-subtle);border-radius:var(--radius-element);background:var(--theme-mantle);color:var(--theme-text);font:inherit;font-size:var(--text-base);outline:none;padding:0 12px}.mobile-rename-input:focus{border-color:var(--theme-primary)}.mobile-move-list{flex-direction:column;display:flex}.mobile-move-list button{border-radius:var(--radius-element);min-height:52px;color:var(--theme-text);font:inherit;font-size:var(--text-base);text-align:left;background:0 0;border:0;align-items:center;gap:14px;padding:0 10px;display:flex}.mobile-move-list button:active{background:var(--color-overlay-pressed)}.mobile-move-list button svg:first-child{color:var(--theme-subtext);flex:none}.mobile-move-list button svg:last-child:not(:first-child){color:var(--theme-primary);margin-left:auto}.mobile-move-list button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-toc-list{flex-direction:column;display:flex}.mobile-toc-list button{border-radius:var(--radius-element);min-height:50px;color:var(--theme-text);font:inherit;font-size:var(--text-base);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;padding:0 10px;overflow:hidden}.mobile-toc-list button:active{background:var(--color-overlay-pressed)}.mobile-toc-list button[data-level="1"]{font-weight:700}.mobile-toc-list button[data-level="3"]{color:var(--theme-subtext);padding-left:24px}.mobile-toc-list button[data-level="4"]{color:var(--theme-subtext);padding-left:38px}.mobile-search-result mark{background:color-mix(in srgb, var(--theme-primary) 24%, transparent);color:inherit;border-radius:var(--radius-none)}.mobile-search-query-chips{flex-wrap:wrap;gap:8px;padding:4px 2px 12px;display:flex}.mobile-search-query-chips button{border:1px solid var(--theme-border-subtle);border-radius:var(--radius-full);background:var(--theme-mantle);min-height:36px;color:var(--theme-subtext);font:inherit;font-size:var(--text-sm);align-items:center;gap:6px;padding:0 12px;display:inline-flex}.mobile-search-query-chips button:active{background:var(--color-overlay-pressed)}.mobile-empty-card .mobile-primary-button{margin-top:6px}.mobile-note-presence{border-radius:var(--radius-full);background:color-mix(in srgb, var(--theme-primary) 14%, transparent);color:var(--theme-primary);font-size:var(--text-sm);white-space:nowrap;align-items:center;padding:3px 9px;font-weight:600;display:inline-flex}.mobile-recent-row-main{flex-direction:column;flex:auto;gap:1px;min-width:0;display:flex}.mobile-recent-row-main strong{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.mobile-recent-row-main small{color:var(--theme-muted);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-inline-error{align-items:center;gap:8px;display:flex}.mobile-inline-error span{flex:auto}.mobile-inline-error button{border-radius:var(--radius-full);width:32px;height:32px;color:inherit;font:inherit;font-size:var(--text-lg);background:0 0;border:0;flex:none}.mobile-hub-header{gap:var(--spacing-2);background:var(--theme-base);border-bottom:0}.mobile-hub-header .mobile-side-workspace-trigger{flex:1;min-width:0}.mobile-hub-header .mobile-side-workspace-trigger>span{min-width:0}.mobile-hub-header .mobile-side-workspace-trigger strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-library-heading{padding:var(--spacing-2) var(--mobile-screen-pad-x);justify-content:space-between;align-items:center;display:flex}.mobile-library-heading h1{font-size:var(--text-2xl);letter-spacing:-.025em;margin:0;font-weight:600;line-height:1.3}.mobile-library-compose{width:var(--size-tap);height:var(--size-tap);border:1px solid var(--theme-border-subtle);border-radius:var(--radius-element);background:var(--theme-surface0);color:var(--theme-text);place-items:center;display:grid}.mobile-library-compose:disabled{opacity:.45}.mobile-library-search{align-items:center;gap:var(--spacing-2);min-height:var(--size-tap);margin:var(--spacing-2) var(--mobile-screen-pad-x) var(--spacing-4);padding:0 var(--spacing-3);border:1px solid var(--theme-border-subtle);border-radius:var(--radius-element);background:var(--theme-mantle);color:var(--theme-subtext);font:inherit;font-size:var(--text-base);text-align:left;flex:none;display:flex}.mobile-hub .mobile-section-heading{margin:var(--spacing-2) var(--spacing-2);letter-spacing:normal;text-transform:none;font-weight:500}.mobile-hub-body{padding-inline:var(--spacing-2)}.mobile-tree-file-entry{align-items:center;min-width:0;display:flex}.mobile-tree-file-entry>.mobile-file-row{flex:1;min-width:0}.mobile-tree-file-entry>.mobile-icon-button{color:var(--theme-muted);flex:none}.mobile-file-row-folder>.mobile-icon-button{color:var(--theme-muted)}.mobile-collection-list{flex-direction:column;display:flex}.mobile-library-row{align-items:center;gap:var(--spacing-2);min-width:0;min-height:64px;padding:var(--spacing-1) var(--spacing-2);border-bottom:1px solid var(--theme-border-subtle);color:var(--theme-subtext);display:flex}.mobile-library-open{align-items:center;gap:var(--spacing-3);text-align:left;min-width:0;min-height:56px;color:inherit;font:inherit;background:0 0;border:0;flex:1;padding:0;display:flex}.mobile-library-open>svg{flex:none}.mobile-library-row-main{gap:var(--spacing-1);flex-direction:column;flex:1;min-width:0;display:flex}.mobile-library-row-main strong{font-size:var(--text-base);color:var(--theme-text);font-weight:500}.mobile-library-row-main small{color:var(--theme-muted);font-size:var(--text-sm)}.mobile-library-row-main :is(strong,small){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-collection-empty{align-items:flex-start;gap:var(--spacing-3);padding:var(--spacing-8) var(--spacing-4);color:var(--theme-subtext);flex-direction:column;display:flex}.mobile-collection-empty strong{color:var(--theme-text);font-size:var(--text-lg);font-weight:500}.mobile-collection-empty p{max-width:32ch;font-size:var(--text-base);margin:0;line-height:1.6}.mobile-library-trash{align-items:center;gap:var(--spacing-3);width:100%;min-height:var(--size-tap);margin-top:var(--spacing-6);padding:var(--spacing-3);border:0;border-top:1px solid var(--theme-border-subtle);color:var(--theme-muted);font:inherit;font-size:var(--text-sm);background:0 0;display:flex}.mobile-bottom-bar-icon{place-items:center;width:20px;height:20px;display:grid}.mobile-bottom-bar-icon svg{stroke-width:1.6px;width:18px;height:18px}.mobile-bottom-bar-label{line-height:1.3}.mobile-note-header{background:var(--theme-base)}.mobile-note-header .mobile-note-title-block{flex:1;min-width:0}.mobile-note-title-block strong{font-weight:500}.mobile-note-status{font-weight:var(--font-weight-body);background:0 0;padding:0}.mobile-note-status-slot{flex-shrink:0}.mobile-note-screen{position:relative}.mobile-format-bar{z-index:42;padding:var(--spacing-1) var(--spacing-2) calc(var(--spacing-1) + env(safe-area-inset-bottom));border-top:1px solid var(--theme-border-subtle);background:var(--theme-mantle);align-items:center;display:flex;position:absolute;inset:auto 0 0}.mobile-format-scroll{overscroll-behavior-x:contain;scrollbar-width:none;flex:1;min-width:0;display:flex;overflow-x:auto}.mobile-format-bar button{justify-content:center;align-items:center;gap:var(--spacing-1);min-width:var(--size-tap);min-height:var(--size-tap);border-radius:var(--radius-element);color:var(--theme-subtext);font:inherit;font-size:var(--text-sm);touch-action:manipulation;background:0 0;border:0;flex-shrink:0;display:inline-flex}.mobile-format-bar button[aria-pressed=true]{background:var(--color-overlay-pressed);color:var(--theme-primary)}.mobile-format-bar button:disabled{opacity:.4}.mobile-format-bar .mobile-format-done{margin-left:var(--spacing-2);padding-inline:var(--spacing-2);color:var(--theme-primary);border-left:1px solid var(--theme-border-subtle);border-radius:0}html[data-mobile-keyboard-open=true] .mobile-format-bar{padding-bottom:var(--spacing-1)}.mobile-sheet-content .related-notes-footer{padding:var(--spacing-2);margin:0}.mobile-sheet-content .related-notes-footer-list{flex-direction:column;display:flex}@media (prefers-reduced-motion:reduce){.mobile-app-shell *,.mobile-sheet-content *{scroll-behavior:auto;transition:none}}.mobile-library-compose:active,.mobile-library-search:active,.mobile-library-open:active,.mobile-library-trash:active,.mobile-format-bar button:active{background:var(--color-overlay-pressed)}.mobile-ask-sheet{bottom:var(--mobile-keyboard-inset,0px);height:calc(var(--mobile-viewport-height,100dvh) - var(--spacing-6) - var(--mobile-safe-area-top));max-height:calc(var(--mobile-viewport-height,100dvh) - var(--spacing-6) - var(--mobile-safe-area-top));padding-bottom:env(safe-area-inset-bottom)}.mobile-ask-sheet>.mobile-sheet-body{padding:0;display:flex;overflow:hidden}.mobile-ask-sheet .ask-dock-panel{background:var(--theme-base);width:100%;box-shadow:none;border:0;border-radius:0;animation:none}.mobile-ask-sheet .ask-dock-header{padding:var(--spacing-1) var(--spacing-3);border-color:var(--theme-border-subtle);position:relative}.mobile-ask-sheet .ask-dock-btn,.mobile-ask-sheet .ask-dock-menu-delete{min-width:var(--size-tap);min-height:var(--size-tap)}.mobile-ask-sheet .ask-dock-expand{display:none}.mobile-ask-sheet .ask-dock-menu-wrap{position:static}.mobile-ask-sheet .ask-dock-menu{top:100%;right:var(--spacing-3);left:var(--spacing-3);min-width:0;max-width:none;max-height:min(50dvh, calc(var(--mobile-viewport-height,100dvh) - var(--spacing-12)))}.mobile-ask-sheet .ask-dock-menu-item{min-height:var(--size-tap)}.mobile-ask-sheet .ask-dock-menu-delete{opacity:1;justify-content:center;align-items:center}.mobile-ask-sheet .ask-composer-input{font-size:var(--text-lg)}.mobile-ask-sheet .ask-composer-send,.mobile-ask-sheet .ask-composer-attach{min-width:var(--size-tap);min-height:var(--size-tap)}.mobile-ask-sheet .ask-composer-input:is(:focus,:focus-visible){box-shadow:none;outline:none}.mobile-ask-sheet .ask-composer:focus-within{border-color:var(--color-border);box-shadow:none}