:where(.tg-brand,.tg-channel,.tg-later-row,.tg-canvas-card,.tg-empty,.tg-view-heading,.tg-tabs){box-sizing:border-box}.tg-brand{display:inline-flex;align-items:center;gap:.55rem;color:var(--tg-foreground, #1d1c1d)}.tg-brand__mark{display:grid;width:1.75rem;height:1.75rem;place-items:center;border-radius:.5rem;background:var(--tg-brand, #4a154b);color:#fff}.tg-brand__mark svg{width:1rem;height:1rem;stroke-width:2.5}.tg-brand__copy{display:grid;gap:.05rem}.tg-brand__copy strong{font-size:1.375rem;line-height:1;font-weight:800;letter-spacing:-.04em}.tg-brand__copy small{color:var(--tg-muted, #616061);font-size:.68rem;font-weight:600}.tg-brand--compact .tg-brand__mark{width:2.125rem;height:2.125rem}.tg-brand--compact .tg-brand__copy strong{font-size:.7rem;letter-spacing:.13em;text-transform:uppercase}.tg-brand--compact .tg-brand__copy small{font-size:.66rem}.tg-workspace-avatar{display:inline-grid;flex:0 0 auto;place-items:center;border-radius:.45rem;color:#fff;font-weight:800;letter-spacing:-.02em}.tg-workspace-avatar--sm{width:1.25rem;height:1.25rem;font-size:.625rem}.tg-workspace-avatar--md{width:2.5rem;height:2.5rem;font-size:.75rem}.tg-workspace-avatar--lg{width:2.75rem;height:2.75rem;border-radius:.875rem;font-size:.94rem}.tg-workspace-avatar--selected{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--tg-rail, #26142c)}.tg-tabs{display:flex;align-items:center;gap:.25rem}.tg-tabs--stretch{display:grid;grid-template-columns:repeat(var(--tg-tab-count, 2),minmax(0,1fr));gap:.2rem;padding:.25rem;border:1px solid var(--tg-border, #ddd);border-radius:.85rem;background:var(--tg-card, white)}.tg-tab{display:inline-flex;min-height:1.75rem;align-items:center;justify-content:center;gap:.4rem;padding:.25rem .625rem;border:0;border-radius:.375rem;background:transparent;color:var(--tg-muted, #616061);font:inherit;font-size:.8125rem;font-weight:600;cursor:pointer}.tg-tab:hover{background:var(--tg-accent, #f4f4f4)}.tg-tab--active{background:var(--tg-accent, #f4f4f4);color:var(--tg-foreground, #1d1c1d)}.tg-tabs--stretch .tg-tab{min-height:2.375rem;border-radius:.65rem;font-size:.72rem;font-weight:800}.tg-tabs--stretch .tg-tab--active{background:var(--tg-brand, #4a154b);color:#fff;box-shadow:0 .25rem .75rem #2d17332e}.tg-tab i{display:grid;min-width:1.1rem;height:1.1rem;place-items:center;border-radius:999px;background:#80808024;font-size:.52rem;font-style:normal}.tg-empty{display:flex;min-height:14.5rem;flex-direction:column;align-items:center;justify-content:center;padding:1.75rem;border:1px dashed color-mix(in srgb,var(--tg-foreground, #1d1c1d) 22%,transparent);border-radius:1.5rem;color:var(--tg-muted, #616061);text-align:center}.tg-empty--compact{min-height:auto;gap:.5rem;padding:4rem 1.5rem;border:0;border-radius:0}.tg-empty__icon{display:grid;width:3rem;height:3rem;place-items:center;margin-bottom:.75rem;border-radius:1rem;background:var(--tg-accent, #f4f4f4)}.tg-empty__icon svg{width:1.35rem;height:1.35rem}.tg-empty strong{color:var(--tg-foreground, #1d1c1d);font-size:.82rem}.tg-empty p{max-width:20rem;margin:.35rem 0 0;font-size:.72rem;line-height:1.5}.tg-view-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.tg-view-heading>div>span{color:var(--tg-brand, #4a154b);font-size:.57rem;font-weight:800;letter-spacing:.16em}.tg-view-heading h1{margin:.55rem 0 .35rem;color:var(--tg-foreground, #1d1c1d);font-size:2.3rem;line-height:1;letter-spacing:-.055em}.tg-view-heading p{max-width:21rem;margin:0;color:var(--tg-muted, #616061);font-size:.75rem;line-height:1.5}.tg-channel{width:100%;color:inherit;font:inherit;text-align:left}.tg-channel--card{display:flex;gap:.8rem;padding:.9rem;border:1px solid var(--tg-border, #ddd);border-radius:1.1rem;background:var(--tg-card, white)}.tg-channel--sidebar{display:flex;height:1.75rem;min-width:0;align-items:center;gap:.5rem;overflow:hidden;margin:0 .5rem;padding:0 .5rem;border:0;border-radius:.375rem;background:transparent;color:var(--tg-sidebar-muted, #c4b7c6);font-size:.94rem;line-height:1.25rem;cursor:pointer}.tg-channel--sidebar:hover{background:var(--tg-sidebar-hover, #49334d)}.tg-channel--sidebar.tg-channel--active{background:var(--tg-sidebar-active, #1264a3);color:#fff;font-weight:500}.tg-channel--sidebar.tg-channel--unread:not(.tg-channel--active){color:var(--tg-sidebar-foreground, #f0ecf1);font-weight:700}.tg-channel--muted{opacity:.6}.tg-channel__icon{display:grid;width:2.55rem;height:2.55rem;flex:0 0 auto;place-items:center;border-radius:.85rem;background:color-mix(in srgb,var(--tg-brand, #4a154b) 12%,var(--tg-card, white));color:var(--tg-brand, #4a154b)}.tg-channel__icon--external{background:#fee3d4;color:#884328}.tg-channel--sidebar .tg-channel__icon{display:block;width:1.125rem;height:1.125rem;background:transparent;color:inherit}.tg-channel__icon svg{width:1.1rem;height:1.1rem}.tg-channel__body{display:block;min-width:0;flex:1}.tg-channel--sidebar .tg-channel__body{display:flex;min-width:0;align-items:center}.tg-channel__title{display:flex;min-width:0;align-items:center;gap:.45rem}.tg-channel__title strong{min-width:0;overflow:hidden;font-size:.875rem;text-overflow:ellipsis;white-space:nowrap}.tg-channel--sidebar .tg-channel__title strong{font-size:inherit;font-weight:inherit}.tg-channel__title i{padding:.18rem .3rem;border-radius:.3rem;background:#fee3d4;color:#884328;font-size:.43rem;font-style:normal;font-weight:900;letter-spacing:.09em}.tg-channel__subtitle{display:block;margin-top:.25rem;color:var(--tg-muted, #616061);font-size:.64rem;line-height:1.4}.tg-channel--sidebar .tg-channel__subtitle{display:none}.tg-channel__actions{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.7rem}.tg-channel__source{max-width:35%;overflow:hidden;font-size:.69rem;opacity:.6;text-overflow:ellipsis;white-space:nowrap}.tg-channel__mention,.tg-channel__unread{display:grid;min-width:1.125rem;height:1.125rem;flex:0 0 auto;place-items:center;padding:0 .25rem;border-radius:999px;background:var(--tg-mention, #e01e5a);color:#fff;font-size:.68rem;font-weight:700}.tg-later-row{display:flex;align-items:flex-start;color:var(--tg-foreground, #1d1c1d)}.tg-later-row--card{gap:.75rem;padding:.9rem;border:1px solid var(--tg-border, #ddd);border-radius:1.05rem;background:var(--tg-card, white)}.tg-later-row--compact{gap:.75rem;padding:.625rem 1rem}.tg-later-row--compact:hover,.tg-later-row--selected{background:var(--tg-accent, #f4f4f4)}.tg-later-row--due{border-color:color-mix(in srgb,var(--tg-mention, #e01e5a) 35%,transparent);box-shadow:inset 3px 0 var(--tg-mention, #e01e5a)}.tg-later-row__main{display:flex;min-width:0;flex:1;align-items:flex-start;gap:.75rem;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left}button.tg-later-row__main{cursor:pointer}.tg-later-row__leading{display:grid;width:2.15rem;height:2.15rem;flex:0 0 auto;place-items:center;border-radius:.7rem;background:var(--tg-accent, #f4f4f4);color:var(--tg-brand, #4a154b)}.tg-later-row--compact .tg-later-row__leading{width:2rem;height:2rem;background:transparent}.tg-later-row__leading>svg{width:1rem;height:1rem}.tg-later-row__copy{display:block;min-width:0;flex:1}.tg-later-row__copy strong,.tg-later-row__copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-later-row__copy strong{font-size:.82rem;font-weight:600}.tg-later-row__copy small{margin-top:.25rem;color:var(--tg-muted, #616061);font-size:.72rem}.tg-later-row__actions{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:center;gap:.35rem}.tg-canvas-card{color:inherit;font:inherit;text-align:left}.tg-canvas-card--tile{position:relative;display:flex;min-height:11.9rem;flex-direction:column;align-items:flex-start;padding:.95rem;overflow:hidden;border:0;border-radius:.5rem 1.7rem .5rem .5rem}.tg-canvas-card--tone-0{background:var(--tg-blue, #9fc9ff);color:#19375d}.tg-canvas-card--tone-1{background:var(--tg-lime, #dff868);color:#26300c}.tg-canvas-card--tone-2{background:var(--tg-apricot, #ffb58e);color:#452115}.tg-canvas-card--summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;padding:.625rem .75rem;border:1px solid var(--tg-border, #ddd);border-radius:.4rem;background:transparent}button.tg-canvas-card{width:100%;cursor:pointer}.tg-canvas-card__index{position:absolute;top:.85rem;left:.95rem;font-size:.55rem;font-weight:900;letter-spacing:.13em;opacity:.55}.tg-canvas-card__icon{width:1.55rem;height:1.55rem}.tg-canvas-card--tile .tg-canvas-card__icon{margin-top:2.15rem}.tg-canvas-card--summary .tg-canvas-card__icon{width:1rem;height:1rem;color:var(--tg-muted, #616061)}.tg-canvas-card__copy{display:block;min-width:0}.tg-canvas-card--tile .tg-canvas-card__copy{margin-top:auto}.tg-canvas-card__copy strong,.tg-canvas-card__copy small{display:block}.tg-canvas-card__copy strong{overflow:hidden;font-size:.88rem;line-height:1.2}.tg-canvas-card__copy small{margin-top:.3rem;font-size:.55rem;opacity:.65}.tg-canvas-card__copy>span{display:block;margin-top:.4rem;color:var(--tg-muted, #616061);font-size:.72rem}.tg-canvas-card__arrow{position:absolute;top:.8rem;right:.8rem;width:1rem;height:1rem}.tg-canvas-card__action{grid-column:1 / -1;justify-self:start;min-height:2.25rem;padding:.45rem .75rem;border-radius:.375rem;background:var(--tg-accent, #f4f4f4);color:var(--tg-foreground, #1d1c1d);font-size:.875rem;font-weight:600}.tg-button{border:0;border-radius:.375rem;font:inherit;font-size:.875rem;font-weight:600;cursor:pointer}.tg-button:disabled{cursor:default;opacity:.5}.tg-button--default{background:var(--tg-primary, #007a5a);color:#fff}.tg-button--secondary{background:var(--tg-accent, #f4f4f4);color:var(--tg-foreground, #1d1c1d)}.tg-button--outline{border:1px solid var(--tg-border, #ddd);background:var(--tg-card, white)}.tg-button--ghost,.tg-button--link{background:transparent}.tg-button--destructive{background:var(--tg-mention, #e01e5a);color:#fff}.tg-button--md{min-height:2.5rem;padding:.5rem 1rem}.tg-button--sm{min-height:2.25rem;padding:.4rem .75rem}.tg-button--icon{width:2.5rem;height:2.5rem;padding:0}.tg-button--icon-sm{width:1.75rem;height:1.75rem;padding:0}.tg-button--icon-xs{width:1.5rem;height:1.5rem;padding:0}.tg-input,.tg-textarea{width:100%;border:1px solid var(--tg-input, #aaa);border-radius:.375rem;background:var(--tg-card, white);color:var(--tg-foreground, #1d1c1d);font:inherit}.tg-input{min-height:2.5rem;padding:.5rem .75rem}.tg-textarea{min-height:5rem;padding:.6rem .75rem;resize:vertical}.tg-input:focus,.tg-textarea:focus{outline:2px solid color-mix(in srgb,var(--tg-link, #1264a3) 50%,transparent);outline-offset:1px}.tg-skeleton{border-radius:.375rem;background:var(--tg-accent, #f4f4f4);animation:tg-pulse 1.5s ease-in-out infinite}@keyframes tg-pulse{50%{opacity:.5}}:root{color-scheme:light;--background: hsl(0 0% 100%);--foreground: hsl(300 2% 11%);--card: hsl(0 0% 100%);--muted: hsl(300 1% 38%);--muted-surface: hsl(300 4% 96%);--accent: hsl(300 4% 95%);--border: hsl(300 3% 87%);--input: hsl(300 3% 76%);--primary: hsl(164 100% 24%);--sidebar: hsl(282 20% 18%);--sidebar-foreground: hsl(281 10% 93%);--sidebar-muted: hsl(281 8% 70%);--sidebar-hover: hsl(282 16% 24%);--sidebar-active: hsl(206 80% 36%);--sidebar-border: hsl(282 14% 26%);--rail: hsl(282 22% 14%);--mention: hsl(341 76% 50%);--link: hsl(206 80% 36%);--brand: hsl(299 56% 19%);--presence: hsl(155 60% 45%);--tg-background: var(--background);--tg-foreground: var(--foreground);--tg-card: var(--card);--tg-muted: var(--muted);--tg-accent: var(--accent);--tg-border: var(--border);--tg-input: var(--input);--tg-primary: var(--primary);--tg-brand: var(--brand);--tg-link: var(--link);--tg-mention: var(--mention);--tg-rail: var(--rail);--tg-sidebar-foreground: var(--sidebar-foreground);--tg-sidebar-muted: var(--sidebar-muted);--tg-sidebar-hover: var(--sidebar-hover);--tg-sidebar-active: var(--sidebar-active);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Lato,Noto Sans,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}:root[data-theme=dark]{color-scheme:dark;--background: hsl(214 12% 12%);--foreground: hsl(210 3% 82%);--card: hsl(213 10% 14%);--muted: hsl(210 4% 60%);--muted-surface: hsl(213 9% 18%);--accent: hsl(213 9% 20%);--border: hsl(213 8% 22%);--input: hsl(213 8% 30%);--primary: hsl(164 72% 32%);--sidebar: hsl(282 12% 11%);--sidebar-foreground: hsl(281 8% 88%);--sidebar-muted: hsl(281 6% 62%);--sidebar-hover: hsl(282 10% 16%);--sidebar-border: hsl(282 8% 18%);--rail: hsl(282 14% 8%);--link: hsl(198 76% 47%);--brand: hsl(299 40% 30%)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;overflow-x:hidden;background:var(--rail);color:var(--foreground);overscroll-behavior:none}button,input,textarea,select{font:inherit}button{color:inherit}button,select{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid hsl(198 76% 52%);outline-offset:2px}.app-frame{position:relative;width:min(100%,720px);min-height:100vh;min-height:100dvh;margin-inline:auto;overflow:hidden;padding-bottom:calc(64px + env(safe-area-inset-bottom));background:var(--background);box-shadow:0 0 0 1px #ffffff14}.ambient{display:none}.app-header{display:flex;height:calc(46px + env(safe-area-inset-top));align-items:flex-end;justify-content:space-between;padding:env(safe-area-inset-top) max(14px,env(safe-area-inset-right)) 8px max(14px,env(safe-area-inset-left));background:var(--rail);color:#fff}.brand-lockup{color:#fff}.brand-lockup .tg-brand__mark{width:26px;height:26px;border-radius:7px;background:#ffffff24}.brand-lockup .tg-brand__mark svg{width:14px;height:14px}.brand-lockup .tg-brand__copy strong{color:#fff;font-size:12px;letter-spacing:-.02em;text-transform:none}.brand-lockup .tg-brand__copy small{color:#ffffff94;font-size:10px}.avatar-button{position:relative;display:grid;width:30px;height:30px;padding:0;place-items:center;border:0;border-radius:8px;background:#c62f61;color:#fff;font-size:10px;font-weight:800}.avatar-button img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.avatar-spinner{position:absolute;right:-3px;bottom:-3px;width:13px;height:13px;padding:2px;border-radius:50%;background:var(--rail);animation:spin .8s linear infinite}.workspace-picker-wrap{background:var(--sidebar)}.workspace-picker{display:flex;min-height:54px;align-items:center;gap:10px;padding:7px max(14px,env(safe-area-inset-right)) 8px max(14px,env(safe-area-inset-left));border-top:1px solid rgb(255 255 255 / 7%);border-bottom:1px solid var(--sidebar-border);color:#fff}.workspace-picker .tg-workspace-avatar{width:36px;height:36px;border-radius:8px}.workspace-picker-copy{display:grid;min-width:0;flex:1}.workspace-picker-copy small{color:var(--sidebar-muted);font-size:10px;line-height:13px}.workspace-picker select{width:100%;appearance:none;border:0;outline:0;background:transparent;color:#fff;font-size:15px;font-weight:800;line-height:20px}.picker-chevron{width:15px;color:var(--sidebar-muted)}.workspace-empty-chip{display:flex;min-height:52px;align-items:center;gap:9px;padding:0 14px;background:var(--sidebar);color:var(--sidebar-muted);font-size:13px}.workspace-empty-chip svg{width:17px}.app-main{min-height:calc(100dvh - 164px);background:var(--background)}.view-stack{display:grid;gap:18px;padding:16px}.stagger>*{animation:desktop-in .18s both ease-out}.stagger>*:nth-child(2){animation-delay:25ms}.stagger>*:nth-child(3){animation-delay:50ms}.stagger>*:nth-child(4){animation-delay:75ms}.hero-card{position:relative;overflow:hidden;padding:18px 18px 14px;border:1px solid var(--border);border-radius:8px;background:var(--card)}.hero-kicker{color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.hero-card h1{margin:8px 0 5px;font-size:24px;line-height:1.15;letter-spacing:-.035em}.hero-card>p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.hero-stats{display:flex;gap:16px;margin-top:16px;padding-top:12px;border-top:1px solid var(--border)}.hero-stats span{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:11px;font-weight:600}.hero-stats svg{width:14px;height:14px}.hero-orbit{display:none}.section-heading{display:flex;min-height:25px;align-items:center;justify-content:space-between;margin-bottom:6px}.section-heading h2{margin:0;font-size:13px;font-weight:700}.section-heading>span{color:var(--muted);font-size:10px;font-weight:600}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric-card{position:relative;display:grid;min-height:106px;padding:12px;border:1px solid var(--border);border-radius:7px;background:var(--card);text-align:left}.metric-card:hover{background:var(--accent)}.metric-card>svg:first-child{width:17px;height:17px;color:var(--primary)}.tone-apricot>svg:first-child{color:var(--mention)}.metric-card strong{align-self:end;font-size:28px;line-height:1}.metric-card span{margin-top:2px;color:var(--muted);font-size:11px}.metric-card>svg:last-child{position:absolute;top:11px;right:11px;width:14px;color:var(--muted)}.pulse-card{padding:13px;border:1px solid var(--border);border-radius:7px;background:var(--card)}.pulse-copy{display:flex;gap:10px}.pulse-icon{display:grid;width:32px;height:32px;flex:0 0 auto;place-items:center;border-radius:6px;background:var(--muted-surface);color:var(--primary)}.pulse-icon svg{width:16px}.pulse-copy strong{font-size:13px}.pulse-copy p{margin:3px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.text-button{display:inline-flex;align-items:center;gap:5px;margin:12px 0 0 42px;padding:0;border:0;background:transparent;color:var(--link);font-size:11px;font-weight:600}.text-button svg{width:13px}.tg-view-heading{min-height:42px;align-items:flex-start;padding-bottom:10px;border-bottom:1px solid var(--border)}.tg-view-heading>div>span{color:var(--muted);font-size:9px;letter-spacing:.08em}.tg-view-heading h1{margin:4px 0 0;font-size:18px;line-height:22px;letter-spacing:-.02em}.tg-view-heading p{margin-top:3px;font-size:11px}.round-action{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:6px;background:var(--primary);color:#fff}.round-action svg{width:16px}.search-field{display:flex;height:36px;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--input);border-radius:6px;background:var(--card)}.search-field>svg{width:15px;color:var(--muted)}.search-field input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--foreground);font-size:13px}.search-field button{display:grid;width:24px;height:24px;padding:0;place-items:center;border:0;border-radius:4px;background:var(--accent)}.search-field button svg{width:13px}.channel-section{overflow:hidden;padding:7px 0 9px;border:1px solid var(--sidebar-border);border-radius:7px;background:var(--sidebar)}.channel-section .section-heading{min-height:27px;margin:0 9px 2px;color:var(--sidebar-muted)}.channel-section .section-heading h2{color:var(--sidebar-muted);font-size:12px;font-weight:600}.channel-section .section-heading>span{color:var(--sidebar-muted)}.channel-list{display:grid}.channel-directory-row{position:relative;min-width:0}.channel-directory-row .tg-channel{width:calc(100% - 16px);padding-right:34px}.channel-canvas-button{position:absolute;top:2px;right:11px;display:grid;width:24px;height:24px;padding:0;place-items:center;border:0;border-radius:4px;background:transparent;color:var(--sidebar-muted)}.channel-canvas-button:hover{background:var(--sidebar-hover);color:#fff}.channel-canvas-button svg{width:13px}.tg-tabs{overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.tg-tabs::-webkit-scrollbar{display:none}.tg-tab{flex:0 0 auto}.tg-later-row--compact{min-height:58px;padding:10px 8px;border-bottom:1px solid var(--border)}.tg-later-row__actions{align-self:center}.tg-later-row__actions .tg-button--sm{min-height:28px;padding:3px 7px;font-size:11px}.later-list{display:grid;margin:0;padding:0;overflow:hidden;border:1px solid var(--border);border-radius:7px;background:var(--card);list-style:none}.later-list>:last-child{border-bottom:0}.document-grid{display:grid;gap:8px}.document-grid .tg-canvas-card--summary,.view-stack>section .tg-canvas-card--summary{border-radius:7px}.quick-create-list{display:grid;overflow:hidden;border:1px solid var(--border);border-radius:7px;background:var(--card)}.quick-create-list button{display:flex;min-height:38px;align-items:center;justify-content:space-between;padding:0 11px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--foreground);font-size:12px}.quick-create-list button:last-child{border-bottom:0}.quick-create-list button:hover{background:var(--accent)}.quick-create-list span{display:flex;align-items:center;gap:7px}.quick-create-list svg{width:14px}.bottom-nav{position:fixed;right:0;bottom:0;left:0;z-index:20;display:grid;width:min(100%,720px);height:calc(54px + env(safe-area-inset-bottom));grid-template-columns:repeat(4,1fr);margin-inline:auto;padding:4px 8px env(safe-area-inset-bottom);border-top:1px solid rgb(255 255 255 / 8%);background:var(--rail);box-shadow:0 -4px 18px #00000029}.bottom-nav button{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:3px 2px;border:0;border-radius:7px;background:transparent;color:var(--sidebar-muted);font-size:9px;font-weight:600}.bottom-nav button.active{background:#ffffff1f;color:#fff}.bottom-nav button>span{position:relative;display:grid;place-items:center}.bottom-nav svg{width:19px;height:19px}.bottom-nav i{position:absolute;top:-4px;right:-9px;display:grid;min-width:15px;height:15px;place-items:center;padding:0 3px;border-radius:999px;background:var(--mention);color:#fff;font-size:8px;font-style:normal}.editor-overlay{position:fixed;inset:0;z-index:50;display:flex;width:min(100%,720px);flex-direction:column;margin-inline:auto;background:var(--background);animation:desktop-in .15s ease-out}.editor-header{display:grid;min-height:calc(48px + env(safe-area-inset-top));grid-template-columns:34px minmax(0,1fr) auto;align-items:end;gap:8px;padding:env(safe-area-inset-top) 12px 8px;border-bottom:1px solid var(--border);background:var(--card)}.editor-header>button:first-child{display:grid;width:30px;height:30px;padding:0;place-items:center;border:0;border-radius:5px;background:var(--accent)}.editor-header>button:first-child svg{width:15px}.editor-header>span{display:grid;min-width:0}.editor-header small,.editor-header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-header small{color:var(--muted);font-size:10px}.editor-header strong{font-size:12px}.save-button{min-height:30px;background:var(--primary);font-size:12px}.editor-paper{display:flex;min-height:0;flex:1;flex-direction:column;background:var(--background)}.editor-title{min-height:54px;padding:12px 16px;border:0;border-radius:0;background:transparent;font-size:18px;font-weight:700}.paper-rule{height:1px;margin:0 16px;background:var(--border)}.editor-paper textarea{min-height:0;flex:1;padding:14px 16px;border:0;border-radius:0;outline:0;background:transparent;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.75;resize:none}.sheet-scrim{position:fixed;inset:0;z-index:45;display:flex;align-items:flex-end;justify-content:center;padding:18px;background:#0000007a}.reminder-sheet{width:min(100%,440px);padding:18px;border:1px solid var(--border);border-radius:9px;background:var(--card);box-shadow:0 18px 60px #00000047;animation:sheet-in .16s ease-out}.sheet-handle{display:none}.sheet-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.sheet-heading small{color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.08em}.sheet-heading h2{margin:3px 0 0;font-size:18px}.sheet-heading button{display:grid;width:28px;height:28px;padding:0;place-items:center;border:0;border-radius:5px;background:var(--accent)}.sheet-heading svg{width:14px}.reminder-sheet label{display:grid;gap:5px;margin-top:12px;font-size:12px;font-weight:600}.reminder-sheet .tg-input,.reminder-sheet .tg-textarea{font-size:13px}.primary-button{width:100%;margin-top:16px;background:var(--primary)}.toast{position:fixed;right:16px;bottom:calc(64px + env(safe-area-inset-bottom));z-index:80;max-width:calc(100% - 32px);padding:9px 12px;border-radius:6px;background:var(--foreground);box-shadow:0 8px 30px #00000038;color:var(--background);font-size:12px;animation:toast-in .18s ease-out}.center-screen{display:flex;min-height:100vh;min-height:100dvh;flex-direction:column;align-items:center;justify-content:center;padding:30px;background:var(--background);text-align:center}.loading-line{position:relative;width:112px;height:2px;margin-top:18px;overflow:hidden;border-radius:999px;background:var(--border)}.loading-line:after{position:absolute;inset:0;width:44%;border-radius:inherit;background:var(--primary);content:"";animation:loading 1.1s infinite ease-in-out}.error-icon{display:grid;width:38px;height:38px;margin-bottom:14px;place-items:center;border-radius:7px;background:color-mix(in srgb,var(--mention) 12%,transparent);color:var(--mention)}.error-icon svg{width:19px}.error-screen h1,.empty-workspace h1{max-width:340px;margin:8px 0;font-size:20px}.error-screen p,.empty-workspace p{max-width:360px;margin:0;color:var(--muted);font-size:13px;line-height:1.5}.eyebrow{color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.08em}.empty-workspace{display:flex;min-height:calc(100dvh - 150px);flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center}.empty-workspace>span{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;background:var(--accent);color:var(--muted)}.empty-workspace svg{width:20px}.content-skeleton{display:grid;gap:10px;padding:16px}.content-skeleton div{height:96px;border-radius:7px;background:var(--accent);animation:pulse 1.4s infinite ease-in-out}.content-skeleton div:nth-child(2){height:58px}.content-skeleton div:nth-child(3){height:132px}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes loading{0%{transform:translate(-110%)}to{transform:translate(260%)}}@keyframes pulse{50%{opacity:.55}}@keyframes desktop-in{0%{opacity:0;transform:translateY(3px)}}@keyframes sheet-in{0%{opacity:0;transform:translateY(8px)}}@keyframes toast-in{0%{opacity:0;transform:translateY(4px)}}@media (min-width: 560px){.view-stack{padding:20px 24px}.metric-grid{grid-template-columns:repeat(2,180px)}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
