:root,.theme-light{color-scheme:light;--theme-surface-contrast: #2c2c2b;--theme-surface-raised: #fff;--theme-surface: #fff;--theme-surface-sunken: #f9f8f7;--theme-surface-muted: #f0efed;--theme-blue-solid: #2783de;--theme-blue-wash-1: #f3f9fd;--theme-blue-wash-2: #e5f2fc;--theme-blue-wash-3: #cee3f7;--theme-blue-line: #cee3f7;--theme-accent-hover: #0077d4;--theme-blue-glyph: #387dc9;--theme-blue-ink-strong: #264a72;--theme-blue-ink: #387dc9;--theme-board-card: #fff;--theme-line: #e6e5e3;--theme-line-alpha: rgba(28,19,1,.11);--theme-line-alpha-soft: rgba(42,28,0,.07);--theme-tab-line: rgba(42,28,0,.07);--theme-brown-wash-2: #f5ede9;--theme-brown-ink: #9f765a;--theme-button-hover: rgba(55,53,47,.06);--theme-gallery-cover: rgba(55,53,47,.024);--theme-calendar-event: #fff;--theme-card-hover: rgba(55,53,47,.04);--theme-card-press: rgba(55,53,47,.06);--theme-code-surface: #f7f6f3;--theme-placeholder-surface: #f2f1ee;--theme-gray-raised: #fff;--theme-gray-wash-1: #f9f8f7;--theme-gray-tint-1: rgba(66,35,3,.03);--theme-gray-wash-2: #f0efed;--theme-gray-tint-2: rgba(42,28,0,.07);--theme-gray-tint-3: rgba(28,19,1,.11);--theme-gray-glyph: #7d7a75;--theme-gray-ink-strong: #494846;--theme-gray-ink: #7d7a75;--theme-green-wash-1: #f6f9f7;--theme-green-wash-2: #e8f1ec;--theme-green-wash-3: #d7e6dd;--theme-green-ink-strong: #2a533c;--theme-green-ink: #50946e;--theme-glyph: #383836;--theme-glyph-muted: #8a8782;--theme-glyph-faint: #8b8783;--theme-focus-ring: 0px 0px 0px 1px #2383e2 inset, 0px 0px 0px 1px #2383e2;--theme-link-underline: rgba(55,53,47,.25);--theme-orange-wash-2: #fbebde;--theme-orange-ink: #d27b2d;--theme-scrim: rgba(15,15,15,.6);--theme-title-hint: rgba(55,53,47,.15);--theme-accent-wash-1: rgba(35,131,226,.07);--theme-accent-wash-2: rgba(35,131,226,.14);--theme-accent-wash-3: rgba(35,131,226,.21);--theme-accent-wash-4: rgba(35,131,226,.35);--theme-accent: #2383e2;--theme-pink-wash-2: #fae9f1;--theme-pink-ink: #c14c8a;--theme-popover: #fff;--theme-purple-wash-2: #f3ebf9;--theme-purple-glyph: #9a6bb4;--theme-purple-ink: #9a6bb4;--theme-red-solid: #e56458;--theme-red-wash-1: #fdf6f6;--theme-red-wash-2: #fce9e7;--theme-red-line-strong: #f0c5be;--theme-red-ink-bright: #e56458;--theme-red-ink: #cf5148;--theme-shadow-menu: 0px 14px 28px -6px rgba(0,0,0,.1), 0px 2px 4px -1px rgba(0,0,0,.06), 0 0 0 1px rgba(28,19,1,.11);--theme-shadow-3: 0px 20px 24px 0px rgba(25,25,25,.05), 0px 5px 8px 0px rgba(25,25,25,.027), 0px 0px 0px 1px rgba(42,28,0,.07);--theme-shadow-2: 0px 8px 12px 0px rgba(25,25,25,.027), 0px 2px 6px 0px rgba(25,25,25,.027), 0px 0px 0px 1px rgba(42,28,0,.07);--theme-shadow-dialog: 0px 24px 48px 0px rgba(25,25,25,.24), 0px 4px 12px 0px rgba(25,25,25,.14), 0px 0px 0px 1px rgba(42,28,0,.07);--theme-shadow-1: 0px 2px 4px 0px rgba(0,0,0,.04), 0px 0px 0px 1px rgba(42,28,0,.07);--theme-sidebar-active: rgba(0,0,0,.03);--theme-hover: rgba(55,53,47,.04);--theme-press: rgba(55,53,47,.1);--theme-icon-press: rgba(55,53,47,.1);--theme-switch-track: rgba(135,131,120,.4);--theme-table-header: #f7f6f3;--theme-table-row-hover: rgba(55,53,47,.024);--theme-ink-emphasis: #5f5e59;--theme-ink-disabled: #d4d3cf;--theme-ink-inverse: #f0efed;--theme-ink-inverse-muted: #ada9a3;--theme-ink: #2c2c2b;--theme-ink-muted: #6d6a67;--theme-ink-faint: #928f8b;--theme-star: #f6c050;--theme-yellow-solid: #d8a32f;--theme-yellow-wash-2: #f9f3dc;--theme-yellow-ink: #cb9434;--theme-gray-wash-3: #e6e5e3;--theme-brown-wash-3: #ebdfd7;--theme-brown-ink-strong: #584437;--theme-brown-glyph: #9f765a;--theme-brown-wash-1: #faf8f6;--theme-orange-wash-3: #f3ddcb;--theme-orange-ink-strong: #6a4222;--theme-orange-glyph: #d27b2d;--theme-orange-wash-1: #fcf7f4;--theme-yellow-wash-3: #f2e3b7;--theme-yellow-ink-strong: #655121;--theme-yellow-glyph: #cb9434;--theme-yellow-wash-1: #fcfaef;--theme-green-glyph: #50946e;--theme-purple-wash-3: #e8dbf2;--theme-purple-ink-strong: #553b69;--theme-purple-wash-1: #faf7fc;--theme-pink-wash-3: #f4d8e4;--theme-pink-ink-strong: #68354e;--theme-pink-glyph: #c14c8a;--theme-pink-wash-1: #fcf7f9;--theme-red-wash-3: #f7d9d5;--theme-red-ink-strong: #6d3531;--theme-red-glyph: #cf5148}.theme-dark{color-scheme:dark;--theme-surface-contrast: #2c2c2b;--theme-surface-raised: #202020;--theme-surface: #191919;--theme-surface-sunken: #202020;--theme-surface-muted: #383836;--theme-blue-solid: #2783de;--theme-blue-wash-1: #1a2027;--theme-blue-wash-2: #233850;--theme-blue-wash-3: #355f8b;--theme-blue-line: #233850;--theme-accent-hover: #0077d4;--theme-blue-glyph: #83abe1;--theme-blue-ink-strong: #e5f2fc;--theme-blue-ink: #387dc9;--theme-board-card: rgba(255,255,255,.055);--theme-line: #383836;--theme-line-alpha: rgba(255,255,235,.1);--theme-line-alpha-soft: rgba(255,255,243,.082);--theme-tab-line: #2c2c2b;--theme-brown-wash-2: #45362d;--theme-brown-ink: #9f765a;--theme-button-hover: rgba(255,255,255,.055);--theme-gallery-cover: rgba(255,255,255,.03);--theme-calendar-event: #2f2f2f;--theme-card-hover: #2f2f2f;--theme-card-press: #252525;--theme-code-surface: rgba(255,255,255,.03);--theme-placeholder-surface: rgba(255,255,255,.03);--theme-gray-raised: #2c2c2b;--theme-gray-wash-1: #202020;--theme-gray-tint-1: rgba(252,252,252,.03);--theme-gray-wash-2: #383836;--theme-gray-tint-2: rgba(255,255,235,.1);--theme-gray-tint-3: rgba(255,252,235,.306);--theme-gray-glyph: #7d7a75;--theme-gray-ink-strong: #f0efed;--theme-gray-ink: #7d7a75;--theme-green-wash-1: #1b211d;--theme-green-wash-2: #263d30;--theme-green-wash-3: #37674c;--theme-green-ink-strong: #e8f1ec;--theme-green-ink: #50946e;--theme-glyph: #e6e5e3;--theme-glyph-muted: #ada9a3;--theme-glyph-faint: #7d7a75;--theme-focus-ring: 0px 0px 0px 1px #2383e2 inset, 0px 0px 0px 1px #2383e2;--theme-link-underline: #373737;--theme-orange-wash-2: #53361f;--theme-orange-ink: #d27b2d;--theme-scrim: rgba(15,15,15,.8);--theme-title-hint: #373737;--theme-accent-wash-1: rgba(35,131,226,.07);--theme-accent-wash-2: rgba(35,131,226,.14);--theme-accent-wash-3: rgba(35,131,226,.2);--theme-accent-wash-4: rgba(35,131,226,.35);--theme-accent: #2383e2;--theme-pink-wash-2: #4e2b3c;--theme-pink-ink: #c14c8a;--theme-popover: #252525;--theme-purple-wash-2: #3c2d47;--theme-purple-glyph: #9a6bb4;--theme-purple-ink: #9a6bb4;--theme-red-solid: #e56458;--theme-red-wash-1: #241d1d;--theme-red-wash-2: #502c29;--theme-red-line-strong: #924943;--theme-red-ink-bright: #e56458;--theme-red-ink: #cf5148;--theme-shadow-menu: inset 0 0 0 1px rgba(255,255,235,.1), 0px 14px 28px -6px rgba(0,0,0,.2), 0px 2px 4px -1px rgba(0,0,0,.12);--theme-shadow-3: 0px 0px 0px 1px #383836, 0px 14px 28px -6px rgba(25,25,25,.2), 0px 2px 4px -1px rgba(25,25,25,.118);--theme-shadow-2: 0px 0px 0px 1px #383836, 0px 4px 12px -2px rgba(25,25,25,.08);--theme-shadow-dialog: 0px 0px 0px 1px #383836, 0px 24px 48px 0px rgba(25,25,25,.64), 0px 4px 12px 0px rgba(25,25,25,.56);--theme-shadow-1: 0px 0px 0px 1px #383836, 0px 2px 4px 0px rgba(25,25,25,.08);--theme-sidebar-active: rgba(255,255,255,.055);--theme-hover: rgba(255,255,255,.055);--theme-press: rgba(255,255,255,.13);--theme-icon-press: rgba(255,255,255,.11);--theme-switch-track: rgba(120,129,135,.4);--theme-table-header: rgba(255,255,255,.03);--theme-table-row-hover: rgba(255,255,255,.055);--theme-ink-emphasis: #bcbab6;--theme-ink-disabled: #383836;--theme-ink-inverse: #f0efed;--theme-ink-inverse-muted: #ada9a3;--theme-ink: #f0efed;--theme-ink-muted: #ada9a3;--theme-ink-faint: #7d7a75;--theme-star: #ca984d;--theme-yellow-solid: #d8a32f;--theme-yellow-wash-2: #504425;--theme-yellow-ink: #cb9434;--theme-gray-wash-3: #5f5e59;--theme-brown-wash-3: #6d5340;--theme-brown-ink-strong: #f5ede9;--theme-brown-glyph: #bca290;--theme-brown-wash-1: #25201d;--theme-orange-wash-3: #88522f;--theme-orange-ink-strong: #fbebde;--theme-orange-glyph: #cba27d;--theme-orange-wash-1: #231e1b;--theme-yellow-wash-3: #836426;--theme-yellow-ink-strong: #f9f3dc;--theme-yellow-glyph: #d8c283;--theme-yellow-wash-1: #23221a;--theme-green-glyph: #8bb79d;--theme-purple-wash-3: #674d7b;--theme-purple-ink-strong: #f3ebf9;--theme-purple-wash-1: #221d25;--theme-pink-wash-3: #7b4760;--theme-pink-ink-strong: #fae9f1;--theme-pink-glyph: #c897ad;--theme-pink-wash-1: #261c20;--theme-red-wash-3: #924943;--theme-red-ink-strong: #fce9e7;--theme-red-glyph: #d0988d}:root,.theme-light,.theme-dark{--text-primary: var(--theme-ink);--text-secondary: var(--theme-ink-muted);--text-tertiary: var(--theme-ink-faint);--text-disabled: var(--theme-ink-disabled);--text-accent: var(--theme-ink-emphasis);--icon-primary: var(--theme-glyph);--icon-secondary: var(--theme-glyph-muted);--icon-tertiary: var(--theme-glyph-faint);--border-primary: var(--theme-line);--border-translucent: var(--theme-line-alpha);--border-secondary-translucent: var(--theme-line-alpha-soft);--bg-primary: var(--theme-surface);--bg-secondary: var(--theme-surface-sunken);--bg-tertiary: var(--theme-surface-muted);--bg-elevated: var(--theme-surface-raised);--hover: var(--theme-hover);--pressed: var(--theme-press);--icon-pressed: var(--theme-icon-press);--tab-line: var(--theme-tab-line);--button-hover: var(--theme-button-hover);--popover-bg: var(--theme-popover);--sidebar-bg: var(--theme-surface-sunken);--sidebar-selected: var(--theme-sidebar-active);--blue: var(--theme-accent);--blue-hover: var(--theme-accent-hover);--select-blue: var(--theme-accent-wash-2);--select-blue-strong: var(--theme-accent-wash-3);--link-deco: var(--theme-link-underline);--code-bg: var(--theme-code-surface);--overlay: var(--theme-scrim);--shadow-menu: var(--theme-shadow-menu);--shadow-modal: var(--theme-shadow-dialog);--shadow-card: var(--theme-shadow-1);--title-placeholder: var(--theme-title-hint);--favorite: var(--theme-star);--font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", "Noto Sans Arabic", "Noto Sans Hebrew", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";--font-serif: Lyon-Text, Georgia, ui-serif, serif;--font-mono: iawriter-mono, Nitti, Menlo, Courier, monospace;--font-code: SFMono-Regular, Menlo, Consolas, "PT Mono", "Liberation Mono", Courier, monospace}:root,.theme-light,.theme-dark{--color-gray: var(--theme-gray-ink);--color-brown: var(--theme-brown-ink);--color-orange: var(--theme-orange-ink);--color-yellow: var(--theme-yellow-ink);--color-green: var(--theme-green-ink);--color-blue: var(--theme-blue-ink);--color-purple: var(--theme-purple-ink);--color-pink: var(--theme-pink-ink);--color-red: var(--theme-red-ink);--bgcolor-gray: var(--theme-gray-wash-2);--bgcolor-brown: var(--theme-brown-wash-2);--bgcolor-orange: var(--theme-orange-wash-2);--bgcolor-yellow: var(--theme-yellow-wash-2);--bgcolor-green: var(--theme-green-wash-2);--bgcolor-blue: var(--theme-blue-wash-2);--bgcolor-purple: var(--theme-purple-wash-2);--bgcolor-pink: var(--theme-pink-wash-2);--bgcolor-red: var(--theme-red-wash-2);--tag-default-bg: var(--theme-gray-wash-2);--tag-default-fg: var(--theme-gray-ink-strong)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg-primary);color:var(--text-primary);font-family:var(--font-sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:auto;overflow:hidden;-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;background:none;border:none;padding:0;margin:0;cursor:pointer}input,textarea{font:inherit;color:inherit}a{color:inherit;text-decoration:none}::selection{background:var(--theme-accent-wash-3)}.c-gray{color:var(--color-gray)}.c-brown{color:var(--color-brown)}.c-orange{color:var(--color-orange)}.c-yellow{color:var(--color-yellow)}.c-green{color:var(--color-green)}.c-blue{color:var(--color-blue)}.c-purple{color:var(--color-purple)}.c-pink{color:var(--color-pink)}.c-red{color:var(--color-red)}.bg-gray{background:var(--bgcolor-gray)}.bg-brown{background:var(--bgcolor-brown)}.bg-orange{background:var(--bgcolor-orange)}.bg-yellow{background:var(--bgcolor-yellow)}.bg-green{background:var(--bgcolor-green)}.bg-blue{background:var(--bgcolor-blue)}.bg-purple{background:var(--bgcolor-purple)}.bg-pink{background:var(--bgcolor-pink)}.bg-red{background:var(--bgcolor-red)}.scroller{overflow:auto;scrollbar-width:thin;scrollbar-color:var(--theme-gray-tint-3) transparent}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.icon-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;color:var(--icon-secondary);flex-shrink:0;-webkit-user-select:none;user-select:none;transition:background 20ms ease-in}.icon-btn:hover{background:var(--hover)}.icon-btn:active{background:var(--pressed)}.kbd{font-size:11px;line-height:16px;color:var(--text-tertiary);border-radius:4px;padding:0 4px;background:var(--theme-gray-tint-2)}.app{display:flex;height:100%;width:100%;overflow:hidden;position:relative}.sidebar-container{flex-shrink:0;height:100%;transition:width .2s ease}.sidebar-container.animating{overflow:hidden}.sidebar-container.resizing{transition:none}.sidebar{position:relative;flex-shrink:0;height:100%;background:var(--sidebar-bg);box-shadow:inset -1px 0 0 0 var(--border-secondary-translucent);display:flex;flex-direction:column;color:var(--text-accent);font-size:14px;-webkit-user-select:none;user-select:none;z-index:10;transition:transform .2s ease,opacity .2s ease}.sidebar.collapsed{position:absolute;left:0;top:0;height:auto;bottom:0;transform:translate(-100%);transition:none;opacity:0}.sidebar.collapsed.peek,.sidebar.collapsed.was-peek{transition:transform .2s ease,opacity .2s ease}.sidebar.collapsed.peek{transform:translate(0);opacity:1;top:52px;bottom:52px;height:auto;border-radius:0 10px 10px 0;box-shadow:var(--shadow-menu);background:var(--popover-bg)}.sidebar-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding-bottom:12px;scrollbar-width:thin;scrollbar-color:transparent transparent}.sidebar:hover .sidebar-scroll{scrollbar-color:var(--theme-gray-tint-3) transparent}.sb-search{margin:6px 12px 0;height:32px;border-radius:8px;border:1px solid var(--border-translucent);display:flex;align-items:center;gap:6px;padding:0 6px 0 8px;color:var(--text-tertiary);cursor:pointer;font-size:14px;background:var(--bg-primary);transition:background 20ms ease-in}.theme-dark .sb-search{background:transparent}.sb-search:hover{background:var(--hover)}.sb-search .label{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sb-search .kbd{font-size:11px;font-weight:500}.sb-header-actions{position:absolute;top:6px;right:12px}.sb-tabs{display:flex;gap:8px;padding:12px 12px 0}.sb-tab{height:32px;border-radius:8px;padding:0 10px 0 6px;display:flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--text-secondary);cursor:pointer;white-space:nowrap}.sb-tab svg{color:var(--icon-secondary)}.sb-tab:hover{background:var(--hover)}.sb-tab.active{background:var(--theme-gray-tint-2);color:var(--text-primary)}.sb-tab.active svg{color:var(--icon-primary)}.sb-group{display:flex;flex-direction:column;gap:1px;padding:0 8px}.sb-group.top{margin-top:12px}.sb-section{margin-top:16px}.sb-row{height:30px;min-height:30px;border-radius:6px;display:flex;align-items:center;padding:4px 8px;gap:8px;color:var(--text-accent);font-size:14px;line-height:21px;cursor:pointer;position:relative;transition:background 20ms ease-in}.sb-row:hover{background:var(--hover)}.sb-row.active{background:var(--sidebar-selected);color:var(--text-primary)}.sb-row.muted{color:var(--text-secondary)}.sb-row.drop-into{box-shadow:inset 0 0 0 2px var(--theme-accent-wash-4);background:var(--select-blue)}.sb-row .sb-icon{width:22px;height:22px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--icon-secondary);border-radius:4px;position:relative}.sb-row .sb-icon .emoji{font-size:16px;line-height:1}.sb-row .sb-label{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sb-row .sb-actions{display:none;align-items:center;gap:2px;margin-right:-4px}.sb-row:hover .sb-actions,.sb-row.menu-open .sb-actions{display:flex}.sb-row .sb-actions .icon-btn{width:20px;height:20px;border-radius:4px;color:var(--icon-secondary)}.sb-row .sb-actions .icon-btn:hover{background:var(--theme-gray-tint-2)}.sb-row .sb-caret{position:absolute;top:0;right:0;bottom:0;left:0;display:none;align-items:center;justify-content:center;border-radius:4px;color:var(--icon-secondary);background:var(--sidebar-bg)}.sb-row:hover .sb-caret{display:flex}.sb-row .sb-caret:hover{background:var(--theme-gray-tint-2)}.sb-caret svg{transition:transform .15s ease}.sb-caret.open svg{transform:rotate(90deg)}.sb-section-header{height:30px;display:flex;align-items:center;padding:0 8px;border-radius:6px;margin:0 8px;cursor:pointer;color:var(--text-secondary);font-size:12px;font-weight:500;line-height:16px;gap:4px}.sb-section-header:hover{background:var(--hover)}.sb-section-header .grow{flex:1;display:flex;align-items:center;gap:4px}.sb-section-header .chev{display:none;color:var(--icon-tertiary)}.sb-section-header:hover .chev{display:inline-flex}.sb-section-header .sb-actions{display:none;gap:2px}.sb-section-header:hover .sb-actions{display:flex}.sb-section-header .icon-btn{width:20px;height:20px;border-radius:4px;color:var(--icon-secondary)}.sb-empty{padding:4px 8px 4px 46px;color:var(--text-tertiary);font-size:14px;line-height:21px;height:30px;display:flex;align-items:center}.sb-footer{flex-shrink:0;display:flex;align-items:center;gap:4px;padding:8px 12px 10px 8px;border-top:1px solid transparent}.sb-footer.scrolled{border-top-color:var(--border-secondary-translucent)}.sb-switcher{display:flex;align-items:center;gap:8px;height:32px;padding:0 8px;border-radius:8px;cursor:pointer;min-width:0;flex:1;color:var(--text-primary);font-size:14px;font-weight:500}.sb-switcher:hover{background:var(--hover)}.sb-switcher .ws-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sb-switcher svg{color:var(--icon-secondary);flex-shrink:0}.sb-footer .icon-btn{width:28px;height:28px}.ws-icon{width:22px;height:22px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;background:var(--theme-gray-tint-2);color:var(--text-secondary);font-size:12px;font-weight:600;flex-shrink:0;line-height:1}.ws-icon.emoji{background:none;font-size:18px}.sb-resizer{position:absolute;top:0;right:-4px;width:8px;height:100%;cursor:col-resize;z-index:2}.sb-resizer:after{content:"";position:absolute;top:0;bottom:0;left:3px;width:2px;background:transparent;transition:background .15s}.sb-resizer:hover:after,.sb-resizer.dragging:after{background:var(--border-translucent)}.sb-drop-line{position:absolute;left:8px;right:8px;height:2px;background:var(--theme-accent-wash-4);pointer-events:none;border-radius:1px}.main{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;position:relative;background:var(--bg-primary);overflow:clip}.main>:not(.side-peek){width:calc(100% - var(--peek-push, 0px));transition:width .2s ease}.main.peek-resizing>*{transition:none}.topbar{height:44px;flex-shrink:0;display:flex;align-items:center;padding:0 12px;gap:4px;font-size:14px;background:var(--bg-primary);position:relative;z-index:5}.topbar .crumbs{display:flex;align-items:center;min-width:0;flex:0 1 auto;overflow:hidden}.crumb{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 6px;border-radius:6px;cursor:pointer;color:var(--text-primary);white-space:nowrap;min-width:0;max-width:240px}.crumb:hover{background:var(--hover)}.crumb .t{overflow:hidden;text-overflow:ellipsis}.crumb .emoji{font-size:15px;line-height:1}.crumb-sep{color:var(--text-tertiary);margin:0 1px;flex-shrink:0}.topbar .privacy{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 6px;border-radius:6px;color:var(--text-secondary);white-space:nowrap;cursor:pointer;margin-inline-start:8px}.topbar .privacy:hover{background:var(--hover)}.topbar .privacy svg{color:var(--icon-tertiary)}.topbar .spacer{flex:1}.topbar .edited{color:var(--text-secondary);white-space:nowrap;margin-right:6px}.topbar .tb-btn{height:28px;padding:0 8px;border-radius:6px;display:inline-flex;align-items:center;gap:6px;color:var(--text-primary);white-space:nowrap;cursor:pointer}.topbar .tb-btn:hover{background:var(--hover)}.topbar .icon-btn{width:28px;height:28px;color:var(--icon-primary)}.topbar .icon-btn.fav-on{color:var(--favorite)}.frame{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;position:relative;scrollbar-width:thin}.home{max-width:900px;margin:0 auto;padding:36px 96px 120px}.home h1{font-size:30px;font-weight:700;line-height:36px;text-align:center;margin:24px 0 36px;color:var(--text-primary)}.home-section{margin-bottom:36px}.home-section-title{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;color:var(--text-secondary);margin:0 0 12px 8px}.home-section-title svg{color:var(--icon-secondary)}.recent-row{display:flex;gap:16px;overflow-x:auto;padding:2px 2px 12px;scrollbar-width:none}.recent-card{flex:0 0 144px;height:144px;border-radius:16px;background:var(--bg-primary);box-shadow:var(--shadow-card);position:relative;overflow:hidden;cursor:pointer;display:flex;flex-direction:column;transition:background .12s ease}.theme-dark .recent-card{background:var(--theme-gray-raised);box-shadow:none}.recent-card:hover{background:var(--theme-card-hover)}.recent-card .rc-top{height:44px;background:var(--bg-secondary);flex-shrink:0;background-size:cover;background-position:center}.theme-dark .recent-card .rc-top{background-color:var(--theme-gray-wash-2)}.recent-card .rc-icon{position:absolute;left:16px;top:30px;font-size:26px;line-height:1;width:28px;height:28px;display:flex;align-items:center;color:var(--icon-secondary)}.recent-card .rc-body{padding:34px 16px 12px;display:flex;flex-direction:column;justify-content:space-between;flex:1}.recent-card .rc-title{font-size:14px;font-weight:600;line-height:18px;color:var(--text-primary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.recent-card .rc-title.placeholder{color:var(--text-tertiary);font-weight:500}.recent-card .rc-meta{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-secondary)}.avatar{width:16px;height:16px;border-radius:50%;color:#fff;font-size:9px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:linear-gradient(135deg,#f6a04d,#e9585f)}.avatar.lg{width:24px;height:24px;font-size:12px}.learn-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.learn-card{border-radius:16px;overflow:hidden;box-shadow:var(--shadow-card);cursor:pointer;background:var(--bg-primary)}.theme-dark .learn-card{background:var(--theme-gray-raised);box-shadow:none}.learn-card:hover{background:var(--theme-card-hover)}.learn-card .lc-art{height:124px;display:flex;align-items:center;justify-content:center;font-size:44px;background:var(--bg-secondary)}.learn-card .lc-body{padding:12px 14px 14px}.learn-card .lc-title{font-size:14px;font-weight:600;line-height:18px;margin-bottom:20px}.learn-card .lc-meta{font-size:12px;color:var(--text-secondary);display:flex;align-items:center;gap:6px}.events-card{border-radius:16px;box-shadow:var(--shadow-card);padding:20px 24px;display:flex;gap:32px;align-items:center;background:var(--bg-primary)}.theme-dark .events-card{background:var(--theme-gray-raised);box-shadow:none}.events-card .ev-left{flex:1;font-size:14px;color:var(--text-secondary)}.events-card .ev-left b{display:block;color:var(--text-primary);font-weight:500;margin:8px 0 4px}.events-card .ev-list{flex:1.3;display:flex;flex-direction:column;gap:10px}.events-card .ev-item{display:flex;gap:10px;font-size:13px}.events-card .ev-item .bar{width:3px;border-radius:2px;background:var(--theme-blue-solid)}.events-card .ev-item .when{color:var(--text-secondary);font-size:12px}.btn-link{color:var(--blue);font-size:14px;font-weight:500;cursor:pointer}.empty-view{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--text-secondary);font-size:14px;text-align:center;padding:24px}.empty-view h2{margin:0;font-size:20px;color:var(--text-primary)}.library{max-width:900px;margin:0 auto;padding:48px 96px 120px}.library h1{font-size:32px;font-weight:700;margin:0 0 20px}.lib-row{display:flex;align-items:center;gap:10px;height:40px;padding:0 8px;border-radius:6px;cursor:pointer;border-bottom:1px solid var(--border-secondary-translucent);font-size:14px}.lib-row:hover{background:var(--hover)}.lib-row .grow{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lib-row .muted{color:var(--text-secondary);font-size:12px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:var(--theme-surface-contrast);color:var(--theme-ink-inverse);font-size:14px;padding:8px 14px;border-radius:8px;box-shadow:var(--shadow-menu);z-index:1000;animation:toast-in .16s ease}.theme-dark .toast{background:var(--theme-gray-wash-2);color:var(--text-primary)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,6px)}}.side-peek{position:absolute;top:0;right:0;bottom:0;background:var(--bg-primary);box-shadow:var(--theme-shadow-3);z-index:20;display:flex;flex-direction:column;transform:translate(100%) translateZ(0);transition:width .2s ease,transform .2s ease}.side-peek.open{transform:translate(0) translateZ(0)}.side-peek.expanding{transform:translate(200%) translateZ(0)}.theme-dark .side-peek{background:var(--theme-gray-wash-1);box-shadow:var(--theme-shadow-2)}.peek-resizer{position:absolute;left:-6px;top:0;bottom:0;width:12px;cursor:col-resize;z-index:2}.peek-top{height:44px;flex-shrink:0;display:flex;align-items:center;gap:2px;padding:0 10px}.peek-top .icon-btn{width:28px;height:28px;color:var(--icon-secondary)}.peek-top .icon-btn.peek-nav{width:24px;height:24px;border-radius:6px;transition:background .1s ease-in-out}.peek-top .icon-btn.peek-nav:active{background:var(--icon-pressed)}.peek-gap{width:8px;flex-shrink:0}.peek-scroll{flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}.peek-scroll .page-column{padding:0 48px;max-width:none}.peek-scroll .page-title{font-size:32px}.app-shell{display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden}.app-shell>.app{flex:1;min-height:0;height:auto}.tabbar{height:36px;flex-shrink:0;display:flex;align-items:stretch;background:var(--sidebar-bg);box-shadow:inset 0 -1px 0 var(--tab-line);font-size:14px;-webkit-user-select:none;user-select:none;position:relative;z-index:30}.tabbar-left{flex-shrink:0;display:flex;align-items:center;padding:0 8px;min-width:0;box-shadow:inset -1px 0 0 var(--border-secondary-translucent)}.tb-ws{display:flex;align-items:center;gap:8px;height:28px;padding:0 6px;border-radius:6px;min-width:0;font-weight:500;color:var(--text-primary);cursor:pointer}.tb-ws:hover{background:var(--hover)}.tb-ws-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tb-ws-chev{color:var(--icon-tertiary);flex-shrink:0}.tabbar-nav{display:flex;align-items:center;gap:2px;padding:0 6px;flex-shrink:0}.tabbar-nav .icon-btn{width:28px;height:28px;color:var(--icon-secondary)}.tabbar-nav .icon-btn.tb-history{width:24px;height:24px}.tabbar-nav .icon-btn.disabled{color:var(--icon-tertiary);opacity:.4;pointer-events:none}.tabs{flex:1;min-width:0;display:flex;align-items:stretch;overflow:hidden}.tab{flex:0 1 220px;min-width:64px;display:flex;align-items:center;gap:7px;padding:0 6px 0 12px;color:var(--text-secondary);cursor:default;position:relative;box-shadow:inset 1px 0 0 var(--tab-line),inset 0 -1px 0 var(--tab-line)}.tab:hover{background:var(--hover)}.tab.active{background:var(--bg-primary);color:var(--text-primary);box-shadow:none;z-index:1}.tab-icon{width:16px;height:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--icon-secondary)}.tab.active .tab-icon{color:var(--icon-primary)}.tab-label{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 18px),transparent)}.tab-close{width:20px;height:20px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:var(--icon-secondary);opacity:0;flex-shrink:0}.tab:hover .tab-close,.tab.active .tab-close{opacity:1}.tab-close:hover{background:var(--theme-gray-tint-2)}.tabs .tab-new{width:24px;height:24px;align-self:center;margin-inline-start:4px;color:var(--icon-secondary)}.learn-card .lc-art{font-size:14px;overflow:hidden;position:relative}.art{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.art-keys{flex-direction:column;gap:6px}.art-keyrow{display:flex;gap:5px}.art-key{min-width:26px;height:24px;padding:0 6px;border-radius:6px;background:var(--bg-primary);box-shadow:0 0 0 1px var(--border-translucent),0 2px 0 var(--border-translucent);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:var(--text-secondary)}.art-slash{flex-direction:column;align-items:flex-start;padding:14px 0 0 28px;justify-content:flex-start}.art-line{font-size:13px;color:var(--text-primary);margin-bottom:4px}.art-caret:after{content:"";display:inline-block;width:1px;height:13px;background:var(--text-primary);margin-inline-start:1px;vertical-align:-2px}.art-menu{width:150px;background:var(--popover-bg);border-radius:8px;box-shadow:var(--shadow-menu);padding:4px}.art-menu-label{font-size:9px;font-weight:600;color:var(--text-secondary);padding:2px 6px 3px}.art-menu-item{display:flex;align-items:center;gap:6px;font-size:10.5px;height:17px;padding:0 6px;border-radius:4px;color:var(--text-primary)}.art-menu-item.on{background:var(--hover)}.art-ic{width:14px;height:14px;border-radius:3px;box-shadow:inset 0 0 0 1px var(--border-translucent);font-size:8px;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);background:var(--bg-primary)}.art-board{gap:8px;padding:18px 14px 0;align-items:flex-start}.art-col{flex:1;border-radius:8px;padding:6px;display:flex;flex-direction:column;gap:5px;background:var(--theme-gray-tint-1)}.art-col.art-blue{background:var(--theme-blue-wash-1)}.art-col.art-green{background:var(--theme-green-wash-1)}.art-pill{align-self:flex-start;font-size:9px;padding:1px 6px;border-radius:8px;background:var(--theme-gray-tint-2);color:var(--text-primary);white-space:nowrap}.art-pill-blue{background:var(--theme-blue-wash-3);color:var(--theme-blue-ink-strong)}.art-pill-green{background:var(--theme-green-wash-3);color:var(--theme-green-ink-strong)}.art-card{background:var(--theme-board-card);box-shadow:var(--theme-shadow-1);border-radius:5px;padding:6px;display:flex;flex-direction:column;gap:4px}.art-card span{height:4px;border-radius:2px;background:var(--theme-gray-tint-3)}.art-card span+span{width:60%}.sb-event-dot{width:10px;height:10px;border-radius:3px}.sb-event-time{font-size:12px;color:var(--text-secondary);white-space:nowrap;flex-shrink:0}.sb-row.sb-event:hover .sb-event-time{color:var(--text-secondary)}.ws-icon.ts-icon{width:20px;height:20px;font-size:13px;border-radius:5px}.page{position:relative;min-height:100%;padding-bottom:30vh;cursor:text}.page.font-serif{--page-font: var(--font-serif)}.page.font-mono{--page-font: var(--font-mono)}.page .page-inner{font-family:var(--page-font, var(--font-sans))}.page.small-text .page-content{font-size:14px}.cover{position:relative;height:30vh;max-height:280px;min-height:160px;background-size:cover;background-repeat:no-repeat;cursor:default}.cover-actions{position:absolute;right:max(96px,calc((100% - 708px)/2));bottom:12px;display:none;border-radius:6px;background:var(--popover-bg);box-shadow:var(--shadow-card);overflow:hidden}.cover:hover .cover-actions,.cover-actions.show{display:flex}.cover-actions button{height:28px;padding:0 10px;font-size:12px;color:var(--text-secondary);border-right:1px solid var(--border-secondary-translucent)}.cover-actions button:last-child{border-right:none}.cover-actions button:hover{background:var(--hover)}.cover.repositioning{cursor:move}.cover-hint{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#00000073;color:#fff;font-size:12px;padding:4px 10px;border-radius:6px;pointer-events:none}.page-column{width:100%;max-width:900px;margin:0 auto;padding:0 96px}.page.full-width .page-column{max-width:none}.page-header{position:relative}.page-icon{font-size:78px;line-height:1.1;width:78px;height:78px;display:flex;align-items:center;justify-content:center;border-radius:8px;cursor:pointer;-webkit-user-select:none;user-select:none;margin-top:80px;margin-inline-start:2px;transition:background 20ms ease-in}.page-icon:hover{background:var(--hover)}.has-cover .page-icon{margin-top:-42px;position:relative;z-index:2}.page-icon img{width:78px;height:78px;object-fit:cover;border-radius:6px}.page-controls{display:flex;gap:2px;margin-left:-1px;height:24px;margin-top:80px;margin-bottom:4px;opacity:0;transition:opacity .1s ease;-webkit-user-select:none;user-select:none}.has-icon .page-controls,.has-cover .page-controls{margin-top:8px}.has-cover:not(.has-icon) .page-controls{margin-top:16px}.page-header:hover .page-controls,.page-controls.show{opacity:1}.page-controls button{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 6px;border-radius:6px;font-size:14px;color:var(--text-secondary);white-space:nowrap}.page-controls button svg{color:var(--icon-tertiary)}.page-controls button:hover{background:var(--hover);color:var(--text-secondary)}.page-title{font-size:40px;font-weight:700;line-height:1.2;padding:3px 2px;margin:0;outline:none;white-space:pre-wrap;word-break:break-word;caret-color:var(--text-primary);color:var(--text-primary);cursor:text}.page-title:empty:before{content:attr(data-placeholder);color:var(--title-placeholder)}.theme-dark .page-title:empty:before{color:var(--theme-ink-disabled)}.page-props{margin:6px 0 4px}.page-content{padding-top:8px;padding-bottom:8px;font-size:16px;line-height:1.5;color:var(--text-primary)}.page-locked-banner{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--text-secondary);margin:6px 0}.block{position:relative;margin:1px 0}.block-row{position:relative;display:flex;align-items:flex-start;width:100%;border-radius:4px}.block.selected>.block-row:after,.block.selected.no-row:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--select-blue);border-radius:4px;pointer-events:none;z-index:1}.block.selected>.block-children{background:var(--select-blue)}.block.drop-before:before,.block.drop-after:after{content:"";position:absolute;left:0;right:0;height:4px;background:var(--theme-accent-wash-4);border-radius:2px;z-index:3;pointer-events:none}.block.drop-before:before{top:-3px}.block.drop-after:after{bottom:-3px}.block.drop-inside>.block-row{box-shadow:inset 0 0 0 2px var(--theme-accent-wash-4)}.block-children{padding-inline-start:26px}.editable{flex:1;min-width:1px;outline:none;padding:3px 2px;white-space:pre-wrap;word-break:break-word;caret-color:var(--text-primary);min-height:1.5em}.editable[data-empty=true]:focus:before,.editable[data-empty=true].show-ph:before{content:attr(data-placeholder);color:var(--text-tertiary);pointer-events:none;position:absolute}.editable[data-empty=true].always-ph:before{content:attr(data-placeholder);color:var(--text-tertiary);pointer-events:none;position:absolute}.editable b{font-weight:600}.editable code,.inline-code{font-family:var(--font-code);line-height:normal;background:var(--theme-gray-tint-2);color:#eb5757;border-radius:4px;font-size:85%;padding:.2em .4em}.theme-dark .editable code{color:#ff7369}.editable a{color:inherit;text-decoration:underline;text-decoration-color:var(--link-deco);text-underline-offset:3px;text-decoration-thickness:1px;cursor:pointer}.editable a:hover{text-decoration-color:currentColor}.editable span[class*=bg-]{border-radius:3px;padding:0 1px}.block[data-color]:not([data-color=default])>.block-row{border-radius:4px}.block[data-color=gray]>.block-row{color:var(--color-gray)}.block[data-color=brown]>.block-row{color:var(--color-brown)}.block[data-color=orange]>.block-row{color:var(--color-orange)}.block[data-color=yellow]>.block-row{color:var(--color-yellow)}.block[data-color=green]>.block-row{color:var(--color-green)}.block[data-color=blue]>.block-row{color:var(--color-blue)}.block[data-color=purple]>.block-row{color:var(--color-purple)}.block[data-color=pink]>.block-row{color:var(--color-pink)}.block[data-color=red]>.block-row{color:var(--color-red)}.block[data-color=gray_background]>.block-row{background:var(--bgcolor-gray)}.block[data-color=brown_background]>.block-row{background:var(--bgcolor-brown)}.block[data-color=orange_background]>.block-row{background:var(--bgcolor-orange)}.block[data-color=yellow_background]>.block-row{background:var(--bgcolor-yellow)}.block[data-color=green_background]>.block-row{background:var(--bgcolor-green)}.block[data-color=blue_background]>.block-row{background:var(--bgcolor-blue)}.block[data-color=purple_background]>.block-row{background:var(--bgcolor-purple)}.block[data-color=pink_background]>.block-row{background:var(--bgcolor-pink)}.block[data-color=red_background]>.block-row{background:var(--bgcolor-red)}.block.t-h1{margin-top:32px;margin-bottom:4px}.block.t-h2{margin-top:22px;margin-bottom:1px}.block.t-h3{margin-top:16px;margin-bottom:1px}.block.t-h1:first-child,.block.t-h2:first-child,.block.t-h3:first-child{margin-top:2px}.t-h1>.block-row>.editable{font-size:1.875em;font-weight:600;line-height:1.3}.t-h2>.block-row>.editable{font-size:1.5em;font-weight:600;line-height:1.3}.t-h3>.block-row>.editable{font-size:1.25em;font-weight:600;line-height:1.3}.marker{width:24px;min-width:24px;display:flex;align-items:center;justify-content:center;margin-right:2px;-webkit-user-select:none;user-select:none;height:calc(1.5em + 6px);flex-shrink:0}.marker.bullet:before{content:"•";font-size:1.5em;line-height:1;font-family:Arial,sans-serif}.marker.bullet.l1:before{content:"◦"}.marker.bullet.l2:before{content:"▪";font-size:1em}.marker.number{justify-content:flex-end;padding-right:2px;width:auto;min-width:24px;white-space:nowrap}.marker.number span{display:inline-block;min-width:1.4em;text-align:center}.checkbox{width:16px;height:16px;border-radius:3px;border:1.5px solid var(--icon-primary);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .12s ease;color:#fff}.checkbox:hover{background:var(--hover)}.checkbox.checked{background:var(--blue);border-color:var(--blue)}.checkbox.checked:hover{background:var(--blue-hover)}.t-todo.done>.block-row>.editable{text-decoration:line-through;text-decoration-color:var(--theme-ink-faint);color:var(--text-secondary)}.toggle-btn{width:24px;height:24px;border-radius:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--icon-primary);transition:background 20ms}.toggle-btn:hover{background:var(--hover)}.toggle-btn svg{transition:transform .2s ease-out}.toggle-btn.open svg{transform:rotate(90deg)}.toggle-empty{padding:3px 2px;color:var(--text-tertiary);cursor:pointer;font-size:1em}.toggle-empty:hover{color:var(--text-secondary)}.t-quote>.block-row{padding:4px 0}.t-quote>.block-row>.editable{border-left:3px solid currentColor;padding:0 14px;font-size:1em}.t-callout>.block-row{border-radius:10px;padding:14px 16px 14px 12px;background:var(--theme-gray-tint-2);margin:2px 0}.t-callout.has-children>.block-row{border-bottom-left-radius:0;border-bottom-right-radius:0}.t-callout>.block-children{background:var(--theme-gray-tint-2);border-radius:0 0 10px 10px;padding:0 16px 10px 46px;margin-top:-2px}.t-callout[data-color$=_background]>.block-children{background:inherit}.callout-icon{width:24px;height:24px;border-radius:4px;font-size:21px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;margin-right:8px;margin-top:2px;flex-shrink:0;-webkit-user-select:none;user-select:none}.callout-icon:hover{background:var(--hover)}.t-callout>.block-row>.editable{padding-top:2px;padding-bottom:2px}.divider{flex:1;height:13px;display:flex;align-items:center;cursor:pointer;padding:0 2px}.divider:after{content:"";height:1px;width:100%;background:var(--border-translucent)}.theme-dark .divider:after{background:var(--theme-line)}.page-link{display:flex;align-items:center;gap:6px;flex:1;height:30px;padding:3px 2px;border-radius:4px;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:0}.page-link:hover{background:var(--hover)}.page-link .pl-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:17px;line-height:1;color:var(--icon-secondary);flex-shrink:0}.page-link .pl-title{font-weight:500;border-bottom:1px solid var(--link-deco);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.code-wrap{flex:1;min-width:0;position:relative;border-radius:10px;background:var(--code-bg);margin:4px 0}.code-head{position:absolute;top:6px;left:8px;right:8px;display:flex;justify-content:space-between;opacity:0;transition:opacity .12s;z-index:2}.code-wrap:hover .code-head,.code-wrap:focus-within .code-head{opacity:1}.code-head button{font-size:12px;color:var(--text-secondary);height:22px;padding:0 6px;border-radius:4px;display:inline-flex;align-items:center;gap:4px}.code-head button:hover{background:var(--hover)}.code-area{position:relative;padding:34px 16px 28px 28px;font-family:var(--font-code);font-size:85%;line-height:1.5;-moz-tab-size:2;tab-size:2}.code-area pre,.code-area textarea{margin:0;font:inherit;line-height:inherit;white-space:pre;word-wrap:normal;letter-spacing:normal;-moz-tab-size:2;tab-size:2}.code-area.wrap pre,.code-area.wrap textarea{white-space:pre-wrap;word-break:break-word}.code-area pre{pointer-events:none;color:var(--text-primary);min-height:1.5em;overflow:hidden}.code-area textarea{position:absolute;top:34px;right:16px;bottom:28px;left:28px;width:calc(100% - 44px);height:calc(100% - 62px);background:transparent;color:transparent;caret-color:var(--text-primary);border:none;outline:none;resize:none;overflow:hidden;padding:0}.code-area textarea::selection{background:var(--theme-accent-wash-3);color:transparent}.tok-k{color:#d73a49}.tok-s{color:#22863a}.tok-c{color:#6a737d;font-style:italic}.tok-n{color:#005cc5}.tok-f{color:#6f42c1}.tok-p{color:#e36209}.theme-dark .tok-k{color:#ff7b72}.theme-dark .tok-s{color:#a5d6ff}.theme-dark .tok-c{color:#8b949e}.theme-dark .tok-n{color:#79c0ff}.theme-dark .tok-f{color:#d2a8ff}.theme-dark .tok-p{color:#ffa657}.code-caption{font-size:14px;color:var(--text-secondary);padding:6px 2px 0}.image-block{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;padding:4px 0}.image-frame{position:relative;max-width:100%}.image-frame img{display:block;width:100%;border-radius:4px;-webkit-user-select:none;user-select:none}.image-handle{position:absolute;top:50%;transform:translateY(-50%);width:6px;height:48px;max-height:50%;border-radius:20px;background:#0f0f0f99;border:1px solid rgba(255,255,255,.9);cursor:col-resize;opacity:0;transition:opacity .12s}.image-frame:hover .image-handle{opacity:1}.image-handle.l{left:8px}.image-handle.r{right:8px}.image-placeholder{flex:1;display:flex;align-items:center;gap:10px;height:46px;padding:0 12px;border-radius:6px;background:var(--theme-placeholder-surface);color:var(--text-secondary);font-size:14px;cursor:pointer;-webkit-user-select:none;user-select:none}.image-placeholder:hover{background:var(--theme-gray-tint-2)}.image-caption{width:100%;font-size:14px;color:var(--text-secondary);padding:6px 2px 0;outline:none;min-height:1.5em}.bookmark{flex:1;display:flex;border:1px solid var(--border-translucent);border-radius:10px;overflow:hidden;cursor:pointer;min-height:70px;margin:4px 0;-webkit-user-select:none;user-select:none}.bookmark:hover{background:var(--hover)}.bookmark .bm-text{flex:1;padding:12px 14px;min-width:0}.bookmark .bm-title{font-size:14px;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bookmark .bm-url{font-size:12px;color:var(--text-secondary);margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.simple-table-wrap{flex:1;min-width:0;overflow-x:auto;padding:6px 0 10px}.simple-table{border-collapse:collapse;font-size:14px}.simple-table td{border:1px solid var(--border-primary);min-width:120px;max-width:240px;padding:7px 9px;vertical-align:top;line-height:1.5;outline:none;white-space:pre-wrap;word-break:break-word}.simple-table tr.header td{background:var(--theme-table-header);font-weight:500}.simple-table td:focus{box-shadow:inset 0 0 0 2px var(--theme-accent-wash-4)}.table-add{font-size:12px;color:var(--text-secondary);margin-top:4px;display:flex;gap:8px}.table-add button{padding:2px 6px;border-radius:4px}.table-add button:hover{background:var(--hover)}.block-gutter{position:absolute;left:-50px;top:0;height:calc(1.5em + 6px);display:flex;align-items:center;gap:0;opacity:0;transition:opacity .12s ease-in;z-index:4;font-size:16px}.block-gutter.visible{opacity:1}.block-gutter .g-btn{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;color:var(--icon-tertiary);cursor:pointer}.block-gutter .g-btn.drag{width:18px;cursor:grab}.block-gutter .g-btn:hover{background:var(--hover);color:var(--icon-secondary)}.rubber-band{position:fixed;background:var(--theme-accent-wash-1);border:1px solid var(--theme-accent-wash-3);pointer-events:none;z-index:50}.drag-ghost{position:fixed;pointer-events:none;opacity:.5;z-index:1000;max-width:600px;background:var(--bg-primary);border-radius:4px;font-size:16px;padding:3px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-comments{margin:4px 0 8px;border-bottom:1px solid var(--border-secondary-translucent);padding-bottom:8px}.comment{display:flex;gap:8px;padding:6px 0;font-size:14px}.comment .who{font-weight:500;margin-right:6px}.comment .when{color:var(--text-secondary);font-size:12px}.comment-input{display:flex;align-items:center;gap:8px;padding:4px 0}.comment-input input{flex:1;border:none;outline:none;background:transparent;font-size:14px;padding:4px 0}.comment-input input::placeholder{color:var(--text-tertiary)}.starter{padding:4px 2px 0;-webkit-user-select:none;user-select:none}.starter-hint{color:var(--text-tertiary);font-size:14px;padding:4px 0 14px;cursor:text}.starter-hint .kbd{font-size:12px}.starter-grid{display:flex;flex-wrap:wrap;gap:6px}.starter-item{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border-radius:8px;font-size:14px;color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--border-translucent)}.starter-item svg{color:var(--icon-secondary)}.starter-item:hover{background:var(--hover);color:var(--text-primary)}.column-list{display:flex;width:100%;gap:46px;flex:1;min-width:0}.column{flex:1 1 0;min-width:0;padding-top:2px}.t-columns>.block-row{display:block}.block.drop-left>.block-row,.block.drop-right>.block-row{position:relative}.block.drop-left>.block-row:before,.block.drop-right>.block-row:before{content:"";position:absolute;top:0;bottom:0;width:4px;border-radius:2px;background:var(--theme-accent-wash-4);z-index:3}.block.drop-left>.block-row:before{left:-8px}.block.drop-right>.block-row:before{right:-8px}.popover-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900}.popover{position:fixed;background:var(--popover-bg);border-radius:10px;box-shadow:var(--shadow-menu);z-index:901;overflow:hidden;display:flex;flex-direction:column;font-size:14px;color:var(--text-primary);animation:popover-in .2s ease;max-height:calc(100vh - 24px)}.popover.is-exiting{animation:popover-out .2s ease forwards;pointer-events:none}@keyframes popover-in{0%{opacity:0;transform:scale(.96)}}@keyframes popover-out{to{opacity:0;transform:scale(.96)}}@keyframes pop-in{0%{opacity:0;transform:scale(.98)}}.menu{padding:4px 0;overflow-y:auto;scrollbar-width:thin;min-width:220px}.menu-search{padding:4px 8px 6px}.menu-search input,.text-input{width:100%;height:28px;border-radius:6px;border:none;outline:none;padding:0 8px;font-size:14px;background:var(--theme-gray-tint-1);box-shadow:inset 0 0 0 1px var(--border-translucent);color:var(--text-primary)}.menu-search input:focus,.text-input:focus{box-shadow:var(--theme-focus-ring)}.menu-search input::placeholder,.text-input::placeholder{color:var(--text-tertiary)}.menu-search.icon{position:relative}.menu-search.icon input{padding-inline-start:28px}.menu-search.icon svg{position:absolute;left:16px;top:10px;color:var(--icon-tertiary)}.menu-label{padding:6px 14px 4px;font-size:12px;font-weight:500;color:var(--text-secondary);line-height:16px;-webkit-user-select:none;user-select:none;display:flex;justify-content:space-between}.menu-item{display:flex;align-items:center;gap:8px;min-height:28px;padding:0 8px;margin:0 4px;border-radius:6px;cursor:pointer;-webkit-user-select:none;user-select:none;line-height:20px;color:var(--text-primary)}.menu-item.tall{min-height:46px;padding:4px 8px}.menu-item.active{background:var(--hover)}.menu-item.danger:hover,.menu-item.danger.active{color:var(--theme-red-ink)}.menu-item.danger:hover svg,.menu-item.danger.active svg{color:var(--theme-red-ink)}.menu-item.disabled{opacity:.4;cursor:default}.menu-item .mi-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--icon-primary);font-size:16px}.menu-item .mi-thumb{width:46px;height:46px;border-radius:6px;border:1px solid var(--border-translucent);background:var(--bg-primary);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--icon-primary)}.menu-item .mi-text{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.menu-item .mi-desc{font-size:12px;color:var(--text-secondary);line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.menu-item .mi-right{margin-inline-start:auto;color:var(--text-tertiary);font-size:12px;display:flex;align-items:center;gap:4px;flex-shrink:0}.menu-sep{height:1px;background:var(--border-secondary-translucent);margin:4px 12px}.menu-footer{border-top:1px solid var(--border-secondary-translucent);padding:6px 14px 8px;font-size:12px;color:var(--text-tertiary);line-height:16px}.menu-empty{padding:6px 14px;color:var(--text-tertiary)}.switch{width:30px;height:18px;border-radius:44px;background:var(--theme-switch-track);position:relative;transition:background .2s ease;flex-shrink:0;cursor:pointer}.switch:after{content:"";position:absolute;width:14px;height:14px;border-radius:50%;top:2px;left:2px;background:#fff;transition:transform .2s ease}.switch.on{background:var(--blue)}.switch.on:after{transform:translate(12px)}.font-picker{display:flex;justify-content:space-around;padding:6px 8px 8px}.font-picker button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 8px;width:72px;border-radius:6px;color:var(--text-primary)}.font-picker button:hover{background:var(--hover)}.font-picker .ag{font-size:24px;line-height:32px}.font-picker .nm{font-size:12px;color:var(--text-secondary)}.font-picker button.on .ag,.font-picker button.on .nm{color:var(--blue)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;font-size:14px;font-weight:500;white-space:nowrap;-webkit-user-select:none;user-select:none;transition:background 20ms ease-in}.btn.sm{height:28px;padding:0 10px;border-radius:6px}.btn.primary{background:var(--blue);color:#fff}.btn.primary:hover{background:var(--blue-hover)}.btn.secondary{box-shadow:inset 0 0 0 1px var(--border-translucent);color:var(--text-primary)}.btn.secondary:hover{background:var(--hover)}.btn.danger{box-shadow:inset 0 0 0 1px var(--theme-red-line-strong);color:var(--theme-red-ink)}.btn.danger:hover{background:var(--theme-red-wash-1)}.btn.ghost:hover{background:var(--hover)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);z-index:800;display:flex;align-items:flex-start;justify-content:center;animation:fade-in .12s ease}.modal-overlay.light{background:#0f0f0f33}.theme-dark .modal-overlay.light{background:#0f0f0f80}@keyframes fade-in{0%{opacity:0}}.modal{background:var(--popover-bg);border-radius:12px;box-shadow:var(--shadow-modal);overflow:hidden;display:flex;flex-direction:column;animation:pop-in .12s ease-out}.modal-overlay.search-overlay,.modal.search-modal{animation:none}.search-modal{margin-top:9vh;width:min(1006px,calc(100vw - 48px));height:min(700px,calc(100vh - 120px))}.modal.search-modal{border-radius:20px;-webkit-backdrop-filter:blur(40px);backdrop-filter:blur(40px)}.theme-dark .modal.search-modal{background:#202020e6}.search-modal.compact{width:min(755px,calc(100vw - 48px))}.search-input-row{display:flex;align-items:center;gap:10px;height:48px;padding:0 16px 0 18px;flex-shrink:0}.search-input-row svg{color:var(--icon-secondary);flex-shrink:0}.search-input-row input{flex:1;border:none;outline:none;background:transparent;font-size:16px;color:var(--text-primary);height:100%}.search-input-row input::placeholder{color:var(--text-tertiary)}.search-filters{display:flex;align-items:center;gap:6px;padding:0 14px 8px;flex-shrink:0}.chip{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 8px;border-radius:6px;font-size:14px;color:var(--text-secondary);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none}.chip:hover{background:var(--hover)}.chip.on{color:var(--blue);background:var(--theme-blue-wash-1);box-shadow:inset 0 0 0 1px var(--theme-blue-line)}.chip svg{color:currentColor;opacity:.85}.search-body{flex:1;min-height:0;display:flex;gap:16px;padding:0 14px 14px}.search-results{flex:1;min-width:0;overflow-y:auto;scrollbar-width:thin}.search-group-label{font-size:12px;font-weight:500;color:var(--text-secondary);padding:8px 8px 6px}.search-item{display:flex;align-items:center;gap:10px;min-height:36px;padding:4px 10px;border-radius:8px;cursor:pointer;font-size:14px;color:var(--text-primary)}.search-item.active{background:var(--hover)}.search-item .si-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;color:var(--icon-secondary);flex-shrink:0;font-size:16px}.search-item .si-main{flex:1;min-width:0}.search-item .si-title{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-item .si-path{color:var(--text-secondary);font-weight:400}.search-item .si-snippet{font-size:12px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-item mark{background:none;color:inherit;font-weight:600;text-decoration:underline;text-decoration-color:var(--theme-yellow-solid, #f6c050);text-decoration-thickness:2px}.search-item .si-enter{color:var(--icon-tertiary);display:none}.search-item.active .si-enter{display:flex}.search-preview{width:378px;flex-shrink:0;border-radius:12px;box-shadow:var(--shadow-card);overflow:hidden;display:flex;flex-direction:column;margin-top:6px;position:relative}.theme-dark .search-preview{background:var(--theme-gray-raised)}.search-preview .sp-cover{height:80px;background:var(--bg-secondary);background-size:cover;background-position:center;flex-shrink:0}.theme-dark .search-preview .sp-cover{background-color:var(--theme-gray-wash-2)}.search-preview .sp-body{padding:20px 24px;overflow:hidden;flex:1}.search-preview .sp-icon{position:relative;z-index:1;font-size:36px;margin-top:-44px;margin-bottom:8px;line-height:1}.search-preview .sp-title{font-size:20px;font-weight:700;line-height:1.2;margin-bottom:12px}.search-preview .sp-text{font-size:12px;color:var(--text-secondary);line-height:1.6;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:18;-webkit-box-orient:vertical;overflow:hidden}.search-preview .sp-actions{position:absolute;top:10px;right:10px;display:flex;border-radius:6px;background:var(--popover-bg);box-shadow:var(--shadow-card)}.search-preview .sp-actions .icon-btn{width:26px;height:26px}.search-footer{height:40px;border-top:1px solid var(--border-secondary-translucent);display:flex;align-items:center;gap:20px;padding:0 16px;font-size:12px;color:var(--text-tertiary);flex-shrink:0}.search-footer span b{font-weight:400;margin-right:6px}.search-empty{padding:40px 0;text-align:center;color:var(--text-tertiary);font-size:14px}.settings-modal{margin-top:max(48px,calc((100vh - 715px)/2));width:min(1150px,calc(100vw - 100px));height:min(715px,calc(100vh - 96px));flex-direction:row}.settings-nav{width:240px;flex-shrink:0;background:var(--bg-secondary);padding:12px 4px;overflow-y:auto;font-size:14px}.settings-nav .nav-label{font-size:12px;font-weight:500;color:var(--text-secondary);padding:8px 12px 4px}.settings-nav .nav-item{display:flex;align-items:center;gap:8px;height:30px;padding:0 10px;margin:1px 4px;border-radius:6px;cursor:pointer;color:var(--text-accent)}.settings-nav .nav-item svg{color:var(--icon-secondary)}.settings-nav .nav-item:hover{background:var(--hover)}.settings-nav .nav-item.on{background:var(--sidebar-selected);color:var(--text-primary);font-weight:500}.settings-user{display:flex;align-items:center;gap:8px;padding:4px 14px 10px}.settings-user .nm{font-size:14px;font-weight:500}.settings-user .em{font-size:12px;color:var(--text-secondary)}.settings-content{flex:1;overflow-y:auto;padding:36px 60px}.settings-content h2{font-size:16px;font-weight:500;margin:0 0 4px;padding-bottom:12px;border-bottom:1px solid var(--border-secondary-translucent)}.settings-content h3{font-size:16px;font-weight:500;margin:32px 0 4px;padding-bottom:12px;border-bottom:1px solid var(--border-secondary-translucent)}.set-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0}.set-row .set-text{flex:1}.set-row .set-title{font-size:14px;color:var(--text-primary)}.set-row .set-desc{font-size:12px;color:var(--text-secondary);margin-top:2px;line-height:16px}.select-btn{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 8px;border-radius:6px;font-size:14px;color:var(--text-primary);cursor:pointer}.select-btn:hover{background:var(--hover)}.select-btn svg{color:var(--icon-tertiary)}.inline-toolbar{position:fixed;z-index:700;display:flex;align-items:stretch;height:34px;padding:3px;gap:1px;background:var(--popover-bg);border-radius:10px;box-shadow:var(--shadow-menu);font-size:14px;-webkit-user-select:none;user-select:none;animation:pop-in 90ms ease-out}.inline-toolbar .itb{display:flex;align-items:center;justify-content:center;gap:4px;min-width:28px;padding:0 6px;border-radius:6px;color:var(--text-primary);cursor:pointer;white-space:nowrap}.inline-toolbar .itb:hover{background:var(--hover)}.inline-toolbar .itb.on{color:var(--blue)}.inline-toolbar .itb svg{color:currentColor}.inline-toolbar .itb .chev{color:var(--icon-tertiary)}.inline-toolbar .sep{width:1px;background:var(--border-secondary-translucent);margin:4px 2px}.swatch{width:22px;height:22px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-weight:500;font-size:15px;box-shadow:inset 0 0 0 1px var(--border-translucent)}.emoji-picker{width:408px;height:390px;display:flex;flex-direction:column}.ep-tabs{display:flex;align-items:center;gap:2px;padding:6px 8px 0;border-bottom:1px solid var(--border-secondary-translucent)}.ep-tab{padding:6px 8px 8px;font-size:14px;color:var(--text-secondary);cursor:pointer;position:relative;border-radius:6px 6px 0 0}.ep-tab:hover{color:var(--text-primary)}.ep-tab.on{color:var(--text-primary);font-weight:500}.ep-tab.on:after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:2px;background:var(--text-primary)}.ep-tabs .grow{flex:1}.ep-search{display:flex;gap:6px;padding:10px 10px 6px;align-items:center}.ep-search input{flex:1}.ep-grid{flex:1;overflow-y:auto;padding:0 8px 8px;scrollbar-width:thin}.ep-cat{font-size:12px;font-weight:500;color:var(--text-secondary);padding:8px 6px 4px}.ep-cells{display:grid;grid-template-columns:repeat(12,32px);gap:0}.ep-cell{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:22px;border-radius:6px;cursor:pointer;-webkit-user-select:none;user-select:none}.ep-cell:hover{background:var(--hover)}.ep-upload{padding:16px;display:flex;flex-direction:column;gap:10px;align-items:stretch;font-size:12px;color:var(--text-secondary)}.cover-picker{width:540px;max-height:420px;display:flex;flex-direction:column}.cover-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:10px 12px 14px;overflow-y:auto}.cover-swatch{height:64px;border-radius:4px;cursor:pointer;background-size:cover;background-position:center}.cover-swatch:hover{opacity:.85}.share-pop{width:440px}.share-tabs{display:flex;gap:2px;padding:6px 8px 0;border-bottom:1px solid var(--border-secondary-translucent)}.share-body{padding:12px 14px;display:flex;flex-direction:column;gap:12px}.share-invite{display:flex;gap:8px}.share-invite input{flex:1;height:32px}.share-person{display:flex;align-items:center;gap:10px;font-size:14px}.share-person .grow{flex:1}.share-person .sub{font-size:12px;color:var(--text-secondary)}.share-footer{display:flex;justify-content:space-between;align-items:center;padding:8px 14px;border-top:1px solid var(--border-secondary-translucent)}.trash-pop{width:414px;height:min(540px,calc(100vh - 80px))}.trash-list{flex:1;overflow-y:auto;padding:4px 0}.trash-item{display:flex;align-items:center;gap:8px;height:36px;padding:0 8px;margin:0 4px;border-radius:6px;font-size:14px;cursor:pointer}.trash-item:hover{background:var(--hover)}.trash-item .grow{flex:1;min-width:0}.trash-item .t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trash-item .p{font-size:12px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trash-item .icon-btn{width:24px;height:24px}.tooltip{position:fixed;z-index:2000;background:var(--theme-surface-contrast);color:var(--theme-ink-inverse);font-size:12px;font-weight:500;line-height:1.4;padding:4px 8px;border-radius:6px;pointer-events:none;max-width:240px;white-space:nowrap;animation:tooltip-in 50ms ease-out}.tooltip.is-exiting{animation:tooltip-out 50ms ease-out forwards}@keyframes tooltip-in{0%{opacity:0}}@keyframes tooltip-out{to{opacity:0}}.theme-dark .tooltip{background:var(--theme-gray-wash-2);color:var(--text-primary)}.tooltip .sc{color:var(--theme-ink-inverse-muted);margin-inline-start:4px}.link-editor{width:320px;padding:8px;display:flex;flex-direction:column;gap:6px}.datepicker{width:252px;padding:8px 8px 4px;-webkit-user-select:none;user-select:none}.dp-head{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 8px 8px;font-size:14px;font-weight:500}.dp-head .nav{display:flex;gap:2px}.dp-head .icon-btn{width:24px;height:24px}.dp-grid{display:grid;grid-template-columns:repeat(7,32px);justify-content:center;row-gap:2px}.dp-dow{font-size:12px;color:var(--text-secondary);text-align:center;height:24px;line-height:24px}.dp-day{height:32px;width:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:14px;cursor:pointer}.dp-day:hover{background:var(--hover)}.dp-day.other{color:var(--text-tertiary)}.dp-day.today{color:var(--theme-red-ink-bright);font-weight:600}.dp-day.sel{background:var(--blue);color:#fff}.dp-foot{display:flex;gap:4px;padding:6px 4px 4px;border-top:1px solid var(--border-secondary-translucent);margin-top:6px}.templates-modal{margin-top:max(40px,calc((100vh - 680px)/2));width:min(1040px,calc(100vw - 80px));height:min(680px,calc(100vh - 80px));flex-direction:row}.tpl-nav{width:300px;flex-shrink:0;background:var(--bg-secondary);overflow-y:auto;padding:8px 6px}.tpl-head{font-size:14px;font-weight:600;padding:10px 10px 12px}.tpl-item{display:flex;gap:10px;padding:8px 10px;border-radius:8px;cursor:pointer}.tpl-item:hover{background:var(--hover)}.tpl-item.on{background:var(--sidebar-selected);box-shadow:inset 0 0 0 1px var(--border-secondary-translucent)}.tpl-icon{font-size:20px;line-height:24px}.tpl-name{font-size:14px;font-weight:500}.tpl-desc{font-size:12px;color:var(--text-secondary);line-height:16px;margin-top:2px}.tpl-preview{flex:1;min-width:0;display:flex;flex-direction:column}.tpl-bar{height:52px;display:flex;align-items:center;gap:8px;padding:0 14px 0 20px;font-size:14px;color:var(--text-secondary);border-bottom:1px solid var(--border-secondary-translucent);flex-shrink:0}.tpl-page{flex:1;overflow-y:auto}.tpl-cover{height:140px}.tpl-body{padding:32px 64px 40px;font-size:15px}.tpl-page-icon{font-size:54px;line-height:1;position:relative}.tpl-body h1{font-size:32px;font-weight:700;margin:14px 0 12px}.tpl-body h2{font-size:20px;font-weight:600;margin:20px 0 4px}.tpl-body p{margin:4px 0}.tpl-body blockquote{margin:8px 0;border-left:3px solid currentColor;padding-inline-start:14px}.tpl-li{display:flex;gap:8px;align-items:center;padding:2px 0}.tpl-box{width:14px;height:14px;border:1.5px solid var(--icon-primary);border-radius:3px}.tpl-dot{width:14px;text-align:center}.tpl-db-tabs{font-size:13px;border-bottom:1px solid var(--border-secondary-translucent);padding-bottom:6px;margin-bottom:12px}.tpl-db-tabs .on{border-bottom:2px solid var(--text-primary);padding-bottom:6px}.tpl-db-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tpl-db-grid.tpl-calendar{grid-template-columns:repeat(7,1fr);gap:0;border-top:1px solid var(--border-primary);border-left:1px solid var(--border-primary)}.tpl-calendar .tpl-db-cell{height:56px;border-radius:0;box-shadow:none;border-right:1px solid var(--border-primary);border-bottom:1px solid var(--border-primary)}.tpl-db-cell{height:70px;border-radius:8px;box-shadow:var(--theme-shadow-1);padding:10px;display:flex;flex-direction:column;gap:6px}.tpl-gallery .tpl-db-cell{height:110px}.tpl-db-cell span{height:6px;border-radius:3px;background:var(--theme-gray-tint-3)}.tpl-db-cell span+span{width:55%}.db{font-size:14px;line-height:20px;color:var(--text-primary);cursor:default;font-family:var(--font-sans)}.db-inline{flex:1;min-width:0;margin:4px 0 10px}.db-full{margin-top:8px}.db-missing{padding:8px 2px;color:var(--text-secondary)}body.db-dragging,body.db-dragging *{cursor:grabbing!important;-webkit-user-select:none!important;user-select:none!important}body.db-col-resizing,body.db-col-resizing *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.db-icon-24{width:24px;height:24px}.db-untitled{color:var(--text-tertiary)}.db-header{display:flex;align-items:center;gap:6px;min-height:40px;padding:4px 0 2px}.db-link-arrow{color:var(--icon-secondary);flex-shrink:0}.db-header-icon{font-size:20px;line-height:1;display:flex;align-items:center;flex-shrink:0}.db-header-icon img{width:22px;height:22px;border-radius:4px;object-fit:cover}.db-title{font-size:20px;font-weight:700;line-height:1.2;padding:2px;outline:none;min-width:24px;cursor:text;white-space:pre-wrap;word-break:break-word}.db-title:empty:before{content:attr(data-placeholder);color:var(--text-tertiary)}.db-open-full{width:24px;height:24px;opacity:0;transition:opacity .12s ease}.db-header:hover .db-open-full{opacity:1}.db-viewbar{display:flex;align-items:center;height:41px;border-bottom:1px solid var(--border-primary)}.db-tabs{display:flex;align-items:center;gap:2px;flex:1;min-width:0;height:100%}.db-tab{position:relative;display:flex;align-items:center;gap:6px;height:28px;padding:0 8px;border-radius:6px;color:var(--text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;min-width:0;flex-shrink:1;transition:background 20ms ease-in}.db-tab:first-child{margin-left:-6px}.db-tab svg{flex-shrink:0;color:var(--icon-secondary)}.db-tab-name{overflow:hidden;text-overflow:ellipsis}.db-tab:hover{background:var(--hover)}.db-tab.on{color:var(--text-primary)}.db-tab.on svg{color:var(--icon-primary)}.db-tab.on:after{content:"";position:absolute;left:8px;right:8px;bottom:-7px;height:2px;background:var(--text-primary)}.db-tabs>.icon-btn{color:var(--icon-tertiary);flex-shrink:0}.db-tools{display:flex;align-items:center;gap:2px;flex-shrink:0;margin-inline-start:8px}.db-tool{width:28px;height:28px;color:var(--icon-secondary)}.db-tool.on{color:var(--blue)}.db-search{display:flex;align-items:center}.db-search input{width:150px;border:none;outline:none;background:transparent;font-size:14px;color:var(--text-primary);padding:0 4px;animation:db-grow .14s ease-out}.db-search input::placeholder{color:var(--text-tertiary)}@keyframes db-grow{0%{width:0}}.db-new{display:inline-flex;align-items:stretch;height:28px;margin-inline-start:6px;border-radius:6px;overflow:hidden;background:var(--blue);color:#fff;font-weight:500;-webkit-user-select:none;user-select:none;flex-shrink:0}.db-new-main{display:flex;align-items:center;padding:0 8px 0 10px;cursor:pointer}.db-new-chev{display:flex;align-items:center;justify-content:center;width:24px;cursor:pointer;box-shadow:inset 1px 0 #ffffff38}.db-new-main:hover,.db-new-chev:hover{background:var(--blue-hover)}.db-filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 0}.db-fchip{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px;border-radius:32px;box-shadow:inset 0 0 0 1px var(--border-primary);color:var(--text-secondary);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;max-width:320px}.db-fchip svg{flex-shrink:0}.db-fchip-text{overflow:hidden;text-overflow:ellipsis}.db-fchip:hover{background:var(--hover)}.db-fchip.on{color:var(--blue);background:var(--theme-blue-wash-1);box-shadow:inset 0 0 0 1px var(--theme-blue-line)}.db-fchip.add{box-shadow:none;color:var(--text-secondary)}.db-fbar-sep{width:1px;height:16px;background:var(--border-primary);margin:0 2px}.db-filter-head{display:flex;align-items:center;gap:4px;padding:6px 6px 4px 12px;font-size:12px;color:var(--text-secondary)}.db-filter-head .grow{flex:1}.db-filter-op{display:inline-flex;align-items:center;gap:2px;height:22px;padding:0 4px;border-radius:4px;cursor:pointer;color:var(--text-secondary)}.db-filter-op:hover{background:var(--hover)}.db-filter-head .icon-btn{color:var(--icon-tertiary)}.db-filter-input{padding:4px 8px 8px}.db-filter-date .db-filter-input{padding-bottom:0}.popover .menu-item .db-checkbox{margin-right:2px}.db-sort-list{display:flex;flex-direction:column;gap:6px;padding:8px 8px 6px}.db-sort-row{display:flex;align-items:center;gap:6px}.db-sort-grip{color:var(--icon-tertiary);flex-shrink:0}.db-select-btn{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 8px;border-radius:6px;box-shadow:inset 0 0 0 1px var(--border-translucent);color:var(--text-primary);cursor:pointer;white-space:nowrap;min-width:0}.db-select-btn.grow{flex:1}.db-select-btn svg{color:var(--icon-tertiary);flex-shrink:0}.db-select-btn-text{flex:1;overflow:hidden;text-overflow:ellipsis}.db-select-btn:hover{background:var(--hover)}.db-sort-row .icon-btn{color:var(--icon-tertiary)}.db-muted-item{color:var(--text-secondary)}.db-muted-item .mi-icon{color:var(--icon-secondary)}.db-options-head{padding:10px 14px 2px;font-size:14px;font-weight:600}.db-prop-toggles{width:270px;padding-top:4px}.db-link-btn{color:var(--blue);cursor:pointer;font-weight:400}.db-prop-rename{display:flex;align-items:center;gap:6px;padding:8px 8px 2px}.db-prop-rename .text-input{flex:1}.db-prop-rename-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:6px;box-shadow:inset 0 0 0 1px var(--border-translucent);color:var(--icon-secondary);flex-shrink:0}.db-mi-type{color:var(--text-secondary);font-size:14px}.db-empty-state{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:24px 2px;color:var(--text-tertiary)}.db-pill{display:inline-flex;align-items:center;height:20px;padding:0 6px;border-radius:4px;font-size:14px;line-height:20px;white-space:nowrap;max-width:100%;min-width:0;flex-shrink:0;overflow:hidden}.db-pill-text{overflow:hidden;text-overflow:ellipsis}.db-pill.status{border-radius:10px;gap:5px;padding:0 8px 0 7px}.db-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.db-pill-x{display:inline-flex;align-items:center;margin-inline-start:3px;margin-right:-2px;opacity:.55;cursor:pointer}.db-pill-x:hover{opacity:1}.db-pills{display:flex;align-items:center;gap:6px;min-width:0}.db-text{overflow:hidden;text-overflow:ellipsis}.db-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--theme-gray-tint-2);color:var(--text-secondary);font-weight:500;flex-shrink:0;line-height:1}.db-people{display:flex;align-items:center;gap:10px;min-width:0}.db-person{display:inline-flex;align-items:center;gap:6px;min-width:0;white-space:nowrap}.db-checkbox{width:16px;height:16px;border-radius:3px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:inset 0 0 0 1.5px var(--icon-tertiary);color:#fff;cursor:pointer}.db-checkbox.on{background:var(--blue);box-shadow:none}.db-link-wrap{display:flex;align-items:center;gap:4px;min-width:0;width:100%}.db-link{color:inherit;text-decoration:underline;text-decoration-color:var(--link-deco, var(--text-tertiary));text-underline-offset:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.db-link-open{display:none;align-items:center;justify-content:center;width:20px;height:20px;margin-inline-start:auto;border-radius:4px;background:var(--popover-bg);box-shadow:var(--theme-shadow-1);color:var(--icon-secondary);flex-shrink:0;cursor:pointer}.db-td:hover .db-link-open,.pp-value:hover .db-link-open{display:flex}.db-row-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;font-size:16px;line-height:1;flex-shrink:0}.db-row-icon img{width:18px;height:18px;border-radius:3px;object-fit:cover}.db-default-icon{color:var(--icon-tertiary)}.db-table-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:var(--theme-gray-tint-3) transparent;padding-bottom:6px}.db-inline .db-table-scroll{margin-left:-56px;padding-left:56px}.db-full .db-table-scroll,.db-full .db-board-scroll{margin:0 -96px;padding-left:96px;padding-right:96px}.db-table{position:relative}.db-thead{display:flex;height:33px;border-bottom:1px solid var(--border-primary);color:var(--text-secondary)}.db-filter-bar+.db-body .db-thead{border-top:1px solid var(--border-primary)}.db-th{position:relative;display:flex;align-items:center;gap:6px;padding:0 8px;flex-shrink:0;border-right:1px solid var(--border-primary);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background 20ms ease-in}.db-th:hover{background:var(--hover)}.db-th-icon{display:flex;color:var(--icon-tertiary);flex-shrink:0}.db-th-name{overflow:hidden;text-overflow:ellipsis}.db-th-add{justify-content:center;padding:0;border-right:none;color:var(--icon-tertiary)}.db-resizer{position:absolute;top:0;bottom:0;right:-3px;width:6px;cursor:col-resize;z-index:2}.db-resizer:hover,body.db-col-resizing .db-resizer:active{background:linear-gradient(to right,transparent 2px,var(--theme-accent-wash-4) 2px,var(--theme-accent-wash-4) 4px,transparent 4px)}.db-tbody{position:relative}.db-tr{position:relative;display:flex;min-height:33px;border-bottom:1px solid var(--border-primary)}.db-tr:hover{background:var(--theme-table-row-hover)}.db-tr.dragging{opacity:.4}.db-td{position:relative;flex-shrink:0;display:flex;align-items:flex-start;min-height:33px;padding:6px 8px;border-right:1px solid var(--border-primary);overflow:hidden;white-space:nowrap;cursor:default}.db-td>*{min-width:0}.db-td.t-number{justify-content:flex-end}.db-td.t-checkbox .db-checkbox{margin-top:2px}.db-td.t-checkbox{cursor:pointer}.db-td-pad{border-right:none}.db-td.editing{box-shadow:inset 0 0 0 2px var(--theme-accent-wash-4)}.db-td .db-pills{overflow:hidden}.db-table.wrap .db-td{white-space:normal;word-break:break-word}.db-table.wrap .db-td .db-pills{flex-wrap:wrap;row-gap:4px}.db-title-cell{display:flex;align-items:flex-start;gap:6px;min-width:0;flex:1}.db-title-text{overflow:hidden;text-overflow:ellipsis;min-height:20px}.db-table.wrap .db-title-text{white-space:normal}.db-td.t-title{cursor:text}.db-open-btn{position:absolute;right:6px;top:6px;display:none;align-items:center;gap:4px;height:22px;padding:0 6px;font-size:12px;font-weight:500;color:var(--text-secondary);background:var(--popover-bg);border-radius:6px;box-shadow:var(--theme-shadow-1);cursor:pointer;-webkit-user-select:none;user-select:none}.db-open-btn:hover{background-image:linear-gradient(var(--hover),var(--hover))}.db-tr:hover .db-open-btn{display:inline-flex}.db-title-edit{flex:1;min-width:30px;outline:none;white-space:pre-wrap;word-break:break-word;cursor:text;caret-color:var(--text-primary)}.db-title-edit:empty:before{content:attr(data-placeholder);color:var(--text-tertiary)}.db-row-actions{position:absolute;left:-50px;top:4px;display:flex;align-items:center;gap:2px;opacity:0;transition:opacity .12s ease}.db-tr:hover .db-row-actions{opacity:1}.db-ra-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:4px;color:var(--icon-tertiary);cursor:pointer}.db-ra-btn.grip{width:18px;cursor:grab}.db-ra-btn:hover{background:var(--hover)}.db-drop-line{position:absolute;left:0;right:0;height:4px;border-radius:2px;background:var(--theme-accent-wash-4);pointer-events:none;z-index:3}.db-new-row{display:flex;align-items:center;gap:6px;height:33px;padding:0 8px;color:var(--text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none;border-bottom:1px solid var(--border-primary);transition:background 20ms ease-in}.db-new-row svg{color:var(--icon-tertiary)}.db-new-row:hover{background:var(--hover)}.db-new-row.list{border-bottom:none;border-radius:6px;height:36px;padding:0 6px}.db-calc-row{display:flex;height:33px}.db-calc{flex-shrink:0;display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:0 8px;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden}.db-calc:hover{background:var(--hover)}.db-calc-hint{display:inline-flex;align-items:center;gap:2px;font-size:14px;color:var(--text-tertiary);opacity:0;transition:opacity .12s ease}.db-calc-row:hover .db-calc-hint{opacity:1}.db-calc-label{font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--text-secondary)}.db-calc-val{color:var(--text-secondary)}.popover.db-editor-pop{border-radius:6px}.db-text-editor textarea{display:block;width:100%;min-height:34px;max-height:320px;border:none;outline:none;resize:none;background:transparent;padding:7px 8px;font-size:14px;line-height:20px;color:var(--text-primary);overflow-y:auto}.db-select-editor,.db-person-editor{display:flex;flex-direction:column;max-height:420px}.db-sel-input{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:34px;padding:6px 9px;background:var(--theme-gray-tint-1);border-bottom:1px solid var(--border-secondary-translucent);cursor:text}.db-sel-input input{flex:1;min-width:60px;border:none;outline:none;background:transparent;font-size:14px;line-height:20px;color:var(--text-primary);padding:0}.db-sel-input input::placeholder,.db-placeholder{color:var(--text-tertiary)}.db-sel-body{overflow-y:auto;padding:2px 0 6px;scrollbar-width:thin}.db-opt-row{display:flex;align-items:center;gap:6px;min-height:28px;padding:0 6px 0 8px;margin:0 4px;border-radius:6px;cursor:pointer;-webkit-user-select:none;user-select:none}.db-opt-row .grow{flex:1}.db-opt-row.active{background:var(--hover)}.db-opt-check{color:var(--icon-secondary)}.db-opt-more{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:4px;color:var(--icon-tertiary);opacity:0}.db-opt-row:hover .db-opt-more,.db-opt-row.active .db-opt-more{opacity:1}.db-opt-more:hover{background:var(--hover)}.db-create-label{color:var(--text-secondary)}.db-swatch{display:block;width:18px;height:18px;border-radius:4px;box-shadow:inset 0 0 0 1px var(--border-translucent)}.db-person-chip{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 4px 0 2px;border-radius:11px;background:var(--theme-gray-tint-2)}.db-date-editor{width:252px}.db-date-inputs{display:flex;flex-direction:column;gap:6px;padding:8px 8px 0}.db-date-inputs .db-focus-ring{box-shadow:var(--theme-focus-ring)}.db-date-foot{padding:2px 0 6px;border-top:1px solid var(--border-secondary-translucent)}.db-date-foot .menu-item .switch{margin-inline-start:auto}.db-dp-today{display:flex;align-items:center;height:24px;padding:0 6px;border-radius:6px;font-size:12px;font-weight:400;color:var(--text-secondary);cursor:pointer}.db-dp-today:hover{background:var(--hover)}.dp-day.db-in-range{background:var(--select-blue);border-radius:0}.db-board-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:var(--theme-gray-tint-3) transparent;padding-bottom:16px}.db-board{display:flex;align-items:flex-start;gap:12px;padding-top:12px;width:max-content}.db-board-col{width:260px;flex-shrink:0;border-radius:10px;padding:8px}.db-col-head{display:flex;align-items:center;gap:6px;height:28px;padding:0 2px;margin-bottom:6px}.db-col-head .grow{flex:1}.db-col-count{color:var(--text-tertiary)}.db-col-act{color:var(--icon-tertiary);opacity:0}.db-col-head:hover .db-col-act{opacity:1}.db-col-cards{display:flex;flex-direction:column;gap:8px}.db-card{position:relative;background:var(--theme-board-card);box-shadow:var(--theme-shadow-1);border-radius:10px;padding:10px 10px 8px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background 20ms ease-in}.db-card:hover{background-image:linear-gradient(var(--theme-card-hover),var(--theme-card-hover))}.db-card.ghost{background-color:var(--popover-bg);box-shadow:var(--shadow-menu)}.db-card-title,.db-gcard-title{display:flex;align-items:flex-start;gap:6px;font-size:14px;font-weight:500;line-height:20px;word-break:break-word}.db-card-prop{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:6px;min-height:18px;font-size:12px;line-height:18px;color:var(--text-secondary);min-width:0}.db-card-prop .db-pill,.db-list-prop .db-pill{font-size:12px;height:18px;line-height:18px}.db-card-prop .db-pills{flex-wrap:wrap;row-gap:4px}.db-card-prop-name{color:var(--text-secondary)}.db-card-prop .db-avatar{width:18px!important;height:18px!important}.db-card-placeholder{border-radius:10px;background:var(--theme-gray-tint-2)}.db-col-new{display:flex;align-items:center;gap:6px;height:32px;padding:0 8px;margin-top:6px;border-radius:6px;color:var(--text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none}.db-col-new svg{color:var(--icon-tertiary)}.db-col-new:hover{background:var(--hover)}.db-drag-ghost{position:fixed;z-index:1000;pointer-events:none;transform:rotate(2deg);opacity:.95}.db-list{padding:4px 0 8px}.db-list-row{display:flex;align-items:center;justify-content:space-between;gap:16px;height:36px;padding:0 6px;border-radius:6px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background 20ms ease-in}.db-list-row:hover{background:var(--hover)}.db-list-main{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.db-list-title{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.db-list-props{display:flex;align-items:center;gap:8px;flex-shrink:1;max-width:60%;min-width:0;overflow:hidden;color:var(--text-secondary);white-space:nowrap}.db-list-prop{display:flex;align-items:center;min-width:0}.db-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;padding:16px 0 12px}.db-gcard{display:flex;flex-direction:column;border-radius:10px;overflow:hidden;background:var(--theme-board-card);box-shadow:var(--theme-shadow-1);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background 20ms ease-in}.db-gcard:hover{background-image:linear-gradient(var(--theme-card-hover),var(--theme-card-hover))}.db-gcard-preview{height:160px;flex-shrink:0;background:var(--theme-card-press);background-size:cover;background-position:center;box-shadow:inset 0 -1px 0 var(--border-secondary-translucent)}.db-gcard-preview.content{background:var(--theme-gallery-cover);overflow:hidden}.db-gcard-content{padding:14px 16px 0;font-size:12px;line-height:18px;color:var(--text-secondary)}.db-gc-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}.db-gc-line.t-h1,.db-gc-line.t-h2,.db-gc-line.t-h3{font-weight:600;color:var(--text-primary)}.db-gcard-body{padding:8px 10px 10px}.db-gcard-new{flex-direction:row;align-items:center;justify-content:center;gap:6px;min-height:72px;background:transparent;box-shadow:inset 0 0 0 1px var(--border-primary);color:var(--text-secondary)}.db-gcard-new:hover{background:var(--hover)}.db-cal-head{display:flex;align-items:center;gap:4px;height:48px}.db-cal-head .grow{flex:1}.db-cal-month{font-size:16px;font-weight:600}.db-cal-today{display:flex;align-items:center;height:24px;padding:0 8px;border-radius:6px;color:var(--text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none}.db-cal-today:hover{background:var(--hover)}.db-cal-head .icon-btn{color:var(--icon-secondary)}.db-cal-dows{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.db-cal-dow{height:24px;line-height:24px;font-size:12px;text-align:center;color:var(--text-secondary)}.db-cal-weeks{margin-bottom:16px;border-top:1px solid var(--border-primary)}.db-cal-week{position:relative;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-bottom:1px solid var(--border-primary)}.db-cal-day{position:relative;min-width:0;padding:4px 6px 6px;border-left:1px solid var(--border-primary)}.db-cal-day:first-child{border-left:none}.db-cal-events{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.db-cal-events .db-cal-item{position:absolute;height:22px;pointer-events:auto}.db-cal-item.cont-l{border-top-left-radius:0;border-bottom-left-radius:0}.db-cal-item.cont-r{border-top-right-radius:0;border-bottom-right-radius:0}.db-cal-time{color:var(--text-secondary);font-weight:400;flex-shrink:0}.db-cal-day.other{background:var(--bg-secondary)}.db-cal-day.drop{background:var(--select-blue)}.db-cal-day-top{display:flex;align-items:center;justify-content:space-between;height:24px}.db-cal-num{display:flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 4px;margin-inline-start:auto;border-radius:12px;font-size:12px;color:var(--text-secondary);white-space:nowrap}.db-cal-day.other .db-cal-num{color:var(--text-tertiary)}.db-cal-num.today{background:var(--theme-red-solid);color:#fff;font-weight:500}.db-cal-add{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;color:var(--icon-secondary);background:var(--popover-bg);box-shadow:var(--theme-shadow-1);opacity:0;cursor:pointer;transition:opacity .12s ease}.db-cal-day:hover .db-cal-add{opacity:1}.db-cal-item{display:flex;align-items:center;gap:4px;min-width:0;padding:2px 6px;border-radius:6px;background:var(--theme-calendar-event);box-shadow:var(--theme-shadow-1);font-size:12px;font-weight:500;line-height:18px;white-space:nowrap;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.db-cal-item:hover{background-image:linear-gradient(var(--hover),var(--hover))}.db-cal-item .db-row-icon{width:16px;height:18px;font-size:12px}.db-cal-item-text{overflow:hidden;text-overflow:ellipsis}.db-cal-item.dragging{opacity:.4}.db-cal-ghost{position:fixed;z-index:1000;pointer-events:none;max-width:200px;box-shadow:var(--shadow-menu)}.page-props{font-size:14px;line-height:20px;cursor:default}.pp-row{display:flex;align-items:flex-start;min-height:34px;gap:4px}.pp-name{display:flex;align-items:center;gap:6px;width:160px;height:34px;padding:0 6px;flex-shrink:0;border-radius:6px;color:var(--text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background 20ms ease-in}.pp-name:hover{background:var(--hover)}.pp-icon{display:flex;color:var(--icon-tertiary);flex-shrink:0}.pp-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pp-value{display:flex;align-items:center;flex:1;min-width:0;min-height:34px;padding:7px 8px;border-radius:6px;cursor:pointer;transition:background 20ms ease-in}.pp-value:hover{background:var(--hover)}.pp-value.readonly{cursor:default;color:var(--text-secondary)}.pp-value.readonly:hover{background:none}.pp-value .db-pills{flex-wrap:wrap;row-gap:4px}.pp-value.editing{background:var(--hover)}.pp-empty{color:var(--text-tertiary)}.pp-add{display:flex;align-items:center;gap:6px;height:34px;padding:0 6px;border-radius:6px;color:var(--text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none}.pp-add svg{color:var(--icon-tertiary)}.pp-add:hover{background:var(--hover)}.pp-divider{height:1px;background:var(--border-secondary-translucent);margin:12px 0}.db-date-line{display:flex;gap:6px}.db-date-line .text-input{flex:1;min-width:0}.db-date-line .db-time-input{flex:0 0 96px;padding:0 6px}.db-date-line .db-time-input::-webkit-calendar-picker-indicator{display:none}.db-drag-ghost{transform:rotate(3deg);transform-origin:30% 50%;opacity:1}.db-drag-ghost .db-card{background-color:var(--popover-bg);box-shadow:var(--theme-shadow-3)}.db-tl{padding-bottom:12px}.db-full .db-tl-body{margin-right:-96px}.db-tl-toolbar{display:flex;align-items:center;gap:4px;height:44px}.db-tl-toolbar .grow{flex:1}.db-tl-body{display:flex;align-items:flex-start;border-top:1px solid var(--border-primary)}.db-tl-left{position:relative;flex-shrink:0;border-right:1px solid var(--border-primary)}.db-tl-left-head{display:flex;align-items:flex-end;gap:6px;padding:0 8px 7px 2px;color:var(--text-secondary);border-bottom:1px solid var(--border-primary)}.db-tl-left-head .db-th-icon{margin-bottom:3px}.db-tl-left-row{display:flex;align-items:center;gap:6px;padding:0 8px 0 2px;border-bottom:1px solid var(--border-secondary-translucent);cursor:pointer;-webkit-user-select:none;user-select:none;min-width:0}.db-tl-left-row:hover{background:var(--theme-table-row-hover)}.db-tl-title{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.db-new-row.db-tl-new{border-bottom:none;padding-inline-start:4px}.db-tl-resizer{position:absolute;top:0;bottom:0;right:-4px;width:7px;cursor:col-resize;z-index:3}.db-tl-resizer:hover{background:linear-gradient(to right,transparent 3px,var(--theme-accent-wash-4) 3px,var(--theme-accent-wash-4) 5px,transparent 5px)}.db-tl-scroll{flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:var(--theme-gray-tint-3) transparent}.db-tl-canvas{position:relative}.db-tl-head{position:relative;border-bottom:1px solid var(--border-primary);-webkit-user-select:none;user-select:none}.db-tl-head-top{position:relative;height:22px}.db-tl-month-seg{position:absolute;top:0;bottom:0;border-left:1px solid var(--border-secondary-translucent)}.db-tl-month{position:sticky;left:0;display:inline-block;padding:4px 8px 0;font-size:12px;font-weight:500;color:var(--text-secondary);white-space:nowrap}.db-tl-head-bottom{position:relative;height:29px}.db-tl-tick{position:absolute;top:2px;height:24px;display:flex;align-items:center;padding-inline-start:4px;font-size:12px;color:var(--text-secondary);white-space:nowrap}.db-tl-tick.day{justify-content:center;padding-inline-start:0}.db-tl-today-num{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:11px;background:var(--theme-red-solid);color:#fff;font-weight:500}.db-tl-today-dot{position:absolute;bottom:-4px;width:8px;height:8px;border-radius:50%;background:var(--theme-red-solid);z-index:2}.db-tl-rows{position:relative}.db-tl-vline{position:absolute;top:0;bottom:0;width:1px;background:var(--border-secondary-translucent);pointer-events:none}.db-tl-today-line{position:absolute;top:0;bottom:0;width:1px;background:var(--theme-red-solid);pointer-events:none;z-index:2}.db-tl-today-line:before{content:"";position:absolute;top:-4px;left:-3.5px;width:8px;height:8px;border-radius:50%;background:var(--theme-red-solid)}.db-tl-track{position:relative}.db-tl-bar{position:absolute;top:4px;height:28px;display:flex;align-items:center;border-radius:6px;background:var(--theme-gray-raised);box-shadow:var(--theme-shadow-1);cursor:pointer;-webkit-user-select:none;user-select:none;z-index:1;transition:box-shadow .12s ease}.db-tl-bar:hover{box-shadow:var(--theme-shadow-2)}.db-tl-bar.dragging{box-shadow:var(--theme-shadow-3);z-index:3}.db-tl-bar-text{display:flex;align-items:center;gap:6px;min-width:0;padding:0 10px;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden}.db-tl-bar-text>span:last-child{overflow:hidden;text-overflow:ellipsis}.db-tl-bar-label{position:absolute;top:8px;font-size:14px;font-weight:500;white-space:nowrap;color:var(--text-primary);pointer-events:none}.db-tl-handle{position:absolute;top:0;bottom:0;width:8px;cursor:ew-resize;z-index:2}.db-tl-handle.l{left:0}.db-tl-handle.r{right:0}.db-tl-handle:after{content:"";position:absolute;top:8px;bottom:8px;left:3px;width:2px;border-radius:1px;background:var(--icon-tertiary);opacity:0;transition:opacity .12s ease}.db-tl-bar:hover .db-tl-handle:after{opacity:1}.db-tl-add{position:absolute;top:4px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:6px;color:var(--icon-tertiary);background:var(--theme-gray-tint-1);box-shadow:inset 0 0 0 1px var(--border-secondary-translucent);cursor:pointer}.db-tl-add:hover{color:var(--icon-secondary);background:var(--hover)}.stored-img-empty{display:inline-block;vertical-align:middle;background:var(--bg-secondary);border-radius:3px}.page-icon .stored-img-empty{width:78px;height:78px;border-radius:6px}.db-header-icon .stored-img-empty{width:22px;height:22px}.db-row-icon .stored-img-empty{width:18px;height:18px}.callout-icon-img{width:20px;height:20px;object-fit:cover;border-radius:3px}.image-unavailable{min-height:80px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:4px;background:var(--bg-secondary);color:var(--text-secondary);font-size:14px}.status-banners{position:fixed;left:50%;bottom:20px;transform:translate(-50%);z-index:950;width:min(640px,calc(100vw - 32px))}.status-banner{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;background:var(--popover-bg);box-shadow:var(--shadow-modal);color:var(--text-primary);font-size:14px;line-height:20px;animation:toast-in .16s ease}.status-banner .sb-icon{display:flex;flex-shrink:0;align-self:flex-start;margin-top:2px;color:var(--text-secondary)}.status-banner.error .sb-icon{color:var(--theme-red-ink)}.status-banner.warn .sb-icon{color:var(--theme-orange-ink)}.status-banner .sb-text{flex:1;min-width:0}.status-banner .sb-text b{font-weight:600}.status-banner .sb-actions{display:flex;gap:6px;flex-shrink:0}.status-banner .sb-close{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;color:var(--text-tertiary);flex-shrink:0}.status-banner .sb-close:hover{background:var(--hover)}body.has-status-banner .toast{bottom:96px}@media(max-width:600px){.status-banner{flex-wrap:wrap}.status-banner .sb-actions{width:100%;justify-content:flex-end}body.has-status-banner .toast{bottom:140px}}.confirm-overlay{align-items:center;z-index:1100}.confirm-dialog{width:min(440px,calc(100vw - 32px));padding:20px 20px 16px;gap:8px}.confirm-title{font-size:16px;font-weight:600;color:var(--text-primary)}.confirm-body{font-size:14px;line-height:20px;color:var(--text-secondary)}.confirm-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px}.recovery-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:var(--bg-primary);color:var(--text-primary)}.recovery-card{width:min(520px,100%)}.recovery-card h1{font-size:24px;font-weight:600;margin:0 0 10px}.recovery-card p{font-size:15px;line-height:22px;color:var(--text-secondary);margin:0 0 20px}.recovery-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.recovery-card .recovery-detail{font-size:12px;line-height:16px;color:var(--text-secondary);word-break:break-word}.recovery-card .recovery-error{color:var(--theme-red-ink);font-size:14px}.diag-grid{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;font-size:13px;padding:12px 0}.diag-grid dt{color:var(--text-secondary)}.diag-grid dd{margin:0;color:var(--text-primary);word-break:break-word}.diag-errors{font-size:12px;line-height:16px;color:var(--text-secondary);max-height:180px;overflow-y:auto;padding:8px 10px;border-radius:6px;background:var(--bg-secondary);font-family:var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);white-space:pre-wrap;word-break:break-word}.set-note{font-size:12px;line-height:16px;color:var(--text-secondary);padding:10px 12px;margin:12px 0 4px;border-radius:6px;background:var(--bg-secondary)}.set-note.strong{color:var(--text-primary)}.set-row .set-actions{display:flex;gap:6px;flex-shrink:0}:is([role=button],[role=treeitem],[role=tab],[role=checkbox],[role=switch],[role=link],[role=option],[role=menu],[tabindex="0"]):focus-visible{outline:2px solid transparent;outline-offset:1px;box-shadow:0 0 0 2px var(--bg-primary),0 0 0 4px var(--blue),0 0 0 6px var(--bg-primary)}.popover:focus-visible,.modal:focus-visible,.menu:focus-visible{outline:none;box-shadow:none}.sb-row:not(:hover,.menu-open,:focus-visible,:has(:focus-visible))>.sb-actions,.sb-section-header:not(:hover,:focus-visible,:has(:focus-visible))>.sb-actions,.db-tr:not(:hover,:has(:focus-visible)) .db-open-btn,.db-td:not(:hover,:has(:focus-visible)) .db-link-open,.pp-value:not(:hover,:has(:focus-visible)) .db-link-open{display:flex;position:absolute;inset:auto;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.sb-row:not(:hover,:focus-visible,:has(:focus-visible)) .sb-caret{display:flex;inset:auto;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sb-row:is(:focus-visible,:has(:focus-visible))>.sb-actions,.sb-section-header:is(:focus-visible,:has(:focus-visible))>.sb-actions{display:flex}.sb-row:is(:focus-visible,:has(:focus-visible)) .sb-caret{display:flex}.tab-close:focus-visible{opacity:1}.db-header:has(:focus-visible) .db-open-full,.db-open-full:focus-visible,.db-tr:has(:focus-visible) .db-row-actions,.db-ra-btn:focus-visible,.db-opt-row:has(:focus-visible) .db-opt-more,.db-opt-more:focus-visible,.db-col-head:has(:focus-visible) .db-col-act,.db-col-act:focus-visible,.db-cal-add:focus-visible,.block-gutter:has(:focus-visible){opacity:1}.db-tr:has(:focus-visible) .db-open-btn{display:inline-flex}.db-td:has(:focus-visible) .db-link-open,.db-td:focus-visible .db-link-open,.pp-value:has(:focus-visible) .db-link-open,.pp-value:focus-visible .db-link-open{display:flex}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:0s!important;animation-iteration-count:1!important;animation-delay:0s!important;transition-duration:0s!important;transition-delay:0s!important}}
