.TinyMDE{color:#000;box-sizing:border-box;background-color:#fff;outline:none;min-height:100%;padding:5px;font-size:16px;line-height:24px}.TinyMDE.TinyMDE_empty{position:relative}.TinyMDE.TinyMDE_empty:before{content:attr(data-placeholder);color:#a0a0a0;pointer-events:none;position:absolute}.TMBlankLine{height:24px}.TMH1,.TMSetextH1{margin-bottom:8px;font-size:22px;font-weight:700;line-height:32px}.TMSetextH1{margin-bottom:0}.TMSetextH1Marker{margin-bottom:8px}.TMH2,.TMSetextH2{margin-bottom:4px;font-size:20px;font-weight:700;line-height:28px}.TMMark_TMCode{font-family:monospace;font-size:.9em}.TMFencedCodeBacktick,.TMFencedCodeTilde,.TMIndentedCode,.TMCode{background-color:#e0e0e0;font-family:monospace;font-size:.9em}.TMCodeFenceBacktickOpen,.TMCodeFenceTildeOpen{border-bottom:1px solid silver;font-family:monospace;font-size:.9em}.TMCodeFenceBacktickClose,.TMCodeFenceTildeClose{border-top:1px solid silver;font-family:monospace;font-size:.9em}.TMInfoString{color:#00f}.TMCode{border:1px solid silver;border-radius:2px}.TMBlockquote{border-left:2px solid silver;margin-left:10px;padding-left:10px;font-style:italic}.TMMark{color:#a0a0a0}.TMMark_TMH1,.TMMark_TMH2,.TMMark_TMUL,.TMMark_TMOL{color:#ff8080}.TMMark_TMTask{color:#e0e0e0}.TMCheckbox{color:#0000;caret-color:#000;cursor:pointer;font-family:monospace;position:relative}.TMCheckbox:before{content:"";box-sizing:border-box;pointer-events:none;border:1px solid silver;border-radius:2px;width:.85em;height:.85em;position:absolute;top:50%;left:50%;transform:translate(-50%)translateY(-50%)}.TMCheckbox_checked:before{border-color:#2aa775}.TMCheckbox_checked:after{content:"✓";color:#2aa775;text-align:center;vertical-align:top;box-sizing:border-box;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%)translateY(-50%)}.TMImage{-webkit-text-decoration:underline #0f0;text-decoration:underline #0f0}.TMLink{-webkit-text-decoration:underline #00f;text-decoration:underline #00f}.TMLinkLabel{font-family:monospace;text-decoration:underline}.TMLinkLabel_Definition,.TMLinkLabel_Valid{color:#40c040}.TMLinkLabel_Invalid{color:red}.TMLinkTitle{font-style:italic}.TMLinkDestination,.TMAutolink{color:#00f;text-decoration:underline}.TMHR{position:relative}.TMHR:before{content:"";z-index:0;border-bottom:2px solid gray;width:20%;position:absolute;bottom:50%;left:40%}.TMHTML,.TMHTMLBlock{color:#8000ff;font-family:monospace;font-size:.9em}.TMHTMLBlock{color:#6000c0}.TMCommandBar{box-sizing:content-box;-webkit-user-select:none;user-select:none;scrollbar-width:none;-ms-overflow-style:none;background-color:#f8f8f8;border:4px solid #f8f8f8;height:24px;display:flex;overflow:scroll hidden}.TMCommandBar::-webkit-scrollbar{display:none}.TMCommandButton{box-sizing:border-box;color:#404040;fill:#404040;text-align:center;cursor:pointer;vertical-align:middle;width:24px;height:24px;margin-right:4px;padding:3px;font-family:sans-serif;font-size:20px;line-height:18px;display:inline-block}.TMCommandDivider{box-sizing:content-box;border-left:1px solid silver;border-right:1px solid #fff;width:0;height:24px;margin-left:4px;margin-right:8px}.TMCommandButton_Active{color:navy;fill:navy;background-color:#c0c0ff;font-weight:700}.TMCommandButton_Inactive{background-color:#f8f8f8}.TMCommandButton_Disabled{color:#a0a0a0;fill:#a0a0a0}@media (hover:hover){.TMCommandButton_Active:hover,.TMCommandButton_Disabled:hover,.TMCommandButton_Inactive:hover{fill:#000;background-color:#e0e0ff}}:root{--bg:#f6f5f2;--surface:#fff;--text:#1d1f1e;--muted:#6b706d;--line:#e4e2dc;--accent:#2f6f5e;--accent-ink:#fff;--accent-soft:#e2efe9;--late:#c0442c;--late-soft:#fbe9e4;--radius:14px;--shadow:0 1px 2px #0000000d, 0 2px 8px #0000000a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-tap-highlight-color:transparent;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--bg:#141615;--surface:#1e2120;--text:#ecefed;--muted:#9aa19d;--line:#2d3230;--accent:#5cb89c;--accent-ink:#10251e;--accent-soft:#1f3a32;--late:#ff8a70;--late-soft:#3a221c;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);margin:0}body{font-size:16px;line-height:1.4}h1,h2,h3{margin:0}h1{letter-spacing:-.02em;font-size:1.75rem}h2{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:22px 4px 8px;font-size:.8rem;font-weight:600}h3{font-size:.95rem}.muted{color:var(--muted)}.small{font-size:.85rem}.cap:first-letter{text-transform:uppercase}.error{color:var(--late)}.center{place-items:center;min-height:100dvh;display:grid}.app main{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.page{max-width:640px;padding:calc(16px + env(safe-area-inset-top)) 16px 24px;margin:0 auto}.page-head{flex-direction:column;gap:4px;margin:8px 4px 12px;display:flex}.row-between{flex-direction:row;justify-content:space-between;align-items:center}.small-title{font-size:1.05rem}.stack{flex-direction:column;gap:12px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:12px;padding:16px}form.stack>.card{margin-bottom:0}.tabbar{background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:6px 8px calc(6px + env(safe-area-inset-bottom));z-index:10;justify-content:space-around;align-items:center;display:flex;position:fixed;inset:auto 0 0}.tabbar>:is(a,button.tab-action){color:var(--muted);flex-direction:column;flex:1;align-items:center;gap:2px;padding:4px 0;font-size:.7rem;text-decoration:none;display:flex}.tabbar>:is(a,button.tab-action).active{color:var(--accent)}.tabbar>:is(a,button.tab-action).tab-primary{background:var(--accent);color:#fff;border-radius:50%;flex:none;justify-content:center;width:52px;height:52px;margin:-18px 8px 0;box-shadow:0 4px 14px #0003}.desktop-nav-label{display:none}@media (width>=900px){.tabbar{border-top:0;border-bottom:1px solid var(--line);justify-content:center;gap:24px;top:0;bottom:auto}.tabbar>:is(a,button.tab-action){flex-direction:row;flex:none;gap:6px;font-size:.9rem}.tabbar>:is(a,button.tab-action).tab-primary{width:40px;height:40px;margin:0}.app main{padding:64px 0 24px}}.tasks{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.task{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);align-items:center;gap:12px;padding:12px 8px 12px 12px;transition:opacity .25s,transform .25s;display:flex;position:relative}.task.leaving{opacity:0;transform:translate(24px)}.task.overdue{box-shadow:inset 3px 0 0 var(--late), var(--shadow)}.check{border:2px solid var(--muted);color:#0000;cursor:pointer;background:0 0;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;padding:0;display:grid}.check:hover,.check:focus-visible{border-color:var(--accent);color:var(--accent)}.check:active{background:var(--accent);color:#fff}.task-body{min-width:0;color:inherit;flex-direction:column;flex:1;gap:2px;text-decoration:none;display:flex}.task-title{overflow-wrap:anywhere;font-weight:500}.task-meta{color:var(--muted);flex-wrap:wrap;gap:4px 10px;font-size:.8rem;display:flex}.task-meta .late{color:var(--late);font-weight:600}.task-meta .rule{text-overflow:ellipsis;overflow:hidden}.pill{background:var(--accent-soft);color:var(--accent);border-radius:99px;padding:0 8px}.task.done .task-title{color:var(--muted);text-decoration:line-through}.more{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;width:36px;height:36px;font-size:1.4rem}.menu{z-index:5;background:var(--surface);border:1px solid var(--line);border-radius:12px;flex-direction:column;min-width:180px;display:flex;position:absolute;top:calc(100% - 6px);right:8px;overflow:hidden;box-shadow:0 8px 24px #00000026}.menu button{color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;padding:12px 16px;font-size:.95rem}.menu button+button{border-top:1px solid var(--line)}.count{background:var(--line);border-radius:99px;margin-left:4px;padding:1px 7px;font-size:.7rem}section.accent h2{color:var(--late)}.empty{text-align:center;flex-direction:column;align-items:center;gap:16px;padding:48px 0;display:flex}.ui-icon{vertical-align:-.15em;flex-shrink:0;display:inline-block}details:not(.project-actions)>summary{cursor:pointer;list-style:none}details:not(.project-actions)>summary::-webkit-details-marker{display:none}details:not(.project-actions)>summary:before{content:"";vertical-align:-.1em;background:currentColor;flex:0 0 16px;width:16px;height:16px;margin-right:8px;display:inline-block;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 5 7 7-7 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 5 7 7-7 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50%/contain no-repeat}details[open]:not(.project-actions)>summary:before{transform:rotate(90deg)}label{color:var(--muted);flex-direction:column;gap:6px;font-size:.9rem;display:flex}input,select,textarea{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:10px;width:100%;min-height:44px;padding:10px 12px}.row input,.row select{flex:1;width:auto}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:-1px}textarea{resize:vertical}select:not([multiple]):not([size]){appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa19d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;padding-right:42px}select:hover:not(:disabled){border-color:var(--muted)}select:disabled{opacity:.55;cursor:not-allowed}@supports (appearance:base-select){select:not([multiple]):not([size]){appearance:base-select}::picker(select){appearance:base-select}select:not([multiple]):not([size]){background-image:none;align-items:center;gap:12px;padding-right:14px}select::picker-icon{color:var(--muted);margin-left:auto}select:open::picker-icon{transform:rotate(180deg)}::picker(select){color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:12px;max-height:min(320px,60dvh);margin-block:6px;padding:6px;overflow:auto;box-shadow:0 8px 28px #0000002e}select option{white-space:normal;overflow-wrap:anywhere;border-radius:8px;gap:10px;min-height:44px;padding:10px 12px}select option:checked,select option:hover,select option:focus{color:var(--text);background:var(--accent-soft)}select option::checkmark{color:var(--accent)}}.color-picker{border:0;min-width:0;margin:0;padding:0}.color-picker legend{color:var(--muted);margin-bottom:8px;font-size:.9rem}.color-picker-controls{align-items:end;gap:12px;display:flex}.color-picker-swatch{flex:0 0 56px}.color-picker-swatch input[type=color]{cursor:pointer;border-radius:12px;width:56px;height:48px;padding:4px}.color-picker-swatch input::-webkit-color-swatch-wrapper{padding:0}.color-picker-swatch input::-webkit-color-swatch{border:0;border-radius:7px}.color-picker-swatch input::-moz-color-swatch{border:0;border-radius:7px}.color-picker-code{flex:0 180px;font-size:.8rem}.color-picker-code input{height:48px;font-family:ui-monospace,monospace}.color-picker>p{margin:8px 0 0}.title-input{background:0 0;border:0;padding:4px 0;font-size:1.15rem;font-weight:500}.title-input:focus{outline:0}.num{text-align:center;max-width:80px}.search{background:var(--surface);margin-bottom:4px}.switch{color:var(--text);cursor:pointer;flex-direction:row;align-items:flex-start;gap:12px}.switch input{appearance:none;background:var(--line);cursor:pointer;border:0;border-radius:99px;flex:none;width:44px;height:26px;min-height:0;padding:0;transition:background .2s;position:relative}.switch input:after{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0000004d}.switch input:checked{background:var(--accent)}.switch input:checked:after{transform:translate(18px)}.switch span{flex-direction:column;gap:2px;padding-top:2px;display:flex}.switch small{color:var(--muted)}.field{flex-direction:column;gap:6px;display:flex}.field-label{color:var(--muted);font-size:.9rem}.days{justify-content:space-between;gap:6px;display:flex}.days button{aspect-ratio:1;border:1px solid var(--line);background:var(--bg);max-width:44px;color:var(--text);cursor:pointer;border-radius:50%;flex:1;font-weight:600}.days button.on{background:var(--accent);border-color:var(--accent);color:#fff}.times{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.time-chip{background:var(--bg);border:1px solid var(--line);border-radius:10px;align-items:center;display:inline-flex}.time-chip input{background:0 0;border:0;width:auto}.time-chip button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 10px;font-size:1.2rem}.segmented{background:var(--line);border-radius:10px;align-self:flex-start;gap:2px;padding:3px;display:inline-flex}.segmented.full{align-self:stretch;display:flex}.segmented button{color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1;padding:8px 12px;font-size:.9rem}.segmented button.on{background:var(--surface);box-shadow:var(--shadow);font-weight:600}.btn{font:inherit;border:1px solid var(--line);background:var(--surface);color:var(--text);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:10px 16px;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.5;cursor:default}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.btn.big{width:100%;font-size:1.05rem}.btn.small{min-height:34px;padding:4px 12px;font-size:.85rem}.btn.link{color:var(--accent);background:0 0;border:0;padding:8px 0}.btn.danger{width:100%;color:var(--late);border-color:var(--late-soft);background:0 0;margin-top:12px}.delete-task-dialog{border:1px solid var(--line);background:var(--surface);width:min(440px,100% - 32px);max-height:calc(100dvh - 32px);color:var(--text);border-radius:22px;padding:28px;overflow:auto;box-shadow:0 24px 80px #00000040}.delete-task-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#00000080}.delete-task-icon{background:var(--late-soft);width:48px;height:48px;color:var(--late);border-radius:14px;place-items:center;margin-bottom:18px;display:grid}.delete-task-dialog h2{text-transform:none;letter-spacing:-.02em;color:var(--text);margin:0;font-size:1.25rem}.delete-task-dialog p{margin:12px 0 0}.delete-task-name{overflow-wrap:anywhere;font-weight:600}.delete-task-actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.delete-task-actions .btn{flex:auto}.delete-task-confirm{background:var(--late-soft);border-color:var(--late);color:var(--late);font-weight:600}.delete-task-actions .btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.back{justify-content:flex-start;width:70px}.status{background:var(--accent-soft);justify-content:space-between;align-items:center;gap:12px;display:flex}.history{margin:8px 0 0;padding:0;font-size:.9rem;list-style:none}.history li{border-top:1px solid var(--line);padding:6px 0}.login{flex-direction:column;justify-content:center;align-items:center;gap:16px;max-width:380px;min-height:100dvh;margin:0 auto;padding:24px 16px;display:flex}.login img{border-radius:18px}.login form{width:100%}.log{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);margin:0;padding:0;list-style:none;overflow:hidden}.log li{align-items:center;gap:12px;padding:10px 8px 10px 14px;display:flex}.log li+li{border-top:1px solid var(--line)}.log-time{font-variant-numeric:tabular-nums;color:var(--muted);flex:none;width:44px;font-size:.9rem}.log-title{min-width:0;color:var(--text);overflow-wrap:anywhere;flex:1;text-decoration:none}.log li.skipped .log-title,.log li.missed .log-title{color:var(--muted)}.log-note{text-overflow:ellipsis;white-space:nowrap;flex:0 40%;min-width:0;overflow:hidden}.muted-pill{background:var(--line);color:var(--muted);margin-left:6px;font-size:.75rem}.icon-btn{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;width:36px;height:36px;font-size:1.2rem}.icon-btn:hover{background:var(--bg);color:var(--late)}.history li{justify-content:space-between;align-items:center;gap:8px;display:flex}.stat-row{gap:8px;display:flex}.stat{background:var(--bg);border-radius:10px;flex-direction:column;flex:1;gap:2px;padding:10px 12px;display:flex}.stat strong{font-variant-numeric:tabular-nums;font-size:1.4rem}.habit-scroll{overflow-x:auto}.habit-grid{align-items:center;gap:3px;min-width:280px;display:grid}.habit-month,.habit-dow{color:var(--muted);white-space:nowrap;height:14px;font-size:.65rem;overflow:visible}.cell{aspect-ratio:1;background:var(--line);cursor:pointer;border:0;border-radius:3px;width:100%;padding:0;display:block}i.cell{vertical-align:-1px;cursor:default;width:11px;display:inline-block}.cell.empty{background:color-mix(in srgb, var(--line) 55%, transparent)}.cell.before{cursor:default;background:0 0}.cell.full,.cell.extra{background:var(--accent)}.cell.partial{background:color-mix(in srgb, var(--accent) 45%, var(--surface))}.cell.skipped{background:repeating-linear-gradient(135deg, var(--muted) 0 2px, transparent 2px 4px);opacity:.6}.cell.missed{background:var(--late-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--late) 45%, transparent)}.cell.pending{box-shadow:inset 0 0 0 1.5px var(--accent);background:0 0}.cell.today{outline:2px solid var(--text);outline-offset:1px}.cell.sel{outline:2px solid var(--accent);outline-offset:1px}.habit-detail{min-height:1.4em;margin:8px 0 4px}.habit-legend{color:var(--muted);flex-wrap:wrap;gap:4px 12px;display:flex}.invite-created{background:var(--accent-soft);border-radius:10px;padding:12px}.invite-url{background:var(--surface);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem}.grid-nav{justify-content:space-between;align-items:center;gap:8px;display:flex}.grid-nav .icon-btn{font-size:1.6rem;line-height:1}.grid-nav .icon-btn:hover{color:var(--text)}.grid-nav .icon-btn:disabled{opacity:.3;cursor:default}.sheet-scroll{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);overflow-x:auto}.sheet{border-collapse:collapse;table-layout:fixed;width:100%}.sheet th,.sheet td{border-bottom:1px solid var(--line);padding:0}.sheet tbody tr:last-child>*{border-bottom:0}.sheet tbody tr.hour-break>*{border-top:2px solid var(--line)}.sheet thead th{width:36px;color:var(--muted);text-align:center;padding:8px 0 6px;font-size:.7rem;font-weight:400;line-height:1.2}.sheet thead th:first-child{width:auto;min-width:110px}.sheet thead th span,.sheet thead th strong{display:block}.sheet thead th strong{color:var(--text);font-size:.85rem}.sheet .weekend{background:color-mix(in srgb, var(--line) 30%, transparent)}.sheet th.today strong{color:var(--accent)}.sheet td.today{background:color-mix(in srgb, var(--accent-soft) 60%, transparent)}.sheet tbody th{text-align:right;border-right:1px solid var(--line);overflow-wrap:anywhere;padding:6px 8px 6px 12px;font-size:.9rem;font-weight:400;line-height:1.25}.sheet tbody th a{color:var(--text);text-decoration:none}.sheet tbody th .small{white-space:nowrap;font-variant-numeric:tabular-nums}.sheet td+td{border-left:1px dashed var(--line)}.mark{width:100%;min-height:40px;font:inherit;color:var(--text);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;font-size:1.15rem;font-weight:700;display:flex}.mark.ok,.mark.extra{color:var(--accent)}.mark.extra{opacity:.6}.mark.missed{color:var(--late)}.mark.partial{color:var(--accent);font-size:.75rem}.mark.skipped{color:var(--muted)}.mark.pending:after{content:"";border:1.5px solid var(--accent);border-radius:50%;width:12px;height:12px}.mark.before{background:repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 6px);cursor:default}.mark.sel{outline:2px solid var(--accent);outline-offset:-3px;border-radius:6px}.day-actions .row{flex-wrap:wrap;gap:8px}.day-actions input[type=time]{width:auto}.sheet .history-editor-row>td{background:var(--accent-soft);text-align:left;padding:12px}.history-cell-editor{min-width:0}.history-editor-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.history-editor-heading p{overflow-wrap:anywhere;margin:0}.history-editor-heading>button{flex-shrink:0}.history-cell-editor .day-actions{background:0 0;border:0;padding:0}.history-cell-editor .day-actions .btn{min-height:44px}.history-cell-editor input[type=time]{max-width:100%;min-height:44px}.user-row .stack-tight{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.user-row .btn{flex-shrink:0;width:auto;margin-top:0}.user-row.disabled input{color:var(--muted);text-decoration:line-through}.task.met{opacity:.6}.version{text-align:center}.user-actions{flex-shrink:0;gap:6px;display:flex}.toast{left:0;right:0;bottom:calc(84px + env(safe-area-inset-bottom));z-index:20;border-radius:var(--radius);background:var(--text);width:fit-content;max-width:calc(100vw - 32px);color:var(--bg);box-shadow:var(--shadow);align-items:center;gap:16px;margin:0 auto;padding:10px 12px 10px 16px;display:flex;position:fixed}.toast .btn.link{width:auto;color:var(--accent-soft);margin:0;padding:4px 8px;font-weight:600}@media (width>=900px){.toast{bottom:24px}}.mark.vacation{color:var(--muted);font-size:.95rem}.cell.vacation{background:color-mix(in srgb, var(--muted) 30%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--muted) 50%, transparent)}.vacation-banner{margin:0 0 16px}.vacations{margin:0;padding:0;list-style:none}.vacations li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:6px 0;display:flex}.vacations li:last-child{border-bottom:0}.mark.future{color:var(--muted);cursor:default}.history-legend{border:1px solid var(--line);border-radius:12px;padding:14px}.history-legend-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.history-legend h2{margin:0;font-size:.95rem}.history-legend h3{color:var(--muted);margin:14px 0 8px;font-size:.8rem}.history-legend dl{flex-wrap:wrap;gap:8px 14px;margin:0;display:flex}.history-legend dt{align-items:center;gap:8px;font-size:.8rem;display:flex}.history-legend .mark{border:1px solid var(--line);cursor:default;border-radius:4px;flex:0 0 28px;width:28px;min-height:28px}.history-legend dd{margin:4px 0 0 36px;font-size:.8rem;line-height:1.5;display:none}.history-legend-note{margin-bottom:0;line-height:1.5;display:none}.history-legend.expanded dl{display:grid}.history-legend.expanded dd,.history-legend.expanded .history-legend-note{display:block}@media (width>=900px){.history-legend{padding:20px}.history-legend-toggle{display:none}.history-legend-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;display:grid}.history-legend dl{gap:12px;display:grid}.history-legend dd,.history-legend-note{display:block}.history-legend-note{grid-column:1/-1}.app main{padding-top:82px}.app .page{padding:24px 32px 48px}.page-tasks{max-width:1180px}.page-settings{max-width:820px}.page-history.history-grid{max-width:1280px}.page-history.history-list{max-width:900px}.page-head{margin-bottom:24px}.page-tasks .page-head{flex-direction:row;justify-content:space-between;align-items:center;gap:24px}.page-tasks .tasks{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;display:grid}.page-tasks .tasks>.empty{grid-column:1/-1}.task{min-height:88px;padding:16px}.task:has(.menu){z-index:6}.task-body{gap:6px}.task-meta{line-height:1.5}.page-tasks .search{max-width:480px}.tabbar{gap:16px;min-height:66px;padding:10px 24px}.tabbar>:is(a,button.tab-action){border-radius:10px;min-height:42px;padding:8px 18px}.tabbar>:is(a,button.tab-action).active:not(.tab-primary){background:var(--accent-soft)}.tabbar>:is(a,button.tab-action).tab-primary{border-radius:12px;gap:8px;width:auto;min-width:108px;height:44px}.desktop-nav-label{order:1;display:inline}.card{padding:24px}.grid-nav{justify-content:center;gap:28px;padding:4px 0 12px}.grid-nav .small{font-size:.95rem}.sheet-scroll{scrollbar-gutter:stable;max-height:68dvh}.sheet{min-width:760px}.sheet thead th{z-index:2;background:var(--surface);width:auto;box-shadow:inset 0 -1px var(--line);padding:14px 0;font-size:.8rem;position:sticky;top:0}.sheet thead th:first-child{z-index:3;width:32%;left:0}.sheet tbody th{z-index:1;text-align:left;background:var(--surface);padding:12px 16px;line-height:1.5;position:sticky;left:0}.sheet tbody th .small{white-space:normal;display:block}.mark{min-height:52px}.day-actions{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px}:is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:3px}}.task-editor-form .card{min-width:0;margin-bottom:0}.task-editor-title{color:var(--text);gap:8px;font-weight:600}.task-editor-title .title-input{border:1px solid var(--line);background:var(--bg);padding:12px 14px;font-size:1.25rem;font-weight:500}.task-editor-title .title-input:focus{outline:2px solid var(--accent);outline-offset:-1px}.task-editor-title .title-input::placeholder{color:var(--muted);opacity:1}.task-editor-notifications{border-top:1px solid var(--line);padding-top:16px}.task-editor-organization .label-choice{min-height:36px}.task-editor-organization p{margin:0}.task-editor-details{order:1}.task-editor-organization{order:2}.task-editor-schedule{order:3}.task-editor-notifications,.task-editor-inputs{order:4}.task-editor-actions{order:5}@media (width>=900px){.page-editor{max-width:1280px}.page-editor .page-head{margin-bottom:16px}.task-editor-form{grid-template-columns:minmax(0,2fr) minmax(280px,1fr);align-items:start;gap:16px;display:grid}.task-editor-form .card{order:initial;padding:20px}.task-editor-details,.task-editor-schedule,.task-editor-inputs{grid-column:1/-1}.task-editor-form .task-editor-organization{gap:10px;padding:16px}.task-editor-organization .organization-labels{gap:2px 12px}.task-editor-organization .organization-labels legend{margin-bottom:4px}.task-editor-form p{margin:0}.task-editor-details textarea{min-height:64px}.task-editor-actions{grid-column:1/-1;align-items:flex-end}.task-editor-actions .btn{width:auto;min-width:180px}.task-editor-actions .error{align-self:stretch}}@media (width>=900px) and (hover:hover) and (pointer:fine){.tabbar>:is(a,button.tab-action):not(.tab-primary):hover{background:var(--accent-soft);color:var(--accent)}.task:hover{outline:1px solid var(--line)}.sheet tbody tr:hover td:not(.today){background:var(--accent-soft)}}.organization-filters{margin-bottom:1rem}.organization-controls{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.8rem;display:grid}.organization-controls label{min-width:0}.organization-controls input,.organization-controls select{width:100%}.organization-labels{border:0;flex-wrap:wrap;gap:.5rem 1rem;min-width:0;margin:0;padding:0;display:flex}.organization-labels legend{margin-bottom:.5rem}.label-choice{overflow-wrap:anywhere;flex-direction:row;align-items:center;gap:.4rem;min-height:44px;display:inline-flex}.label-choice input{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0}.color-dot{border-radius:50%;flex:0 0 .65rem;width:.65rem;height:.65rem;display:inline-block}.organization-badges{flex-wrap:wrap;gap:.3rem;margin:.3rem 0;display:flex}.organization-badge{overflow-wrap:anywhere;border:1px solid;border-radius:.4rem;align-items:center;gap:.3rem;padding:.1rem .4rem;font-size:.75rem;display:inline-flex}.organization-topic-badge .ui-icon{flex:0 0 14px;width:14px;height:14px}.offline-status{max-width:640px;color:var(--text);margin:12px auto 0;padding:0 16px;font-size:.85rem}.offline-status>details{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:0 14px}.offline-status p{margin:4px 0 8px}.offline-status summary{align-items:center;gap:8px;min-height:48px;padding:10px 0;display:flex}.offline-status summary>.ui-icon{color:var(--accent)}.offline-status summary>span{flex:1}.offline-status>details>summary:before{order:3;margin-right:0}.offline-status>details[open]{padding-bottom:14px}@media (width>=900px){.offline-status{max-width:1180px}}.offline-status summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.task-detail-link{color:inherit;flex-direction:column;gap:2px;min-width:0;text-decoration:none;display:flex}.organization-badge{color:var(--text);text-decoration:none}.organization-badge:hover{background:var(--accent-soft)}.desktop-sidebar{display:none}.mobile-collections-bar{z-index:8;background:var(--bg);border-bottom:1px solid var(--line);padding:8px 16px;position:sticky;top:0}.collections-panel{border:0;border-right:1px solid var(--line);background:var(--surface);width:min(360px,92vw);max-width:92vw;height:100dvh;max-height:100dvh;color:var(--text);margin:0 auto 0 0;padding:16px;overflow-y:auto}.collections-panel::backdrop{background:#00000073}.mobile-collections-trigger{justify-content:center;width:100%;min-height:44px}.panel-header{align-items:center;gap:12px;margin-bottom:20px;display:flex}.panel-header h2{margin:0}.sidebar-brand{margin-bottom:18px;font-size:1.4rem;font-weight:700}.sidebar-add{width:100%}.sidebar-main{gap:4px;margin:16px 0;display:grid}.sidebar-main a,.sidebar-manage{color:var(--text);border-radius:8px;padding:10px 12px;text-decoration:none;display:block}.sidebar-main a.active,.collection-list .selected>a{background:var(--accent-soft);color:var(--accent);font-weight:600}.sidebar-section{margin:20px 0}.sidebar-section h2,.sidebar-section summary{color:var(--muted);margin:0 0 8px;font-size:.85rem;font-weight:600}.sidebar-section summary{cursor:pointer}.collection-list{margin:0;padding:0;list-style:none}.collection-list li{align-items:center;gap:2px;min-width:0;display:flex}.collection-list li>a{min-width:0;color:var(--text);border-radius:8px;flex:1;align-items:center;gap:8px;padding:10px 8px;text-decoration:none;display:flex}.collection-name{overflow-wrap:anywhere;flex:1;min-width:0;font-size:.9rem}.collection-count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.8rem}.favorite-control{flex-direction:column;display:inline-flex}.favorite-button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;min-width:40px;min-height:44px;font-size:1.25rem}.favorite-button[aria-pressed=true]{color:var(--accent)}.favorite-button:hover,.collection-list li>a:hover,.sidebar-main a:hover,.sidebar-manage:hover{background:var(--accent-soft)}.page-tasks .page-head{flex-wrap:wrap}@media (width>=900px){.mobile-collections-trigger{display:none}.desktop-sidebar{background:var(--surface);border-right:1px solid var(--line);z-index:15;width:260px;padding:24px 14px;display:block;position:fixed;inset:0 auto 0 0;overflow-y:auto}.mobile-collections-bar,.app>.tabbar{display:none}.app main{min-width:0;margin-left:260px;padding-top:0;padding-bottom:0}}@media (width>=900px) and (width<=1199px){.page-tasks .tasks{grid-template-columns:minmax(0,1fr)}.app .page{padding-left:24px;padding-right:24px}}.page-projects{max-width:940px}.page-projects>label{margin-bottom:20px}.page-projects .page-head{flex-wrap:wrap;gap:12px}.project-list{gap:10px;margin:16px 0;padding:0;list-style:none;display:grid}.project-row{align-items:center;gap:12px;margin:0;display:flex}.label-row{flex-wrap:wrap}.label-row-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.label-row-actions .btn.danger{width:auto}.project-open{min-width:0;color:var(--text);overflow-wrap:anywhere;flex:1;align-items:center;gap:12px;text-decoration:none;display:flex}.project-open>span:last-child{min-width:0}.project-task-count{margin-top:4px;display:block}.project-title{align-items:center;gap:8px;min-width:0;display:flex}.project-title h1{overflow-wrap:anywhere;min-width:0}.project-form{margin-top:20px}.project-form h2{margin:0}.project-actions{flex:none;position:relative}.project-actions>summary{cursor:pointer;width:40px;min-height:44px;color:var(--muted);border-radius:8px;place-items:center;font-size:1.5rem;list-style:none;display:grid}.project-actions>summary::-webkit-details-marker{display:none}.project-actions>summary:hover,.project-actions[open]>summary{background:var(--accent-soft);color:var(--accent)}.project-actions[open]{z-index:9}.project-action-list{z-index:9;background:var(--surface);border:1px solid var(--line);width:230px;max-width:calc(100vw - 48px);box-shadow:var(--shadow);border-radius:10px;padding:6px;position:absolute;top:100%;right:0}@media (width>=900px){.all-tasks-heading .project-action-list{left:0;right:auto}}.project-action-list>a,.project-action-list>button{width:100%;min-height:44px;color:var(--text);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:10px;font-size:.9rem;text-decoration:none;display:block}.project-action-list>a:hover,.project-action-list>button:hover{background:var(--accent-soft)}.project-action-list>.project-delete{color:var(--late)}.project-action-list>p{margin:8px}.project-actions[data-up=true] .project-action-list{top:auto;bottom:100%}.project-actions :is(summary,a,button):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sidebar-group-header{border-radius:8px;align-items:center;gap:2px;min-height:44px;margin-bottom:6px;padding:0 4px 0 8px;display:flex}.sidebar-group-header:hover,.sidebar-group-header:focus-within,.sidebar-group-header.selected{background:var(--accent-soft)}.sidebar-group-header h2{min-width:0;color:var(--text);text-transform:none;letter-spacing:normal;flex:1;margin:0;font-size:.9rem}.sidebar-group-header h2 a{color:inherit;padding:12px 0;text-decoration:none;display:block}.sidebar-group-action{width:32px;min-height:44px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:0 0 32px;place-items:center;padding:0;font-size:1.3rem;text-decoration:none;display:grid}.sidebar-group-action:hover{background:var(--line);color:var(--text)}.sidebar-group-toggle[aria-expanded=false] svg{transform:rotate(-90deg)}.sidebar-group-header :is(a,button):focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (hover:hover) and (pointer:fine){.sidebar-group-action{opacity:0;pointer-events:none}.sidebar-group-header:hover .sidebar-group-action,.sidebar-group-header:focus-within .sidebar-group-action{opacity:1;pointer-events:auto}}.task-history{margin-top:20px;padding:20px}.task-history-heading{margin-bottom:18px}.task-history-heading h3{font-size:1.15rem}.task-history-heading p{margin:4px 0 0}.task-history .stat-row{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;display:grid}.task-history .stat{min-width:0;padding:14px}.task-history .stat strong{font-size:1.65rem}.task-history h4{margin:0 0 14px;font-size:.9rem}.task-history-calendar{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.task-history .habit-grid{gap:5px;min-width:0;padding:3px}.task-history .habit-detail{margin:14px 0 10px}.task-history .habit-legend{gap:8px 14px}.task-history .cell:focus-visible{outline:2px solid var(--text);outline-offset:2px}.task-history-records{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.task-history-day+.task-history-day{margin-top:18px}.task-history-day h5{color:var(--muted);border-bottom:1px solid var(--line);margin:0;padding:8px 0;font-size:.8rem;font-weight:600}.task-history-list{margin:0;padding:0;list-style:none}.task-history-list li+li{border-top:1px solid var(--line)}.task-history-entry{align-items:center;gap:8px;padding:12px 0;display:flex}.task-history-mark{background:var(--bg);width:32px;height:32px;color:var(--muted);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.task-history-mark.done{background:var(--accent-soft);color:var(--accent)}.task-history-mark.missed{background:var(--late-soft);color:var(--late)}.task-history-entry-text{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.task-history-entry-text strong{font-size:.9rem;font-weight:600}.task-history-note{white-space:pre-line;font-size:.85rem}.task-history-entry time{font-variant-numeric:tabular-nums;color:var(--muted);flex-shrink:0;font-size:.85rem}.task-history-entry .icon-btn{place-items:center;width:44px;height:44px;display:grid}.task-history-attachments-toggle[aria-expanded=true]{color:var(--accent);background:var(--accent-soft);border-radius:10px}.task-history-attachments{margin-bottom:12px}.task-history-attachments .attachments{margin:0}.task-history-delete{background:var(--late-soft);border-radius:10px;margin-bottom:12px;padding:12px}.task-history-delete p{margin:0 0 10px;font-size:.85rem}.task-history-delete>div{flex-wrap:wrap;gap:8px;display:flex}.task-history-more{width:100%;margin-top:16px}@media (width<=480px){.task-history{padding:16px}.task-history .stat-row{grid-template-columns:repeat(2,minmax(0,1fr))}.task-history .stat{padding:10px}.task-history .stat:last-child:nth-child(odd){grid-column:1/-1}.task-history-entry{gap:8px}.task-history .habit-grid{gap:4px}}.task-label-search{flex-direction:column;gap:6px;width:100%;margin-top:8px;display:flex}.task-label-suggestions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.task-label-suggestions .btn{white-space:normal;overflow-wrap:anywhere;max-width:100%}.composer-help{order:0;grid-column:1/-1;margin:0}.task-editor-form .task-composer{border:1px solid var(--line);border-radius:16px;gap:4px;padding:14px}.task-composer .task-editor-title{gap:0}.task-composer .task-editor-title .title-input,.task-composer textarea{box-shadow:none;background:0 0;border:0;border-radius:4px;width:100%;padding:4px 0}.task-composer .task-editor-title .title-input{font-size:1.15rem;font-weight:400}.task-composer .task-editor-title .title-input:focus,.task-composer textarea:focus{outline:none}.task-composer:focus-within{border-color:var(--accent)}.task-editor-form .task-composer textarea{resize:vertical;min-height:28px;font-size:1rem}.composer-toolbar{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.composer-toolbar button{cursor:pointer;font:inherit}.composer-chip,.composer-remove{border:1px solid var(--line);color:var(--text);background:0 0;border-radius:8px;min-height:34px;padding:4px 9px}.composer-chip{overflow-wrap:anywhere;align-items:center;gap:6px;max-width:100%;display:inline-flex}.composer-chip-group{border:1px solid var(--line);border-radius:8px;align-items:center;max-width:100%;display:inline-flex}.composer-chip-group .composer-chip,.composer-chip-group .composer-remove{border:0}.composer-remove{color:var(--muted);padding:2px 6px;font-size:1.2rem!important}.composer-project-icon{color:#648cff}.composer-add,.composer-cancel{color:var(--muted);background:0 0;border:0;border-radius:8px;min-width:34px;min-height:34px;padding:0;font-size:1.6rem!important}.composer-add{background:var(--line)}.composer-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.composer-save{min-height:38px;padding:6px 16px}.composer-save:disabled{opacity:.5;cursor:wait}.composer-panel{border-top:1px solid var(--line);margin-top:10px;padding-top:12px}.composer-priorities{flex-wrap:wrap;gap:8px;display:flex}.priority-1{color:#e4574f}.priority-2{color:#d38a24}.priority-3{color:#648cff}.task-editor-schedule[hidden]{display:none}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.title-rich-input{white-space:pre-wrap;overflow-wrap:anywhere;outline:none;min-height:32px;padding:4px 0;font-size:1.15rem;line-height:1.6}.title-rich-input:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.title-token{color:#703617;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:#ffe6d6;border-radius:4px;margin:0 3px;padding:2px 4px;display:inline}.attachments{min-width:0}.attachments .wrap,.attachment-item .row{flex-wrap:wrap}.attachments label{min-width:0;max-width:100%}.attachments input,.attachments select,.attachments textarea{max-width:100%}.attachments input[type=file]{width:100%}.attachment-list{gap:14px;margin:0;padding:0;list-style:none;display:grid}.attachment-item{border:1px solid var(--border,#8885);border-radius:12px;min-width:0;padding:14px}.attachment-overview{align-items:flex-start;gap:14px;display:flex}.attachment-overview .attachment-thumbnail{background:var(--bg);flex-shrink:0;width:80px;height:80px}.attachment-info p{margin:5px 0}.attachment-filename{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.9rem;line-height:1.4;display:-webkit-box;overflow:hidden}.attachment-sync{color:var(--accent)}.attachment-upload{border:1px dashed var(--accent);min-height:48px;color:var(--accent);background:var(--accent-soft);cursor:pointer;border-radius:10px;flex-direction:row;justify-content:center;align-items:center;gap:8px;padding:10px 14px;display:flex;position:relative}.attachment-upload input[type=file]{opacity:0;cursor:pointer;height:100%;position:absolute;inset:0}.attachment-upload:focus-within{outline:2px solid var(--accent);outline-offset:3px}.attachment-upload:has(input:disabled){opacity:.5;cursor:default}.attachment-details{border-top:1px solid var(--line)}.attachment-details>summary{min-height:44px;color:var(--muted);cursor:pointer;padding:12px 0;font-size:.85rem}.attachment-details-body{padding-top:4px}.attachment-details-body p,.attachment-details-body ul,.attachment-note{margin:0}.attachment-original-name{overflow-wrap:anywhere}.attachment-info{flex:1;min-width:0}.attachment-info strong,.attachment-links,.attachment-selection{overflow-wrap:anywhere}.attachment-thumbnail{object-fit:contain;border-radius:8px;width:100px;height:100px}.attachment-note,.attachment-error{white-space:pre-wrap;overflow-wrap:anywhere}.attachment-editor,.attachment-add{padding:10px 0}.attachment-links{padding-left:20px}.attachment-links li+li{margin-top:8px}.attachments progress{width:100%}@media (width<=600px){.attachments .row>label{width:100%}.attachment-item .btn{white-space:normal}}.project-workspace h1{overflow-wrap:anywhere}.workspace-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.workspace-text{white-space:pre-wrap;overflow-wrap:anywhere}.create-action-icon{place-items:center;margin-right:.2rem;display:inline-grid;position:relative}.create-action-icon>.ui-icon:last-child{width:12px;height:12px;color:var(--accent);background:var(--surface);stroke-width:3px;border-radius:50%;padding:1px;position:absolute;bottom:-.35rem;right:-.45rem}.markdown-editor{margin-top:.35rem}.markdown-editor .TMCommandBar{border:1px solid var(--line);background:var(--bg);box-sizing:border-box;border-bottom:0;border-radius:.55rem .55rem 0 0;height:auto;min-height:2.75rem;padding:.35rem;overflow-x:auto}.markdown-editor .TMCommandButton{width:2rem;height:2rem;color:var(--text);fill:var(--text);background:0 0;border-radius:.35rem;flex:0 0 2rem;padding:.35rem}.markdown-editor .TMCommandButton:focus-visible,.markdown-editor .TinyMDE:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.markdown-editor .TMCommandButton_Active{color:var(--accent);fill:var(--accent);background:var(--accent-soft)}.markdown-editor .TMCommandDivider{border-color:var(--line);height:2rem}.markdown-editor .TinyMDE{border:1px solid var(--line);min-height:12rem;max-height:45dvh;color:var(--text);background:var(--surface);font:inherit;border-radius:0 0 .55rem .55rem;padding:.75rem;overflow-y:auto}.markdown-editor .TMMark{color:var(--muted)}.markdown-editor .TMMark_TMH1,.markdown-editor .TMMark_TMH2,.markdown-editor .TMMark_TMUL,.markdown-editor .TMMark_TMOL,.markdown-editor .TMLinkDestination,.markdown-editor .TMAutolink{color:var(--accent)}.markdown-editor .TMFencedCodeBacktick,.markdown-editor .TMFencedCodeTilde,.markdown-editor .TMIndentedCode,.markdown-editor .TMCode{background:var(--bg)}.markdown-note{overflow-wrap:anywhere}.markdown-table{max-width:100%;margin-bottom:.65rem;overflow-x:auto}.markdown-table table{border-collapse:collapse;width:100%}.markdown-table th,.markdown-table td{border:1px solid var(--line);text-align:left;vertical-align:top;min-width:7rem;padding:.5rem .65rem}.markdown-table th{background:var(--surface)}.markdown-note p,.markdown-note blockquote{margin:0 0 .65rem}.markdown-note h3,.markdown-note h4,.markdown-note h5{margin:1rem 0 .5rem}.markdown-note code{background:color-mix(in srgb, currentColor 9%, transparent);border-radius:.25rem;padding:.1rem .25rem}.markdown-note blockquote{border-left:3px solid var(--line);color:var(--muted);padding-left:.75rem}.markdown-check,.markdown-bullet{align-items:flex-start;gap:.55rem;margin:.35rem 0;display:flex}.markdown-check input{flex:none;width:1.25rem;height:1.25rem;margin-top:.05rem}.markdown-check input:checked+span{color:var(--muted);text-decoration:line-through}.markdown-break{height:.5rem}.workspace-overlay{z-index:150;background:#0008;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.workspace-dialog{background:var(--bg,#fff);width:min(680px,100%);max-height:90dvh;overflow:auto;box-shadow:0 12px 60px #0003}.workspace-dialog textarea{resize:vertical;width:100%}.workspace-note{width:min(850px,100%)}.project-workspace .row-between{flex-wrap:wrap;gap:10px}.project-workspace select{max-width:100%}@media (width<=600px){.workspace-filters{grid-template-columns:minmax(0,1fr)}.workspace-overlay{padding:8px}.workspace-dialog{max-height:95dvh}}.project-workspace input[type=checkbox],.project-workspace input[type=radio],.page-projects input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:0;margin:0}:is(.project-workspace label:has(>input[type=checkbox]),.project-workspace label:has(>input[type=radio]),.page-projects label:has(>input[type=checkbox])){align-items:center;gap:8px;display:flex}[hidden]{display:none!important}.app main,.page,.card,.stack,label{min-width:0}input,select,textarea,.row>*,.row-between>*{min-width:0;max-width:100%}.row>.num{flex:0 0 80px;max-width:80px}.row>label{flex:220px}.row-between{flex-wrap:wrap;gap:12px;display:flex}.row-between>h1,.row-between>h2,.row-between>h3{overflow-wrap:anywhere}.btn.primary,.tabbar>:is(a,button.tab-action).tab-primary,.days button.on,.check:active{color:var(--accent-ink)}.btn:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}summary{cursor:pointer}.secondary-section>summary,.attachment-management>summary{min-height:44px;padding:10px 0;font-weight:500}.secondary-section[open]>summary,.attachment-management[open]>summary{margin-bottom:12px}.compact-filters{flex-wrap:wrap;align-items:end;gap:8px 12px;margin-bottom:16px;display:flex;position:relative}.filter-search{flex:200px;min-width:0}.filter-toggle{white-space:nowrap;flex:none;gap:8px;min-height:44px}.filter-toggle svg{flex-shrink:0}.filter-toggle[aria-expanded=true]{border-color:var(--accent);background:var(--accent-soft)}.filter-toggle[aria-expanded=true] .filter-chevron{transform:rotate(180deg)}.filter-panel{flex:100%;order:3;min-width:0;margin:0}.project-filter-choices{border:0;min-width:0;margin:0;padding:0}.project-filter-choices legend{color:var(--muted);margin-bottom:10px;font-size:.85rem}.project-filter-options{flex-wrap:wrap;gap:8px;max-height:240px;padding:3px;display:flex;overflow-y:auto}.project-filter-choice{border:1px solid var(--line);cursor:pointer;max-width:100%;min-height:44px;color:var(--text);overflow-wrap:anywhere;border-radius:10px;flex-direction:row;align-items:center;gap:8px;padding:8px 12px;font-size:.9rem;display:inline-flex;position:relative}.project-filter-choice input{width:16px;height:16px;min-height:16px;accent-color:var(--accent);flex-shrink:0;margin:0;padding:0}.project-filter-choice:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}.project-filter-choice:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.page-all-tasks .all-tasks-heading{flex-flow:row;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px}.all-tasks-heading .project-title{min-width:0}.all-tasks-heading h1{overflow-wrap:anywhere}.all-tasks-heading>.btn{flex-shrink:0}.all-tasks-toolbar{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px;padding-bottom:16px;display:flex}.all-tasks-empty{text-align:center;flex-direction:column;grid-column:1/-1;align-items:center;gap:8px;padding:48px 16px;display:flex}.all-tasks-empty>svg{color:var(--muted);margin-bottom:8px}.all-tasks-empty h2{text-transform:none;letter-spacing:0;color:var(--text);margin:0;font-size:1.05rem;font-weight:500}.all-tasks-empty p{margin:0;font-size:.9rem}.active-filters{flex-wrap:wrap;flex-basis:100%;order:2;gap:6px;display:flex}.active-filters:empty{display:none}.filter-search-label{font-size:.85rem}.task-identity{gap:4px;margin:0 4px 12px}.task-identity h1{overflow-wrap:anywhere;font-size:1.5rem}.task-identity p{overflow-wrap:anywhere;margin:0}.mobile-savebar{display:none}.settings-tabs{overscroll-behavior-x:contain;scrollbar-width:thin;border-bottom:1px solid var(--line);gap:4px;margin-bottom:20px;padding:3px 2px 0;display:flex;position:relative;overflow-x:auto}.settings-tabs a{min-height:48px;color:var(--muted);white-space:nowrap;border-bottom:3px solid #0000;border-radius:8px 8px 0 0;flex:1 0 auto;justify-content:center;align-items:center;padding:10px 14px;font-size:.9rem;text-decoration:none;display:inline-flex}.settings-tabs a:hover{color:var(--text);background:var(--surface)}.settings-tabs a.selected{color:var(--accent);background:var(--accent-soft);border-bottom-color:var(--accent);font-weight:600}.settings-tabs a:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.settings-tabs+.card{scroll-margin-top:70px}.mobile-nav-preview{border:1px solid var(--line);background:var(--bg);border-radius:14px;align-items:stretch;min-height:64px;padding:6px;display:flex;overflow:hidden}.mobile-nav-preview>span{min-width:0;color:var(--muted);text-align:center;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:3px;padding:4px 2px;font-size:.68rem;display:flex}.mobile-nav-preview>span.primary{color:var(--accent);font-weight:600}.mobile-nav-preview-label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.mobile-nav-slots{gap:0;display:grid}.mobile-nav-slots>h3{margin:0 0 8px}.mobile-nav-slot{border-top:1px solid var(--line);grid-template-columns:32px minmax(0,1fr);align-items:center;column-gap:12px;min-width:0;padding:12px 0;display:grid}.mobile-nav-slot-number{background:var(--accent-soft);width:32px;height:32px;color:var(--accent);border-radius:50%;place-items:center;font-weight:700;display:grid}.mobile-nav-slot-control{gap:5px;min-width:0;display:grid}.mobile-nav-slot-control select{width:100%;min-width:0;margin:0}.mobile-nav-slot-detail{min-width:0;color:var(--muted);grid-column:2;align-items:center;gap:6px;font-size:.85rem;display:flex}.mobile-nav-slot-fixed .mobile-nav-slot-detail{color:var(--accent)}.mobile-nav-order{border-block:1px solid var(--line);margin:0;padding:0;list-style:none}.mobile-nav-order li{grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:64px;padding:9px 0;display:grid}.mobile-nav-order li+li{border-top:1px solid var(--line)}.mobile-nav-item-icon{width:28px;height:28px;color:var(--accent);place-items:center;display:grid}.mobile-nav-item-icon .color-dot{width:12px;height:12px}.mobile-nav-item-name{flex-direction:column;gap:2px;min-width:0;display:flex}.mobile-nav-item-name strong,.mobile-nav-item-name small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-nav-item-name small{color:var(--muted)}.mobile-nav-item-actions{gap:4px;display:flex}.mobile-nav-item-actions .icon-only{place-items:center;width:44px;min-height:44px;padding:0;display:grid}.mobile-nav-add{align-items:end;gap:10px;display:flex}.mobile-nav-add label{flex:auto}.mobile-nav-add .btn{flex:none;min-height:44px}@media (width<=480px){.mobile-nav-order li{grid-template-columns:28px minmax(0,1fr)}.mobile-nav-item-actions{grid-column:2}.mobile-nav-add{flex-direction:column;align-items:stretch}}.history-guide p{margin:0 0 6px}.history-guide>details>summary{min-height:44px;color:var(--accent);padding:8px 0}.note-header{z-index:2;background:var(--bg);border-bottom:1px solid var(--line);padding:12px 0;position:sticky;top:-16px}.note-header h2{text-transform:none;letter-spacing:normal;color:var(--text);margin:0;font-size:1.2rem}.note-header>button{flex-shrink:0}.note-reading p{margin:0}.note-edit-form{position:relative}.project-view-select{max-width:100%}.project-management>summary{min-height:44px;padding:10px}.project-management{position:relative}.project-management[open]{z-index:9}.project-management>.project-action-list{left:auto;right:0}.topic-summary{margin-bottom:0}.topic-summary>summary{min-height:44px;padding:10px 0;font-weight:600}.topic-summary .row-between{margin-top:12px}.note-header{flex-wrap:nowrap}.note-header h2{flex:1}.workspace-note label:has(>input[type=checkbox]){flex-direction:row}.attachment-add{padding:0}.attachments>p{margin:0}.attachment-management>.stack{padding-top:8px}.attachments .row>label{width:100%}@media (width<=899px){.page-head{margin-top:0;margin-bottom:12px}.page-head>p{margin:2px 0 0}.task{gap:8px;padding:10px 6px 10px 8px}.check{width:44px;height:44px;color:var(--muted)}.more,.icon-btn{flex-shrink:0;width:44px;height:44px}.btn.small,.mobile-collections-bar .btn,.composer-toolbar :is(.composer-chip,.composer-add,.composer-remove){min-height:44px}.composer-remove{min-width:32px}.composer-desktop-actions,.composer-help{display:none}.composer-chip{font-size:.9rem!important}.composer-toolbar{gap:6px}.page-editor{padding-bottom:160px}.mobile-savebar{z-index:9;bottom:calc(66px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);flex-direction:column;gap:6px;max-width:640px;margin:auto;padding:10px 16px;display:flex;position:fixed;left:0;right:0;box-shadow:0 -4px 12px #00000014}.mobile-savebar.task-detail-savebar{border:1px solid var(--line);width:100%;max-width:none;box-shadow:none;border-radius:12px;position:static}.mobile-savebar .row{flex-wrap:nowrap}.mobile-savebar .btn.primary{flex:1}.schedule-summary{color:var(--muted);overflow-wrap:anywhere;max-height:3.8em;font-size:.8rem;overflow:auto}.mobile-savebar>p{max-height:3.8em;margin:0;overflow:auto}.segmented.recurrence-modes{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.recurrence-modes button{min-height:44px}.days{gap:3px}.days button{flex:1;width:auto;min-width:0;min-height:44px}.collections-panel .sidebar-brand,.collections-panel .sidebar-add{display:none}.collections-panel .sidebar-group-action{opacity:1;pointer-events:auto}.collections-panel .sidebar-section{margin:12px 0}.sheet-scroll{isolation:isolate;max-height:62dvh;overflow:auto}.sheet{border-collapse:separate;border-spacing:0;min-width:512px}.sheet thead th{z-index:3;background:var(--surface);width:48px;position:sticky;top:0}.sheet thead th:first-child{z-index:4;width:176px;min-width:176px;left:0}.sheet tbody th{z-index:2;background:var(--surface);text-align:left;overflow-wrap:normal;padding:10px;position:sticky;left:0}.sheet tbody th a{overflow-wrap:break-word}.sheet tbody th .small{white-space:normal;display:block}.sheet .mark{min-height:48px}.sheet .history-editor-row>td{padding:12px}.history-cell-editor{width:calc(100vw - 72px);max-width:576px;position:sticky;left:12px}.workspace-overlay:has(.workspace-note){padding:0}.workspace-note{width:100%;height:100dvh;max-height:100dvh;padding-bottom:calc(24px + env(safe-area-inset-bottom));border-radius:0;margin:0}.project-workspace>.page-head h1{font-size:1.4rem}.project-workspace>.page-head,.project-workspace .compact-filters{margin-bottom:0}}.confirmation-dialog p{overflow-wrap:anywhere;white-space:pre-line;line-height:1.65}.confirmation-dialog .delete-task-icon{font-size:1.5rem;font-weight:700}.confirmation-icon-neutral{color:var(--accent);background:var(--accent-soft)}.execution-dialog textarea{width:100%}.execution-dialog .execution-error{white-space:pre-line}.execution-last{background:var(--accent-soft);border-radius:12px;padding:10px 12px}.execution-dialog .execution-last p{margin:0}.execution-last-note,.execution-reminder{white-space:pre-line;overflow-wrap:anywhere}.execution-reminder{margin:6px 0 0}.execution-quality-choice{border:0;flex-wrap:wrap;gap:8px;margin:0;padding:0;display:flex}.execution-quality-choice legend{margin-bottom:6px}.execution-quality-choice label{border:1px solid var(--line);cursor:pointer;border-radius:999px;flex-direction:row;align-items:center;gap:6px;padding:8px 14px;display:inline-flex;position:relative}.execution-quality-choice label.selected{border-color:var(--accent);background:var(--accent-soft)}.execution-quality-choice input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.execution-quality-choice label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.pill.execution-quality.quick{background:var(--late-soft);color:var(--late)}.task-editor-inputs .row>label{flex:140px}@media (width<=480px){.delete-task-dialog{border-radius:20px;padding:24px}.delete-task-actions{flex-direction:column-reverse}.delete-task-actions .btn{width:100%;min-height:46px}}.composer-summary{max-width:360px;color:var(--muted);text-align:right;overflow-wrap:anywhere;font-size:.8rem}.workspace-item-actions{align-items:center;gap:4px;margin-left:auto;display:flex}.project-action-list>label{flex-direction:column;gap:4px;padding:8px 10px;font-size:.85rem;display:flex}.project-action-list>label select{width:100%}@media (width>=900px){.days{justify-content:flex-start;gap:10px}.days button{flex:0 0 44px}.project-workspace{max-width:1180px}.workspace-items .row-between{flex-wrap:nowrap;align-items:flex-start}.workspace-items .row-between>h3{flex:1}.workspace-item-actions{flex:none}}@media (width>=1200px){.sheet-scroll{max-height:none;overflow:visible}.history-scroll-hint{display:none}.workspace-items{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.workspace-items>.card{margin:0}}.project-view-tabs{overscroll-behavior-x:contain;scrollbar-width:thin;border-bottom:1px solid var(--line);gap:4px;padding:3px 2px 0;display:flex;position:relative;overflow-x:auto}.project-view-tab{font:inherit;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;border-radius:8px 8px 0 0;flex:1 0 auto;justify-content:center;align-items:center;min-height:48px;padding:10px 14px;font-size:.9rem;text-decoration:none;display:inline-flex}.project-view-tab:hover{background:var(--surface);color:var(--text)}.project-view-tab[aria-current]{background:var(--accent-soft);border-bottom-color:var(--accent);color:var(--accent);font-weight:600}.project-event-list{margin:0;padding:0;list-style:none}.project-event-list li{border-bottom:1px solid var(--line);flex-direction:column;gap:8px;padding:16px 0;display:flex}.project-event-list li:last-child{border-bottom:0}.project-event-meta,.project-event-byline{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:.8rem;display:flex}.project-event-kind{background:var(--accent-soft);color:var(--accent);border-radius:6px;padding:3px 8px;font-weight:600}.project-event-title{overflow-wrap:anywhere;font-weight:500}.agent-event{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:0 12px}.agent-event>summary{flex-direction:column;gap:4px;min-height:44px;padding:10px 0;display:flex}.agent-event-summary-main,.agent-event-summary-meta{overflow-wrap:anywhere}.agent-event-summary-meta{color:var(--muted);font-size:.85rem}.agent-event-facts,.agent-event-changes>dl{gap:8px;margin:0 0 12px;display:grid}.agent-event-facts{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.agent-event-facts>div,.agent-event-changes>dl>div{min-width:0}.agent-event-facts dt,.agent-event-changes dt{color:var(--muted);font-size:.8rem;font-weight:600}.agent-event-facts dd,.agent-event-changes dd{overflow-wrap:anywhere;margin:2px 0 0}.agent-event-changes h4{margin-bottom:8px}.agent-event-before-after{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.agent-event-value,.agent-event-technical pre{border:1px solid var(--line);background:var(--bg);max-height:240px;color:var(--text);font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px;margin:4px 0 0;padding:8px;font-size:.9rem;overflow:auto}.agent-event-technical{margin-bottom:12px}.agent-event-technical>summary{color:var(--muted);font-size:.85rem}@media (width<=599px){.agent-event-before-after{grid-template-columns:minmax(0,1fr)}}.project-workspace [aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--text)}.project-list-tools{align-items:end;gap:12px}.project-list-tools label{flex:0 210px;min-width:0}.project-layout{margin-left:auto}.project-content-group>summary{cursor:pointer;padding:12px 0;font-weight:600}.project-content-group>summary .muted{margin-left:8px;font-weight:400}.project-workspace .workspace-items{flex-direction:column;gap:8px;display:flex}.project-workspace .project-content-item{min-width:0;margin:0;padding:16px}.project-content-item>.row-between{flex-wrap:nowrap;align-items:flex-start;gap:12px}.project-content-body{flex:1;min-width:0}.project-content-body h3{overflow-wrap:anywhere;margin:2px 0 6px}.project-content-body h3 a,.project-title-button{color:inherit;text-decoration:none}.project-title-button{font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.project-content-body h3 a:hover,.project-title-button:hover{text-decoration:underline}.project-item-meta{flex-wrap:wrap;gap:4px 12px;display:flex}.project-content-preview{-webkit-line-clamp:2;color:var(--muted);-webkit-box-orient:vertical;margin:8px 0 0;font-size:.9rem;display:-webkit-box;overflow:hidden}.project-complete{border:2px solid var(--accent);width:32px;height:32px;color:var(--accent);cursor:pointer;background:0 0;border-radius:50%;flex:0 0 32px;margin-top:14px}.project-content-item.is-selected{outline:2px solid var(--accent);outline-offset:-2px}.project-task-panel{display:none}.project-heading-line{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.project-heading-line h1{overflow-wrap:anywhere;flex:1;min-width:0}.project-back,.project-search-trigger{flex-shrink:0;width:44px;height:44px;padding:10px}.project-back{background:0 0;border-color:#0000}.project-search-dialog{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);width:min(540px,100vw - 24px);max-height:calc(100dvh - 32px);color:var(--text);padding:20px;overflow-y:auto}.project-search-dialog::backdrop{background:#00000073}.project-search-dialog h2{color:var(--text);text-transform:none;letter-spacing:0;margin:0;font-size:1.1rem}.project-tools-strip{flex-wrap:wrap;align-items:center;gap:4px;display:flex;position:relative}.project-tools-strip .compact-filters{display:contents}.project-tool,.project-tool-button,.project-tools-strip .filter-icon-only{flex:0 0 44px}.project-tool>summary,.project-tool-button,.project-tools-strip .filter-icon-only{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--text);border-radius:10px;justify-content:center;align-items:center;padding:10px;display:flex;position:relative}.project-tool>summary:before,.filter-icon-only>span,.filter-icon-only .filter-chevron{display:none!important}.project-tool[open]>summary,.project-tool>summary[data-active=true]{border-color:var(--accent);background:var(--accent-soft)}.tool-badge,.filter-icon-only[data-count]:after{min-width:16px;height:16px;color:var(--accent-ink);background:var(--accent);border-radius:8px;place-items:center;padding:0 3px;font-size:10px;font-weight:600;display:grid;position:absolute;top:-4px;right:-2px}.filter-icon-only[data-count]:after{content:attr(data-count)}.project-tool-menu{z-index:13;border:1px solid var(--line);background:var(--surface);border-radius:12px;width:min(320px,100%);max-height:min(360px,60dvh);padding:12px;position:absolute;top:50px;left:0;overflow-y:auto;box-shadow:0 8px 24px #0000002e}.project-tool-menu h3{margin:0 8px 8px}.project-tool-menu button{width:100%;min-height:44px;font:inherit;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px;display:flex}.project-tool-menu button:hover{background:var(--accent-soft)}@media (width<=899px){.project-workspace.stack{gap:10px;padding-top:8px}.project-workspace>.project-desktop-head{gap:6px;margin:0}.project-heading-line{width:100%}.project-create-actions{gap:6px}.project-create-actions .btn{padding:8px 10px}.project-view-tab{min-height:44px;padding:8px 10px}.project-workspace .compact-filters{margin-bottom:0}.project-list-tools{gap:8px}.project-list-tools label{flex-basis:140px;gap:4px}.project-content-group>summary{padding:6px 0}.project-workspace .project-content-item{padding:12px}}.project-topic-badge{border:1px solid var(--line);max-width:100%;color:var(--text);background:var(--bg);font:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer;border-radius:7px;align-items:center;gap:6px;padding:5px 8px;display:inline-flex}.project-topic-context{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);flex-wrap:wrap;align-items:center;gap:12px 20px;padding:12px;display:flex}.project-topic-context h2{color:var(--text);text-transform:none;letter-spacing:0;overflow-wrap:anywhere;margin:2px 0 0;font-size:1.1rem}.project-topic-badge:hover{border-color:var(--accent);background:var(--accent-soft)}.topic-navigation{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.topic-switcher{flex:220px;min-width:0;position:relative}.topic-switcher>summary{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:center;gap:8px;min-height:44px;padding:10px 12px;display:flex}.topic-switcher>summary>span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.topic-switcher>summary:before{order:3;margin-right:0}.topic-switcher-menu{z-index:12;border:1px solid var(--line);background:var(--surface);border-radius:12px;width:100%;padding:12px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 8px 24px #0000002e}.topic-switcher-options{overscroll-behavior:contain;max-height:250px;margin-top:8px;overflow-y:auto}.topic-switcher-options button{width:100%;min-height:44px;font:inherit;text-align:left;color:var(--text);overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px;display:flex}.topic-switcher-options button:hover{background:var(--accent-soft)}@media (width>=560px){.project-workspace .workspace-items.project-items-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}}@media (width>=900px){.project-desktop-head{justify-content:space-between;align-items:center;gap:24px;display:flex}.project-desktop-head h1{margin-bottom:0}.project-workspace .compact-filters{max-width:760px}}@media (width>=1000px){.project-workspace.has-task-panel{max-width:1740px;padding-right:min(43vw,560px)}.has-task-panel .project-desktop-head{flex-wrap:wrap}.has-task-panel .workspace-items.project-items-grid{grid-template-columns:1fr}.project-task-panel{overscroll-behavior:contain;background:var(--surface);border-left:1px solid var(--line);width:min(42vw,540px);box-shadow:var(--shadow);z-index:35;padding:24px;display:flex;position:fixed;top:0;bottom:0;right:0;overflow-y:auto}.project-panel-head{background:var(--surface);z-index:1;padding:12px 0;position:sticky;top:-24px}.project-task-panel h2{overflow-wrap:anywhere}.project-task-panel>details>summary{cursor:pointer;padding:12px 0}}.project-workspace .workspace-items{align-items:stretch}.project-workspace .project-content-item{width:100%}@media (width>=900px){.project-workspace .project-desktop-head{flex-direction:row}}.project-task-panel h2{text-transform:none;letter-spacing:normal;color:var(--text);margin:0;font-size:1.4rem}@media (width<=599px){.project-list-tools label{flex:140px}.project-layout{display:none}}.delete-project-dialog .project-delete-choice{align-items:flex-start;gap:10px;display:flex}.delete-project-dialog input[type=radio]{flex:0 0 18px;width:18px;height:18px;min-height:0;margin:3px 0 0}.delete-project-dialog fieldset{border:1px solid var(--line);border-radius:var(--radius);padding:14px}.topic-navigation{flex-wrap:nowrap;position:relative}.topic-navigation .topic-switcher{flex:1 1 0}.project-tools-menu{flex:none}.project-tools-menu>summary{justify-content:center;align-items:center;width:44px;height:44px;padding:10px;display:flex;position:relative}.project-tools-menu>summary:before{display:none!important}.project-tools-popover{z-index:30;border:1px solid var(--line);background:var(--surface);border-radius:14px;width:min(360px,100%);max-height:min(70dvh,600px);padding:16px;position:absolute;top:calc(100% + 8px);right:0;overflow:auto;box-shadow:0 12px 36px #0003}.project-tools-popover .compact-filters{flex-direction:column;align-items:stretch;display:flex}.project-tools-popover .workspace-filters{flex-direction:column;display:flex}.project-tools-popover .filter-panel{padding:10px}@media (width<=899px){.project-group-control{display:none}}.topic-icon-options{margin-top:10px}.topic-icon-grid{scrollbar-gutter:stable;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));grid-auto-rows:44px;align-content:start;gap:6px;height:100px;min-height:100px;max-height:100px;padding:3px;display:grid;overflow:hidden auto}.topic-icon-grid .btn{justify-content:center;padding:10px}.topic-icon-grid [aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.topic-switcher-options button>span{text-align:left;flex:1}.note-header h2{overflow-wrap:anywhere;min-width:0}.note-header>button{white-space:nowrap}@media (width<=480px){.note-header{flex-wrap:wrap}.note-header h2{flex-basis:100%}.note-header>button:first-of-type{margin-left:auto}}.project-note{cursor:pointer}.note-comments-preview{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.note-comments-preview p{margin:6px 0 0}.vacation-range{align-items:flex-end}.vacation-range>label{flex:1;min-width:0}.vacation-range input{width:100%;min-width:0}@media (width<=480px){.vacation-range{flex-wrap:wrap}.vacation-range>button{margin-left:auto}}.project-content-heading{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.project-content-heading>.project-topic-badge{white-space:normal;text-align:left;min-width:0;max-width:min(70%,26rem);margin-left:auto}.project-content-heading .project-topic-badge span{overflow-wrap:anywhere;min-width:0}.project-markdown-preview{max-height:4.5em;display:block;overflow:hidden}.project-markdown-preview .markdown-note>*{font-size:inherit;margin:0;line-height:1.5}.project-markdown-preview .markdown-check{flex-direction:row;min-height:0}.project-markdown-preview input[type=checkbox]{opacity:1;width:16px;height:16px;min-height:16px}.topic-icon-grid>p{grid-column:1/-1;margin:0}.topic-icon-tooltip{z-index:1000;overflow-wrap:anywhere;background:var(--text);max-width:min(240px,100vw - 16px);color:var(--bg);pointer-events:none;padding:4px;font-size:12px;position:fixed}.comment-initials{color:var(--accent);margin-right:6px}.page-editor{flex-direction:column;display:flex}.page-editor .task-top-savebar{z-index:10;order:-1;width:100%;margin-left:auto;position:sticky;top:60px;bottom:auto}.task-top-savebar .row{justify-content:flex-end}.task-top-savebar button{flex:none;width:auto}.markdown-note img{border-radius:8px;max-width:100%;height:auto}.page-editor>.page-head{order:-2}.task-editor-inputs[hidden]{display:none}.page-editor .task-top-savebar .row>.btn{flex:none;width:auto}.page-editor .task-top-savebar{background:var(--bg);flex-direction:column;align-items:flex-end;max-width:none;padding:10px 0;display:flex}.tabbar>button.tab-action{font-family:inherit;font-weight:inherit;cursor:pointer;background:0 0;border:0;border-radius:0}.tabbar>button.tab-action[aria-expanded=true]{color:var(--accent)}.tabbar>:is(a,button.tab-action){min-width:0;min-height:44px;position:relative}.tabbar-label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding-inline:2px;display:block;overflow:hidden}.tabbar-project-dot{border:1px solid var(--surface);border-radius:50%;width:8px;height:8px;position:absolute;top:2px;left:calc(50% + 5px)}.create-popup{inset:auto auto calc(80px + env(safe-area-inset-bottom)) 12px;width:min(340px,100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 110px - env(safe-area-inset-bottom));border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:16px;margin:0;padding:16px;position:fixed;overflow-y:auto;box-shadow:0 8px 32px #0000004d}.create-popup::backdrop{background:#00000040}.create-popup h2,.create-popup p{margin:0}.collection-history{margin-bottom:16px}@media (width>=900px){.create-popup{inset:76px auto auto 20px}}.note-version-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.note-version-content{overflow-wrap:anywhere;min-width:0}.note-version-content h4{margin:0}.note-diff{border:1px solid var(--line);border-radius:8px;font-family:monospace;overflow:hidden}.note-diff-line{white-space:pre-wrap;overflow-wrap:anywhere;padding:3px 8px;display:flex}.note-diff-line>span:last-child{min-width:0}.note-diff-marker{-webkit-user-select:none;user-select:none;flex:0 0 2ch}.note-diff-added{color:#174d29;background:#e3f4e7}.note-diff-removed{color:#7a2020;background:#fce7e7}@media (width<=640px){.note-version-columns{grid-template-columns:minmax(0,1fr)}}.topic-index-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;display:grid}.topic-index-button{justify-content:flex-start;gap:8px;min-width:0}.topic-index-name{text-overflow:ellipsis;white-space:nowrap;text-align:left;flex:1;min-width:0;overflow:hidden}.project-content-main{min-width:0}.project-topic-sidebar{align-self:start;min-width:0;padding:16px}.project-topic-sidebar h2{margin:0 0 12px}.project-topic-sidebar-heading{align-items:stretch;display:flex}.project-topic-sidebar-select,.project-topic-sidebar-expand,.project-topic-sidebar-contents button{color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0}.project-topic-sidebar-select{text-align:left;border-radius:8px;flex:1;align-items:center;gap:8px;min-width:0;padding:9px 6px;display:flex}.project-topic-sidebar-select span:nth-child(2){overflow-wrap:anywhere;flex:1;min-width:0}.project-topic-sidebar-select[aria-current=true],.project-topic-sidebar-select:hover,.project-topic-sidebar-expand:hover,.project-topic-sidebar-contents button:hover{background:var(--accent-soft)}.project-topic-sidebar-expand{min-width:36px;min-height:36px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.project-topic-sidebar-expand .ui-icon{transition:transform .16s}.project-topic-sidebar-expand[aria-expanded=true] .ui-icon{transform:rotate(90deg)}.project-topic-sidebar-expand[aria-expanded=true]{color:var(--accent)}.project-topic-sidebar-contents{gap:2px;padding-left:26px;display:grid}.project-topic-sidebar-contents button{text-align:left;overflow-wrap:anywhere;border-radius:8px;padding:7px}.project-topic-sidebar-contents p{margin:6px}@media (width>=900px){.project-content-layout.with-topic-sidebar{grid-template-columns:minmax(220px,260px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.project-content-layout.with-topic-sidebar .workspace-items.project-items-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}.project-topic-sidebar{max-height:calc(100dvh - 100px);position:sticky;top:82px;overflow-y:auto}}.note-diff-expand{border:0;border-block:1px dashed var(--line);background:var(--surface);width:100%;color:var(--muted,inherit);font:inherit;text-align:left;cursor:pointer;padding:4px 8px;font-size:.85rem;display:block}
