.sheet-root.svelte-15akwwl{z-index:120;position:fixed;inset:0}.sheet-backdrop.svelte-15akwwl{background:var(--overlay-backdrop);-webkit-backdrop-filter:var(--overlay-backdrop-filter);animation:.22s svelte-15akwwl-sheet-fade;position:absolute;inset:0}.sheet-panel.svelte-15akwwl{width:min(100%,560px);max-height:88dvh;padding-bottom:max(env(safe-area-inset-bottom), var(--space-md));border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl);border-top:1px solid var(--overlay-border);background:var(--overlay-surface-strong);-webkit-backdrop-filter:var(--overlay-blur);box-shadow:var(--overlay-shadow);touch-action:none;flex-direction:column;margin-inline:auto;animation:.28s cubic-bezier(.16,1,.3,1) svelte-15akwwl-sheet-up;display:flex;position:absolute;bottom:0;left:0;right:0}.sheet-panel.dragging.svelte-15akwwl{transition:none;animation:none}.sheet-panel.svelte-15akwwl:not(.dragging){transition:transform .22s cubic-bezier(.16,1,.3,1)}.sheet-panel.full-height.svelte-15akwwl{height:90dvh}.sheet-handle-zone.svelte-15akwwl{cursor:grab;touch-action:none;place-items:center;padding:10px 0 4px;display:grid}.sheet-handle.svelte-15akwwl{border-radius:var(--radius-pill);background:var(--ink-soft);opacity:.4;width:40px;height:5px}.sheet-title.svelte-15akwwl{padding:4px var(--space-md) var(--space-md);letter-spacing:-.01em;color:var(--ink);font-size:20px;font-weight:700;line-height:25px}.sheet-body.svelte-15akwwl{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:0 var(--space-sm) var(--space-xs);overflow-y:auto}.sheet-body.flush.svelte-15akwwl{flex-direction:column;min-height:0;padding:0;display:flex;overflow-y:auto}@media (width>=600px){.sheet-panel.svelte-15akwwl{bottom:var(--space-md);border:1px solid var(--overlay-border);border-radius:var(--radius-xl)}}@keyframes svelte-15akwwl-sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes svelte-15akwwl-sheet-fade{0%{opacity:0}to{opacity:1}}.menu-root.svelte-15gydnd{display:inline-flex;position:relative}.menu-pop.svelte-15gydnd{z-index:9999;min-width:180px;padding:var(--space-3xs);border:1px solid var(--overlay-border);border-radius:var(--radius-md);background:var(--overlay-surface);-webkit-backdrop-filter:var(--overlay-blur);box-shadow:var(--overlay-shadow);flex-direction:column;gap:2px;display:flex;position:fixed}.menu-sheet-list.svelte-15gydnd{padding:0 var(--space-3xs) var(--space-2xs);flex-direction:column;gap:2px;display:flex}.menu-item{align-items:center;gap:var(--space-xs);border-radius:var(--radius-sm);width:100%;color:var(--ink-muted);font-size:var(--text-sm);text-align:left;cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:8px 10px;font-weight:600;transition:background-color .12s,color .12s;display:flex}.menu-sheet-list .menu-item{min-height:52px;padding:0 var(--space-md);border-radius:var(--radius-md);font-size:var(--text-base);white-space:normal}.menu-item:hover:not(:disabled),.menu-item:focus-visible{background:var(--accent-soft);color:var(--accent);outline:none}.menu-item:disabled{opacity:.4;cursor:not-allowed}.menu-item.is-active{color:var(--accent)}.menu-item .menu-item-check{color:var(--accent);margin-left:auto}.menu-separator{background:var(--line);height:1px;margin:4px 2px}.menu-label{font-size:var(--text-2xs);text-transform:uppercase;letter-spacing:.06em;color:var(--ink-soft);padding:6px 10px 2px;font-weight:700;display:block}.thread-avatar.svelte-18l3ji7{width:var(--avatar-size);height:var(--avatar-size);min-width:var(--avatar-size);color:var(--avatar-color);background:color-mix(in oklch, var(--avatar-color) 14%, var(--surface-lift));box-shadow:inset 0 0 0 1px color-mix(in oklch, var(--avatar-color) 18%, transparent);border-radius:50%;place-items:center;display:inline-grid}.thread-rail.svelte-jqwcy{border:1px solid var(--line);border-radius:var(--radius-lg);background:color-mix(in oklch, var(--surface-lift) 94%, transparent);min-width:0;min-height:0;box-shadow:0 18px 48px -32px color-mix(in oklch, var(--ink) 28%, transparent);grid-template-rows:auto auto minmax(0,1fr) auto;display:grid;overflow:hidden}.thread-rail.sheet.svelte-jqwcy{height:min(82dvh,760px);box-shadow:none;background:0 0;border:0;border-radius:0}.rail-header.svelte-jqwcy,.rail-footer.svelte-jqwcy,.header-actions.svelte-jqwcy,.filters.svelte-jqwcy,.thread-title-line.svelte-jqwcy,.thread-preview.svelte-jqwcy{align-items:center;display:flex}.rail-header.svelte-jqwcy{min-height:72px;padding:var(--space-md);padding-bottom:var(--space-sm);justify-content:space-between}.rail-header.svelte-jqwcy p:where(.svelte-jqwcy){color:var(--ink-soft);font-size:var(--text-2xs);letter-spacing:.04em;font-weight:700;line-height:1.2}.rail-header.svelte-jqwcy h2:where(.svelte-jqwcy){letter-spacing:-.025em;font-size:1.35rem;line-height:1.2}.header-actions.svelte-jqwcy{gap:2px}.compose-button.svelte-jqwcy,.more-button.svelte-jqwcy,.row-menu.svelte-jqwcy,.rail-search.svelte-jqwcy button:where(.svelte-jqwcy),.settings-button.svelte-jqwcy{width:44px;height:44px;color:var(--ink-muted);background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.compose-button.svelte-jqwcy{color:var(--accent)}.compose-button.svelte-jqwcy:hover,.more-button.svelte-jqwcy:hover,.more-button.open.svelte-jqwcy,.row-menu.svelte-jqwcy:hover,.row-menu.open.svelte-jqwcy,.settings-button.svelte-jqwcy:hover{background:var(--paper-quiet);color:var(--ink)}.rail-controls.svelte-jqwcy{gap:var(--space-xs);padding:0 var(--space-md) var(--space-sm);display:grid}.rail-search.svelte-jqwcy{border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--paper-quiet);min-height:44px;color:var(--ink-soft);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;padding-inline-start:var(--space-sm);display:grid}.rail-search.svelte-jqwcy:focus-within{border-color:color-mix(in oklch, var(--accent) 48%, var(--line));box-shadow:0 0 0 3px var(--accent-soft)}.rail-search.svelte-jqwcy input:where(.svelte-jqwcy){width:100%;min-width:0;height:42px;padding-inline:var(--space-xs);font-size:var(--text-base);background:0 0;border:0;outline:0}.rail-search.svelte-jqwcy input:where(.svelte-jqwcy)::placeholder{color:var(--ink-soft)}.filters.svelte-jqwcy{gap:var(--space-xs);scrollbar-width:none;overflow-x:auto}.filters.svelte-jqwcy::-webkit-scrollbar{display:none}.filters.svelte-jqwcy>button:where(.svelte-jqwcy),.workspace-filter.svelte-jqwcy select:where(.svelte-jqwcy){border-radius:var(--radius-pill);height:32px;padding-inline:var(--space-sm);color:var(--ink-muted);font-size:var(--text-sm);background:0 0;border:0;flex:none;align-items:center;gap:5px;font-weight:650;display:inline-flex}.filters.svelte-jqwcy>button.active:where(.svelte-jqwcy){background:var(--accent-soft);color:var(--accent)}.workspace-filter.svelte-jqwcy select:where(.svelte-jqwcy){appearance:none;background:var(--paper-quiet);max-width:112px;padding-inline-end:var(--space-sm)}.thread-list.svelte-jqwcy{overscroll-behavior:contain;min-height:0;padding:0 var(--space-xs) var(--space-sm);overflow-y:auto}.thread-list.svelte-jqwcy ul:where(.svelte-jqwcy){gap:2px;list-style:none;display:grid}.thread-list.svelte-jqwcy li:where(.svelte-jqwcy){border-radius:var(--radius-md);grid-template-columns:minmax(0,1fr);align-items:center;min-height:68px;transition:background-color .14s;display:grid;position:relative}.thread-list.svelte-jqwcy li:where(.svelte-jqwcy):hover{background:var(--paper-quiet)}.thread-list.svelte-jqwcy li.active:where(.svelte-jqwcy){background:color-mix(in oklch, var(--accent) 12%, var(--surface-lift))}.thread-main.svelte-jqwcy{align-items:center;gap:var(--space-sm);width:100%;min-width:0;min-height:68px;padding:var(--space-xs) 0 var(--space-xs) var(--space-xs);text-align:start;background:0 0;border:0;grid-template-columns:40px minmax(0,1fr);display:grid}.thread-copy.svelte-jqwcy,.thread-title-line.svelte-jqwcy strong:where(.svelte-jqwcy),.thread-preview.svelte-jqwcy span:where(.svelte-jqwcy){min-width:0;overflow:hidden}.thread-copy.svelte-jqwcy{gap:4px;display:grid}.thread-title-line.svelte-jqwcy{justify-content:space-between;gap:var(--space-xs)}.thread-title-line.svelte-jqwcy strong:where(.svelte-jqwcy),.thread-preview.svelte-jqwcy span:where(.svelte-jqwcy){white-space:nowrap;text-overflow:ellipsis}.thread-title-line.svelte-jqwcy strong:where(.svelte-jqwcy){color:var(--ink);font-size:var(--text-base);letter-spacing:-.012em;font-weight:720}.thread-title-line.svelte-jqwcy time:where(.svelte-jqwcy){color:var(--ink-soft);font-size:var(--text-2xs);font-variant-numeric:tabular-nums;flex:none;transition:opacity .14s}.thread-preview.svelte-jqwcy{color:var(--ink-soft);font-size:var(--text-sm);gap:5px}.thread-preview.svelte-jqwcy svg{flex:none}.row-menu.svelte-jqwcy{opacity:0;pointer-events:none;background:var(--surface-lift);box-shadow:-6px 0 12px color-mix(in oklch, var(--surface-lift) 82%, transparent);transition:opacity .14s,background-color .14s;position:relative}.thread-list.svelte-jqwcy li:where(.svelte-jqwcy)>.menu-root{z-index:2;margin-top:-22px;position:absolute;top:50%;right:2px}.thread-list.svelte-jqwcy li:where(.svelte-jqwcy):hover .row-menu:where(.svelte-jqwcy),.thread-list.svelte-jqwcy li:where(.svelte-jqwcy):focus-within .row-menu:where(.svelte-jqwcy){opacity:1;pointer-events:auto}.thread-list.svelte-jqwcy li:where(.svelte-jqwcy):hover .thread-title-line:where(.svelte-jqwcy) time:where(.svelte-jqwcy),.thread-list.svelte-jqwcy li:where(.svelte-jqwcy):focus-within .thread-title-line:where(.svelte-jqwcy) time:where(.svelte-jqwcy){opacity:0}@media (width<=760px){.thread-title-line.svelte-jqwcy{padding-right:44px}.row-menu.svelte-jqwcy{opacity:1;pointer-events:auto}.thread-list.svelte-jqwcy li:where(.svelte-jqwcy):hover .thread-title-line:where(.svelte-jqwcy) time:where(.svelte-jqwcy),.thread-list.svelte-jqwcy li:where(.svelte-jqwcy):focus-within .thread-title-line:where(.svelte-jqwcy) time:where(.svelte-jqwcy){opacity:1}}.row-menu.svelte-jqwcy{opacity:0}li.svelte-jqwcy:hover .row-menu:where(.svelte-jqwcy),li.svelte-jqwcy:focus-within .row-menu:where(.svelte-jqwcy),li.active.svelte-jqwcy .row-menu:where(.svelte-jqwcy),.row-menu.open.svelte-jqwcy{opacity:1;pointer-events:auto}.empty-list.svelte-jqwcy{min-height:240px;padding:var(--space-xl) var(--space-md);text-align:center;color:var(--ink-soft);align-content:center;justify-items:center;display:grid}.empty-list.svelte-jqwcy strong:where(.svelte-jqwcy){margin-top:var(--space-sm);color:var(--ink)}.empty-list.svelte-jqwcy p:where(.svelte-jqwcy){max-width:27ch;font-size:var(--text-sm);margin-top:4px;line-height:1.45}.empty-list.svelte-jqwcy button:where(.svelte-jqwcy){min-height:44px;margin-top:var(--space-sm);border-radius:var(--radius-pill);background:var(--accent-soft);padding-inline:var(--space-md);color:var(--accent);border:0;align-items:center;gap:6px;font-weight:700;display:inline-flex}.rail-footer.svelte-jqwcy{border-top:1px solid var(--line);min-height:60px;padding:var(--space-xs) var(--space-sm);justify-content:space-between}.archive-button.svelte-jqwcy{align-items:center;gap:var(--space-xs);min-height:44px;padding-inline:var(--space-xs);color:var(--ink-soft);font-size:var(--text-sm);background:0 0;border:0;display:inline-flex}.archive-button.svelte-jqwcy:disabled{opacity:.55}.danger-item{color:var(--danger)!important}@media (pointer:coarse){.thread-list.svelte-jqwcy li:where(.svelte-jqwcy),.thread-main.svelte-jqwcy{min-height:72px}.row-menu.svelte-jqwcy{opacity:1}}@media (prefers-reduced-motion:reduce){.thread-list.svelte-jqwcy li:where(.svelte-jqwcy){transition:none}}.dialog-layer.svelte-kfp5ok{z-index:400;padding:var(--space-md);background:var(--overlay-backdrop);-webkit-backdrop-filter:var(--overlay-backdrop-filter);place-items:center;display:grid;position:fixed;inset:0}.identity-dialog.svelte-kfp5ok{border:1px solid var(--overlay-border);border-radius:var(--radius-xl);background:var(--overlay-surface-strong);width:min(100%,460px);max-height:min(720px,88dvh);-webkit-backdrop-filter:var(--overlay-blur);box-shadow:var(--overlay-shadow);padding:var(--space-lg);margin:0;position:relative;inset:auto;overflow-y:auto}header.svelte-kfp5ok,.dialog-heading.svelte-kfp5ok,footer.svelte-kfp5ok{align-items:center;display:flex}header.svelte-kfp5ok{justify-content:space-between;gap:var(--space-md)}.dialog-heading.svelte-kfp5ok{gap:var(--space-sm);min-width:0}h2.svelte-kfp5ok{letter-spacing:-.02em;font-size:1.25rem;line-height:1.25}p.svelte-kfp5ok{color:var(--ink-soft);font-size:var(--text-sm);margin-top:2px}.close-button.svelte-kfp5ok,.icon-grid.svelte-kfp5ok button:where(.svelte-kfp5ok),.color-grid.svelte-kfp5ok button:where(.svelte-kfp5ok){width:44px;height:44px;color:var(--ink-muted);background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.close-button.svelte-kfp5ok:hover,.icon-grid.svelte-kfp5ok button:where(.svelte-kfp5ok):hover{background:var(--paper-quiet);color:var(--ink)}form.svelte-kfp5ok{gap:var(--space-md);margin-top:var(--space-lg);display:grid}.field-label.svelte-kfp5ok,legend.svelte-kfp5ok{color:var(--ink-muted);font-size:var(--text-sm);font-weight:700}input.svelte-kfp5ok{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface-lift);width:100%;height:44px;padding-inline:var(--space-md);color:var(--ink)}fieldset.svelte-kfp5ok{border:0;min-width:0}legend.svelte-kfp5ok{margin-bottom:var(--space-xs)}.icon-grid.svelte-kfp5ok,.color-grid.svelte-kfp5ok{gap:var(--space-xs);grid-template-columns:repeat(6,minmax(44px,1fr));display:grid}.icon-grid.svelte-kfp5ok button.selected:where(.svelte-kfp5ok){color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px color-mix(in oklch, var(--accent) 32%, transparent)}.color-grid.svelte-kfp5ok button:where(.svelte-kfp5ok) span:where(.svelte-kfp5ok){background:var(--swatch);border-radius:50%;width:24px;height:24px}.color-grid.svelte-kfp5ok button.selected:where(.svelte-kfp5ok){box-shadow:inset 0 0 0 2px var(--ink)}footer.svelte-kfp5ok{justify-content:flex-end;gap:var(--space-xs);margin-top:var(--space-xs)}footer.svelte-kfp5ok button:where(.svelte-kfp5ok){border-radius:var(--radius-pill);min-height:44px;padding-inline:var(--space-md);font-weight:700}.secondary.svelte-kfp5ok{color:var(--ink-muted);background:0 0;border:0}.primary.svelte-kfp5ok{background:var(--accent);color:var(--accent-ink);border:0}.primary.svelte-kfp5ok:disabled{opacity:.45}@media (width<=600px){.dialog-layer.svelte-kfp5ok{place-items:end center;padding:0}.identity-dialog.svelte-kfp5ok{border-radius:var(--radius-xl) var(--radius-xl) 0 0;width:100%;max-height:88dvh;padding:var(--space-md);padding-bottom:max(var(--space-md), env(safe-area-inset-bottom))}.icon-grid.svelte-kfp5ok,.color-grid.svelte-kfp5ok{grid-template-columns:repeat(6,minmax(40px,1fr))}footer.svelte-kfp5ok{grid-template-columns:1fr;display:grid}footer.svelte-kfp5ok button:where(.svelte-kfp5ok){width:100%}}.thread-search.svelte-1kc61rt{align-items:center;gap:var(--space-xs);min-height:56px;padding:var(--space-2xs) var(--space-sm);border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:color-mix(in oklch, var(--surface-lift) 92%, transparent);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);grid-template-columns:minmax(160px,1fr) auto auto;display:grid}.search-field.svelte-1kc61rt{align-items:center;gap:var(--space-xs);min-width:0;height:44px;padding:0 var(--space-sm);border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface-soft);color:var(--ink-soft);display:flex}.search-field.svelte-1kc61rt:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);background:var(--surface-lift)}input.svelte-1kc61rt{width:100%;min-width:0;color:var(--ink);font:inherit;font-size:var(--text-sm);background:0 0;border:0;outline:0}input.svelte-1kc61rt::placeholder{color:var(--ink-soft)}input.svelte-1kc61rt::-webkit-search-cancel-button{display:none}.result-count.svelte-1kc61rt{min-width:7.5ch;color:var(--ink-muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap;margin:0}.search-actions.svelte-1kc61rt{align-items:center;gap:var(--space-3xs);display:flex}button.svelte-1kc61rt{border-radius:var(--radius-sm);width:44px;height:44px;color:var(--ink-muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:inline-grid}button.svelte-1kc61rt:hover:not(:disabled){background:var(--surface-soft);color:var(--ink)}button.svelte-1kc61rt:active:not(:disabled){background:var(--accent-soft);color:var(--accent)}button.svelte-1kc61rt:disabled{opacity:.38;cursor:default}@media (width<=759px){.thread-search.svelte-1kc61rt{gap:var(--space-3xs);padding-right:var(--space-xs);padding-left:var(--space-xs);grid-template-columns:minmax(0,1fr) auto}.result-count.svelte-1kc61rt{min-width:0;padding-left:var(--space-sm);text-align:left;grid-area:2/1}.search-actions.svelte-1kc61rt{grid-area:1/2/span 2}}.context-ring.svelte-1hcdafv{border-radius:var(--radius-pill);width:44px;height:44px;color:var(--ink-muted);background:0 0;border:0;place-items:center;padding:0;transition:background-color .14s,color .14s,transform .14s;display:grid}.context-ring.svelte-1hcdafv:hover,.context-ring[aria-expanded=true].svelte-1hcdafv{background:var(--accent-soft);color:var(--accent)}.context-ring.svelte-1hcdafv:active:not(:disabled){transform:scale(.96)}.context-ring.svelte-1hcdafv:focus-visible{outline:2px solid var(--accent);outline-offset:2px}svg.svelte-1hcdafv{transform:rotate(-90deg)}circle.svelte-1hcdafv{fill:none;stroke-width:2px}.track.svelte-1hcdafv{stroke:currentColor;opacity:.18}.value.svelte-1hcdafv{stroke:currentColor;stroke-linecap:round;transition:stroke-dashoffset .22s}.is-unknown.svelte-1hcdafv .track:where(.svelte-1hcdafv){opacity:.55;stroke-dasharray:2 3}.is-unknown.svelte-1hcdafv .value:where(.svelte-1hcdafv){display:none}.is-high.svelte-1hcdafv,.is-compact.svelte-1hcdafv{color:oklch(68% .14 75)}.is-critical.svelte-1hcdafv{color:var(--danger)}@media (prefers-reduced-motion:reduce){.context-ring.svelte-1hcdafv,.value.svelte-1hcdafv{transition:none}}.popover.svelte-1cbm1c6{z-index:30;border:1px solid var(--overlay-border);border-radius:var(--radius-lg);background:var(--overlay-surface);width:min(300px,100vw - 24px);-webkit-backdrop-filter:var(--overlay-blur);box-shadow:var(--overlay-shadow);color:var(--ink);margin:0;padding:16px;position:absolute;inset:calc(100% + 8px) 0 auto auto}header.svelte-1cbm1c6,dl.svelte-1cbm1c6,dl.svelte-1cbm1c6 div:where(.svelte-1cbm1c6),.measure.svelte-1cbm1c6,.compact.svelte-1cbm1c6{align-items:center;display:flex}header.svelte-1cbm1c6{justify-content:space-between;gap:12px}.eyebrow.svelte-1cbm1c6{color:var(--ink-soft);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700}h2.svelte-1cbm1c6{margin-top:2px;font-size:15px;line-height:1.25}.close.svelte-1cbm1c6{border-radius:var(--radius-pill);width:44px;height:44px;color:var(--ink-muted);background:0 0;border:0;place-items:center;margin:-10px -10px -10px 0;display:grid}.close.svelte-1cbm1c6:hover{background:var(--surface-soft);color:var(--ink)}.measure.svelte-1cbm1c6{gap:6px;margin-top:18px}.measure.svelte-1cbm1c6 strong:where(.svelte-1cbm1c6){font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-size:28px}.measure.svelte-1cbm1c6 span:where(.svelte-1cbm1c6),.hint.svelte-1cbm1c6,.unknown.svelte-1cbm1c6{color:var(--ink-soft);font-size:12px}.bar.svelte-1cbm1c6{border-radius:var(--radius-pill);background:var(--surface-soft);height:5px;margin:8px 0 16px;overflow:hidden}.bar.svelte-1cbm1c6 span:where(.svelte-1cbm1c6){border-radius:inherit;background:var(--accent);max-width:100%;height:100%;display:block}dl.svelte-1cbm1c6{flex-direction:column;gap:8px}dl.svelte-1cbm1c6 div:where(.svelte-1cbm1c6){justify-content:space-between;gap:16px;width:100%;font-size:12px}dt.svelte-1cbm1c6{color:var(--ink-soft)}dd.svelte-1cbm1c6{font-variant-numeric:tabular-nums;text-align:right;font-weight:650}.unknown.svelte-1cbm1c6{margin:16px 0;line-height:1.45}.compact.svelte-1cbm1c6{border-radius:var(--radius-md);background:var(--accent);width:100%;min-height:44px;color:var(--accent-ink);border:0;justify-content:center;gap:8px;margin-top:16px;font-size:13px;font-weight:700}.compact.svelte-1cbm1c6:disabled{opacity:.55;cursor:wait}.hint.svelte-1cbm1c6{text-align:center;margin-top:8px}button.svelte-1cbm1c6:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.topbar.svelte-h6bux4{min-height:64px;padding:0 var(--space-md);z-index:5;border-bottom:1px solid var(--line);background:color-mix(in oklch, var(--surface-lift) 88%, transparent);justify-content:space-between;align-items:center;display:flex;position:relative}.topbar-left.svelte-h6bux4,.topbar-actions.svelte-h6bux4{align-items:center;gap:var(--space-xs);display:flex}.context-control.svelte-h6bux4{position:relative}.icon-chip.svelte-h6bux4{border-radius:var(--radius-pill);width:44px;height:44px;color:var(--ink-muted);background:0 0;border:0;place-items:center;transition:transform .15s cubic-bezier(.4,0,.2,1),background-color .15s,border-color .15s,color .15s;display:grid}.icon-chip.svelte-h6bux4:hover:not(:disabled),.icon-chip.open.svelte-h6bux4{color:var(--ink);background:var(--paper-quiet)}.icon-chip.svelte-h6bux4:active:not(:disabled){background:var(--control-surface-strong);transform:translateY(0)scale(.97)}.icon-chip.svelte-h6bux4:disabled{opacity:.35;cursor:not-allowed;transform:none!important}.thread-identity.svelte-h6bux4{align-items:center;gap:var(--space-xs);border-radius:var(--radius-md);min-width:0;max-width:min(34vw,360px);min-height:48px;padding:4px var(--space-xs);text-align:start;background:0 0;border:0;grid-template-columns:36px minmax(0,1fr);display:grid}.thread-identity.svelte-h6bux4:hover{background:var(--paper-quiet)}.identity-copy.svelte-h6bux4{min-width:0;display:grid}.identity-copy.svelte-h6bux4 strong:where(.svelte-h6bux4),.identity-copy.svelte-h6bux4 small:where(.svelte-h6bux4){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.identity-copy.svelte-h6bux4 strong:where(.svelte-h6bux4){font-size:var(--text-base);letter-spacing:-.015em;font-weight:720}.identity-copy.svelte-h6bux4 small:where(.svelte-h6bux4){color:var(--ink-soft);font-size:var(--text-2xs)}.pill.svelte-h6bux4{align-items:center;gap:var(--space-2xs);height:32px;padding:0 var(--space-sm) 0 var(--space-md);border-radius:var(--radius-pill);color:var(--ink);background:var(--paper-quiet);font-size:var(--text-sm);letter-spacing:-.01em;white-space:nowrap;cursor:pointer;border:0;font-weight:700;transition:transform .15s cubic-bezier(.4,0,.2,1),background-color .15s,border-color .15s,color .15s;display:inline-flex}.pill.svelte-h6bux4 svg{color:var(--ink-muted);transition:transform .15s}.pill.svelte-h6bux4:hover,.pill.open.svelte-h6bux4{background:var(--accent-soft)}.pill.open.svelte-h6bux4 svg{transform:rotate(180deg)}@media (width<=760px){.topbar.svelte-h6bux4{padding:8px var(--space-xs);padding-top:max(8px, env(safe-area-inset-top));padding-left:max(var(--space-sm), env(safe-area-inset-left));padding-right:max(var(--space-sm), env(safe-area-inset-right));min-height:60px}.icon-chip.svelte-h6bux4{width:44px;height:44px}.pill.svelte-h6bux4{height:44px;min-height:44px;padding:0 var(--space-sm) 0 var(--space-md);font-size:var(--text-base);display:none}.thread-identity.svelte-h6bux4{grid-template-columns:32px minmax(0,1fr);max-width:min(50vw,240px)}.thread-identity.svelte-h6bux4 .thread-avatar{width:32px!important;min-width:32px!important;height:32px!important}.identity-copy.svelte-h6bux4 small:where(.svelte-h6bux4){display:none}.topbar-actions.svelte-h6bux4{gap:0}}.source-chip.svelte-12hjr91{align-items:center;gap:var(--space-2xs);padding:var(--space-3xs) var(--space-xs);border:1px solid var(--glass-border-light);border-radius:var(--radius-md);color:var(--ink);max-width:min(220px,100%);box-shadow:var(--glass-shadow);background:#ffffff73;text-decoration:none;transition:all .15s;display:flex}.source-chip.svelte-12hjr91:hover{box-shadow:var(--glass-shadow-strong);border-color:var(--accent);background:#ffffffa6;transform:translateY(-1px)}.source-chip.svelte-12hjr91:active{transform:translateY(0)scale(.97)}.source-chip.svelte-12hjr91 svg{color:var(--accent);flex-shrink:0}.source-info.svelte-12hjr91{flex-direction:column;min-width:0;display:flex}.source-title.svelte-12hjr91{font-size:var(--text-2xs);color:var(--ink);white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:1.2;overflow:hidden}.source-domain.svelte-12hjr91{color:var(--ink-soft);white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:max(11px,.7rem);line-height:1.1;overflow:hidden}.message.svelte-1e5n1dp{padding:var(--space-sm) var(--space-lg);border-radius:var(--radius-lg);gap:var(--space-2xs);background:0 0;flex-direction:column;width:fit-content;max-width:82%;transition:background-color .15s;display:flex}.message.svelte-1e5n1dp:not(.user-message){background:0 0;justify-self:stretch;width:100%;max-width:100%;padding-inline:0}.message.svelte-1e5n1dp:hover:not(.user-message){background:0 0}.message.user-message.svelte-1e5n1dp{background:var(--user-bubble-bg);box-shadow:var(--glass-shadow-strong);border:1px solid #ffffff1a;justify-self:end;color:var(--user-bubble-ink)!important}.user-message.svelte-1e5n1dp:hover{filter:brightness(1.05)}.user-message.svelte-1e5n1dp p{color:var(--user-bubble-ink)!important}.message-footer.svelte-1e5n1dp{justify-content:flex-start;align-items:center;gap:var(--space-3xs);margin-top:var(--space-2xs);opacity:0;transition:opacity .15s;display:flex}.message.svelte-1e5n1dp:hover .message-footer:where(.svelte-1e5n1dp),.message.svelte-1e5n1dp:focus-within .message-footer:where(.svelte-1e5n1dp){opacity:1}.action-icon.svelte-1e5n1dp{border-radius:var(--radius-sm);width:30px;height:30px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;place-items:center;transition:background-color .15s,color .15s;display:grid}.action-icon.svelte-1e5n1dp:hover:not(:disabled){color:var(--ink);background:#0000000d}.action-icon.svelte-1e5n1dp:active:not(:disabled){background:#00000014}.action-icon.svelte-1e5n1dp:disabled{opacity:.3;cursor:not-allowed}.message-body.svelte-1e5n1dp{gap:var(--space-xs);min-width:0;max-width:100%;color:var(--ink);font-size:var(--text-base);overflow-wrap:anywhere;word-break:break-word;grid-template-columns:minmax(0,1fr);line-height:1.55;display:grid}.message-body.svelte-1e5n1dp>:where(.svelte-1e5n1dp){min-width:0}.message-body.svelte-1e5n1dp p:where(.svelte-1e5n1dp){white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;margin:0}.markdown.svelte-1e5n1dp{gap:var(--space-sm);display:grid}.markdown.svelte-1e5n1dp p,.markdown.svelte-1e5n1dp ul,.markdown.svelte-1e5n1dp ol,.markdown.svelte-1e5n1dp pre,.markdown.svelte-1e5n1dp blockquote,.markdown.svelte-1e5n1dp table{margin:0}.markdown.svelte-1e5n1dp h1,.markdown.svelte-1e5n1dp h2,.markdown.svelte-1e5n1dp h3,.markdown.svelte-1e5n1dp h4{margin:var(--space-xs) 0 0;letter-spacing:-.02em;font-weight:700;line-height:1.25}.markdown.svelte-1e5n1dp h1{font-size:1.4rem}.markdown.svelte-1e5n1dp h2{font-size:1.22rem}.markdown.svelte-1e5n1dp h3{font-size:1.1rem}.markdown.svelte-1e5n1dp h4{font-size:1rem}.markdown.svelte-1e5n1dp ul,.markdown.svelte-1e5n1dp ol{gap:var(--space-3xs);padding-left:1.25rem;display:grid}.markdown.svelte-1e5n1dp li{padding-left:var(--space-3xs)}.markdown.svelte-1e5n1dp a{color:var(--blue-ink);text-underline-offset:3px;font-weight:500;text-decoration:underline}.markdown.svelte-1e5n1dp code{background:var(--surface-soft);border:1px solid var(--line);color:var(--ink);overflow-wrap:anywhere;word-break:break-word;border-radius:6px;padding:2px 6px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.88em}.markdown.svelte-1e5n1dp pre{padding:var(--space-md) var(--space-md);border:1px solid var(--glass-border);border-radius:var(--radius-md);background:var(--paper-quiet);box-shadow:inset 0 1px 0 var(--line);max-width:100%;font-size:var(--text-sm);color:var(--ink);line-height:1.6;overflow-x:auto}.markdown.svelte-1e5n1dp pre code{overflow-wrap:normal;word-break:normal;font-size:inherit;color:inherit;background:0 0;border:0;border-radius:0;padding:0}.markdown.svelte-1e5n1dp blockquote{padding:var(--space-2xs) var(--space-sm);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-soft);color:var(--ink-muted);background:var(--surface-soft);border-radius:0 var(--radius-sm) var(--radius-sm) 0}.markdown.svelte-1e5n1dp hr{margin:var(--space-sm) 0;border:0;border-top:1px solid var(--line)}.markdown.svelte-1e5n1dp table{border-collapse:collapse;font-size:var(--text-sm);border-radius:var(--radius-md);border:1px solid var(--glass-border);width:100%;max-width:100%;color:var(--ink);display:block;overflow-x:auto}.markdown.svelte-1e5n1dp th,.markdown.svelte-1e5n1dp td{padding:var(--space-sm) var(--space-md);border-bottom:1px solid var(--line);text-align:left;color:inherit}.markdown.svelte-1e5n1dp th{background:var(--surface-soft);color:var(--ink);font-weight:700}.markdown.svelte-1e5n1dp td{color:var(--ink-muted)}.markdown.svelte-1e5n1dp tr:last-child td{border-bottom:0}.reasoning.svelte-1e5n1dp{padding:var(--space-xs) var(--space-sm);border:1px solid var(--glass-border);border-radius:var(--radius-md);color:var(--ink-muted);font-size:var(--text-sm);background:#ffffff40;margin:0;box-shadow:inset 0 1px #ffffff1a}.reasoning.svelte-1e5n1dp summary:where(.svelte-1e5n1dp){color:var(--ink-muted);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none;font-weight:700}.source-stack.svelte-1e5n1dp{gap:var(--space-2xs);margin-bottom:var(--space-xs);flex-direction:column;width:100%;display:flex}.source-context.svelte-1e5n1dp{align-items:center;gap:var(--space-2xs);width:fit-content;max-width:min(560px,100%);padding:3px var(--space-xs);border:1px solid var(--glass-border-light);border-radius:var(--radius-md);color:var(--ink-soft);font-size:var(--text-2xs);background:#ffffff59;font-weight:600;line-height:1.25;display:inline-flex}.source-context.svelte-1e5n1dp span:where(.svelte-1e5n1dp){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.source-context.svelte-1e5n1dp svg{color:var(--accent);flex:none}.sources-grid.svelte-1e5n1dp{gap:var(--space-2xs);flex-wrap:wrap;width:100%;display:flex}.typing-line.svelte-1e5n1dp{align-items:center;gap:var(--space-3xs);width:fit-content;min-height:22px;display:flex}.typing-line.svelte-1e5n1dp span:where(.svelte-1e5n1dp){background:var(--ink-soft);border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite svelte-1e5n1dp-dot}.typing-line.svelte-1e5n1dp span:where(.svelte-1e5n1dp):nth-child(2){animation-delay:.15s}.typing-line.svelte-1e5n1dp span:where(.svelte-1e5n1dp):nth-child(3){animation-delay:.3s}@keyframes svelte-1e5n1dp-dot{0%,to{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}@media (width<=760px){.message.svelte-1e5n1dp{padding:var(--space-sm) var(--space-md)}.message.svelte-1e5n1dp:not(.user-message){padding-inline:0}.user-message.svelte-1e5n1dp{justify-self:end;width:fit-content;max-width:88%}.message-footer.svelte-1e5n1dp{opacity:1;gap:var(--space-2xs)}.action-icon.svelte-1e5n1dp{width:44px;height:44px}}.messages.svelte-qha2j{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:var(--space-lg) clamp(var(--space-md), 5vw, var(--space-2xl)) var(--space-xl);align-content:start;display:grid;overflow-y:auto}.empty-state.svelte-qha2j{align-content:center;justify-items:center;gap:var(--space-xl);text-align:center;min-height:55vh;display:grid}.empty-state.svelte-qha2j p:where(.svelte-qha2j){color:var(--ink-soft);font-size:var(--text-xs);letter-spacing:.08em;text-transform:uppercase;font-weight:700}.empty-state.svelte-qha2j h1:where(.svelte-qha2j){max-width:15ch;color:var(--ink);letter-spacing:-.03em;font-size:clamp(2.2rem,5vw,3.8rem);font-weight:800;line-height:1.05}.prompt-row.svelte-qha2j{justify-content:center;gap:var(--space-sm);max-width:640px;margin:var(--space-md) auto 0;flex-wrap:wrap;display:flex}.prompt-row.svelte-qha2j button:where(.svelte-qha2j){height:38px;padding:0 var(--space-md);border:1px solid var(--glass-border-light);border-radius:var(--radius-pill);color:var(--ink-muted);font-size:var(--text-sm);background:#ffffff73;font-weight:500;transition:background-color .15s,color .15s,transform .1s,box-shadow .15s;box-shadow:0 4px 15px #00000005}.prompt-row.svelte-qha2j button:where(.svelte-qha2j):hover{color:var(--ink);background:#ffffffbf;transform:translateY(-1px);box-shadow:0 6px 20px #0000000d}.prompt-row.svelte-qha2j button:where(.svelte-qha2j):active{transform:translateY(0)}.message-list.svelte-qha2j{gap:var(--space-sm);max-width:var(--chat-width,760px);grid-template-columns:minmax(0,1fr);width:100%;min-width:0;margin:0 auto;display:grid}.message-list.svelte-qha2j>.message:where(.svelte-qha2j),.message-anchor.svelte-qha2j{min-width:0}.message-anchor.svelte-qha2j{border-radius:var(--radius-lg);min-width:0;transition:background-color .14s,box-shadow .14s}.message-anchor.search-match.svelte-qha2j{background:color-mix(in oklch, var(--accent) 7%, transparent)}.message-anchor.active-search-match.svelte-qha2j{background:color-mix(in oklch, var(--accent) 13%, transparent);box-shadow:0 0 0 2px color-mix(in oklch, var(--accent) 36%, transparent)}.message-list.svelte-qha2j .message:not(.user-message){padding:var(--space-md) var(--space-lg);border-radius:var(--radius-lg);gap:var(--space-3xs);background:0 0;flex-direction:column;width:fit-content;max-width:82%;transition:background-color .15s;display:flex}.message-list.svelte-qha2j>.message:where(.svelte-qha2j){justify-self:start}.message-body.svelte-qha2j{gap:var(--space-xs);min-width:0;color:var(--ink);font-size:var(--text-base);line-height:1.6;display:grid}.search-loading.svelte-qha2j{align-items:center;gap:var(--space-xs);color:var(--ink-soft);font-size:var(--text-xs);font-weight:500;display:flex}.search-loading.svelte-qha2j .spin{animation:3s linear infinite svelte-qha2j-spin}.search-error.svelte-qha2j{align-items:flex-start;gap:var(--space-xs);color:#8e2f26;max-width:min(680px,100%);font-size:var(--text-xs);background:#f6e3e1;border:1px solid #c6534552;border-radius:14px;padding:10px 12px;font-weight:500;line-height:1.45;display:flex}.search-error.svelte-qha2j svg{flex:none;margin-top:1px}.typing-line.svelte-qha2j{align-items:center;gap:var(--space-3xs);width:fit-content;min-height:22px;display:flex}.typing-line.svelte-qha2j span:where(.svelte-qha2j){background:var(--ink-soft);border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite svelte-qha2j-dot}.typing-line.svelte-qha2j span:where(.svelte-qha2j):nth-child(2){animation-delay:.15s}.typing-line.svelte-qha2j span:where(.svelte-qha2j):nth-child(3){animation-delay:.3s}@keyframes svelte-qha2j-dot{0%,to{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}@keyframes svelte-qha2j-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (width<=760px){.messages.svelte-qha2j{padding:calc(52px + var(--space-sm)) var(--space-sm) var(--space-lg)}.message-list.svelte-qha2j .message:not(.user-message){width:100%;max-width:100%;padding:var(--space-sm) 0}.empty-state.svelte-qha2j{gap:var(--space-lg);min-height:62vh}.prompt-row.svelte-qha2j button:where(.svelte-qha2j){height:46px;padding:0 var(--space-lg);font-size:var(--text-base)}}.composer.svelte-60fagq{padding:0 clamp(var(--space-md), 5vw, var(--space-2xl)) var(--space-lg);z-index:5;background:0 0}.composer-box.svelte-60fagq{gap:var(--space-2xs);max-width:var(--chat-width,760px);padding:var(--space-xs) var(--space-xs) var(--space-xs) var(--space-md);border:1px solid var(--glass-border-light);border-radius:var(--radius-xl);background:color-mix(in oklch, var(--control-surface-strong) 96%, var(--paper));box-shadow:var(--glass-shadow-strong);grid-template-columns:minmax(0,1fr);margin:0 auto;transition:border-color .2s,box-shadow .2s,background-color .2s;display:grid}.composer-box.svelte-60fagq:focus-within{border-color:var(--accent);background:var(--control-surface-strong);box-shadow:0 16px 45px -12px #0000001f, 0 0 0 4px var(--accent-soft)}.crawl-hint.svelte-60fagq{align-items:center;gap:var(--space-3xs);max-width:100%;padding:var(--space-3xs) var(--space-xs);border:1px solid var(--accent);border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);font-size:var(--text-2xs);width:fit-content;margin:2px 2px 0;font-weight:600;line-height:1.2;animation:.16s svelte-60fagq-crawl-hint-in;display:flex}.crawl-hint.svelte-60fagq svg{color:var(--accent);flex-shrink:0}.crawl-hint.svelte-60fagq span:where(.svelte-60fagq){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}@keyframes svelte-60fagq-crawl-hint-in{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}textarea.svelte-60fagq{width:100%;min-height:36px;max-height:132px;padding:var(--space-2xs) var(--space-3xs);resize:none;color:var(--ink);font-size:var(--text-base);background:0 0;border:0;outline:none;font-family:inherit;line-height:1.5}textarea.svelte-60fagq::placeholder{color:var(--ink-soft)}.composer-controls.svelte-60fagq{justify-content:space-between;align-items:center;gap:var(--space-sm);min-height:32px;display:flex}.controls-left.svelte-60fagq{align-items:center;gap:var(--space-2xs);display:flex}.chip.svelte-60fagq{align-items:center;gap:var(--space-3xs);height:32px;padding:0 var(--space-sm);border-radius:var(--radius-pill);color:var(--ink-muted);border:1px solid var(--glass-border-light);background:var(--control-surface);font-size:var(--text-xs);white-space:nowrap;cursor:pointer;font-weight:700;transition:background-color .15s,color .15s,border-color .15s,transform .1s;display:inline-flex}.chip.svelte-60fagq svg{color:var(--ink-soft);transition:color .15s}.chip.svelte-60fagq:hover:not(:disabled){color:var(--ink);background:var(--control-surface-strong)}.chip.active.svelte-60fagq{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.chip.active.svelte-60fagq svg{color:var(--accent)}.chip.svelte-60fagq:disabled{opacity:.4;cursor:not-allowed}.pill.svelte-60fagq{align-items:center;gap:var(--space-3xs);height:32px;padding:0 var(--space-2xs) 0 var(--space-xs);border:1px solid var(--glass-border-light);border-radius:var(--radius-pill);color:var(--ink-muted);background:var(--control-surface);font-size:var(--text-xs);white-space:nowrap;cursor:pointer;font-weight:700;transition:background-color .15s,color .15s,transform .1s;display:inline-flex}.pill.svelte-60fagq svg{color:var(--ink-soft);transition:transform .15s}.pill.svelte-60fagq:hover:not(:disabled),.pill.open.svelte-60fagq{color:var(--ink);background:var(--control-surface-strong)}.pill.open.svelte-60fagq svg:last-child{transform:rotate(180deg)}.pill.svelte-60fagq:disabled{opacity:.4;cursor:not-allowed}.send-button.svelte-60fagq{width:32px;height:32px;color:var(--accent-ink);background:var(--accent);border:0;border-radius:50%;place-items:center;transition:background-color .15s,transform .1s;display:grid;box-shadow:0 2px 8px #00000014}.send-button.svelte-60fagq:hover:not(:disabled){filter:brightness(.92);transform:scale(1.05)}.send-button.stop.svelte-60fagq{color:var(--ink);background:var(--control-surface);border:1px solid var(--glass-border);box-shadow:none}.send-button.stop.svelte-60fagq:hover{background:var(--control-surface-strong)}.send-button.svelte-60fagq:disabled{opacity:.35;cursor:not-allowed;transform:none!important}@media (width<=760px){.composer.svelte-60fagq{padding:0 var(--space-sm) var(--space-sm);padding-bottom:max(var(--space-sm), env(safe-area-inset-bottom));padding-left:max(var(--space-sm), env(safe-area-inset-left));padding-right:max(var(--space-sm), env(safe-area-inset-right))}.composer-box.svelte-60fagq{max-width:100%}.chip.svelte-60fagq{height:40px;min-height:44px;padding:0 var(--space-md);font-size:var(--text-sm)}.pill.svelte-60fagq{height:40px;min-height:44px;padding:0 var(--space-xs) 0 var(--space-sm);font-size:var(--text-sm)}.send-button.svelte-60fagq{width:44px;height:44px}textarea.svelte-60fagq{font-size:16px}}.error-banner.svelte-vde8u4{justify-content:space-between;align-items:center;gap:var(--space-md);width:100%;max-width:760px;margin:0 auto var(--space-md);padding:var(--space-sm) var(--space-md);border:1px solid var(--danger);border-radius:var(--radius-md);color:var(--danger);background:color-mix(in oklch, var(--danger) 12%, var(--overlay-surface));-webkit-backdrop-filter:var(--overlay-blur);display:flex}.error-banner.svelte-vde8u4 span:where(.svelte-vde8u4){overflow-wrap:break-word;white-space:normal;min-width:0;font-weight:500}.error-banner.svelte-vde8u4 button:where(.svelte-vde8u4){color:var(--danger);background:0 0;border:0;flex:none;font-weight:700}@media (width<=760px){.error-banner.svelte-vde8u4{width:auto;margin:0 var(--space-sm) var(--space-sm);gap:var(--space-sm)}.error-banner.svelte-vde8u4 button:where(.svelte-vde8u4){min-height:44px;padding:0 var(--space-sm)}}.modal-overlay.svelte-1wk5kq2{z-index:100;background:var(--overlay-backdrop);-webkit-backdrop-filter:var(--overlay-backdrop-filter);justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal-container.svelte-1wk5kq2{background:var(--overlay-surface-strong);border:1px solid var(--overlay-border);width:100%;max-width:480px;max-height:min(740px,90dvh);-webkit-backdrop-filter:var(--overlay-blur);box-shadow:var(--overlay-shadow);border-radius:var(--radius-lg);flex-direction:column;display:flex;overflow:hidden}.modal-header.svelte-1wk5kq2{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.modal-title.svelte-1wk5kq2{align-items:center;gap:10px;display:flex}.modal-title.svelte-1wk5kq2 .key-icon{color:var(--accent)}.modal-title.svelte-1wk5kq2 h2:where(.svelte-1wk5kq2){color:var(--ink);margin:0;font-size:15px;font-weight:700}.close-btn.svelte-1wk5kq2{width:28px;height:28px;color:var(--ink-soft);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;transition:background .15s,color .15s;display:flex}.close-btn.svelte-1wk5kq2:hover{background:var(--surface-soft);color:var(--ink)}.modal-body.svelte-1wk5kq2{flex-direction:column;gap:20px;min-height:0;padding:20px;display:flex;overflow-y:auto}.form-section.svelte-1wk5kq2{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-soft);flex-direction:column;gap:10px;padding:14px;display:flex}.form-section.svelte-1wk5kq2 label:where(.svelte-1wk5kq2),.section-label.svelte-1wk5kq2{color:var(--ink-muted);letter-spacing:-.01em;font-size:13px;font-weight:700}.input-wrapper.svelte-1wk5kq2{align-items:center;display:flex;position:relative}.input-wrapper.svelte-1wk5kq2 input:where(.svelte-1wk5kq2){background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;color:var(--ink);outline:none;padding:10px 40px 10px 14px;font-size:13px;transition:border-color .15s,background .15s,box-shadow .15s}.input-wrapper.svelte-1wk5kq2 input:where(.svelte-1wk5kq2):focus{border-color:var(--accent);background:var(--surface-lift);box-shadow:0 0 0 3px var(--accent-soft)}.toggle-visibility-btn.svelte-1wk5kq2{color:var(--ink-soft);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;transition:color .15s;display:flex;position:absolute;right:10px}.toggle-visibility-btn.svelte-1wk5kq2:hover{color:var(--ink)}.feedback-msg.svelte-1wk5kq2{border-radius:6px;align-items:center;gap:8px;padding:6px 10px;font-size:12px;display:flex}.feedback-msg.success.svelte-1wk5kq2{color:oklch(62% .16 140);background:oklch(62% .16 140/.1)}.feedback-msg.error.svelte-1wk5kq2{color:var(--danger);background:var(--danger-soft)}.validate-btn.svelte-1wk5kq2{border-radius:var(--radius-sm);background:var(--accent);color:var(--accent-ink);border:none;align-self:flex-start;align-items:center;gap:8px;padding:8px 16px;font-size:13px;font-weight:600;transition:background .15s,opacity .15s;display:inline-flex}.validate-btn.svelte-1wk5kq2:hover:not(:disabled){filter:brightness(1.15)}.validate-btn.svelte-1wk5kq2:disabled{opacity:.5;cursor:not-allowed}.spinner.svelte-1wk5kq2{width:14px;height:14px;animation:1s linear infinite svelte-1wk5kq2-spin}.theme-options.svelte-1wk5kq2{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.theme-btn.svelte-1wk5kq2{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft);color:var(--ink-muted);cursor:pointer;flex:1;justify-content:center;align-items:center;gap:6px;padding:10px;font-size:13px;font-weight:500;transition:background .15s,color .15s,border-color .15s;display:flex}.theme-btn.svelte-1wk5kq2:hover{background:var(--surface-lift);color:var(--ink)}.theme-btn.active.svelte-1wk5kq2{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.swatch-grid.svelte-1wk5kq2{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.swatch-btn.svelte-1wk5kq2{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-lift);color:var(--ink-muted);cursor:pointer;align-items:center;gap:10px;padding:10px 12px;font-size:13px;font-weight:600;transition:background .15s,color .15s,border-color .15s,box-shadow .15s;display:flex}.swatch-btn.svelte-1wk5kq2:hover{color:var(--ink);border-color:var(--line-strong)}.swatch-btn.active.svelte-1wk5kq2{color:var(--ink);border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.swatch-dot.svelte-1wk5kq2{border-radius:50%;flex-shrink:0;width:22px;height:22px;box-shadow:inset 0 0 0 1px #0000001f}.swatch-label.svelte-1wk5kq2{text-align:left;flex:1}.swatch-btn.svelte-1wk5kq2 .swatch-check{color:var(--accent);flex-shrink:0}.swatch-ocean.svelte-1wk5kq2 .swatch-dot:where(.svelte-1wk5kq2){background:linear-gradient(135deg,#4a82ff,#2950d8)}.swatch-violet.svelte-1wk5kq2 .swatch-dot:where(.svelte-1wk5kq2){background:linear-gradient(135deg,#9a6bff,#6d28d9)}.swatch-emerald.svelte-1wk5kq2 .swatch-dot:where(.svelte-1wk5kq2){background:linear-gradient(135deg,#2bb89a,#0f8f7a)}.swatch-sunset.svelte-1wk5kq2 .swatch-dot:where(.svelte-1wk5kq2){background:linear-gradient(135deg,#ff8a5b,#e85d75)}@keyframes svelte-1wk5kq2-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (width<=760px){.modal-overlay.svelte-1wk5kq2{align-items:flex-end;padding:0}.modal-container.svelte-1wk5kq2{border-radius:var(--radius-xl) var(--radius-xl) 0 0;border-bottom:0;max-width:100%;max-height:92dvh;animation:.3s cubic-bezier(.16,1,.3,1) svelte-1wk5kq2-settings-up}.modal-header.svelte-1wk5kq2{padding:18px 20px}.modal-title.svelte-1wk5kq2 h2:where(.svelte-1wk5kq2){font-size:var(--text-lg)}.close-btn.svelte-1wk5kq2{border-radius:var(--radius-pill);width:40px;height:40px}.modal-body.svelte-1wk5kq2{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:20px 20px max(20px, env(safe-area-inset-bottom));overflow-y:auto}.form-section.svelte-1wk5kq2 label:where(.svelte-1wk5kq2),.section-label.svelte-1wk5kq2{font-size:var(--text-sm)}.input-wrapper.svelte-1wk5kq2 input:where(.svelte-1wk5kq2){min-height:48px;padding:12px 48px 12px 16px;font-size:16px}.toggle-visibility-btn.svelte-1wk5kq2{width:40px;height:40px;right:4px}.validate-btn.svelte-1wk5kq2{min-height:48px;font-size:var(--text-base);justify-content:center;align-self:stretch}.theme-btn.svelte-1wk5kq2{min-height:48px;font-size:var(--text-sm)}.swatch-btn.svelte-1wk5kq2{min-height:56px;font-size:var(--text-sm)}}@keyframes svelte-1wk5kq2-settings-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.palette-overlay.svelte-wh9uu8{z-index:100;background:var(--overlay-backdrop);-webkit-backdrop-filter:var(--overlay-backdrop-filter);justify-content:center;align-items:start;padding-top:20vh;display:flex;position:fixed;inset:0}.palette-container.svelte-wh9uu8{background:var(--overlay-surface-strong);border:1px solid var(--overlay-border);width:100%;max-width:500px;-webkit-backdrop-filter:var(--overlay-blur);box-shadow:var(--overlay-shadow);border-radius:var(--radius-lg);flex-direction:column;display:flex;overflow:hidden}.palette-search.svelte-wh9uu8{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:12px 16px;display:flex}.palette-search.svelte-wh9uu8 .search-icon{color:var(--ink-soft)}.palette-search.svelte-wh9uu8 input:where(.svelte-wh9uu8){color:var(--ink);background:0 0;border:none;outline:none;flex:1;font-size:14px}.palette-search.svelte-wh9uu8 input:where(.svelte-wh9uu8)::placeholder{color:var(--ink-soft)}.palette-list.svelte-wh9uu8{max-height:320px;padding:6px 0;overflow-y:auto}.empty-state.svelte-wh9uu8{text-align:center;color:var(--ink-soft);padding:32px 16px;font-size:13px}.palette-item.svelte-wh9uu8{border-radius:var(--radius-sm);width:calc(100% - 16px);color:var(--ink-muted);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:12px;margin:2px 8px;padding:8px 12px;font-size:13px;transition:background .1s,color .1s;display:flex}.palette-item.selected.svelte-wh9uu8{background:var(--accent-soft);color:var(--accent)}.palette-item.svelte-wh9uu8 .item-icon{color:var(--ink-soft)}.palette-item.selected.svelte-wh9uu8 .item-icon{color:var(--accent)}.item-label.svelte-wh9uu8{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.item-type.svelte-wh9uu8{color:var(--ink-soft);font-size:11px}.item-shortcut.svelte-wh9uu8{color:var(--ink-soft);background:var(--surface-soft);border-radius:4px;padding:1px 4px;font-size:11px}.palette-item.svelte-wh9uu8 .arrow-icon{color:var(--accent)}.palette-footer.svelte-wh9uu8{border-top:1px solid var(--line);color:var(--ink-soft);align-items:center;gap:16px;padding:10px 16px;font-size:11px;display:flex}.palette-footer.svelte-wh9uu8 kbd:where(.svelte-wh9uu8){background:var(--surface-soft);border:1px solid var(--line);color:var(--ink-muted);border-radius:4px;padding:1px 4px;font-family:inherit;font-size:10px}@media (width<=760px){.palette-overlay.svelte-wh9uu8{padding-top:max(env(safe-area-inset-top), var(--space-sm));padding-left:var(--space-sm);padding-right:var(--space-sm)}.palette-container.svelte-wh9uu8{max-width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - var(--space-lg));border-radius:var(--radius-lg)}.palette-search.svelte-wh9uu8{padding:14px 16px}.palette-search.svelte-wh9uu8 input:where(.svelte-wh9uu8){font-size:16px}.palette-list.svelte-wh9uu8{flex:1;max-height:none}.palette-item.svelte-wh9uu8{min-height:52px;font-size:var(--text-base)}.palette-footer.svelte-wh9uu8{display:none}}.install.svelte-4xl70w{text-align:center;align-items:center;gap:var(--space-sm);padding:var(--space-xs) var(--space-md) var(--space-sm);flex-direction:column;display:flex;position:relative}.install-close.svelte-4xl70w{border-radius:var(--radius-pill);width:40px;height:40px;color:var(--ink-soft);background:0 0;border:0;place-items:center;display:grid;position:absolute;top:-2px;right:0}.install-icon.svelte-4xl70w{border-radius:var(--radius-lg);width:72px;height:72px;box-shadow:var(--glass-shadow)}.install-heading.svelte-4xl70w{font-size:var(--text-lg);letter-spacing:-.01em;color:var(--ink);font-weight:800}.install-sub.svelte-4xl70w{max-width:32ch;font-size:var(--text-sm);color:var(--ink-soft);line-height:1.45}.install-cta.svelte-4xl70w{justify-content:center;align-items:center;gap:var(--space-2xs);width:100%;min-height:52px;margin-top:var(--space-2xs);border-radius:var(--radius-pill);background:var(--accent);color:var(--accent-ink);font-size:var(--text-base);border:0;font-weight:700;display:inline-flex}.install-later.svelte-4xl70w{min-height:44px;padding:0 var(--space-md);border-radius:var(--radius-pill);color:var(--ink-soft);background:0 0;border:0;font-weight:600}.install-steps.svelte-4xl70w{gap:var(--space-sm);width:100%;margin:var(--space-2xs) 0;text-align:left;flex-direction:column;padding:0;list-style:none;display:flex}.install-steps.svelte-4xl70w li:where(.svelte-4xl70w){align-items:center;gap:var(--space-sm);font-size:var(--text-sm);color:var(--ink-muted);line-height:1.4;display:flex}.step-ic.svelte-4xl70w{border-radius:var(--radius-md);background:var(--accent-soft);width:36px;height:36px;color:var(--accent);flex-shrink:0;place-items:center;display:grid}.app.svelte-1uha8ag{height:100dvh;padding:var(--space-md);gap:var(--space-md);background:0 0;grid-template-columns:clamp(296px,24vw,340px) minmax(0,1fr);transition:grid-template-columns .25s cubic-bezier(.16,1,.3,1);display:grid}.app.sidebar-collapsed.svelte-1uha8ag{grid-template-columns:0 minmax(0,1fr);gap:0}.app.svelte-1uha8ag>.thread-rail{grid-area:1/1}.app.sidebar-collapsed.svelte-1uha8ag .thread-rail{opacity:0;pointer-events:none;visibility:hidden;transform:translate(-20px)}.workspace.svelte-1uha8ag{border-radius:var(--radius-lg);border:1px solid var(--line);background:color-mix(in oklch, var(--surface-lift) 95%, transparent);grid-area:1/2;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 48px -30px #00000059}.chat-chrome.svelte-1uha8ag{z-index:5;min-width:0;position:relative}@media (width>=761px) and (width<=1023px){.app.svelte-1uha8ag,.app.sidebar-collapsed.svelte-1uha8ag{grid-template-columns:minmax(0,1fr);gap:0}.workspace.svelte-1uha8ag{grid-column:1}.app.svelte-1uha8ag>.thread-rail{top:var(--space-md);left:var(--space-md);bottom:var(--space-md);z-index:210;width:min(340px,100vw - 32px);box-shadow:0 28px 80px -32px color-mix(in oklch, var(--ink) 48%, transparent);position:fixed}.app.sidebar-collapsed.svelte-1uha8ag>.thread-rail{display:none}}@media (width<=760px){.app.svelte-1uha8ag{grid-template-columns:minmax(0,1fr);gap:0;padding:0}.app.svelte-1uha8ag>.thread-rail{display:none}.app.sidebar-collapsed.svelte-1uha8ag{grid-template-columns:minmax(0,1fr)}.workspace.svelte-1uha8ag{box-shadow:none;border:0;border-radius:0;grid-column:1}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:1ms!important;animation-iteration-count:1!important}}
