:root{--ground: #F4F5F1;--surface: #FFFFFF;--surface-2: #ECEEE8;--ink: #1A2028;--muted: #5F6873;--line: #D8DCD3;--line-strong: #B9BFB3;--focus: #C9741A;--focus-soft: #FBF0E2;--ishii: #3B5BA9;--ishii-soft: #E6EBF7;--maeno: #5E7F3A;--maeno-soft: #E9EFDF;--danger: #B3261E;--danger-soft: #F8E5E3;--stale: #8A929B;--ok: #2E7D4F;--shadow: 0 1px 2px rgba(26,32,40,.06), 0 4px 12px rgba(26,32,40,.05)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--ground: #14181D;--surface: #1D2329;--surface-2: #252C34;--ink: #E8EBE6;--muted: #9AA3AD;--line: #2E363F;--line-strong: #46505B;--focus: #E39A44;--focus-soft: #3A2A16;--ishii: #8FA6E8;--ishii-soft: #232C42;--maeno: #A6C27A;--maeno-soft: #26301C;--danger: #F08A7E;--danger-soft: #3E1F1C;--stale: #6F7882;--ok: #6CC391;--shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.35)}}:root[data-theme=dark]{--ground: #14181D;--surface: #1D2329;--surface-2: #252C34;--ink: #E8EBE6;--muted: #9AA3AD;--line: #2E363F;--line-strong: #46505B;--focus: #E39A44;--focus-soft: #3A2A16;--ishii: #8FA6E8;--ishii-soft: #232C42;--maeno: #A6C27A;--maeno-soft: #26301C;--danger: #F08A7E;--danger-soft: #3E1F1C;--stale: #6F7882;--ok: #6CC391;--shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.35)}:root{color-scheme:light}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){color-scheme:dark}}:root[data-theme=dark]{color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:var(--ground);color:var(--ink);font-family:Zen Kaku Gothic New,Hiragino Sans,Noto Sans JP,system-ui,sans-serif;font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled,select:disabled{cursor:wait;opacity:.6}:where(button,input,select,textarea,summary,a,[tabindex]):focus-visible{outline:2px solid var(--focus);outline-offset:2px}input,select,textarea{min-width:0;border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;padding:6px 9px}a{color:var(--ishii)}.mono{font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums}.shell{height:100vh;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;--header-height: 72px;--footer-height: 40px}.topbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:12px 20px;background:var(--surface);border-bottom:1px solid var(--line);z-index:5}.brand{display:flex;align-items:baseline;gap:8px;white-space:nowrap}.brand h1{font-size:16px;font-weight:700}.brand span,.me{font-size:12px;color:var(--muted)}.tabs,.due-filter,.column-tabs{display:flex;gap:2px;background:var(--surface-2);padding:3px;border-radius:8px}.tab{border:0;background:transparent;padding:6px 12px;border-radius:6px;color:var(--muted);font-weight:500;white-space:nowrap}.tab[aria-current=page],.tab[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.filters{display:flex;align-items:center;gap:10px;margin-left:auto}.owner-filter{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;white-space:nowrap}.owner-filter select{max-width:140px}.due-filter .tab{font-size:12px;padding:5px 9px}.me{border-left:1px solid var(--line);padding-left:12px}.view{min-height:0;min-width:0;width:100%;padding:20px;max-width:1280px;margin:0 auto;overflow:auto}.view-board{overflow:hidden}.btn{border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;padding:6px 12px;font-size:13px;font-weight:500;white-space:nowrap}.btn.primary{background:var(--ink);color:var(--ground);border-color:var(--ink)}.btn.small{padding:4px 9px;font-size:12px}.btn.ghost{border-color:transparent;background:transparent;color:var(--muted)}.empty{color:var(--muted);opacity:.75;font-size:12px;padding:12px 4px;font-weight:400}.task-card{min-width:0;width:100%;overflow-wrap:anywhere;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:10px 12px 10px 14px;display:grid;gap:6px;position:relative;align-content:start;cursor:pointer}.task-card>*{min-width:0}.task-card:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:2px;background:var(--owner, var(--line-strong))}.owner-1{--owner: var(--ishii)}.owner-2{--owner: var(--maeno)}.task-card.stale{opacity:.62}.task-card:focus-within,.task-card:hover{border-color:var(--line-strong);box-shadow:var(--shadow)}.task-card.stale:focus-within,.task-card.stale:hover{opacity:1}.title{font-size:14px;font-weight:500;line-height:1.4}.task-title,.table-title{border:0;background:transparent;padding:0;text-align:left;font:inherit;color:inherit;overflow-wrap:anywhere}.task-title{width:100%;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:4.2em;overflow:hidden}.meta{display:flex;flex-wrap:wrap;gap:5px 8px;align-items:center;font-size:12px;color:var(--muted)}.meta>*{min-width:0;max-width:100%}.external-ref{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.next{font-size:12px;color:var(--muted)}.next b{color:var(--ink);font-weight:500}.pri{font-size:11px;padding:1px 6px;border-radius:4px;border:1px solid var(--line-strong);letter-spacing:.04em;white-space:nowrap}.pri.p1{background:var(--ink);color:var(--ground);border-color:var(--ink)}.pri.p2{color:var(--ink)}.pri.p3{border-color:transparent;color:var(--muted);padding-left:0}.seg{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:1px 7px;border-radius:999px}.mark{font-size:11px;padding:1px 6px;border-radius:4px}.mark.req{color:var(--ishii);background:var(--ishii-soft)}.mark.req.from-maeno{color:var(--maeno);background:var(--maeno-soft)}.mark.brief{color:var(--danger);background:var(--danger-soft)}.mark.stale-m{color:var(--muted);background:var(--surface-2)}.st{font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid var(--line-strong);color:var(--muted);background:var(--surface);white-space:nowrap}.st.doing{color:var(--focus);background:var(--focus-soft);border-color:transparent}.st.blocked{color:var(--danger);background:var(--danger-soft);border-color:transparent}.st.done{color:var(--ok);background:var(--surface-2);border-color:transparent}.date-line{display:flex;flex-wrap:wrap;gap:3px 10px}.due{font-size:12px;color:var(--muted);white-space:nowrap}.due.over,.over{color:var(--danger);font-weight:500}.due.today-due{color:var(--focus);font-weight:700}.focus-card{background:var(--focus-soft);border-color:var(--focus);border-radius:10px;padding:14px 16px;gap:8px}.focus-card .title{font-size:17px;font-weight:700;line-height:1.35}.focus-card .task-title{max-height:4.05em}.brief{display:grid;grid-template-columns:3.5em minmax(0,1fr);gap:2px 10px;margin:4px 0 0;font-size:13px}.brief dt{color:var(--muted)}.brief dd{min-width:0;margin:0}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.today{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;align-items:start}.person{min-width:0}summary{cursor:pointer}.person>summary{display:flex;gap:10px;align-items:baseline;border-bottom:1px solid var(--line);padding:0 0 10px 12px;border-left:3px solid var(--owner, var(--line-strong))}.person>summary b{font-size:15px}.person>summary span{font-size:12px;color:var(--muted)}.person .expand-hint{margin-left:auto}.group{min-width:0;display:grid;gap:8px;margin-top:16px}.section-label{display:flex;align-items:baseline;gap:6px;color:var(--muted);font-size:11px;font-weight:500;letter-spacing:.06em}.section-label span{color:var(--ink)}.focus-label{color:var(--focus);font-weight:700}.other-group{border-top:1px solid var(--line);padding-top:12px}.other-group>summary{display:list-item;list-style-position:inside}.other-group[open]>summary{margin-bottom:8px}.board-view{height:100%;min-height:0;display:flex;flex-direction:column}.board{min-height:0;height:100%;display:grid;grid-template-columns:repeat(4,minmax(280px,1fr));gap:14px;overflow-x:auto;overflow-y:hidden;padding-bottom:8px}.col{min-width:0;max-height:calc(100vh - var(--header-height) - var(--footer-height) - 40px);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;background:var(--surface-2);border-radius:10px;padding:10px}.col-head{position:sticky;top:-10px;z-index:1;background:var(--surface-2);padding:12px 14px 10px;margin:-10px -10px 0;border-bottom:1px solid var(--line)}.col-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.col-title h2,.col-title .st{font-size:13px}.count{font-size:12px;color:var(--muted)}.owner-counts{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:11px;color:var(--muted);margin-top:6px}.dropzone{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:8px;min-height:140px;padding-top:10px}.col .task-card{cursor:grab}.mobile-actions{display:none;gap:6px;flex-wrap:wrap}.column-tabs{flex-shrink:0;margin-bottom:10px}.column-tabs .tab{flex:1;padding:7px 4px;font-size:12px}.list-view{display:flex;flex-direction:column;height:100%;min-height:0}.listbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}.listbar input{flex:1;min-width:270px;max-width:420px}.result-count{margin-left:auto;color:var(--muted);font-size:12px;white-space:nowrap}.tablewrap{min-height:0;overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--surface)}table{border-collapse:separate;border-spacing:0;width:100%;min-width:1600px;table-layout:fixed}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}th{position:sticky;top:0;z-index:1;white-space:nowrap;font-size:11px;font-weight:500;color:var(--muted);background:var(--surface-2)}th button{border:0;background:transparent;padding:0;font:inherit;color:inherit;white-space:nowrap}.updated-cell{width:106px;min-width:106px;white-space:nowrap;font-size:12px}.priority-cell{width:64px;min-width:64px}.external-cell{width:100px;min-width:100px}.title-cell{width:300px;min-width:300px}.owner-cell{width:90px;min-width:90px}.status-cell{width:112px;min-width:112px}.segment-cell{width:128px;min-width:128px}.reference-cell{width:155px;min-width:155px}.due-cell{width:156px;min-width:156px}.next-cell{width:280px;min-width:280px;font-size:12px}tbody tr{cursor:pointer}tbody tr:hover,tbody tr:focus-within{background:var(--surface-2)}tbody tr:last-child td{border-bottom:0}tbody td:first-child{border-left:3px solid var(--owner, var(--line-strong))}.stale .table-title,.stale .next-cell,.stale-update{color:var(--stale)}.table-title{font-weight:500}.status-cell select{width:88px;padding:4px 6px}.panel-backdrop{position:fixed;inset:0;background:#0004;z-index:9}.panel{position:fixed;right:0;top:0;bottom:0;width:min(560px,100vw);background:var(--surface);box-shadow:-8px 0 30px #0003;z-index:10;padding:20px;overflow:auto}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;position:sticky;top:-20px;background:var(--surface);margin:-20px -20px 18px;padding:18px 20px 12px;border-bottom:1px solid var(--line);z-index:1}.panel-head h2{font-size:17px}.panel-close{border:0;background:transparent;font-size:24px;line-height:1;padding:4px 8px}.panel form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.panel label{display:grid;gap:4px;min-width:0;color:var(--muted);font-size:12px}.panel .wide{grid-column:1 / -1}.panel input,.panel select,.panel textarea{width:100%}.panel textarea{min-height:82px;resize:vertical}.panel .title-input{min-height:100px}.panel-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:8px;padding-top:8px}.opsbar{display:flex;gap:8px 20px;flex-wrap:wrap;padding:10px 20px;border-top:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:12px}.ok{color:var(--ok)}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%);max-width:calc(100vw - 24px);width:max-content;background:var(--ink);color:var(--ground);padding:10px 14px;border-radius:8px;z-index:20}.toast button{border:0;background:transparent;color:inherit;margin-left:12px}.login,.loading{min-height:100vh;display:grid;place-items:center}.login-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:28px;box-shadow:var(--shadow)}@media (max-width: 1050px){.me{display:none}.filters{margin-left:0}.new{margin-left:auto}}@media (max-width: 900px){.today{grid-template-columns:minmax(0,1fr)}}@media (max-width: 719px){.topbar{gap:8px;padding:10px 12px}.brand{flex:1}.brand span{font-size:11px}.tabs{order:2;flex:1}.tabs .tab{flex:1}.logout{order:2;font-size:11px;padding:6px}.filters{order:3;width:100%;justify-content:space-between;gap:6px}.owner-filter select{max-width:94px}.due-filter .tab{padding:6px 7px}.view{padding:12px}.board{grid-template-columns:minmax(0,1fr)}.col{max-height:calc(100vh - var(--header-height) - var(--footer-height) - 72px)}.col .task-card{cursor:pointer}.mobile-actions{display:flex}.btn{min-height:36px}.listbar input{min-width:0;flex-basis:100%;max-width:none}.panel form{grid-template-columns:minmax(0,1fr)}.opsbar{padding:8px 12px;font-size:11px}}@media (prefers-reduced-motion: no-preference){.task-card,.btn,.tab{transition:box-shadow .12s,border-color .12s,background .12s}}.progress-summary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;min-width:0}.checklist-progress{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0;max-width:100%;font-size:11px}.checklist-progress .mono{white-space:nowrap}.checklist-progress progress{appearance:none;border:0;border-radius:3px;overflow:hidden;width:62px;height:4px;background:var(--surface-2);accent-color:var(--ok)}.checklist-progress progress::-webkit-progress-bar{background:var(--surface-2);border-radius:3px}.checklist-progress progress::-webkit-progress-value{background:var(--ok);border-radius:3px}.checklist-progress progress::-moz-progress-bar{background:var(--ok);border-radius:3px}.progress-age,.last-update{color:var(--muted);font-size:11px}.progress-age.stale-update{color:var(--stale)}.last-update{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:3px}.source-mark{padding:0 5px;border:1px solid var(--line);border-radius:4px;font-size:10px}.progress-cell{width:155px;min-width:155px}table{min-width:1755px}.checklist{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:2px}.checklist li{min-width:0}.checklist label{display:flex;align-items:flex-start;gap:8px;padding:5px 0;cursor:pointer;color:var(--ink);font-size:13px}.checklist input[type=checkbox]{width:16px;height:16px;min-width:16px;margin:3px 0 0;padding:0;accent-color:var(--ok);cursor:pointer}.checklist label span{min-width:0;overflow-wrap:anywhere}.checklist .checked label span{color:var(--muted);text-decoration:line-through}.panel-progress{display:grid;gap:6px;margin-bottom:14px}.panel-checklist{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:18px}.checklist-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.checklist-head h3{font-size:13px;font-weight:500}.checklist-editor ol{display:grid;gap:8px;list-style:none;padding:0;margin:0 0 10px}.checklist-editor li{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:6px;align-items:center}.checklist-editor input{font-size:12px;width:100%}.checklist-done-mark{color:var(--ok);font-size:12px}.checklist-order{display:flex;gap:4px}.checklist-order .btn{padding:4px 6px}.checklist-editor .actions{margin-top:12px}.checklist-conflict{background:var(--focus-soft);border:1px solid var(--focus);border-radius:6px;padding:10px;margin-top:12px;font-size:12px}.checklist-conflict ul{padding-left:18px}@media (max-width: 719px){.checklist label{min-height:38px}.checklist-editor li{grid-template-columns:16px minmax(0,1fr)}.checklist-order{grid-column:2;justify-content:flex-end}}
