.overlay-frame.svelte-13vd7gh{position:fixed;inset:0;z-index:50;display:flex;align-items:flex-end;justify-content:center;padding:.75rem;padding-bottom:calc(.75rem + env(safe-area-inset-bottom,0px));background:var(--backdrop-sheet);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);overscroll-behavior:contain;animation:svelte-13vd7gh-overlay-in var(--motion-backdrop) ease-out}.overlay-frame.search.svelte-13vd7gh{z-index:40;align-items:stretch;padding:0;background:var(--backdrop-overlay);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.overlay-surface.svelte-13vd7gh{width:100%;min-height:0;overflow:hidden;background:var(--bg-panel-strong);border:1px solid var(--border-soft);border-radius:var(--radius-sheet);box-shadow:var(--shadow-popover);animation:svelte-13vd7gh-surface-in var(--motion-sheet)}.search-surface.svelte-13vd7gh{height:100%;border:none;border-radius:0}.sheet-surface.svelte-13vd7gh{max-height:calc(100dvh - 1.5rem - env(safe-area-inset-bottom,0px));padding:.9rem .9rem 1rem;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.dialog-surface.svelte-13vd7gh{padding:1.3rem}@keyframes svelte-13vd7gh-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes svelte-13vd7gh-surface-in{0%{transform:translateY(1.5rem);opacity:0}to{transform:translateY(0);opacity:1}}@media(min-width:860px){.overlay-frame.svelte-13vd7gh{align-items:center;padding:1rem}.overlay-frame.search.svelte-13vd7gh{align-items:flex-start;padding:7vh 1.25rem 1.25rem}.search-surface.svelte-13vd7gh{width:min(42rem,100%);height:auto;max-height:78vh;border:1px solid var(--border-soft);border-radius:var(--radius-dialog)}.sheet-surface.svelte-13vd7gh{width:min(34rem,100%)}.dialog-surface.svelte-13vd7gh{width:min(28rem,100%)}}.panel.svelte-116u010{width:100%;height:100%;display:flex;flex-direction:column;min-height:0}.field.svelte-116u010{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;padding:1rem;border-bottom:1px solid var(--border-soft)}input.svelte-116u010{width:100%;border:none;background:transparent;color:var(--text-main);font-size:1.05rem}input.svelte-116u010::placeholder{color:var(--text-faint)}.close.svelte-116u010{border:1px solid var(--border-soft);border-radius:999px;background:var(--bg-muted);color:var(--text-main);padding:.45rem .8rem}.results-scroll.svelte-116u010{flex:1;min-height:0;overflow-y:auto;padding:.25rem .5rem .5rem}.results.svelte-116u010{list-style:none;margin:0;padding:0;display:grid;gap:.2rem}.section-heading.svelte-116u010{margin:.6rem .4rem .35rem;font-size:.72rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-soft)}.related-heading.svelte-116u010{margin-top:.9rem}.related-tag.svelte-116u010{background:var(--bg-muted);color:var(--text-soft);border-color:var(--border-soft)}.result.svelte-116u010{display:grid;gap:.3rem;width:100%;min-height:44px;padding:.9rem 1rem;border:none;border-radius:var(--radius-small);background:transparent;color:inherit;text-align:left;cursor:pointer}.result.svelte-116u010:hover,.result.highlighted.svelte-116u010{background:var(--bg-active)}.result.svelte-116u010 strong:where(.svelte-116u010){font-size:.98rem;font-weight:600}.result-head.svelte-116u010{display:grid;gap:.45rem}.result-meta.svelte-116u010{display:flex;flex-wrap:wrap;gap:.4rem}.result-tag.svelte-116u010{padding:.22rem .52rem;border:1px solid var(--border-soft);border-radius:999px;background:var(--bg-muted);color:var(--text-main);font-size:.72rem;font-weight:600;line-height:1}.match-tag.svelte-116u010{background:var(--accent-soft);border-color:var(--border-selected);color:var(--accent)}mark.svelte-116u010{padding:0 .1rem;background:var(--accent-soft);color:inherit;border-radius:4px}.result-snippet.svelte-116u010,.hint.svelte-116u010{color:var(--text-soft);font-size:.94rem;line-height:1.5}.hint.svelte-116u010{margin:0;padding:1rem 1.1rem 1.2rem}.search-status.svelte-116u010{margin:0;padding:.6rem 1.1rem;font-size:.85rem;color:var(--text-soft);border-bottom:1px solid var(--border-soft);background:var(--bg-muted)}.field.svelte-116u010{padding-top:max(1rem,env(safe-area-inset-top,0px))}.close.svelte-116u010{min-height:var(--control-touch)}@media(min-width:860px){.panel.svelte-116u010{height:auto;max-height:78vh}.results-scroll.svelte-116u010{flex:0 1 auto;max-height:60vh}.field.svelte-116u010{padding-top:1rem}.close.svelte-116u010{min-height:auto}}.sidebar.svelte-1pu044u{display:flex;flex-direction:column;height:100%}.nav-links.svelte-1pu044u{display:flex;flex-direction:column;padding:.5rem .75rem;gap:.15rem}.nav-item.svelte-1pu044u{display:flex;align-items:center;gap:.75rem;padding:.6rem .7rem;border-radius:var(--radius-small);color:var(--text-soft);text-decoration:none;font-size:.92rem;transition:background var(--motion-fast),color var(--motion-fast)}.nav-item.svelte-1pu044u:hover{background:var(--bg-hover);color:var(--text-main)}.nav-item.active.svelte-1pu044u{background:var(--bg-active);color:var(--text-main);font-weight:600}.icon.svelte-1pu044u{display:flex;align-items:center;justify-content:center;width:1.35rem;height:1.35rem;flex-shrink:0;color:var(--text-faint)}.nav-item.active.svelte-1pu044u .icon:where(.svelte-1pu044u){color:var(--accent)}.label.svelte-1pu044u{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.count.svelte-1pu044u{flex-shrink:0;font-size:.78rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--text-faint);letter-spacing:0}.nav-item.active.svelte-1pu044u .count:where(.svelte-1pu044u){color:var(--accent)}.status-badge.svelte-1y4g3ar{display:inline-flex;align-items:center;gap:.3rem;padding:.16rem .46rem;border-radius:999px;font-size:.7rem;font-weight:600;line-height:1.2;white-space:nowrap;background:var(--bg-muted);color:var(--text-soft)}.status-badge[data-kind=saving].svelte-1y4g3ar{background:var(--accent-soft);color:var(--accent)}.status-badge[data-kind=offline].svelte-1y4g3ar{background:var(--bg-muted);color:var(--text-faint)}.status-badge[data-kind=error].svelte-1y4g3ar,.status-badge[data-kind=conflict].svelte-1y4g3ar{background:var(--danger-border);color:var(--danger)}.status-badge[data-kind=pinned].svelte-1y4g3ar{color:var(--accent);background:transparent;padding-inline:0}.status-badge[data-kind=daily].svelte-1y4g3ar,.status-badge[data-kind=neutral].svelte-1y4g3ar{color:var(--text-faint);background:transparent;padding-inline:0}.notes-column.svelte-19q44we{padding:var(--space-panel);overflow-y:auto;overflow-x:hidden;height:100%;border-right:1px solid var(--border-soft);-webkit-overflow-scrolling:touch}.panel-header.svelte-19q44we{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1.1rem}.panel-title.svelte-19q44we{display:flex;align-items:center;gap:.55rem;min-width:0}h1.svelte-19q44we{margin:0;font-family:var(--font-writing);font-weight:700;font-size:var(--text-heading);letter-spacing:-.01em}.title-count.svelte-19q44we{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;height:1.5rem;padding:0 .45rem;border-radius:999px;background:var(--bg-muted);color:var(--text-soft);font-size:.8rem;font-weight:600;font-variant-numeric:tabular-nums}.header-actions.svelte-19q44we{display:flex;align-items:center;gap:.5rem}.header-create.svelte-19q44we{display:flex;align-items:center;justify-content:center;min-width:var(--control-touch);min-height:var(--control-touch);padding:0;border-radius:50%}.icon-round.svelte-19q44we{display:flex;align-items:center;justify-content:center;width:var(--control-touch);height:var(--control-touch);border:1px solid var(--border-soft);border-radius:50%;background:var(--bg-panel);color:var(--text-soft);transition:background var(--motion-fast),color var(--motion-fast),border-color var(--motion-fast)}.icon-round.svelte-19q44we:hover{background:var(--bg-hover);color:var(--text-main);border-color:var(--border-strong)}@media(min-width:860px){.header-create.svelte-19q44we{display:none}}.section-label.svelte-19q44we{margin:0 0 .6rem;color:var(--text-faint);font-size:.72rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase}.note-list.svelte-19q44we{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:.55rem}.note-list.svelte-19q44we li:where(.svelte-19q44we){min-width:0;content-visibility:auto;contain-intrinsic-size:auto 5.5rem}.note-sections.svelte-19q44we{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;min-width:0;overflow:hidden}.note-sections.svelte-19q44we section:where(.svelte-19q44we){min-width:0;overflow:hidden}.note-row.svelte-19q44we{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:.35rem;min-height:44px;min-width:0;padding:.8rem .95rem;border:1px solid transparent;border-radius:var(--radius-medium);background:var(--bg-panel);color:inherit;text-align:left;cursor:pointer;width:100%;transition:background var(--motion-fast) ease,border-color var(--motion-fast) ease,box-shadow var(--motion-fast) ease,transform var(--motion-fast) ease}.note-row.svelte-19q44we:hover{background:var(--bg-panel-strong);border-color:var(--border-soft);box-shadow:0 2px 10px #1c211f0d}.note-row.active.svelte-19q44we{background:var(--bg-panel-strong);border-color:var(--border-selected);box-shadow:0 6px 18px #1c211f17}.note-row.active.svelte-19q44we:before{content:"";position:absolute;left:0;top:.7rem;bottom:.7rem;width:3px;border-radius:0 999px 999px 0;background:var(--accent)}.note-row-top.svelte-19q44we{display:flex;align-items:center;gap:.5rem;min-width:0}.note-pin.svelte-19q44we{display:flex;align-items:center;flex-shrink:0;color:var(--text-faint);opacity:.35}.note-pin.svelte-19q44we svg{width:15px;height:15px}.note-pin[data-pinned=true].svelte-19q44we{color:var(--accent);opacity:1}.note-title.svelte-19q44we{flex:1;min-width:0;font-weight:600;font-size:.95rem;letter-spacing:-.005em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.note-title.is-empty.svelte-19q44we{color:var(--text-faint);font-weight:500;font-style:italic}.note-date.svelte-19q44we{flex-shrink:0;color:var(--text-faint);font-size:.76rem;font-variant-numeric:tabular-nums}.note-preview.svelte-19q44we{margin:0;color:var(--text-soft);font-size:.86rem;line-height:1.55;line-clamp:2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.note-preview.is-placeholder.svelte-19q44we{color:var(--text-faint);font-style:italic;opacity:.85}.note-row-meta.svelte-19q44we{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center}.empty-state.svelte-19q44we{display:grid;gap:1.25rem;padding:3rem 1rem;text-align:center;color:var(--text-soft)}.loading-state.svelte-19q44we{display:grid;gap:.55rem}.skeleton-row.svelte-19q44we{display:grid;gap:.65rem;min-height:5.5rem;padding:1rem;border:1px solid var(--border-soft);border-radius:var(--radius-medium);background:var(--bg-panel);animation:svelte-19q44we-skeleton-pulse 1.4s ease-in-out infinite alternate}.skeleton-line.svelte-19q44we{display:block;height:.8rem;border-radius:999px;background:var(--bg-active)}.skeleton-title.svelte-19q44we{width:52%}.skeleton-preview.svelte-19q44we{width:82%}@keyframes svelte-19q44we-skeleton-pulse{0%{opacity:.48}to{opacity:.9}}.empty-state.svelte-19q44we p:where(.svelte-19q44we){margin:0;font-size:1rem;line-height:1.6}.empty-actions.svelte-19q44we{display:flex;justify-content:center;flex-wrap:wrap;gap:.65rem}.empty-action.svelte-19q44we{min-width:8.5rem;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.load-more-row.svelte-19q44we{display:flex;justify-content:center;padding:1rem 0 .25rem}.load-more-btn.svelte-19q44we{min-height:var(--control-touch);padding:.65rem .95rem;border:none;border-radius:999px;background:transparent;color:var(--text-soft);font-size:.85rem}.load-more-btn.svelte-19q44we:hover{background:var(--bg-hover);color:var(--text-main)}.editor-status-line.svelte-ftgd5z{display:flex;align-items:center;gap:.5rem;margin-top:.75rem;padding:.5rem 0;color:var(--text-faint);font-size:.82rem}.status-dot.svelte-ftgd5z{width:6px;height:6px;border-radius:50%;background:var(--success);flex-shrink:0}.editor-status-line[data-state=pending].svelte-ftgd5z .status-dot:where(.svelte-ftgd5z),.editor-status-line[data-state=syncing].svelte-ftgd5z .status-dot:where(.svelte-ftgd5z){background:var(--accent)}.editor-status-line[data-state=syncing].svelte-ftgd5z .status-dot:where(.svelte-ftgd5z){animation:svelte-ftgd5z-sync-pulse 1.2s ease-in-out infinite}.editor-status-line[data-state=error].svelte-ftgd5z .status-dot:where(.svelte-ftgd5z),.editor-status-line[data-state=conflict].svelte-ftgd5z .status-dot:where(.svelte-ftgd5z){background:var(--danger)}.editor-status-line[data-state=error].svelte-ftgd5z,.editor-status-line[data-state=conflict].svelte-ftgd5z{color:var(--danger)}.status-label.svelte-ftgd5z{font-weight:600}.editor-status-line[data-state=idle].svelte-ftgd5z .status-label:where(.svelte-ftgd5z){color:var(--success)}@keyframes svelte-ftgd5z-sync-pulse{0%,to{transform:scale(1);opacity:.7}50%{transform:scale(1.25);opacity:1}}.conflict-banner.svelte-1umhlvk{padding:1rem;background:var(--bg-danger-soft);border:1px solid var(--danger-border);border-radius:var(--radius-small);margin-top:1rem}.conflict-copy.svelte-1umhlvk{margin:0;color:var(--text-main);line-height:1.5}.conflict-summary.svelte-1umhlvk{display:grid;grid-template-columns:1fr;gap:.75rem;margin-top:.9rem}.conflict-card.svelte-1umhlvk{padding:.9rem;background:var(--bg-panel-strong);border:1px solid var(--danger-border);border-radius:var(--radius-small)}.conflict-card.svelte-1umhlvk h3:where(.svelte-1umhlvk),.conflict-card.svelte-1umhlvk p:where(.svelte-1umhlvk){margin:0}.conflict-card-label.svelte-1umhlvk{color:var(--text-faint);font-size:.74rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.conflict-card.svelte-1umhlvk h3:where(.svelte-1umhlvk){margin-top:.35rem;font-size:.95rem}.conflict-card-meta.svelte-1umhlvk{margin-top:.35rem!important;color:var(--text-soft);font-size:.8rem}.conflict-card-preview.svelte-1umhlvk{margin-top:.6rem!important;color:var(--text-soft);font-size:.88rem;line-height:1.5;white-space:pre-wrap;max-height:16rem;overflow:auto}.expand-toggle.svelte-1umhlvk{margin-top:.65rem;padding:.35rem 0;border:none;background:transparent;color:var(--accent);font-size:.82rem;font-weight:600;cursor:pointer}.conflict-actions.svelte-1umhlvk{display:grid;grid-template-columns:1fr;gap:.6rem;margin-top:.85rem}.conflict-actions.svelte-1umhlvk button:where(.svelte-1umhlvk){display:grid;gap:.18rem;padding:.7rem .8rem;border-radius:var(--radius-small);border:1px solid var(--border-soft);background:var(--bg-panel);color:var(--text-main);text-align:left}.conflict-actions.svelte-1umhlvk button:where(.svelte-1umhlvk):hover:not(:disabled){background:var(--bg-hover);border-color:var(--border-strong)}.conflict-actions.svelte-1umhlvk button:where(.svelte-1umhlvk):disabled{opacity:.65;cursor:wait}.conflict-actions.svelte-1umhlvk button.action-safe:where(.svelte-1umhlvk){border-color:var(--border-selected);background:var(--accent-soft)}.conflict-actions.svelte-1umhlvk button.action-danger:where(.svelte-1umhlvk){border-color:var(--danger-border);background:var(--bg-danger-soft);color:var(--danger)}.conflict-actions.svelte-1umhlvk button:where(.svelte-1umhlvk) span:where(.svelte-1umhlvk){font-size:.9rem;font-weight:600}.conflict-actions.svelte-1umhlvk button:where(.svelte-1umhlvk) small:where(.svelte-1umhlvk){color:var(--text-soft);font-size:.78rem;line-height:1.35}.conflict-actions.svelte-1umhlvk button.action-danger:where(.svelte-1umhlvk) small:where(.svelte-1umhlvk){color:var(--danger);opacity:.85}@media(min-width:860px){.conflict-summary.svelte-1umhlvk{grid-template-columns:repeat(2,minmax(0,1fr))}.conflict-actions.svelte-1umhlvk{grid-template-columns:repeat(3,minmax(0,1fr))}}.title-dialog.svelte-rz36dc{width:100%;display:grid;gap:.85rem}.title-dialog.svelte-rz36dc h2:where(.svelte-rz36dc){margin:0;font-family:var(--font-writing);font-size:1.15rem;letter-spacing:-.01em}.title-form.svelte-rz36dc{display:grid;gap:.85rem}.title-field.svelte-rz36dc{display:grid;gap:.4rem}.field-label.svelte-rz36dc{color:var(--text-faint);font-size:.74rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.title-field.svelte-rz36dc input:where(.svelte-rz36dc){width:100%;min-height:2.9rem;padding:.6rem .85rem;border:1px solid var(--border-strong);border-radius:var(--radius-small);background:var(--bg-panel);color:var(--text-main);font-size:1rem;transition:border-color var(--motion-fast),box-shadow var(--motion-fast)}.title-field.svelte-rz36dc input:where(.svelte-rz36dc):focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.title-hint.svelte-rz36dc{margin:0;color:var(--text-soft);font-size:.84rem;line-height:1.45}.title-actions.svelte-rz36dc{display:flex;flex-direction:column-reverse;gap:.6rem;margin-top:.25rem}.title-actions.svelte-rz36dc button:where(.svelte-rz36dc){width:100%}@media(min-width:860px){.title-actions.svelte-rz36dc{flex-direction:row;justify-content:flex-end}.title-actions.svelte-rz36dc button:where(.svelte-rz36dc){width:auto;min-width:6rem}}.overflow-wrapper.svelte-9ns8tu{position:relative}.overflow-trigger.svelte-9ns8tu{display:flex;align-items:center;justify-content:center;min-width:var(--control-touch);min-height:var(--control-touch)}.overflow-menu.svelte-9ns8tu{position:absolute;top:calc(100% + 6px);right:0;z-index:10;display:grid;gap:.2rem;width:220px;padding:.35rem;background:var(--bg-panel-strong);border:1px solid var(--border-soft);border-radius:var(--radius-small);box-shadow:0 12px 28px #00000024}.overflow-menu.svelte-9ns8tu button:where(.svelte-9ns8tu){display:grid;gap:.12rem;width:100%;padding:.7rem .8rem;border:none;border-radius:10px;background:transparent;color:var(--text-main);text-align:left}.overflow-menu.svelte-9ns8tu button:where(.svelte-9ns8tu):hover,.overflow-menu.svelte-9ns8tu button:where(.svelte-9ns8tu):focus-visible{background:var(--bg-hover)}.overflow-menu.svelte-9ns8tu button.destructive:where(.svelte-9ns8tu){color:var(--danger)}.menu-title.svelte-9ns8tu{font-size:.92rem;font-weight:600}.menu-copy.svelte-9ns8tu{color:var(--text-soft);font-size:.78rem;line-height:1.4}.action-sheet.svelte-9ns8tu{width:100%}.sheet-handle.svelte-9ns8tu{width:3rem;height:.3rem;margin:0 auto .8rem;border-radius:999px;background:var(--border-strong)}.sheet-header.svelte-9ns8tu{padding:0 .2rem .9rem}.sheet-eyebrow.svelte-9ns8tu{margin:0 0 .35rem;color:var(--text-faint);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase}.sheet-header.svelte-9ns8tu h2:where(.svelte-9ns8tu){margin:0;font-size:1.1rem}.sheet-actions.svelte-9ns8tu{display:grid;gap:.45rem}.sheet-action.svelte-9ns8tu{display:grid;gap:.18rem;width:100%;min-height:44px;padding:.85rem .95rem;border:1px solid var(--border-soft);border-radius:14px;background:var(--bg-panel);color:var(--text-main);text-align:left;transition:background var(--motion-fast) ease,transform .1s ease}.sheet-action.svelte-9ns8tu:active{background:var(--bg-active);transform:scale(.98)}.sheet-action.svelte-9ns8tu span:where(.svelte-9ns8tu){font-weight:600}.sheet-action.svelte-9ns8tu small:where(.svelte-9ns8tu){color:var(--text-soft);font-size:.8rem;line-height:1.4}.sheet-action.destructive.svelte-9ns8tu{color:var(--danger);border-color:var(--danger-border)}.sheet-cancel.svelte-9ns8tu{width:100%;margin-top:.75rem}.editor-toolbar.svelte-1myr8qi{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding-bottom:.9rem}.toolbar-left.svelte-1myr8qi,.toolbar-right.svelte-1myr8qi{display:flex;align-items:center;gap:.5rem;min-width:0}.tbtn.svelte-1myr8qi{display:inline-flex;align-items:center;gap:.45rem;min-height:var(--control-touch);padding:.45rem .85rem;border:1px solid var(--border-soft);border-radius:var(--radius-small);background:var(--bg-panel);color:var(--text-soft);font-size:.88rem;font-weight:500;transition:background var(--motion-fast),color var(--motion-fast),border-color var(--motion-fast)}.tbtn.svelte-1myr8qi:hover{background:var(--bg-hover);color:var(--text-main);border-color:var(--border-strong)}.tbtn.svelte-1myr8qi svg{width:17px;height:17px;flex-shrink:0}.tbtn.active.svelte-1myr8qi{background:var(--accent-soft);color:var(--accent);border-color:var(--border-selected)}.focus-btn.svelte-1myr8qi,.desktop-action.svelte-1myr8qi{display:none}.mobile-back.svelte-1myr8qi{display:flex;align-items:center;gap:.25rem;max-width:100%;min-height:44px;padding-inline:.7rem;background:var(--bg-muted);color:var(--text-main);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:opacity .1s ease}.mobile-back.svelte-1myr8qi:active{opacity:.6}.toolbar-right.svelte-1myr8qi .overflow-trigger{min-height:var(--control-touch);min-width:var(--control-touch);border-radius:var(--radius-small);background:var(--bg-panel)}@media(min-width:860px){.mobile-back.svelte-1myr8qi{display:none}.focus-btn.svelte-1myr8qi,.desktop-action.svelte-1myr8qi{display:inline-flex}}@container (max-width: 399px){.tbtn.svelte-1myr8qi{justify-content:center;width:var(--control-touch);padding-inline:0}.tbtn.svelte-1myr8qi span:where(.svelte-1myr8qi){display:none}}.editor-column.svelte-1e2la5x{height:100%;display:flex;flex-direction:column;background:var(--bg-shell);overflow:hidden;container-type:inline-size;touch-action:pan-y}.editor-column.swiping.svelte-1e2la5x{will-change:transform,opacity}.editor-shell.svelte-1e2la5x{display:flex;flex-direction:column;height:100%;padding:.9rem 1.2rem 1rem}.editor-meta.svelte-1e2la5x{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;padding-bottom:.7rem;border-bottom:1px solid var(--border-soft)}.editor-meta.svelte-1e2la5x .editor-status-line{margin-top:0;padding:0}.meta-sep.svelte-1e2la5x{width:1px;height:.9rem;background:var(--border-strong)}.editor-body.svelte-1e2la5x{display:flex;flex:1;flex-direction:column;padding:1.4rem 0 1.6rem;max-width:760px;margin:0 auto;width:100%;min-height:0;-webkit-overflow-scrolling:touch}.editor-context-row.svelte-1e2la5x{display:flex;flex-wrap:wrap;gap:.45rem}.context-chip.svelte-1e2la5x{padding:.24rem .58rem;border:1px solid var(--border-soft);border-radius:999px;background:var(--bg-muted);color:var(--text-main);font-size:.74rem;font-weight:600;line-height:1}.context-chip[data-kind=daily].svelte-1e2la5x,.context-chip[data-kind=pinned].svelte-1e2la5x{background:var(--accent-soft);border-color:var(--border-selected);color:var(--accent)}.context-chip[data-kind=archived].svelte-1e2la5x{background:var(--bg-secondary);color:var(--text-soft)}.body-field.svelte-1e2la5x{width:100%;font-family:var(--font-writing);font-size:var(--text-body);line-height:1.75;letter-spacing:.003em;border:none;border-left:2px solid transparent;padding-left:1.1rem;margin-left:-1.1rem;background:transparent;color:var(--text-main);resize:none;flex:1;min-height:0;transition:border-color var(--motion-medium) ease}.body-field.svelte-1e2la5x::placeholder{color:var(--text-faint);opacity:.7}.body-field.svelte-1e2la5x:focus{outline:none;border-left-color:var(--accent)}.body-field.svelte-1e2la5x:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.editor-footer.svelte-1e2la5x{display:flex;justify-content:space-between;gap:.75rem;padding-top:1rem;border-top:1px solid var(--border-soft);color:var(--text-faint);font-size:.85rem}.footer-left.svelte-1e2la5x{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .75rem;min-width:0}.footer-stat.svelte-1e2la5x{color:var(--text-soft)}.footer-sync.svelte-1e2la5x{color:var(--text-soft);text-align:right}.empty-editor.svelte-1e2la5x{display:flex;align-items:center;justify-content:center;height:100%;text-align:center;color:var(--text-faint);padding:2rem;font-size:.95rem}.empty-editor-content.svelte-1e2la5x{display:grid;gap:1rem;justify-items:center}.empty-editor.svelte-1e2la5x p:where(.svelte-1e2la5x){margin:0;color:var(--text-soft);font-weight:600}.empty-editor-actions.svelte-1e2la5x{display:flex;justify-content:center;flex-wrap:wrap;gap:.65rem}.editor-footer.svelte-1e2la5x{flex-direction:column;align-items:flex-start;gap:.25rem}.footer-sync.svelte-1e2la5x{text-align:left;font-size:.8rem;opacity:.7}@media(min-width:860px){.editor-shell.svelte-1e2la5x{padding:1rem 1.2rem 1.2rem}.editor-footer.svelte-1e2la5x{flex-direction:row;align-items:center}.footer-sync.svelte-1e2la5x{text-align:right;font-size:.85rem;opacity:1}}@container (min-width: 600px){.editor-body.svelte-1e2la5x{max-width:760px;margin:0 auto}}.settings-panel.svelte-d9s7ry{padding:var(--space-section) var(--space-panel);container-type:inline-size}.panel-header.svelte-d9s7ry{margin-bottom:var(--space-section)}.eyebrow.svelte-d9s7ry{color:var(--text-faint);font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;font-weight:500;margin:0 0 .5rem}h1.svelte-d9s7ry{margin:0;font-family:var(--font-writing);font-size:var(--text-heading);font-weight:500}.settings-grid.svelte-d9s7ry{display:grid;gap:2rem;max-width:640px}.setting-card.svelte-d9s7ry{padding:0;background:transparent;border:none;border-radius:0;display:flex;flex-direction:column;gap:.75rem;padding-bottom:2rem;border-bottom:1px solid var(--border-soft)}.setting-card.svelte-d9s7ry:last-child{border-bottom:none;padding-bottom:0}.setting-card.svelte-d9s7ry h2:where(.svelte-d9s7ry){margin:0;font-size:1.1rem;font-weight:600}.setting-card.svelte-d9s7ry p:where(.svelte-d9s7ry){margin:0;color:var(--text-soft);font-size:.95rem;line-height:1.5}.setting-card.svelte-d9s7ry button{width:fit-content}.setting-card.svelte-d9s7ry .account-meta:where(.svelte-d9s7ry){font-size:.85rem;color:var(--text-faint)}.account-form.svelte-d9s7ry{margin-top:auto}.theme-row.svelte-d9s7ry{display:flex;gap:.5rem}.export-actions.svelte-d9s7ry{display:flex;flex-wrap:wrap;gap:.5rem}.setting-card.svelte-d9s7ry .export-meta:where(.svelte-d9s7ry){font-size:.8rem;color:var(--text-faint)}.token-reveal.svelte-d9s7ry{display:flex;flex-direction:column;gap:.75rem;padding:1rem;border:1px solid var(--border-soft);border-radius:var(--radius-small);background:var(--bg-secondary)}.setting-card.svelte-d9s7ry .token-helper:where(.svelte-d9s7ry){font-size:.85rem}.token-reveal.svelte-d9s7ry code:where(.svelte-d9s7ry){display:block;overflow-x:auto;padding:.8rem;border-radius:var(--radius-small);background:var(--bg-main);color:var(--text-main);font-size:.8rem}ul.svelte-d9s7ry{margin:0;padding-left:1.2rem;color:var(--text-soft);font-size:.9rem;line-height:1.6}kbd.svelte-d9s7ry{font-weight:600;font-family:inherit;font-size:inherit}.bottom-nav.svelte-1ekevh2{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;justify-content:space-around;align-items:center;padding:.4rem 0;padding-bottom:calc(.4rem + env(safe-area-inset-bottom,0px));background:var(--bg-panel-strong);border-top:1px solid var(--border-soft)}.bottom-nav.hidden.svelte-1ekevh2{display:none!important}.bottom-nav-item.svelte-1ekevh2{display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.3rem .75rem;min-width:56px;min-height:44px;border-radius:10px;color:var(--text-faint);text-decoration:none;transition:color .18s ease,background .18s ease,transform .1s ease}.bottom-nav-item.svelte-1ekevh2:active{transform:scale(.92)}.bottom-nav-item.active.svelte-1ekevh2{color:var(--accent);background:var(--accent-soft);font-weight:600}.icon.svelte-1ekevh2{display:flex;align-items:center;justify-content:center;width:28px;height:28px}.label.svelte-1ekevh2{font-size:.68rem;font-weight:500;letter-spacing:.02em}.bottom-nav-item.active.svelte-1ekevh2 .label:where(.svelte-1ekevh2){font-weight:600}@media(min-width:860px){.bottom-nav.svelte-1ekevh2{display:none}}.toast-host.svelte-45huq7{position:fixed;left:50%;bottom:calc(72px + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:60;display:flex;flex-direction:column;gap:.5rem;width:min(28rem,calc(100vw - 1.5rem));pointer-events:none}.toast.svelte-45huq7{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .8rem .7rem 1rem;border:1px solid var(--border-soft);border-radius:14px;background:var(--bg-panel-strong);color:var(--text-main);box-shadow:var(--shadow-shell);pointer-events:auto;animation:svelte-45huq7-toast-in var(--motion-backdrop) ease-out}.toast-text.svelte-45huq7{font-size:.9rem}.toast-action.svelte-45huq7{flex-shrink:0;min-height:var(--control-touch);padding:.35rem .8rem;border:none;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-weight:600;font-size:.85rem;cursor:pointer}.toast-action.svelte-45huq7:hover{background:var(--accent);color:var(--bg-panel-strong)}@keyframes svelte-45huq7-toast-in{0%{opacity:0;transform:translateY(.5rem)}to{opacity:1;transform:translateY(0)}}@media(min-width:860px){.toast-host.svelte-45huq7{bottom:1.5rem}}.auth-gate.svelte-1d5teih{display:grid;place-content:center;align-items:center;min-height:100dvh;text-align:center;color:var(--text-soft);gap:1.5rem;padding:2rem}.hint.svelte-1d5teih{font-size:.85rem;color:var(--text-faint)}.auth-link.svelte-1d5teih{display:inline-flex;align-items:center;justify-content:center;min-width:13rem;text-decoration:none}.cache-mode-banner.svelte-1d5teih{position:fixed;top:.75rem;left:50%;z-index:60;display:flex;align-items:center;gap:.75rem;max-width:min(92vw,680px);padding:.65rem .85rem;border:1px solid var(--border-soft);border-radius:var(--radius-small);background:var(--bg-panel-strong);box-shadow:0 12px 28px #0000001f;color:var(--text-main);font-size:.85rem;transform:translate(-50%)}.cache-mode-banner.svelte-1d5teih a:where(.svelte-1d5teih){color:var(--accent);font-weight:600;white-space:nowrap}.cache-only-panel.svelte-1d5teih{max-width:34rem;padding:var(--space-panel)}.cache-only-panel.svelte-1d5teih h1:where(.svelte-1d5teih){margin:0 0 .6rem;font-size:1.4rem}.cache-only-panel.svelte-1d5teih p:where(.svelte-1d5teih){margin:0;color:var(--text-soft);line-height:1.6}.workspace.svelte-1d5teih{display:grid;grid-template-columns:1fr;height:100dvh;background:var(--bg-main);color:var(--text-main);overflow:hidden;padding-bottom:calc(56px + env(safe-area-inset-bottom,0px))}.workspace.cache-only.svelte-1d5teih{padding-top:3.4rem}.sidebar-wrapper.svelte-1d5teih{display:none;flex-direction:column;border-right:1px solid var(--border-soft);background:var(--bg-secondary)}.brand.svelte-1d5teih{display:flex;align-items:center;gap:.7rem;padding:1.25rem 1.1rem 1rem}.brand-logo.svelte-1d5teih{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;flex-shrink:0;border-radius:13px;background:var(--accent);color:#fff;box-shadow:0 6px 16px #2f6a5f47}:root[data-theme=dark] .brand-logo.svelte-1d5teih{color:var(--bg-page)}.brand-name.svelte-1d5teih{font-family:var(--font-writing);font-size:1.2rem;font-weight:700;line-height:1.05;letter-spacing:-.01em}.sidebar-actions.svelte-1d5teih{display:grid;gap:.6rem;padding:0 1.1rem 1rem}.write-btn.svelte-1d5teih{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;min-height:2.85rem;border-radius:var(--radius-medium);font-size:.95rem;font-weight:600;box-shadow:0 8px 20px #2f6a5f38}.write-btn.svelte-1d5teih svg{width:18px;height:18px}.search-box.svelte-1d5teih{display:flex;align-items:center;gap:.6rem;width:100%;min-height:var(--control-touch);padding:0 .75rem;border:1px solid var(--border-soft);border-radius:var(--radius-medium);background:var(--bg-muted);color:var(--text-faint);font-size:.9rem;transition:background var(--motion-fast),border-color var(--motion-fast)}.search-box.svelte-1d5teih:hover{background:var(--bg-hover);border-color:var(--border-strong)}.search-icon.svelte-1d5teih{display:flex;align-items:center;justify-content:center;flex-shrink:0}.search-icon.svelte-1d5teih svg{width:17px;height:17px}.search-text.svelte-1d5teih{flex:1;text-align:left}.settings-area.svelte-1d5teih{grid-column:1;overflow-y:auto;height:100%;-webkit-overflow-scrolling:touch}.sidebar-footer.svelte-1d5teih{margin-top:auto;display:grid;gap:.75rem;padding:.85rem 1.1rem 1.1rem}.sync-card.svelte-1d5teih{display:grid;gap:.4rem;padding:.7rem .8rem;border:1px solid var(--border-soft);border-radius:var(--radius-medium);background:var(--bg-muted)}.sync-line.svelte-1d5teih{display:flex;align-items:center;gap:.5rem;font-size:.82rem;color:var(--text-soft);min-width:0}.sync-line.svelte-1d5teih span:where(.svelte-1d5teih):last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sync-line.muted.svelte-1d5teih{color:var(--text-faint);font-size:.78rem}.conflict-jump.svelte-1d5teih{margin-top:.35rem;padding:.45rem .55rem;border:1px solid var(--danger-border);border-radius:var(--radius-small);background:var(--bg-danger-soft);color:var(--danger);font-size:.78rem;font-weight:600;text-align:left;cursor:pointer}.conflict-jump.svelte-1d5teih:hover{background:var(--bg-panel)}.sync-ic.svelte-1d5teih{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--text-faint)}.sync-ic.online.svelte-1d5teih{color:var(--success)}.sync-ic.svelte-1d5teih svg{width:16px;height:16px}.profile-block.svelte-1d5teih{display:grid;gap:.35rem;padding-top:.75rem;border-top:1px solid var(--border-soft)}.profile.svelte-1d5teih{display:flex;align-items:center;gap:.6rem;padding:.4rem;border-radius:var(--radius-small)}.avatar.svelte-1d5teih{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;flex-shrink:0;border-radius:50%;background:var(--accent);color:#fff;font-size:.85rem;font-weight:700}:root[data-theme=dark] .avatar.svelte-1d5teih{color:var(--bg-page)}.profile-name.svelte-1d5teih{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:600}.logout-form.svelte-1d5teih{margin:0}.logout-btn.svelte-1d5teih{display:flex;align-items:center;gap:.6rem;width:100%;min-height:var(--control-touch);padding:.4rem .55rem;border:none;border-radius:var(--radius-small);background:transparent;color:var(--text-soft);font-size:.88rem;transition:background var(--motion-fast),color var(--motion-fast)}.logout-btn.svelte-1d5teih:hover{background:var(--bg-hover);color:var(--text-main)}.logout-btn.svelte-1d5teih svg{width:17px;height:17px;color:var(--text-faint)}.workspace.has-selection.svelte-1d5teih .notes-column{display:none}.workspace.svelte-1d5teih:not(.has-selection) .editor-column{display:none}.workspace.has-selection.svelte-1d5teih{padding-bottom:0}.focus-mode.svelte-1d5teih .sidebar-wrapper:where(.svelte-1d5teih),.focus-mode.svelte-1d5teih .notes-column{display:none}@media(min-width:860px){.workspace.svelte-1d5teih{grid-template-columns:clamp(224px,18vw,268px) clamp(300px,25vw,384px) minmax(0,1fr);padding-bottom:0}.sidebar-wrapper.svelte-1d5teih{display:flex}.settings-area.svelte-1d5teih{grid-column:2 / -1}.workspace.has-selection.svelte-1d5teih .notes-column{display:block}.workspace.svelte-1d5teih:not(.has-selection) .editor-column{display:flex}.workspace.focus-mode.svelte-1d5teih{grid-template-columns:minmax(0,1fr)}.workspace.focus-mode.svelte-1d5teih .sidebar-wrapper:where(.svelte-1d5teih),.workspace.focus-mode.svelte-1d5teih .notes-column{display:none}.workspace.focus-mode.svelte-1d5teih .editor-column{grid-column:1 / -1}}
