:root{--bg:#eef2f1;--surface:#fff;--sunk:#e3e9e7;--line:#cfd8d5;--fg:#16211f;--muted:#5b6b67;--accent:#0d6b63;--accent-ink:#fff;--accent-soft:#d5ebe7;--high:#b42318;--high-soft:#fde4e1;--warn:#a15c07;--warn-soft:#fdeccc;--ok:#1f7a3d;--ok-soft:#dcf1e2;--low:#7a8a86;--f-display:"Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;--f-body:"Instrument Sans", "Segoe UI", system-ui, sans-serif;--f-mono:"JetBrains Mono", ui-monospace, Menlo, monospace;--r:10px}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0f1514;--surface:#18201f;--sunk:#131a19;--line:#2a3533;--fg:#e6eeec;--muted:#93a39f;--accent:#4fbfb2;--accent-ink:#06201d;--accent-soft:#173a36;--high:#ff8a7d;--high-soft:#3d1b18;--warn:#f0b35a;--warn-soft:#3a2a12;--ok:#6fd38f;--ok-soft:#173222;--low:#6f807c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#0f1514;--surface:#18201f;--sunk:#131a19;--line:#2a3533;--fg:#e6eeec;--muted:#93a39f;--accent:#4fbfb2;--accent-ink:#06201d;--accent-soft:#173a36;--high:#ff8a7d;--high-soft:#3d1b18;--warn:#f0b35a;--warn-soft:#3a2a12;--ok:#6fd38f;--ok-soft:#173222;--low:#6f807c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--bg);color:var(--fg);font-family:var(--f-body);font-size:15px;line-height:1.45}.wrap{max-width:1180px;padding-block:28px 48px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));flex-direction:column;gap:22px;margin:0 auto;display:flex}header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}h1{font-family:var(--f-display);letter-spacing:-.01em;text-wrap:balance;margin:0;font-size:clamp(1.7rem,4vw,2.4rem);font-weight:700;line-height:1.05}.sub{color:var(--muted);margin:4px 0 0}.who{color:var(--muted);align-items:center;gap:8px;font-size:.85rem;display:flex}.av{color:#fff;border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font-size:.72rem;font-weight:600;display:inline-grid}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{font:inherit;border:1px solid var(--line);background:var(--surface);color:var(--fg);cursor:pointer;border-radius:999px;padding:6px 12px;font-size:.85rem}.chip[aria-pressed=true]{background:var(--fg);color:var(--bg);border-color:var(--fg)}select.chip{width:auto;padding-right:28px}.btn{font:inherit;cursor:pointer;background:var(--accent);color:var(--accent-ink);border:0;border-radius:8px;padding:9px 16px;font-size:.9rem;font-weight:600}.btn.ghost{color:var(--fg);border:1px solid var(--line);background:0 0}.btn.danger{background:var(--high);color:#fff}.btn:disabled{opacity:.5;cursor:not-allowed}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:18px}.panel h2{font-family:var(--f-display);margin:0 0 12px;font-size:1.15rem}form .grid{grid-template-columns:2fr 1fr 1fr;gap:12px;display:grid}form .grid .full{grid-column:1/-1}@media (max-width:720px){form .grid{grid-template-columns:1fr}}label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);flex-direction:column;gap:4px;min-width:0;font-size:.75rem;font-weight:600;display:flex}input,select,textarea{font:inherit;text-transform:none;letter-spacing:0;color:var(--fg);background:var(--bg);border:1px solid var(--line);border-radius:7px;width:100%;padding:8px 10px;font-size:.95rem}textarea{resize:vertical;min-height:64px}.form-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.lanes{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px;display:grid}@media (max-width:860px){.lanes{grid-template-columns:1fr}}.lane{background:var(--sunk);border-radius:var(--r);flex-direction:column;gap:10px;min-width:0;padding:12px;display:flex}.lane-h{justify-content:space-between;align-items:center;padding:2px 4px;display:flex}.lane-h h3{font-family:var(--f-display);align-items:center;gap:8px;margin:0;font-size:1rem;font-weight:700;display:flex}.dot{border-radius:50%;width:9px;height:9px}.count{font-family:var(--f-mono);color:var(--muted);font-size:.8rem}.lane-empty{color:var(--muted);text-align:center;border:1px dashed var(--line);border-radius:8px;padding:14px 6px;font-size:.85rem}.card{background:var(--surface);border:1px solid var(--line);border-radius:8px;flex-direction:column;gap:8px;min-width:0;padding:12px 12px 10px 14px;display:flex;position:relative}.card:before{content:"";background:var(--line);border-radius:0 3px 3px 0;width:3px;position:absolute;top:10px;bottom:10px;left:0}.card.p-high:before{background:var(--high)}.card.p-normal:before{background:var(--accent)}.card.done{opacity:.72}.card.done .t{text-decoration:line-through;-webkit-text-decoration-color:var(--muted);text-decoration-color:var(--muted)}.t{overflow-wrap:anywhere;font-weight:600}.notes{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem}.meta{flex-wrap:wrap;align-items:center;gap:6px;font-size:.78rem;display:flex}.tag{background:var(--accent-soft);color:var(--fg);border-radius:999px;padding:2px 8px}.due{font-family:var(--f-mono);background:var(--sunk);color:var(--muted);border-radius:5px;padding:2px 7px}.due.over{background:var(--high-soft);color:var(--high);font-weight:500}.due.soon{background:var(--warn-soft);color:var(--warn)}.prio{text-transform:uppercase;letter-spacing:.05em;color:var(--high);font-size:.68rem;font-weight:600}.foot{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding-top:8px;display:flex}.assignee{align-items:center;gap:6px;min-width:0;font-size:.82rem;display:flex}.assignee .av{width:22px;height:22px;font-size:.65rem}.confirm{flex-wrap:wrap;align-items:center;gap:6px;font-size:.8rem;display:flex}.notice{border-radius:var(--r);background:var(--warn-soft);color:var(--fg);border:1px solid var(--line);padding:14px 16px}.empty{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:36px 16px;display:flex}.empty h2{font-family:var(--f-display);margin:0;font-size:1.3rem}.empty p{color:var(--muted);max-width:46ch;margin:0}.toast{left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));background:var(--fg);color:var(--bg);z-index:20;border-radius:8px;padding:9px 16px;font-size:.88rem;position:fixed;transform:translate(-50%)}@media (prefers-reduced-motion:no-preference){.card{transition:border-color .15s}.card:hover{border-color:var(--muted)}}html,body{margin:0;padding:0}body{-webkit-tap-highlight-color:transparent;min-height:100dvh}.wrap{padding-top:max(28px,calc(env(safe-area-inset-top,0px) + 12px));padding-bottom:max(48px,calc(env(safe-area-inset-bottom,0px) + 24px))}.who form{display:inline}.linkbtn{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0;font-size:.85rem;text-decoration:underline}.chips::-webkit-scrollbar{display:none}.lane-tabs{display:none}@media (max-width:860px){.lane-tabs{background:var(--sunk);border-radius:var(--r);top:env(safe-area-inset-top,0px);z-index:5;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid;position:sticky}.lane-tabs button{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;min-height:42px;font-size:.9rem;font-weight:600}.lane-tabs button[aria-selected=true]{background:var(--surface);color:var(--fg);box-shadow:0 1px 2px #00000014}.lane-tabs .count{margin-left:6px}.lane:not(.active),.lane .lane-h{display:none}}@media (max-width:640px){.wrap{gap:16px}.toolbar{flex-direction:column;align-items:stretch}.chips{scrollbar-width:none;flex-wrap:nowrap;width:calc(100% + 32px);min-width:0;margin-inline:-16px;padding-inline:16px;overflow-x:auto}.chip{white-space:nowrap;min-height:38px}#add-btn{right:max(16px,env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:15;border-radius:999px;padding:14px 20px;position:fixed;box-shadow:0 6px 18px #00000038}input,select,textarea{min-height:44px;font-size:16px}.form-actions .btn{flex:1;min-height:46px}.toast{bottom:calc(84px + env(safe-area-inset-bottom,0px))}}.login{place-items:center;min-height:100dvh;padding:16px;display:grid}.login .panel{text-align:center;flex-direction:column;gap:14px;width:100%;max-width:380px;display:flex}.login .btn{width:100%;min-height:46px}.summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.sum{font:inherit;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);cursor:pointer;color:var(--fg);align-items:baseline;gap:10px;min-width:0;padding:10px 14px;display:flex}.sum b{font-family:var(--f-display);font-variant-numeric:tabular-nums;font-size:1.6rem;font-weight:700;line-height:1}.sum span{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.72rem;font-weight:600;line-height:1.2}.sum.alert b{color:var(--high)}.sum[aria-pressed=true]{background:var(--fg);border-color:var(--fg)}.sum[aria-pressed=true] b,.sum[aria-pressed=true] span{color:var(--bg)}.filter-note{color:var(--muted);align-items:center;gap:10px;margin-top:-8px;font-size:.85rem;display:flex}.filter-note strong{color:var(--fg);font-weight:600}.list{flex-direction:column;gap:10px;display:flex}.swipe-wrap{border-radius:8px;position:relative}.swipe-hint{color:#fff;border-radius:8px;align-items:center;padding:0 16px;font-size:.85rem;font-weight:600;display:flex;position:absolute;inset:0}.swipe-hint.fwd{background:var(--accent);justify-content:flex-start}.swipe-hint.back{background:var(--low);justify-content:flex-end}.card{touch-action:pan-y;transition:transform .2s,border-color .15s}.card.tappable{cursor:pointer}.card.tappable:active{transform:scale(.99)}.foot{flex-wrap:nowrap}.assignee span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.move{font:inherit;border:1px solid var(--line);background:var(--surface);color:var(--fg);cursor:pointer;border-radius:999px;flex:none;min-height:32px;padding:5px 14px;font-size:.8rem;font-weight:600}.move:hover{background:var(--sunk)}.move.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.skeleton{background:linear-gradient(90deg,var(--surface) 0%,var(--sunk) 50%,var(--surface) 100%);background-size:200% 100%;border-style:dashed;height:96px;animation:1.2s linear infinite shimmer}.skeleton:before{display:none}@keyframes shimmer{to{background-position:-200% 0}}.sheet-backdrop{z-index:30;background:#0a141273;place-items:center;padding:16px;animation:.15s fade;display:grid;position:fixed;inset:0}.sheet{background:var(--surface);color:var(--fg);border-radius:16px;flex-direction:column;width:100%;max-width:560px;max-height:min(88dvh,760px);transition:transform .2s;animation:.18s pop;display:flex;box-shadow:0 20px 50px #0000004d}.sheet-head{touch-action:none;align-items:center;gap:10px;padding:16px 18px 10px;display:flex;position:relative}.sheet-head h2{font-family:var(--f-display);flex:1;margin:0;font-size:1.2rem}.grab{display:none}.x{font:inherit;background:var(--sunk);color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;width:32px;height:32px}.sheet-form{flex-direction:column;flex:1;min-height:0;display:flex}.sheet-body{overscroll-behavior:contain;flex-direction:column;gap:14px;padding:4px 18px 16px;display:flex;overflow-y:auto}.row2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.field{flex-direction:column;gap:4px;min-width:0;display:flex}.field-l{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.75rem;font-weight:600}.seg{background:var(--sunk);border-radius:9px;grid-auto-columns:1fr;grid-auto-flow:column;gap:3px;padding:3px;display:grid}.seg button{font:inherit;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:36px;font-size:.85rem;font-weight:600;display:flex}.seg button[aria-checked=true]{background:var(--surface);color:var(--fg);box-shadow:0 1px 2px #0000001a}.seg button.p-high[aria-checked=true]{color:var(--high)}.sheet-foot{padding:12px 18px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);align-items:center;gap:8px;display:flex}.foot-main{gap:8px;margin-left:auto;display:flex}.btn.del{color:var(--high);border-color:#0000;padding-inline:8px}.sheet-foot .confirm{flex:1;justify-content:flex-end;font-size:.9rem}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:translateY(8px)scale(.98)}}@keyframes rise{0%{transform:translateY(100%)}}@media (max-width:640px){.summary{gap:6px}.sum{flex-direction:column;align-items:flex-start;gap:3px;padding:9px 10px}.sum b{font-size:1.3rem}.sum span{letter-spacing:.04em;font-size:.62rem}header h1{font-size:1.6rem}.who-name{display:none}.sheet-backdrop{place-items:end stretch;padding:0}.sheet{border-radius:18px 18px 0 0;max-width:none;max-height:92dvh;animation:.25s cubic-bezier(.2,.8,.2,1) rise}.sheet-head{padding-top:22px}.grab{background:var(--line);border-radius:3px;width:40px;height:5px;display:block;position:absolute;top:8px;left:50%;transform:translate(-50%)}.row2{grid-template-columns:1fr}.sheet-foot .btn{min-height:46px}.foot-main,.foot-main .btn{flex:1}.move{min-height:36px;padding:6px 16px}}@media (prefers-reduced-motion:reduce){.sheet,.sheet-backdrop,.skeleton{animation:none}.card{transition:none}}
