:root{--bg:#f4f1ea;--surface:#fff;--text:#1b1f1d;--muted:#6a726d;--line:#e0dcd2;--accent:#1f7a4d;--accent-text:#fff;--bad:#b3261e;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#111513;--surface:#1b211e;--text:#eceeea;--muted:#99a29c;--line:#2a322e;--accent:#3fb77a;--accent-text:#08170f;--bad:#ff8a80}}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{background:var(--bg);color:var(--text);margin:0;font:18px/1.35 system-ui,-apple-system,Segoe UI,sans-serif}.page{max-width:640px;min-height:calc(100lvh + 2px);padding:calc(env(safe-area-inset-top) + 12px) 14px calc(env(safe-area-inset-bottom) + 120px);margin:0 auto}.top{justify-content:space-between;align-items:baseline;gap:12px;display:flex}h1{margin:4px 0 12px;font-size:28px}.status{align-items:center;gap:10px;font-size:14px;display:flex}.muted{color:var(--muted)}.bad{color:var(--bad)}.badge{background:var(--accent);color:var(--accent-text);border-radius:999px;padding:4px 10px;font-weight:600}.add{background:var(--bg);z-index:1;gap:8px;padding:6px 0;display:flex;position:sticky;top:0}.field{border:2px solid var(--line);background:var(--surface);min-width:0;height:56px;color:var(--text);border-radius:14px;flex:1;padding:0 16px;font-size:18px}.field:focus{border-color:var(--accent);outline:none}button{font:inherit;color:inherit}.btn{border:2px solid var(--line);background:var(--surface);cursor:pointer;border-radius:14px;height:56px;padding:0 18px;font-weight:600}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.btn:disabled{opacity:.5}.link{background:0 0;border:0;padding:8px;font-size:14px;text-decoration:underline}.chips{flex-wrap:wrap;gap:8px;margin:0;padding:4px 0 8px;list-style:none;display:flex}.chip{border:2px solid var(--line);background:var(--surface);cursor:pointer;border-radius:999px;min-height:44px;padding:0 16px}.list{margin:8px 0 0;padding:0;list-style:none}.row{border-bottom:1px solid var(--line);align-items:stretch;gap:8px;display:flex}.tick{text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:12px;min-width:0;min-height:52px;padding:0 4px;display:flex}.box{border:1.5px solid var(--muted);border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font-size:15px;font-weight:700;display:grid}.title{overflow-wrap:anywhere;font-size:17px}.row.done .title{color:var(--muted);text-decoration:line-through}.row.done .box{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.empty{text-align:center;margin-top:48px}.sync{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;color:var(--muted);opacity:0;flex:none;transition:opacity .2s}.sync .slash{display:none}.sync.busy{opacity:1;transition:opacity .2s .5s;animation:1s linear infinite spin}.sync.off{opacity:1}.sync.off .slash{display:inline}.sync.bad{opacity:1;color:var(--bad)}@keyframes spin{to{transform:rotate(360deg)}}.sec{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:22px 4px 0;font-size:13px}.sub{margin:24px 0 2px;font-size:18px}.small{font-size:14px}.store{text-overflow:ellipsis;white-space:nowrap;max-width:40vw;overflow:hidden}.icon{width:48px;min-height:48px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:12px;flex:none;align-self:center;font-size:20px}.icon:disabled{opacity:.25}.icon.danger{width:auto;color:var(--bad);padding:0 12px;font-size:15px;font-weight:600}.tagchip{border:2px solid var(--line);background:var(--surface);cursor:pointer;border-radius:999px;flex:none;align-self:center;min-height:36px;padding:0 12px;font-size:13px}.field.plain{background:0 0;border-color:#0000;height:52px;padding:0 4px}.field.plain:focus{background:var(--surface);border-color:var(--accent)}.row.dept{align-items:center}.add.static{margin-top:16px;position:static}.scrim{z-index:20;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);width:100%;max-width:640px;max-height:80dvh;padding:20px 16px calc(env(safe-area-inset-bottom) + 16px);border-radius:24px 24px 0 0;overflow:auto}.sheet h2{margin:0 4px 14px;font-size:20px}.sheet ul{gap:8px;margin:0 0 8px;padding:0;list-style:none;display:grid}.btn.wide{width:100%}.btn.ghost{color:var(--muted);background:0 0;border-color:#0000}.tabbar-wrap{z-index:10;pointer-events:none;padding-left:16px;padding-bottom:calc(env(safe-area-inset-bottom) * .3 + 6px);justify-content:flex-start;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar{pointer-events:auto;background:color-mix(in srgb, var(--surface) 45%, transparent);-webkit-backdrop-filter:blur(24px)saturate(180%);backdrop-filter:blur(24px)saturate(180%);border:1px solid #ffffff8c;border-radius:32px;gap:4px;padding:6px;display:flex;box-shadow:0 2px 10px #0000001f,inset 0 1px #fff9}@media (prefers-color-scheme:dark){.tabbar{border-color:#ffffff24;box-shadow:0 2px 10px #00000073,inset 0 1px #ffffff2e}}.tab{min-width:96px;height:58px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:26px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:12px;font-weight:600;display:flex}.tab svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.tab.active{color:var(--accent);background:color-mix(in srgb, var(--text) 9%, transparent);box-shadow:inset 0 1px #ffffff59}.fab{z-index:9;width:60px;height:60px;right:16px;bottom:calc(env(safe-area-inset-bottom) * .3 + 6px + 8px);background:var(--accent);color:var(--accent-text);cursor:pointer;border:0;border-radius:50%;place-items:center;display:grid;position:fixed;box-shadow:0 2px 10px #00000040}.fab svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;width:28px;height:28px}.scrim.dim{z-index:30;opacity:0;pointer-events:none;background:#00000047;transition:opacity .15s}.scrim.dim.open{opacity:1;pointer-events:auto}.composer{left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom) * .3 + 14px);z-index:31;background:color-mix(in srgb, var(--surface) 72%, transparent);-webkit-backdrop-filter:blur(24px)saturate(180%);backdrop-filter:blur(24px)saturate(180%);opacity:0;pointer-events:none;border:1px solid #ffffff8c;border-radius:30px;max-width:616px;margin:0 auto;padding:8px;transition:opacity .15s,transform .15s;position:fixed;transform:translateY(16px);box-shadow:0 2px 10px #0000001f,inset 0 1px #fff9}@media (prefers-color-scheme:dark){.composer{border-color:#ffffff24;box-shadow:0 2px 10px #00000073,inset 0 1px #ffffff2e}}.composer.open{opacity:1;pointer-events:auto;transform:none}.composer .chips{padding:4px 6px 8px}.composer .field{border-radius:999px;height:52px;padding:0 20px}.composer .send{width:52px;height:52px}.compose-row{gap:8px;display:flex}.send{background:var(--accent);width:56px;height:56px;color:var(--accent-text);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;display:grid}.send:disabled{opacity:.4}.send svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.storebtn{max-width:48vw;min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:2px;padding:0 6px 0 10px;font-size:15px;display:flex}.storebtn span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.storebtn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.btn.wide{justify-content:space-between;align-items:center;display:flex}.btn.picked{border-color:var(--accent);color:var(--accent)}.box.on{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.tick.picked .title{font-weight:600}.btn.danger-btn{color:var(--bad);border-color:var(--bad)}h3.sec{margin-top:24px}.handle{touch-action:none;cursor:grab;width:52px;height:52px;color:var(--muted);-webkit-user-select:none;user-select:none;flex:none;align-self:center;place-items:center;display:grid}.handle svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:24px;height:24px}.row.lifted{background:var(--surface);border-radius:14px;box-shadow:0 4px 16px #0003}.btn.done{height:44px;padding:0 20px}.check{cursor:pointer;background:0 0;border:0;flex:none;place-items:center;width:48px;min-height:52px;display:grid}.title-input,.title-btn{min-width:0;min-height:52px;color:var(--text);font:inherit;text-align:left;text-overflow:ellipsis;background:0 0;border:0;border-radius:10px;flex:1;padding:0 4px;font-size:17px}.title-input:focus{background:var(--surface);outline:none}.row.done .title-btn{color:var(--muted);cursor:pointer;text-decoration:line-through}
