:root[data-theme=light]{--bg:#fff;--sunken:#f6f8fc;--surface:#fff;--surface-2:#f1f3f4;--surface-3:#e8eaed;--ink:#202124;--ink-2:#3c4043;--muted:#5f6368;--faint:#9aa0a6;--line:#e8eaed;--line-strong:#dadce0;--accent:#1a73e8;--accent-soft:#d3e3fd;--accent-ink:#0b57d0;--on-accent:#fff;--row-hover:#f2f6fc;--star:#f9ab00;--green:#1e8e3e;--red:#d93025;--red-soft:#fce8e6;--amber:#f29900;--kbd-bg:#3c404314;--kbd-ink:#3c4043;--toast-bg:#202124;--toast-ink:#fff;--shadow-sm:0 1px 2px #3c40431a;--shadow-md:0 1px 2px #3c40431a, 0 2px 6px #3c40431f;--shadow-lg:0 4px 8px #3c40431f, 0 12px 28px #3c40432e;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#1f1f1f;--sunken:#181818;--surface:#2d2e30;--surface-2:#3c4043;--surface-3:#4b4d50;--ink:#e8eaed;--ink-2:#c4c7c5;--muted:#9aa0a6;--faint:#6e7174;--line:#e8eaed1f;--line-strong:#e8eaed38;--accent:#8ab4f8;--accent-soft:#8ab4f82e;--accent-ink:#aecbfa;--on-accent:#202124;--row-hover:#e8eaed0f;--star:#fdd663;--green:#81c995;--red:#f28b82;--red-soft:#f28b8226;--amber:#fdd663;--kbd-bg:#e8eaed1a;--kbd-ink:#c4c7c5;--toast-bg:#e8eaed;--toast-ink:#202124;--shadow-sm:0 1px 2px #0006;--shadow-md:0 2px 6px #0006;--shadow-lg:0 4px 8px #00000073, 0 12px 28px #0000008c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root{--font:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono:ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, "Roboto Mono", monospace;--row-h:40px}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{font-family:var(--font);color:var(--ink);background:var(--sunken);-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.5;overflow:hidden}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0}button:disabled{cursor:default;opacity:.4}a{color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:1px}::selection{background:var(--accent-soft);color:var(--accent-ink)}kbd{min-width:18px;height:18px;font-family:var(--mono);color:var(--kbd-ink);background:var(--kbd-bg);border-radius:4px;place-items:center;padding:0 5px;font-size:10.5px;font-weight:500;display:inline-grid}.splash{height:100%;color:var(--muted);place-items:center;display:grid}.app{background:var(--sunken);grid-template:"topbar topbar"56px"sidebar main"minmax(0,1fr)/256px minmax(0,1fr);height:100%;display:grid}.app.sidebar-closed{grid-template-columns:0 minmax(0,1fr)}.app.sidebar-closed .sidebar{display:none}.app.sidebar-closed .main{padding-left:8px}.scrim{display:none}.topbar{grid-area:topbar;align-items:center;gap:8px;padding:0 12px 0 8px;display:flex}.brand{flex:none;align-items:center;width:164px;margin:0 8px 0 4px;display:flex}.brand svg{width:auto;height:32px;display:block}[data-theme=dark] .brand-word-path{fill:#c8c8c8}.icon-btn{width:36px;height:36px;color:var(--ink-2);border-radius:50%;flex:none;place-items:center;transition:background-color .1s;display:inline-grid}.icon-btn.small{width:30px;height:30px}.icon-btn:hover:not(:disabled){background:var(--surface-3);color:var(--ink)}.search{background:var(--surface-3);max-width:720px;height:46px;color:var(--muted);border-radius:24px;flex:1;align-items:center;gap:12px;padding:0 8px 0 16px;transition:background-color .12s,box-shadow .12s;display:flex}[data-theme=light] .search{background:#eaf1fb}.search:focus-within{background:var(--surface);box-shadow:var(--shadow-md)}.search input{min-width:0;height:100%;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:16px}.search input::placeholder{color:var(--muted)}.search kbd{margin-right:8px}.topbar-end{align-items:center;gap:4px;margin-left:auto;display:flex}[data-theme=light] .icon-moon,[data-theme=dark] .icon-sun{display:none}.icon-sun,.icon-moon{display:grid}.profile-btn{background:var(--accent);width:32px;height:32px;color:var(--on-accent);border-radius:50%;place-items:center;margin-left:6px;font-size:12px;font-weight:600;display:inline-grid;overflow:hidden}.profile-btn img{object-fit:cover;width:100%;height:100%}.sidebar{scrollbar-width:thin;flex-direction:column;grid-area:sidebar;padding:8px 0 16px;display:flex;overflow-y:auto}.compose-btn{width:fit-content;height:56px;color:var(--on-accent);background:var(--accent);box-shadow:var(--shadow-sm);border-radius:16px;flex:none;align-items:center;gap:12px;margin:0 0 16px 8px;padding:0 20px 0 16px;font-weight:500;transition:box-shadow .12s,filter .1s;display:flex}.compose-btn:hover{box-shadow:var(--shadow-md);filter:brightness(1.05)}.compose-btn kbd{color:inherit;background:#fff3}.nav-section{flex-direction:column;padding-right:16px;display:flex}.nav-item{height:32px;color:var(--ink-2);border-radius:0 16px 16px 0;align-items:center;display:flex;position:relative}.nav-item:hover{background:var(--surface-3)}.nav-item.active{background:var(--accent-soft);color:var(--accent-ink);font-weight:700}.nav-link{border-radius:inherit;min-width:0;height:100%;font-size:14px;font-weight:inherit;text-align:left;flex:1;align-items:center;gap:18px;padding:0 12px 0 26px;display:flex}.nav-link .icon{flex:none;place-items:center;width:20px;display:grid}.nav-link .text{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.nav-link .count{font-variant-numeric:tabular-nums;font-size:12px}.nav-item:not(.active) .count{color:var(--muted)}.label-dot{border-radius:3px;flex:none;width:12px;height:12px}.status-dot{border-radius:50%;flex:none;width:10px;height:10px}.prio-dot{background:var(--faint);border-radius:2px;flex:none;width:10px;height:10px}.prio-dot.p1{background:var(--red)}.prio-dot.p2{background:var(--amber)}.prio-dot.p3{background:var(--accent)}.delete-x{width:24px;height:24px;color:var(--muted);border-radius:50%;place-items:center;margin-right:6px;font-size:17px;line-height:1;display:none}.nav-item:hover .delete-x,.delete-x:focus-visible{display:grid}.delete-x:hover{background:var(--surface-2);color:var(--red)}.sec-head{letter-spacing:.07em;text-transform:uppercase;color:var(--muted);justify-content:space-between;align-items:center;margin:18px 12px 4px 26px;font-size:11px;font-weight:600;display:flex}.sec-add{width:26px;height:26px;color:var(--muted);border-radius:50%;place-items:center;display:grid}.sec-add:hover{background:var(--surface-3);color:var(--ink)}.sec-form{padding:2px 16px 6px 26px}.sec-form input{border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;width:100%;height:30px;padding:0 10px;font-size:13px}.sec-empty{color:var(--faint);padding:2px 12px 0 26px;font-size:12.5px}.main{grid-area:main;min-height:0;padding:0 16px 16px 0;display:flex}.view{background:var(--surface);border-radius:16px;flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.list-head,.thread-head{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:4px;height:48px;padding:0 12px 0 6px;display:flex}.list-title{text-overflow:ellipsis;white-space:nowrap;margin-left:8px;font-size:15px;font-weight:500;overflow:hidden}.list-count{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:12px}.bulk{flex:1;align-items:center;gap:2px;min-width:0;display:flex}.bulk-sep{background:var(--line-strong);width:1px;height:20px;margin:0 8px}.bulk-count{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:12px}.list-note{color:var(--muted);background:var(--surface-2);text-align:center;padding:10px 20px;font-size:13px}.link-btn{color:var(--accent);font-weight:500;font-size:inherit;margin-left:10px}.link-btn:hover{text-decoration:underline}.task-list{scrollbar-width:thin;flex:1;overflow-y:auto}.task-row{height:var(--row-h);border-bottom:1px solid var(--line);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding:0 12px 0 6px;display:flex;position:relative}.task-row:hover{background:var(--row-hover);box-shadow:inset 1px 0 0 var(--line-strong), inset -1px 0 0 var(--line-strong), 0 1px 3px #3c404333;z-index:1}.task-row.is-selected{background:var(--accent-soft)}.task-row.kb-focus{box-shadow:inset 3px 0 0 var(--accent)}.prio-bar{border-radius:0 2px 2px 0;width:3px;position:absolute;top:6px;bottom:6px;left:0}.prio-bar.p1{background:var(--red)}.prio-bar.p2{background:var(--amber)}.prio-bar.p3{background:var(--accent)}.task-row.kb-focus .prio-bar{display:none}.task-select-wrap{cursor:pointer;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;display:grid}.task-select-wrap:hover{background:var(--surface-3)}.task-select-wrap input{width:16px;height:16px;accent-color:var(--accent);cursor:pointer}.task-star{width:32px;height:32px;color:var(--faint);border-radius:50%;flex:none;place-items:center;display:grid}.task-star:hover{background:var(--surface-3);color:var(--ink-2)}.task-star.starred{color:var(--star)}.task-main{white-space:nowrap;flex:1;align-items:baseline;gap:8px;min-width:0;margin-left:6px;display:flex;overflow:hidden}.task-title{text-overflow:ellipsis;flex:0 auto;min-width:60px;font-weight:600;overflow:hidden}.task-snippet{min-width:0;color:var(--muted);text-overflow:ellipsis;flex:1 1 0;overflow:hidden}.task-snippet:before{content:"- "}.task-row.is-done .task-title{color:var(--muted);font-weight:400;text-decoration:line-through}.task-meta{flex:none;align-items:center;gap:6px;margin-left:12px;display:flex}.chip-mini{max-width:120px;height:20px;color:var(--ink-2);background:var(--surface-3);text-overflow:ellipsis;white-space:nowrap;border-radius:4px;align-items:center;gap:5px;padding:0 7px;font-size:11.5px;font-weight:500;display:inline-flex;overflow:hidden}.chip-mini .dot{background:var(--dot-color,var(--muted));border-radius:50%;flex:none;width:7px;height:7px}.meta-count{color:var(--muted);font-variant-numeric:tabular-nums;align-items:center;gap:3px;font-size:12px;display:inline-flex}.task-end{flex:none;justify-content:flex-end;align-items:center;width:132px;margin-left:12px;display:flex;position:relative}.task-when{white-space:nowrap;font-size:12px;font-weight:600}.task-date{color:var(--muted);font-weight:500}.task-due.overdue{color:var(--red)}.task-due.today{color:var(--accent-ink)}.snoozed-note{color:var(--amber);align-items:center;gap:4px;display:inline-flex}[data-theme=light] .snoozed-note{color:#b06000}.task-actions{align-items:center;display:none}.task-row:hover .task-actions,.task-actions:focus-within{display:flex}.task-actions:has([aria-expanded=true]){display:flex}.task-row:hover .task-when,.task-actions:focus-within~.task-when{display:none}.task-end:has([aria-expanded=true]) .task-when{display:none}.empty{color:var(--faint);text-align:center;flex:1;place-content:center;justify-items:center;gap:12px;padding:24px;display:grid}.empty p{color:var(--muted)}.thread-pos{color:var(--muted);white-space:nowrap;align-items:center;gap:2px;margin-left:auto;font-size:12px;display:flex}.thread-pos .icon-btn:first-of-type{margin-left:10px}.thread-scroll{scrollbar-width:thin;flex:1;overflow-y:auto}.thread-body{max-width:860px;padding:20px 28px 48px}.thread-title-row{align-items:flex-start;gap:12px;display:flex}.thread-title{resize:none;background:0 0;border:0;border-radius:4px;outline:0;flex:1;min-width:0;font-size:22px;font-weight:400;line-height:1.3;overflow:hidden}.thread-title:focus{background:var(--surface-2);box-shadow:0 0 0 6px var(--surface-2)}.thread-title.is-done{color:var(--muted);text-decoration:line-through}.thread-title-row .task-star{margin-top:-2px}.check-circle{border:1.5px solid var(--faint);color:#0000;border-radius:50%;flex:none;place-items:center;width:18px;height:18px;display:inline-grid}.check-circle.large{width:24px;height:24px;margin-top:3px}.check-circle:hover{border-color:var(--green);color:var(--green)}.check-circle.checked,.is-done>.check-circle{background:var(--green);border-color:var(--green);color:var(--surface)}.check-circle.ghost{border-style:dashed}.chips{flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 20px 36px;display:flex}.task-num{font-family:var(--mono);color:var(--muted);font-size:12px}.chip{border:1px solid var(--line-strong);height:28px;color:var(--ink-2);white-space:nowrap;border-radius:8px;align-items:center;gap:6px;padding:0 11px;font-size:13px;font-weight:500;display:inline-flex}button.chip:hover{background:var(--surface-2)}.chip.due-overdue{color:var(--red);border-color:var(--red)}.chip.due-today{color:var(--accent-ink);border-color:var(--accent)}.chip-x{width:18px;height:18px;color:var(--muted);border-radius:50%;margin:0 -5px 0 0;line-height:1}.chip-x:hover{background:var(--surface-3);color:var(--ink)}.description,.description-edit,.subtasks,.comments,.thread-foot{margin-left:36px}.description{cursor:text;border-radius:8px;margin-left:24px;padding:10px 12px}.description:hover{background:var(--surface-2)}.description.is-empty{color:var(--faint)}.description-edit textarea,.composer-box textarea{border:1px solid var(--line-strong);resize:vertical;background:var(--surface);border-radius:8px;outline:0;width:100%;padding:10px 12px;line-height:1.5}.description-edit textarea:focus,.composer-box:focus-within textarea{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.edit-actions,.composer-foot{align-items:center;gap:8px;margin-top:8px;display:flex}.hint{color:var(--muted);font-size:12px}.rich p{margin:0 0 8px}.rich ul{margin:0 0 8px 20px}.rich>:last-child{margin-bottom:0}.rich code{background:var(--surface-3);font-family:var(--mono);border-radius:4px;padding:1px 5px;font-size:12.5px}.rich a{overflow-wrap:anywhere}.section-title{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);align-items:center;gap:8px;margin:28px 0 10px;font-size:12px;font-weight:600;display:flex}.section-count{letter-spacing:0;color:var(--faint);font-weight:500}.muted{color:var(--muted)}.progress{background:var(--surface-3);border-radius:2px;height:4px;margin-bottom:8px;overflow:hidden}.progress span{background:var(--green);height:100%;transition:width .2s;display:block}.subtasks ul{list-style:none}.subtasks li,.subtask-add{border-radius:6px;align-items:center;gap:10px;min-height:34px;padding:0 6px;display:flex}.subtasks li:hover{background:var(--surface-2)}.subtask-title,.subtask-add input{background:0 0;border:0;outline:0;flex:1;min-width:0;height:30px}.subtasks li.is-done .subtask-title{color:var(--muted);text-decoration:line-through}.subtask-remove{visibility:hidden}.subtasks li:hover .subtask-remove,.subtask-remove:focus-visible{visibility:visible}.subtask-add input::placeholder{color:var(--faint)}.comment,.composer{gap:12px;display:flex}.comment{border-top:1px solid var(--line);padding:14px 0}.comment-main,.composer-box{flex:1;min-width:0}.comment header{align-items:baseline;gap:10px;margin-bottom:2px;display:flex}.comment time{color:var(--muted);font-size:12px}.comment-delete{visibility:hidden;margin-left:auto;font-size:12px}.comment:hover .comment-delete,.comment-delete:focus-visible{visibility:visible}.composer{border-top:1px solid var(--line);padding-top:16px}.avatar{background:var(--accent);width:32px;height:32px;color:var(--on-accent);border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.avatar.system{background:var(--surface-3);color:var(--ink-2)}.thread-foot{color:var(--faint);margin-top:28px;font-size:12px}.btn{border:1px solid var(--line-strong);height:34px;color:var(--accent-ink);white-space:nowrap;border-radius:18px;justify-content:center;align-items:center;padding:0 16px;font-size:13.5px;font-weight:500;text-decoration:none;display:inline-flex}.btn:hover:not(:disabled){background:var(--surface-2)}.btn.primary{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}.btn.primary:hover:not(:disabled){background:var(--accent);filter:brightness(1.08);box-shadow:var(--shadow-sm)}.btn.danger{color:var(--red)}.btn.wide{width:100%;height:40px}.menu-wrap{display:inline-flex;position:relative}.menu{z-index:30;background:var(--surface);min-width:220px;max-height:60vh;box-shadow:var(--shadow-lg);cursor:default;color:var(--ink);border-radius:8px;padding:6px 0;font-weight:400;position:absolute;top:calc(100% + 4px);overflow-y:auto}[data-theme=dark] .menu{background:var(--surface-2)}.menu-left{left:0}.menu-right{right:0}.menu-title{color:var(--muted);padding:6px 16px 4px;font-size:12px;font-weight:600}.menu-empty{color:var(--muted);padding:6px 16px 8px;font-size:13px}.menu-item{text-align:left;white-space:nowrap;align-items:center;gap:10px;width:100%;min-height:34px;padding:0 16px;font-size:13.5px;display:flex}.menu-item:hover,.menu-item:focus-visible{background:var(--surface-3);outline:0}.menu-grow{text-overflow:ellipsis;flex:1;overflow:hidden}.menu-hint{color:var(--muted);margin-left:auto;padding-left:16px;font-size:12px}.menu-form{gap:6px;padding:6px 12px;display:flex}.menu-form input{border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;flex:1;min-width:0;height:32px;padding:0 8px;font-size:13px}.menu-form .btn{border-radius:6px;height:32px;padding:0 12px}.menu-account{border-bottom:1px solid var(--line);flex-direction:column;margin-bottom:4px;padding:8px 16px 10px;display:flex}.menu-account span{color:var(--muted);font-size:12.5px}.compose{z-index:40;background:var(--surface);width:min(520px,100vw - 32px);height:min(480px,100vh - 80px);box-shadow:var(--shadow-lg);border-radius:12px 12px 0 0;flex-direction:column;display:flex;position:fixed;bottom:0;right:24px;overflow:hidden}.compose-head{background:var(--surface-2);justify-content:space-between;align-items:center;height:40px;padding:0 8px 0 16px;font-size:14px;font-weight:500;display:flex}.compose-title,.compose-body{background:0 0;border:0;outline:0;padding:0 16px}.compose-title{border-bottom:1px solid var(--line);flex:none;height:44px;font-size:15px}.compose-body{resize:none;flex:1;padding-top:12px;line-height:1.5}.compose-fields{border-top:1px solid var(--line);flex-wrap:wrap;gap:8px 14px;padding:8px 16px;display:flex}.compose-fields label{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.compose-fields select{border:1px solid var(--line-strong);background:var(--surface);max-width:130px;height:28px;color:var(--ink);border-radius:6px;padding:0 6px;font-size:13px}.compose-foot{align-items:center;gap:10px;padding:10px 16px 14px;display:flex}.toast-region{z-index:50;position:fixed;bottom:24px;left:24px}.toast{background:var(--toast-bg);min-height:48px;color:var(--toast-ink);box-shadow:var(--shadow-lg);border-radius:6px;align-items:center;gap:8px;padding:0 8px 0 20px;animation:.16s ease-out toast-in;display:flex}.toast-undo{color:#8ab4f8;border-radius:4px;margin-left:16px;padding:6px 10px;font-weight:600}[data-theme=dark] .toast-undo{color:#0b57d0}.toast-undo:hover{background:#8ab4f829}.toast-close{width:32px;height:32px;color:inherit;opacity:.8;border-radius:50%;place-items:center;display:grid}.toast-close:hover{opacity:1;background:#7f7f7f40}@keyframes toast-in{0%{opacity:0;transform:translateY(12px)}}.scrim-modal{z-index:60;background:#20212480;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:var(--surface);width:min(720px,100%);max-height:86vh;box-shadow:var(--shadow-lg);border-radius:12px;padding:8px 24px 24px;overflow-y:auto}.modal-head{justify-content:space-between;align-items:center;height:56px;display:flex}.modal-head h2{font-size:18px;font-weight:500}.shortcut-cols{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px 40px;display:grid}.shortcut-cols h3{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:8px 0 6px;font-size:12px;font-weight:600}.shortcut-cols dl>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;height:32px;display:flex}.shortcut-cols dd{align-items:center;gap:6px;display:flex}.shortcut-cols .then{color:var(--muted);margin:0 6px 0 0;font-size:11px}.login{place-items:center;height:100%;padding:16px;display:grid}.login-card{background:var(--surface);width:min(380px,100%);box-shadow:var(--shadow-md);text-align:center;border-radius:16px;flex-direction:column;align-items:center;gap:12px;padding:40px 32px;display:flex}.login-logo svg{width:auto;height:44px}.login-card h1{margin-top:8px;font-size:22px;font-weight:400}.login-card p{color:var(--muted);margin-bottom:8px}.login-error{font-size:13px;color:var(--red)!important}@media (width<=900px){.app,.app.sidebar-closed{grid-template-columns:minmax(0,1fr);grid-template-areas:"topbar""main"}.sidebar{z-index:20;background:var(--sunken);width:272px;box-shadow:var(--shadow-lg);position:fixed;top:56px;bottom:0;left:0}.app:not(.sidebar-closed) .scrim{z-index:19;background:#20212466;display:block;position:fixed;inset:56px 0 0}.main,.app.sidebar-closed .main{padding:0 8px 8px}.brand{width:auto}.task-meta .chip-mini,.task-snippet{display:none}.task-end{width:auto;min-width:64px}.thread-body{padding:16px 16px 40px}.chips,.description-edit,.subtasks,.comments,.thread-foot{margin-left:0}.description{margin-left:-12px}.compose{right:8px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
