:root{--ink: #16213a;--ink-2: #22304f;--ink-text: #c9d2e6;--ink-muted: #8391b0;--bg: #eef1f5;--surface: #ffffff;--surface-2: #f6f8fb;--line: #dfe4ec;--line-strong: #c7cfdb;--text: #1c2433;--text-2: #4b5568;--muted: #7b8597;--accent: #0e8a7e;--accent-strong: #0a6e64;--accent-soft: #dff3f0;--amber: #e9a23b;--danger: #c2410c;--danger-soft: #fdebe3;--ok: #2f8f5b;--focus: #2bb3a3;--radius: 8px;--radius-s: 5px;--shadow: 0 1px 2px rgba(22, 33, 58, .06), 0 4px 14px rgba(22, 33, 58, .06);--font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;--font-cond: "IBM Plex Sans Condensed", "IBM Plex Sans", system-ui, sans-serif;color-scheme:light}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--ink: #0d1424;--ink-2: #18223a;--ink-text: #c9d2e6;--ink-muted: #7d8aa8;--bg: #121a2b;--surface: #19233a;--surface-2: #1f2a44;--line: #2a3654;--line-strong: #3a4766;--text: #e5eaf3;--text-2: #b6c0d3;--muted: #8692ab;--accent: #2bb3a3;--accent-strong: #4fd1c1;--accent-soft: #163b3d;--danger: #f08a5d;--danger-soft: #3a2420;--shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);color-scheme:dark}}:root[data-theme=dark]{--ink: #0d1424;--ink-2: #18223a;--ink-text: #c9d2e6;--ink-muted: #7d8aa8;--bg: #121a2b;--surface: #19233a;--surface-2: #1f2a44;--line: #2a3654;--line-strong: #3a4766;--text: #e5eaf3;--text-2: #b6c0d3;--muted: #8692ab;--accent: #2bb3a3;--accent-strong: #4fd1c1;--accent-soft: #163b3d;--danger: #f08a5d;--danger-soft: #3a2420;--shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.45 var(--font);-webkit-font-smoothing:antialiased}a{color:var(--accent-strong);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}h1,h2,h3{margin:0;font-weight:600;letter-spacing:-.01em}h1{font-size:20px}h2{font-size:16px}h3{font-size:14px}.num{font-family:var(--font-cond);font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.small{font-size:12px}.row{display:flex;align-items:center;gap:8px}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (prefers-reduced-motion: reduce){*{transition:none!important;animation:none!important}}.btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:var(--radius-s);border:1px solid var(--line-strong);background:var(--surface);cursor:pointer;white-space:nowrap}.btn:hover{border-color:var(--accent)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:500}.btn.primary:hover{background:var(--accent-strong)}.btn.danger{color:var(--danger);border-color:var(--danger)}.btn.ghost{border-color:transparent;background:transparent}.btn.ghost:hover{background:var(--surface-2)}.btn.sm{height:26px;padding:0 8px;font-size:12px}.icon-btn{width:30px;height:30px;display:inline-grid;place-items:center;border:0;background:transparent;border-radius:var(--radius-s);cursor:pointer;color:var(--text-2)}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.input,select.input,textarea.input{height:32px;padding:0 10px;border:1px solid var(--line-strong);border-radius:var(--radius-s);background:var(--surface);width:100%}textarea.input{height:auto;padding:8px 10px;resize:vertical;min-height:70px}.input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.label{display:block;font-size:12px;color:var(--text-2);margin:10px 0 4px;font-weight:500}.chip{display:inline-flex;align-items:center;gap:5px;padding:1px 8px;border-radius:99px;font-size:12px;background:var(--surface-2);border:1px solid var(--line);white-space:nowrap}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none}.status-pill{display:inline-flex;align-items:center;gap:6px;padding:2px 9px 2px 7px;border-radius:4px;font-size:12px;font-weight:500;white-space:nowrap}.avatar{width:24px;height:24px;border-radius:50%;display:inline-grid;place-items:center;color:#fff;font-size:10px;font-weight:600;flex:none}.avatar.lg{width:32px;height:32px;font-size:12px}.err{color:var(--danger);font-size:13px}.badge{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--amber);color:#1c2433;font-size:11px;font-weight:600;display:inline-grid;place-items:center}.shell{display:grid;grid-template-columns:248px 1fr;height:100%}.side{background:var(--ink);color:var(--ink-text);display:flex;flex-direction:column;min-height:0}.side .brand{display:flex;align-items:center;gap:10px;padding:16px 16px 12px;color:#fff;font-weight:600}.side .brand small{display:block;font-weight:400;color:var(--ink-muted);font-size:12px}.side nav{overflow:auto;flex:1;padding:4px 8px 16px}.side a.nav,.side button.nav{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:6px;color:var(--ink-text);width:100%;border:0;background:transparent;cursor:pointer;text-align:left;text-decoration:none}.side a.nav:hover,.side button.nav:hover{background:var(--ink-2)}.side a.nav.active{background:var(--ink-2);color:#fff;box-shadow:inset 3px 0 0 var(--accent)}.side .group{margin:18px 10px 6px;font-size:12px;color:var(--ink-muted);display:flex;align-items:center;justify-content:space-between}.side .proj-swatch{width:10px;height:10px;border-radius:3px;flex:none}.side .foot{padding:10px 12px;border-top:1px solid var(--ink-2);display:flex;align-items:center;gap:8px;font-size:13px}.live{width:7px;height:7px;border-radius:50%;background:#64748b}.live.on{background:#34d399;box-shadow:0 0 0 3px #34d3992e}.main{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.topbar{display:flex;align-items:center;gap:12px;padding:14px 24px 0;background:var(--surface);border-bottom:1px solid var(--line);flex-wrap:wrap}.topbar .title{display:flex;align-items:center;gap:10px;min-width:0;padding-bottom:12px}.topbar .title .ribbon{width:6px;height:28px;border-radius:3px}.tabs{display:flex;gap:2px;overflow-x:auto;width:100%}.tabs a{padding:8px 12px 10px;color:var(--text-2);border-bottom:2px solid transparent;white-space:nowrap;text-decoration:none}.tabs a:hover{color:var(--text)}.tabs a.active{color:var(--text);border-bottom-color:var(--accent);font-weight:500}.page{flex:1;overflow:auto;padding:20px 24px 40px;min-height:0}.toolbar{display:flex;align-items:center;gap:8px;margin-bottom:14px;flex-wrap:wrap}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.card.pad{padding:16px}.empty{padding:40px 20px;text-align:center;color:var(--muted)}.mobile-only{display:none}@media (max-width: 860px){.shell{grid-template-columns:1fr}.side{position:fixed;inset:0 auto 0 0;width:260px;z-index:50;transform:translate(-100%);transition:transform .2s}.side.open{transform:none;box-shadow:0 0 0 100vmax #00000059}.mobile-only{display:inline-grid}.page{padding:14px 16px 40px}.topbar{padding:10px 16px 0}}.grid-wrap{overflow:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}table.grid{border-collapse:separate;border-spacing:0;width:100%;font-size:13px}table.grid th{position:sticky;top:0;background:var(--surface-2);text-align:left;font-weight:500;color:var(--text-2);padding:8px 10px;border-bottom:1px solid var(--line);white-space:nowrap;z-index:1;cursor:pointer;-webkit-user-select:none;user-select:none}table.grid td{padding:0;border-bottom:1px solid var(--line);height:36px;white-space:nowrap}table.grid td>.cell{padding:6px 10px;min-height:35px;display:flex;align-items:center;gap:6px}table.grid td.edit>.cell{cursor:text}table.grid td.edit>.cell:hover{box-shadow:inset 0 0 0 1px var(--line-strong)}table.grid tr:hover td{background-color:color-mix(in srgb,var(--surface-2) 70%,transparent)}table.grid .cell input,table.grid .cell select{border:1px solid var(--accent);border-radius:4px;padding:3px 6px;width:100%;background:var(--surface)}table.grid td.title-cell{min-width:280px;max-width:420px}.tree-toggle{width:18px;height:18px;border:0;background:transparent;cursor:pointer;color:var(--muted);padding:0;flex:none}.progress{height:6px;background:var(--surface-2);border-radius:3px;overflow:hidden;border:1px solid var(--line)}.progress>i{display:block;height:100%;background:var(--accent)}.board{display:flex;gap:12px;align-items:flex-start;overflow-x:auto;padding-bottom:12px;min-height:60vh}.col{width:284px;flex:none;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius);display:flex;flex-direction:column;max-height:calc(100vh - 210px)}.col-head{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--line)}.col-head .bar{width:4px;height:16px;border-radius:2px}.col-body{padding:8px;overflow:auto;display:flex;flex-direction:column;gap:8px;min-height:60px}.col-body.over{background:var(--accent-soft)}.kcard{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:9px 10px;cursor:grab;box-shadow:0 1px 1px #16213a0a}.kcard:hover{border-color:var(--line-strong)}.kcard.dragging{opacity:.4}.kcard .k-title{font-weight:500;margin-bottom:6px;line-height:1.3}.kcard .k-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);flex-wrap:wrap}.kcard .late{color:var(--danger);font-weight:500}.drop-line{height:3px;background:var(--accent);border-radius:2px}.cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--line);gap:1px}.cal .dow{background:var(--surface-2);padding:6px 8px;font-size:12px;color:var(--text-2)}.cal .day{background:var(--surface);min-height:112px;padding:4px 6px;display:flex;flex-direction:column;gap:3px}.cal .day.other{background:var(--surface-2)}.cal .day.today .dnum{background:var(--accent);color:#fff;border-radius:4px;padding:0 5px}.cal .day.over{background:var(--accent-soft)}.cal .dnum{font-size:12px;color:var(--text-2);align-self:flex-start}.cal .ev{font-size:12px;padding:2px 6px;border-radius:4px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-left:3px solid;background:var(--surface-2)}.cal .ev.done{text-decoration:line-through;opacity:.65}.gantt{display:grid;grid-template-columns:320px 1fr;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden;height:calc(100vh - 220px);min-height:380px}.gantt .g-left{border-right:1px solid var(--line);overflow:hidden;display:flex;flex-direction:column}.gantt .g-rows{overflow:hidden;flex:1}.gantt .g-row{height:34px;display:flex;align-items:center;gap:6px;padding:0 10px;border-bottom:1px solid var(--line);font-size:13px;cursor:pointer}.gantt .g-row:hover{background:var(--surface-2)}.gantt .g-head{height:48px;border-bottom:1px solid var(--line);background:var(--surface-2);display:flex;align-items:flex-end;padding:0 10px 6px;font-size:12px;color:var(--text-2);flex:none}.gantt .g-right{overflow:auto;position:relative}.gantt svg text{font-family:var(--font)}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}.gcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;cursor:pointer;display:flex;flex-direction:column}.gcard:hover{border-color:var(--line-strong);box-shadow:var(--shadow)}.gcard .cover{aspect-ratio:16 / 9;background:var(--surface-2);background-size:cover;background-position:center;display:grid;place-items:center;color:var(--muted)}.gcard .gbody{padding:10px 12px 12px;display:flex;flex-direction:column;gap:6px}.dash{position:relative}.dash-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:64px;gap:14px}.widget{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);display:flex;flex-direction:column;min-width:0;min-height:0;position:relative}.widget .w-head{display:flex;align-items:center;gap:6px;padding:10px 12px 0 14px;min-height:34px}.widget .w-head h3{font-size:13px;font-weight:500;color:var(--text-2);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.widget .w-body{flex:1;min-height:0;padding:4px 10px 10px;position:relative}.widget .w-tools{display:none;gap:2px}.widget:hover .w-tools,.widget:focus-within .w-tools{display:flex}.widget.editing{outline:1px dashed var(--accent);cursor:move}.widget .resize{position:absolute;right:2px;bottom:2px;width:14px;height:14px;cursor:nwse-resize;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent)}.widget.ghost{opacity:.5}.big-number{font-family:var(--font-cond);font-weight:600;font-size:44px;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.pbar-list{display:flex;flex-direction:column;gap:10px;overflow:auto;height:100%;padding-right:4px}.pbar{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:3px 10px;font-size:13px}.pbar .track{grid-column:1 / -1;height:8px;border-radius:4px;background:var(--surface-2);border:1px solid var(--line);overflow:hidden}.pbar .track i{display:block;height:100%}@media (max-width: 860px){.dash-grid{grid-template-columns:1fr}.dash-grid>.widget{grid-column:1 / -1!important;grid-row:auto / span var(--h)!important}}.drawer-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#0d142452;z-index:60}.drawer{position:fixed;top:0;right:0;bottom:0;width:min(640px,100vw);background:var(--surface);z-index:61;display:flex;flex-direction:column;box-shadow:-10px 0 40px #0000002e;animation:slidein .16s ease-out}@keyframes slidein{0%{transform:translate(24px);opacity:.6}}.drawer header{padding:14px 18px;border-bottom:1px solid var(--line);display:flex;gap:8px;align-items:flex-start}.drawer .body{overflow:auto;padding:4px 18px 30px;flex:1}.drawer .title-input{font-size:18px;font-weight:600;border:1px solid transparent;border-radius:6px;padding:4px 6px;margin-left:-7px;width:100%;background:transparent}.drawer .title-input:hover{border-color:var(--line)}.drawer .props{display:grid;grid-template-columns:130px 1fr;gap:4px 12px;align-items:center;margin:12px 0}.drawer .props>.k{color:var(--muted);font-size:13px}.drawer .props .input{height:30px}.drawer section{border-top:1px solid var(--line);padding:14px 0 6px}.drawer section>h3{margin-bottom:8px;display:flex;align-items:center;gap:8px}.subrow{display:flex;align-items:center;gap:8px;padding:5px 0;border-bottom:1px dashed var(--line);font-size:13px}.comment{display:flex;gap:10px;padding:8px 0}.comment .bubble{background:var(--surface-2);border-radius:8px;padding:8px 10px;flex:1;white-space:pre-wrap}.mention{color:var(--accent-strong);font-weight:500}.timeline-item{display:flex;gap:8px;font-size:12px;color:var(--text-2);padding:3px 0}.timeline-item .when{color:var(--muted);min-width:92px}.dropzone{border:2px dashed var(--line-strong);border-radius:var(--radius);padding:22px;text-align:center;color:var(--text-2);background:var(--surface-2);transition:background .12s,border-color .12s}.dropzone.over{border-color:var(--accent);background:var(--accent-soft)}.dropzone.compact{padding:10px;font-size:13px}.modal-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#0d142466;z-index:70;display:grid;place-items:center;padding:16px}.modal{background:var(--surface);border-radius:10px;width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto;box-shadow:var(--shadow)}.modal.wide{width:min(860px,100%)}.modal header{padding:16px 20px 6px;display:flex;align-items:center;gap:10px}.modal .mbody{padding:6px 20px 16px}.modal footer{padding:12px 20px 16px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line)}.login{min-height:100%;display:grid;grid-template-columns:1.1fr 1fr}.login .art{background:var(--ink);color:#fff;padding:48px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login .art h1{font-family:var(--font-cond);font-size:44px;line-height:1.05;max-width:12ch;font-weight:600;letter-spacing:-.02em}.login .art p{color:var(--ink-text);max-width:40ch}.login form{align-self:center;justify-self:center;width:min(360px,100% - 32px)}@media (max-width: 860px){.login{grid-template-columns:1fr}.login .art{display:none}}.report-table{width:100%;border-collapse:collapse;font-size:13px}.report-table th{text-align:right;font-weight:500;color:var(--text-2);padding:6px 8px;border-bottom:1px solid var(--line-strong);white-space:nowrap}.report-table th:first-child,.report-table td:first-child{text-align:left}.report-table td:first-child{white-space:nowrap}.report-table td{text-align:right;padding:6px 8px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.report-table tr.total td{font-weight:600;border-top:1px solid var(--line-strong)}.heat{border-radius:3px;padding:1px 6px;display:inline-block;min-width:26px}.toast{position:fixed;bottom:18px;left:50%;transform:translate(-50%);background:var(--ink);color:#fff;padding:9px 16px;border-radius:8px;z-index:90;box-shadow:var(--shadow);font-size:13px}.toast.err{background:var(--danger)}.seg{display:inline-flex;border:1px solid var(--line-strong);border-radius:var(--radius-s);overflow:hidden}.seg button{border:0;background:var(--surface);padding:0 10px;height:30px;cursor:pointer;border-right:1px solid var(--line)}.seg button:last-child{border-right:0}.seg button.on{background:var(--accent-soft);color:var(--accent-strong);font-weight:500}.kv{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.stat{padding:12px 14px}.stat .v{font-family:var(--font-cond);font-size:28px;font-weight:600;line-height:1.1}.stat .l{color:var(--muted);font-size:12px}.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}@media (max-width: 1000px){.split{grid-template-columns:1fr}}
