:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#252b36;background:#fff;font-synthesis:none;--surface: #fff;--sidebar: #f5f6f8;--line: #e2e5eb;--muted: #596474;--selected-text: var(--primary);--primary: #245c86;--selected: #e2edf6;--band: #f6f8fb;--danger: #a93838;--input-height: 42px;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a.button{cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:9px 14px;background:var(--surface);min-height:40px;transition:background .12s}a.button{display:inline-flex;align-items:center;box-sizing:border-box;color:inherit;text-decoration:none}button:hover,a.button:hover{background:var(--selected)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #619ac6;outline-offset:3px}button.primary{background:var(--primary);color:#fff;border-color:var(--primary)}button.primary:hover{filter:brightness(1.12)}button.danger,.error{color:var(--danger)}input:not([type=checkbox]):not([type=color]),select,textarea{border:1px solid var(--line);border-radius:7px;padding:10px 12px;background:var(--surface);min-width:0}.notes-preview{border:1px solid var(--line);border-radius:7px;padding:10px 12px;background:var(--surface);cursor:text}.notes-preview:not(:has(.markdown)){color:var(--muted)}.notes-preview .markdown>:last-child{margin-bottom:0}.notes-field textarea,.notes-preview{height:7rem;overflow:auto;resize:none;font-size:15px;line-height:1.6}input:focus-visible,textarea:focus-visible,select:focus-visible,.notes-preview:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}input[type=checkbox]:checked:focus-visible{outline-color:var(--surface);outline-offset:-4px}input[type=checkbox]{margin:0;flex-shrink:0;accent-color:var(--primary)}input:not([type=checkbox]):not([type=radio]):not([type=color]),select{min-height:var(--input-height)}select{appearance:none;padding-right:32px;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:right 16px center,right 11px center;background-size:5px 5px;background-repeat:no-repeat}@media(forced-colors:active){select{appearance:auto;background-image:none}}input[type=checkbox]:where(:not(.schedule-toggle input)){appearance:none;display:inline-grid;place-items:center;width:18px;height:18px;padding:0;border:1px solid var(--muted);border-radius:4px;background:var(--surface);cursor:pointer}input[type=checkbox]:where(:not(.schedule-toggle input)):checked{border-color:var(--primary);background:var(--primary)}input[type=checkbox]:where(:not(.schedule-toggle input)):checked:after{content:"";box-sizing:border-box;width:6px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}input[type=checkbox]:disabled{opacity:.45;cursor:default}textarea{resize:vertical;line-height:1.6}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-.7px;font-weight:650;margin-bottom:0}h2{font-size:19px}h3{font-size:14px;margin:24px 0 12px}p{line-height:1.6}a{color:var(--primary)}.app{display:flex;min-height:100dvh}.sidebar{background:var(--sidebar);width:252px;flex-shrink:0;height:100dvh;position:sticky;top:0;padding:28px 16px 16px;display:flex;flex-direction:column;border-right:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:650;padding:0 10px 30px}.brand img{width:32px;height:32px}.new-task{display:flex;align-items:center;gap:8px;margin-bottom:30px}kbd{font-family:inherit;white-space:nowrap;font-size:12px;margin-left:auto}.sidebar nav{overflow:auto;flex:1}.nav{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;border-color:transparent;margin-bottom:4px;padding:10px 12px;min-height:44px;font-size:14px}.nav>span:first-child:not(.artwork){font-size:20px;width:22px;text-align:center}.nav.active{background:var(--selected);color:var(--selected-text);font-weight:600}.count{font-size:12px;color:var(--muted);margin-left:auto;font-variant-numeric:tabular-nums}.nav-section{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);padding:24px 12px 8px}.icon-button{padding:5px;border:0;background:transparent;width:36px;min-height:36px;font-size:22px}.sidebar-bottom{border-top:1px solid var(--line);padding-top:15px;margin-top:20px}.sync-pill{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:var(--muted);font-size:12px;text-align:left;padding:10px 12px;width:100%}.status-dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#8d959f}.status-dot.synced{background:#39846a}.status-dot.syncing,.status-dot.pending{background:#a27837}.status-dot.error{background:var(--danger)}.workspace{width:100%;max-width:1100px;min-width:0;padding:46px 54px 24px;margin:auto;align-self:flex-start;min-height:100dvh;display:flex;flex-direction:column}.page-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:32px}.eyebrow{color:var(--muted);font-size:12px;letter-spacing:.3px;margin-bottom:8px}.header-actions{display:flex;gap:8px}.mobile-add{display:none}.toolbar{display:flex;align-items:center;gap:10px;padding-bottom:22px;border-bottom:1px solid var(--line)}.search{position:relative;flex:1;display:flex;align-items:center}.search>span{position:absolute;left:12px;font-size:23px;color:var(--muted)}.search input{width:100%;padding-left:38px!important;background:var(--sidebar)!important;border-color:transparent!important}.toolbar select{border-color:transparent;background-color:var(--sidebar)}.toolbar button{font-size:13px}.task-groups{flex:1}.group-heading{display:flex;align-items:center;gap:12px;background:none;border:0;border-radius:0;width:100%;text-align:left;padding:20px 10px 12px;min-height:54px}.group-heading h2{font-size:13px;font-weight:600;margin:0}.group-heading>span:first-child{width:12px;color:var(--muted)}.group-heading .count{margin-left:2px}.group-band{background:var(--band)}.overdue .group-heading h2,.overdue .metadata{color:var(--danger)}.task-row{display:flex;gap:12px;align-items:center;padding:7px 12px;min-height:64px;border-bottom:1px solid var(--line)}.task-row:last-child{border-bottom:0}.task-row.selected{background:var(--selected)}.task-open{flex:1;min-width:0;text-align:left;display:flex;flex-direction:column;gap:5px;border:0;background:transparent;padding:6px 0}.task-title{font-size:15px;line-height:1.4;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.metadata{font-size:11px;color:var(--muted);line-height:1.4;overflow-wrap:anywhere}.metadata:empty{display:none}.completion{border:1px solid #78818d;padding:3px;width:25px;height:25px;min-height:25px;border-radius:50%;flex-shrink:0;position:relative;background:#b9c1cc}.completion:before{content:"";position:absolute;inset:-9px;border-radius:50%}.completion span{display:flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:var(--surface);font-size:12px}.completed .task-title,.checklist-read.completed{text-decoration:line-through;color:var(--muted)}.completed .completion span{background:var(--primary);color:#fff}.artwork{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;border:2px solid;border-radius:50%;background:#f4e6c8;color:#302938;padding:2px}.artwork img{width:26px;height:26px;object-fit:contain}.nav .artwork{width:25px;height:25px}.nav .artwork img{width:19px;height:19px}.tag-strip{display:flex;align-items:center;gap:4px;border:0;background:transparent;padding:3px;min-height:44px}.overflow-count{padding:4px 6px;background:var(--selected);border-radius:10px;font-size:11px}.favorite{font-size:19px;color:var(--muted)}.favorite[aria-pressed=true]{color:#9b762a}.empty{text-align:center;padding:50px 20px;color:var(--muted)}.empty>span{display:inline-flex;align-items:center;justify-content:center;width:55px;height:55px;background:var(--selected);color:var(--primary);border-radius:50%;font-size:27px;margin-bottom:15px}.empty-group{color:var(--muted);font-size:13px;padding:19px 36px;margin:0}.workspace-footer{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:12px;margin-top:40px;padding-top:20px;border-top:1px solid var(--line)}.workspace-footer button{margin-left:auto;font-size:12px}.selection-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--selected);padding:10px;margin:15px 0;font-size:12px}.selection-bar button{font-size:12px}.tag-card{display:flex;align-items:center;gap:8px;padding:14px 0;border-bottom:1px solid var(--line)}.tag-open{display:flex;align-items:center;gap:12px;flex:1;text-align:left;border:0;background:transparent}.tag-open .muted{margin-left:auto;font-size:12px}.muted,.hint{color:var(--muted)}.hint{font-size:12px;line-height:1.6;margin:8px 0 18px}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.modal{border:1px solid var(--line);border-radius:16px;padding:0;width:min(540px,92vw);max-height:90dvh;background:var(--surface);color:inherit;box-shadow:0 28px 90px #0003;overflow:hidden}.modal[open]{display:flex;flex-direction:column}.modal.wide{width:min(1000px,92vw)}.modal::backdrop{background:#16233166;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal>header{padding:18px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0}.modal>header h2{margin:0}.modal-content{padding:24px;overflow:auto;min-height:0;overscroll-behavior:contain}.modal>footer{display:flex;align-items:center;gap:10px;justify-content:flex-end;padding:16px 24px;background:var(--sidebar);border-top:1px solid var(--line);flex-shrink:0}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;font-size:14px}.field>label,.field>.field-label{font-size:12px;font-weight:600;color:var(--muted)}.field input,.field select,.field textarea{width:100%}.time-input{display:flex;align-items:center;gap:6px}.field .time-input input{width:4.5em;text-align:center;font-variant-numeric:tabular-nums}.task-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.task-meta{border-left:1px solid var(--line);padding-left:28px}.task-meta h2:first-child{margin-top:0}.task-meta p{font-size:14px;overflow-wrap:anywhere}.title-input{font-size:22px!important}.detail-title{font-size:26px;margin-bottom:22px;overflow-wrap:anywhere}.markdown{overflow-wrap:anywhere;line-height:1.7;font-size:15px}.markdown li:has(>input[type=checkbox]:first-child,>p:first-child>input[type=checkbox]:first-child){list-style-type:none}.markdown h1{font-size:25px}.markdown h2{font-size:22px}.markdown pre{white-space:pre-wrap;background:var(--sidebar);padding:12px}.markdown img{max-width:100%}.markdown table{max-width:100%;display:block;overflow:auto}.steps{display:flex;flex-direction:column;gap:8px;margin-bottom:15px}.step{display:flex;align-items:center;gap:6px}.step input:not([type=checkbox]){flex:1;width:0}.step button{padding:5px;min-width:28px;border:0}.chips{display:flex;flex-wrap:wrap;gap:7px;margin:5px 0 18px}.chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid var(--line);border-radius:20px;background:var(--surface);font-size:12px;min-height:36px}.chip .artwork{width:24px;height:24px}.chip .artwork img{width:18px;height:18px}.chip.active{background:var(--selected);border-color:var(--primary)}.toggle{display:flex;align-items:center;gap:12px;font-size:14px;margin:16px 0;line-height:1.5;min-height:var(--input-height)}.color-field{display:flex;gap:12px;align-items:center}.color-field input[type=color]{width:50px;height:40px;border:0;background:transparent}.icon-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.icon-grid button{padding:6px;min-height:48px}.icon-grid button[aria-pressed=true]{background:var(--selected);border-color:var(--primary)}.settings-actions{display:flex;flex-wrap:wrap;gap:8px}.settings-actions button{font-size:13px}.spacer{flex:1}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:#253345;color:#fff;padding:12px 14px 12px 20px;border-radius:10px;display:flex;align-items:center;gap:18px;max-width:min(640px,90vw);box-shadow:0 4px 20px #0002;z-index:5;font-size:13px}.toast button{background:transparent;color:#fff;border:0;font-size:20px;padding:0 8px}.banner{display:flex;align-items:center;gap:15px;padding:12px 16px;background:var(--selected);font-size:13px;margin-bottom:20px;border-radius:8px}.conflict-banner{width:100%;border:0;text-align:left;color:var(--danger)}.conflict{padding:16px 0;border-top:1px solid var(--line)}.conflict pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--sidebar);padding:12px}.fatal{padding:20vh 8vw;text-align:center}.compact .task-row{min-height:48px;padding-block:3px}@media(min-width:1000px){.wide .modal-content{overflow:hidden}.wide .task-layout{max-height:calc(90dvh - 190px)}.task-body,.task-meta{overflow:auto;min-height:0;padding-bottom:16px}.task-body{padding-right:4px}}@media(max-width:850px){.workspace{padding:32px 24px}.sidebar{width:215px}.task-layout{grid-template-columns:1fr}.task-meta{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}.modal-content{padding:20px}.tag-card{flex-wrap:wrap}.tag-open{min-width:100%}}@media(max-width:600px){.app{display:block}.sidebar{position:relative;width:100%;height:auto;padding:14px 16px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0 0 12px;font-size:16px}.brand img{width:26px;height:26px}.new-task,.nav-section,.sidebar nav>.nav:nth-of-type(n+5){display:none}.sidebar nav{display:flex;gap:4px}.nav{justify-content:center;gap:6px;padding:8px 5px;font-size:11px;margin:0}.nav>span:first-child:not(.artwork){font-size:17px;width:auto}.nav .count{display:none}.sidebar-bottom{position:absolute;right:12px;top:10px;border:0;margin:0;padding:0;display:flex}.sidebar-bottom .sync-pill{width:28px;overflow:hidden;white-space:nowrap;gap:16px;padding:10px}.sidebar-bottom .nav{font-size:0}.sidebar-bottom .nav span{font-size:21px!important}.workspace{padding:26px 16px;min-height:calc(100dvh - 120px)}.page-header{align-items:flex-start;margin-bottom:24px;gap:12px}.header-actions{flex-direction:column}.header-actions button{font-size:11px;padding:8px 10px;min-height:34px}.mobile-add{display:block}h1{font-size:27px}.eyebrow{font-size:11px}.toolbar{gap:6px}.toolbar input,.toolbar select,.toolbar button{font-size:12px;padding:9px 7px}.toolbar select{padding-right:32px}.search{min-width:80px}.task-row{gap:9px;padding:7px 8px}.task-title{font-size:14px}.tag-strip .artwork{width:27px;height:27px}.tag-strip .artwork img{width:21px;height:21px}.favorite{width:25px;font-size:18px}.metadata{font-size:10px}.workspace-footer{gap:12px;flex-wrap:wrap}.workspace-footer>span:nth-child(2){display:none}.modal{width:96vw;max-height:94dvh}.modal.wide{width:96vw}.modal>header{padding:14px 18px}.modal>footer{padding:12px 18px}.icon-grid{grid-template-columns:repeat(5,1fr)}.step{gap:2px}.step button{min-width:25px}.toast{bottom:12px}}:root[data-theme=dark]{--surface: #1e242c;--sidebar: #191e25;--line: #343d49;--muted: #a0aab8;--primary: #346d99;--selected-text: #b4dafa;--selected: #283f53;--band: #232c36;--danger: #f08e8e;background:var(--surface);color:#e4e9ef;color-scheme:dark}@media(prefers-color-scheme:dark){:root[data-theme=system]{--surface: #1e242c;--sidebar: #191e25;--line: #343d49;--muted: #a0aab8;--primary: #346d99;--selected-text: #b4dafa;--selected: #283f53;--band: #232c36;--danger: #f08e8e;background:var(--surface);color:#e4e9ef;color-scheme:dark}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}pre.command{margin:.25rem 0 .5rem;padding:.6rem .75rem;border-radius:8px;background:var(--surface-2, rgba(127, 127, 127, .12));font-size:.85rem;white-space:pre-wrap;word-break:break-all;-webkit-user-select:all;user-select:all}.task-column{min-width:0;margin:0;padding-block-start:0;padding-inline-start:0;border:0}.task-column.task-meta{border-inline-start:1px solid var(--line);padding-inline-start:28px}.inline-value{max-width:100%;border-color:transparent;background:transparent;text-align:start;overflow-wrap:anywhere;padding:5px 8px;margin-inline-start:-8px;font:inherit;letter-spacing:inherit}.inline-markdown{cursor:text}.inline-markdown:hover{background:var(--band)}.inline-step{display:flex;align-items:center}@media(max-width:850px){.task-column.task-meta{border-inline-start:0;border-top:1px solid var(--line);padding:20px 0 0}}.edit-mark{vertical-align:baseline;margin-inline-start:8px;color:var(--muted)}.inline-value:hover .edit-mark,.inline-value:focus-visible .edit-mark{color:var(--primary)}.priority-scale{position:relative;min-inline-size:0;padding:0;margin:0 0 24px;border:0}.priority-scale legend{float:inline-start;padding:0;font-size:14px;font-weight:650;line-height:22px}.priority-value{text-align:end;color:var(--muted);font-size:14px;line-height:22px}.priority-track{clear:both;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--sidebar);border:1px solid var(--line);border-radius:28px;padding:3px;margin-top:8px}.priority-track label{display:grid;position:relative;place-items:center;height:46px;cursor:pointer}.priority-track input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit}.priority-track span{display:grid;place-items:center;width:min(100%,40px);height:40px;border-radius:50%;color:var(--muted)}.priority-track label:hover span{background:var(--selected)}.priority-track input:checked+span{background:var(--primary);color:#fff}.priority-track input:focus-visible+span{outline:2px solid currentColor;outline-offset:2px;box-shadow:0 0 0 4px var(--primary)}.priority-unchanged,.step-check{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}.inline-value{display:inline-flex;align-items:center;gap:12px;min-height:44px;max-width:100%;vertical-align:middle;margin:0;padding:6px 0}.inline-content{min-width:0}.inline-content .chips{margin:0;gap:8px}.inline-content .chip{max-width:100%}.inline-content .artwork{flex-shrink:0}.inline-value .edit-mark{flex:none;margin:0 4px 0 0}.task-column>h2{font-size:1em;margin:20px 0 4px}.task-column>h2:has(.inline-value){margin-block:12px 0}.task-column .detail-title{margin:0 0 8px}.task-column .toggle{min-height:44px;margin:8px 0;cursor:pointer}.task-column input[type=checkbox]{margin:0}.step-check{flex:0 0 44px;justify-content:center}.step-check input[type=checkbox]{width:22px;height:22px;border-radius:5px}.step-check input[type=checkbox]:checked:after{width:5px;height:10px;border-width:0 2px 2px 0}.step-actions{display:flex;align-items:center;gap:4px}.task-column .step{gap:8px}.step-actions button,.wide .icon-button{display:inline-grid;place-items:center;width:44px;min-height:44px;padding:0}.inline-step{gap:4px}.task-column button.chip,.task-column>button,.wide>footer button{min-height:44px}@media(max-width:600px){.task-column .step{display:grid;grid-template-columns:minmax(0,1fr);gap:2px 8px;padding-bottom:8px;border-bottom:1px solid var(--line)}.step input:not([type=checkbox]){width:100%}.step-actions{justify-content:flex-end}}.schedule-editor{margin-block:16px}.schedule-heading,.schedule-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;font-size:14px;font-weight:600}.schedule-editor>input{width:100%;min-height:44px}.schedule-heading .clear-date{border:0;padding-inline:6px;background:transparent;color:var(--muted);min-height:44px;font-size:13px}.schedule-heading .clear-date:hover{background:var(--selected)}.schedule-shortcuts{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 16px}.schedule-shortcuts button{flex:1 1 auto;min-height:44px;padding:6px 8px;background:var(--band);font-size:13px}.schedule-shortcuts button[aria-pressed=true]{background:var(--selected);border-color:var(--primary);font-weight:600}.schedule-toggle{border-top:1px solid var(--line);cursor:pointer}.schedule-toggle input[type=checkbox]{appearance:none;position:relative;margin:0;width:38px;height:24px;border:1px solid var(--muted);background:var(--sidebar);border-radius:14px;cursor:pointer}.schedule-toggle input:before{content:"";position:absolute;width:14px;height:14px;left:4px;top:4px;border-radius:50%;background:var(--muted)}.schedule-toggle input:checked{background:var(--primary);border-color:var(--primary)}.schedule-toggle input:checked:before{transform:translate(14px);background:#fff}.schedule-settings{padding:4px 0 12px}.schedule-settings .field{margin-bottom:0}.schedule-zone summary{cursor:pointer;color:var(--muted);font-size:13px;line-height:1.5;padding-block:12px;overflow-wrap:anywhere}.schedule-caption{display:block;font-weight:600;font-size:12px;color:var(--muted);margin-bottom:8px}.schedule-cadence{display:grid;grid-template-columns:5em minmax(0,1fr);gap:8px}.schedule-cadence>*,.schedule-settings .time-input input{min-height:44px}.schedule-settings .schedule-preview{margin:12px 0 0;color:var(--muted);font-size:13px}@media(forced-colors:active){input[type=checkbox]:where(:not(.schedule-toggle input)),.schedule-toggle input[type=checkbox]{appearance:auto}input[type=checkbox]:where(:not(.schedule-toggle input)):checked:after{content:none}.schedule-toggle input:before{display:none}}.task-icon-label{display:inline-flex;align-items:center;gap:10px;vertical-align:middle;min-width:0}.task-setting-icon{width:20px;height:20px;flex-shrink:0;color:var(--muted)}.schedule-toggle:has(input:checked) .task-setting-icon{color:var(--primary)}.rollover-setting{margin-block:12px}.metadata .task-setting-icon{width:16px;height:16px;margin-inline-start:6px;vertical-align:-3px;color:inherit}.step-field{display:flex;align-items:center;flex:1;min-width:0;gap:4px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.step-composer{margin-block:6px 12px;background:var(--band)}.step-field:has(input:not([type=checkbox]):focus){background:var(--surface);border-color:var(--primary);outline:2px solid var(--primary);outline-offset:-2px}.step-field input:not([type=checkbox]){flex:1;width:0;min-width:0;min-height:44px;padding:8px 12px 8px 0;border:0;background:transparent;outline:none}.step-field input::placeholder{color:var(--muted);opacity:1}.inline-step{border:1px solid transparent}.search input::placeholder{color:var(--muted);opacity:1}#task-title-hint{display:block;color:var(--muted);margin:-10px 0 16px}.modal footer kbd{margin-left:6px}
