:root{color-scheme:light;--bg:#f4f5f8;--header:#fff;--surface:#fff;--surface2:#eef0f4;--ink:#252832;--muted:#6d7482;--faint:#a1a7b2;--line:#e2e5eb;--accent:#566bc3;--accentsoft:#e9edfc;--green:#25865e;--amber:#a76c16;--shadow:0 12px 40px #26314b18;--cardshadow:0 1px 2px #17203808;--headerheight:100px;font-family:-apple-system,BlinkMacSystemFont,"Inter","Segoe UI",sans-serif;font-size:13px}html[data-theme=dark]{color-scheme:dark;--bg:#181818;--header:#1d1d1d;--surface:#242424;--surface2:#2c2c2c;--ink:#e7e7e7;--muted:#a3a3a3;--faint:#767676;--line:#353535;--accent:#a9badc;--accentsoft:#30363f;--green:#73b69a;--amber:#d9ac71;--shadow:0 12px 40px #0007;--cardshadow:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;white-space:nowrap}button:disabled{opacity:.45;cursor:not-allowed}button,input,textarea,select{outline:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button{border:1px solid var(--line);border-radius:7px;background:var(--surface);padding:7px 10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:31px;transition:background .15s,border .15s,color .15s}button:hover{background:var(--surface2)}button.primary{background:#5268bd;border-color:#5268bd;color:#fff;font-weight:600}button.primary:hover{background:#4659aa}button.ghost{border-color:transparent;background:transparent}button.ghost:hover{background:var(--surface2)}button.active{background:var(--accentsoft);color:var(--accent);border-color:transparent}button.danger{color:#c84f54}svg.ico{width:15px;height:15px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}input,textarea,select{border:1px solid var(--line);background:var(--surface);border-radius:7px;padding:8px 10px;min-width:0}textarea{resize:vertical;line-height:1.55}input::placeholder,textarea::placeholder{color:var(--faint)}a{color:var(--accent)}header{position:sticky;top:0;z-index:20;background:var(--header);border-bottom:1px solid var(--line);padding:0 20px;box-shadow:0 2px 6px #00000004}.headerrow{display:flex;align-items:center;gap:10px;height:53px}.brand{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:15px;font-weight:680;letter-spacing:-.3px}.brand img{width:27px;height:27px}.grow{flex:1}.subrow{display:flex;align-items:center;gap:7px;min-height:45px;padding-bottom:7px;flex-wrap:wrap}.search{display:flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:0 10px;max-width:290px;width:26vw;min-width:130px;color:var(--muted)}.search input{padding:7px 0;background:transparent;border:0;width:100%;outline:none}.hint{font-size:11px;color:var(--muted)}.attention{font-size:12px;color:var(--amber);display:flex;align-items:center;gap:6px}.sep{width:1px;height:21px;background:var(--line);margin:0 2px}.board{display:flex;align-items:flex-start;gap:12px;padding:0 18px 24px;min-height:calc(100vh - var(--headerheight));width:max-content;min-width:100%;position:relative}.column{width:var(--width,260px);flex:none;position:relative;min-height:calc(100vh - var(--headerheight) - 25px)}.column-head{display:flex;gap:7px;align-items:center;height:45px;position:sticky;top:var(--headerheight);z-index:10;background:var(--bg);padding:0 5px 0 7px}.coltitle{font-weight:650;font-size:12px;letter-spacing:.03px}.count{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.column-head .ico{width:13px;height:13px}.col-list{min-height:80px;padding:0 2px 55px;display:flex;flex-direction:column;gap:5px}.col-list.empty{border:1px dashed var(--line);border-radius:9px;min-height:80px;align-items:center;justify-content:center;padding:12px;color:var(--faint);font-size:12px}.card{position:relative;display:flex;align-items:flex-start;gap:7px;background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:8px 8px 7px;min-height:41px;box-shadow:var(--cardshadow);cursor:grab;user-select:none;transition:background .12s,border-color .12s,box-shadow .12s;touch-action:pan-y}.card:hover{border-color:var(--faint);box-shadow:0 2px 6px #00000008}.card.selected{border-color:var(--accent);background:var(--accentsoft)}.card .body{min-width:0;flex:1}.tasktitle{font-size:13px;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;font-weight:490}.taskmeta{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px;line-height:1.3;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.taskmeta span{overflow:hidden;text-overflow:ellipsis}.dot{width:7px;height:7px;border-radius:50%;background:var(--dot,var(--faint));flex:none;margin-top:5px}.meta-dot{width:6px;height:6px;border-radius:50%;background:var(--dot,var(--faint));display:inline-block}.col-icon{color:var(--col,var(--muted));display:flex;align-items:center}.card-icons{display:flex;align-items:center;gap:5px;color:var(--muted);padding-top:2px}.card-icons .ico{width:13px;height:13px}.card[data-status="Done"]{background:color-mix(in srgb,var(--surface) 55%,var(--bg));border-color:color-mix(in srgb,var(--line) 75%,transparent);box-shadow:none;color:var(--muted)}.card[data-status="Done"] .dot{background:var(--faint)}.card[data-status="Done"] .tasktitle{font-weight:400}.card[data-status="Needs Input"] .taskmeta,.card[data-status="Needs Input"] .card-icons{color:var(--amber)}.spin{animation:spin 1.2s linear infinite;color:var(--accent)}@keyframes spin{to{transform:rotate(360deg)}}.toggle{display:inline-flex;align-items:center;position:relative;padding:0;width:28px;height:16px;min-height:16px;flex:none;border:0;border-radius:16px;background:#aeb5c0;margin-top:1px;transition:background .15s}.toggle:hover{background:#929ca9}.toggle[aria-checked=true]{background:#30986b}.toggle::after{content:"";position:absolute;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002;transition:transform .15s}.toggle[aria-checked=true]::after{transform:translateX(12px)}.grouphead{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:600;color:var(--muted);padding:7px 4px 2px;cursor:pointer}.grouphead:first-child{padding-top:2px}.grouphead .ico{width:12px;height:12px}.resize{position:absolute;right:-7px;top:9px;bottom:0;width:7px;cursor:col-resize;touch-action:none;z-index:11}.resize:hover{background:var(--accent);opacity:.2}.drop-marker{height:3px;background:var(--accent);border-radius:3px;pointer-events:none;flex:none}.drag-ghost{position:fixed;pointer-events:none;z-index:1000;box-shadow:var(--shadow);transform:rotate(.8deg);opacity:.96;cursor:grabbing}.drag-source{opacity:.27}.dragging{cursor:grabbing;user-select:none}.dragging *{cursor:grabbing!important}.col-list.drop-active{background:var(--accentsoft);border-radius:8px}.picker{position:relative}.popover{position:absolute;top:calc(100% + 5px);left:0;z-index:40;width:248px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);padding:7px;max-height:65vh;overflow:auto}.pop-row{display:flex;align-items:center;gap:7px;padding:7px 8px;border-radius:6px;cursor:pointer}.pop-row:hover{background:var(--surface2)}.pop-row input{margin:0;accent-color:var(--accent)}.pop-row .dot{margin:0}.popover input[type=search]{width:100%;margin-bottom:5px}.menurow{width:100%;justify-content:flex-start;border:0;background:none;text-align:left}.menurow:hover{background:var(--surface2)}#drawer{position:fixed;right:0;top:0;bottom:0;width:min(490px,100vw);background:var(--header);z-index:60;box-shadow:-14px 0 45px #0002;border-left:1px solid var(--line);overflow:auto;padding:21px 22px 40px;animation:slide .18s ease-out}#drawer[hidden]{display:none}@keyframes slide{from{transform:translateX(100%)}to{transform:translateX(0)}}.drawerhead{display:flex;align-items:center;gap:8px;margin-bottom:16px}.field{display:flex;flex-direction:column;gap:6px;margin:12px 0}.field label,.field-label{font-size:11px;font-weight:600;color:var(--muted)}.field input,.field textarea,.field select{width:100%}.field textarea.title-edit{font-size:19px;font-weight:620;letter-spacing:-.4px;line-height:1.3;min-height:50px;resize:vertical;padding:10px}.field textarea.notes{min-height:150px}.check-row{display:flex;gap:7px;align-items:center;margin:5px 0}.check-row input[type=checkbox]{width:16px;flex:none;accent-color:var(--accent)}.check-row input[type=text]{flex:1;min-width:0}.check-row button{padding:3px;min-height:26px}.actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:15px 0}.muted{color:var(--muted)}.divider{border:0;border-top:1px solid var(--line);margin:15px 0}.linklist a{display:block;overflow-wrap:anywhere;margin:5px 0}.logitem{font-size:11px;color:var(--muted);padding:5px 0;border-bottom:1px solid var(--line)}.logitem b{color:var(--ink);font-weight:550}.pill{display:inline-flex;border:1px solid var(--line);padding:3px 7px;border-radius:5px;font-size:11px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:12px;max-width:min(460px,calc(100vw - 28px));width:430px;color:var(--ink);background:var(--surface);box-shadow:var(--shadow);padding:20px;max-height:85vh;overflow:auto}dialog::backdrop{background:#13182855;backdrop-filter:blur(2px)}dialog h2{margin:0 0 5px;font-size:17px;font-weight:650}dialog p{color:var(--muted);line-height:1.5;margin:6px 0 12px}.dialog-head{display:flex;align-items:center;gap:8px}.project-option{display:flex;align-items:center;gap:8px;width:100%;justify-content:flex-start;border:0;padding:9px}.project-option .dot{margin:0}.project-scroll{max-height:38vh;overflow:auto}.login{min-height:100vh;display:grid;place-items:center;padding:20px}.loginbox{width:min(360px,100%);background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:28px;box-shadow:var(--shadow)}.loginbox .brand{font-size:21px;margin-bottom:22px}.loginbox button{width:100%;margin-top:7px}.loginbox .muted{line-height:1.5}.error{color:#cf5659;font-size:12px;line-height:1.4}#toast{position:fixed;top:12px;right:18px;z-index:120;background:var(--ink);color:var(--surface);padding:10px 14px;border-radius:9px;box-shadow:var(--shadow);font-size:12px;max-width:min(400px,90vw);opacity:0;pointer-events:none;transform:translateY(-8px);transition:opacity .15s,transform .15s}#toast.visible{opacity:1;transform:none}.bulk{color:var(--accent);display:flex;align-items:center;gap:5px}.headerrow .mobilehide{display:inline-flex}.projecttable{max-height:45vh;overflow:auto}.projecttable>div{display:flex;gap:6px;align-items:center;padding:5px 0;border-bottom:1px solid var(--line)}.projecttable .grow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notice{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:8px;line-height:1.45;margin:10px 0}.empty-note{color:var(--faint);font-size:11px;padding:12px 5px;text-align:center}.col-list .add-under{display:none}.drawer-link{white-space:normal;overflow-wrap:anywhere}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:700px){header{padding:0 10px}.headerrow{height:49px;gap:5px}.brand{font-size:13px;gap:5px}.brand img{width:24px;height:24px}.headerrow .mobilehide{display:none}.subrow{gap:5px;flex-wrap:wrap}.subrow button{padding:6px 8px;min-height:30px;font-size:11px}.search{min-width:95px;flex:1;max-width:none}.board{padding:0 8px 20px;gap:9px}.column{width:min(var(--width,260px),84vw)}.column-head{height:40px}.card{min-height:45px;padding:9px 8px}.tasktitle{font-size:14px}.toggle{width:32px;height:19px;min-height:19px}.toggle::after{width:15px;height:15px}.toggle[aria-checked=true]::after{transform:translateX(13px)}.resize{display:none}.attention{font-size:11px}.hint.desktop{display:none}#drawer{padding:15px 15px 30px}.popover{width:min(250px,85vw)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0.01ms!important;transition-duration:0.01ms!important;scroll-behavior:auto!important}}
header{left:0;width:100vw;max-width:100vw}.col-add{padding:4px;min-height:25px}.column:has(.drop-active){background:color-mix(in srgb,var(--accentsoft) 20%,transparent)}
/* One scroll surface for the board. The header never moves horizontally or vertically. */
body{overflow:hidden}#app{height:100dvh;display:flex;flex-direction:column}header{position:relative;top:auto;left:auto;width:100%;max-width:100%;flex:none}.board{display:block;width:100%;min-width:0;min-height:0;flex:1;overflow:auto;padding:0;overscroll-behavior:contain}.columns{display:flex;align-items:stretch;width:max-content;min-width:100%;min-height:100%;gap:12px;padding:0 18px 24px}.column{min-height:0}.column-head{top:0}.col-list{min-height:80px}.col-list.drop-active{min-height:80px}@media(max-width:700px){.board{padding:0}.columns{gap:9px;padding:0 8px 20px}}

/* Neutral graphite dark theme: only purposeful status/project color accents. */
html[data-theme=dark] button.primary{background:#d6d6d6;border-color:#d6d6d6;color:#202020}
html[data-theme=dark] button.primary:hover{background:#ededed;border-color:#ededed}
html[data-theme=dark] button.active{background:#333333;color:#eeeeee;border-color:#484848}
html[data-theme=dark] .card:hover{background:#2b2b2b;border-color:#515151;box-shadow:none}
html[data-theme=dark] .card.selected{background:#30363f;border-color:#75839a}
html[data-theme=dark] .card[data-status="Done"]{background:#1e1e1e;border-color:#303030;color:#919191}
html[data-theme=dark] .card[data-status="Done"] .taskmeta{color:#858585}
html[data-theme=dark] .card[data-status="Done"]:hover{background:#242424;border-color:#414141}
html[data-theme=dark] .toggle{background:#454545;border:1px solid #626262}
html[data-theme=dark] .toggle:hover{background:#555555}
html[data-theme=dark] .toggle::after{background:#c6c6c6;left:1px}
html[data-theme=dark] .toggle[aria-checked=true]{background:#36765b;border-color:#4b9274}
html[data-theme=dark] .toggle[aria-checked=true]::after{background:#e5eee9}
html[data-theme=dark] .brand img{filter:grayscale(1) brightness(1.15)}
html[data-theme=dark] .dot,html[data-theme=dark] .meta-dot{filter:saturate(.65)}
html[data-theme=dark] .card[data-status="Needs Input"] .taskmeta,html[data-theme=dark] .card[data-status="Needs Input"] .card-icons{color:#d9ac71}
html[data-theme=dark] #drawer{background:#202020;box-shadow:-14px 0 45px #0006}
html[data-theme=dark] dialog::backdrop{background:#0009}
html[data-theme=dark] .col-list.drop-active{background:#282828}
