:root{--brand-ink: #3d3d3d;--brand-primary: #4545cf;--brand-primary-hover: #3838ad;--brand-accent: #ff3254;--brand-gradient: linear-gradient( 90deg, #ffed57 0%, #ff5d64 22%, #ff3254 38%, #e54278 55%, #8f43a7 72%, #5a45c4 88%, #4545cf 100% );--surface: #ffffff;--surface-muted: #f5f6f8;--surface-sunken: #eef0f4;--border: #e3e6ec;--text: #2a2a2e;--text-muted: #5a6374;--radius: 10px;--shadow: 0 1px 3px rgba(20, 20, 30, .08), 0 1px 2px rgba(20, 20, 30, .04);--font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:var(--font);color:var(--text);background:var(--surface-muted)}button{font-family:inherit}.topbar{display:flex;align-items:center;gap:14px;height:60px;padding:0 20px;background:var(--surface);border-bottom:1px solid var(--border)}.topbar{position:relative;z-index:30}.topbar .logo{height:30px;flex-shrink:0}.topbar .sep{flex:1}.topbar .muted{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0}.gradient-bar{height:4px;background:var(--brand-gradient)}.app-title{font-weight:700;color:var(--brand-ink);font-size:15px;letter-spacing:.2px}.layout{display:flex;height:calc(100% - 64px)}.sidebar{width:240px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);padding:14px;overflow-y:auto}.main{flex:1;min-width:0;overflow:hidden;padding:18px 22px;display:flex;flex-direction:column}.side-h{font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:var(--text-muted);margin:6px 4px}.side-item{display:block;width:100%;text-align:left;padding:8px 10px;margin:2px 0;border:0;background:transparent;border-radius:8px;cursor:pointer;color:var(--text);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-item:hover{background:var(--surface-sunken)}.side-item.active{background:color-mix(in srgb,var(--brand-primary) 12%,white);color:var(--brand-primary);font-weight:600}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;background:var(--brand-primary);color:#fff;border:0;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;white-space:nowrap}.badge.chip{background:var(--surface-sunken);color:var(--text);font-weight:500}.btn:hover{background:var(--brand-primary-hover)}.btn.ghost{background:transparent;color:var(--brand-primary);border:1px solid var(--border)}.btn.ghost:hover{background:var(--surface-sunken)}.btn.sm{padding:5px 10px;font-size:13px}.btn:disabled{opacity:.5;cursor:default}input,textarea,select{font-family:inherit;font-size:14px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);width:100%}textarea{resize:vertical;min-height:60px}.board-root{flex:1;min-height:0;display:flex;flex-direction:column}.board-scroll{flex:1;min-height:0;overflow:auto;padding-bottom:8px}.board{display:flex;gap:14px;align-items:flex-start;min-width:max-content}.column{width:270px;flex-shrink:0;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius);padding:10px}.column h3{margin:4px 6px 10px;font-size:13px;display:flex;justify-content:space-between;align-items:center}.column h3 .count{color:var(--text-muted);font-weight:500}.col-title{display:inline-flex;align-items:center;gap:6px;min-width:0}.status-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;display:inline-block}.card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:10px 12px;margin-bottom:8px;cursor:grab;box-shadow:var(--shadow)}.card:hover{border-color:var(--brand-primary)}.card:active{cursor:grabbing}.column.is-over{background:color-mix(in srgb,var(--brand-primary) 6%,var(--surface-muted));box-shadow:inset 0 0 0 2px var(--brand-primary);transition:background .12s,box-shadow .12s}.card-key{font-size:11px;font-weight:700;color:var(--text-muted);letter-spacing:.3px;margin-bottom:2px}.card.drop-target{border-top:2px solid var(--brand-primary)}.card.selected{box-shadow:0 0 0 2px var(--brand-primary);border-color:var(--brand-primary)}.count.wip-over{color:#fff;background:var(--brand-accent);padding:0 7px;border-radius:999px;font-weight:700}.swimlane{margin-bottom:18px;min-width:max-content}.swimlane-head{font-weight:700;font-size:14px;color:var(--brand-ink);margin:4px 2px 8px;position:sticky;left:0}.bulk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:color-mix(in srgb,var(--brand-primary) 8%,white);border:1px solid var(--border);border-radius:var(--radius);padding:8px 12px;margin-bottom:12px}.bulk-bar select{width:auto}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.metric-box{background:var(--surface-muted);border:1px solid var(--border);border-radius:8px;padding:10px;text-align:center}.metric-val{font-size:20px;font-weight:700;color:var(--brand-ink)}.metric-lbl{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.3px;margin-top:2px}.card .title{font-size:14px;font-weight:600;margin-bottom:4px;overflow-wrap:break-word;word-break:break-word}.card .meta{font-size:12px;color:var(--text-muted);display:flex;gap:8px;flex-wrap:wrap}.card-labels{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:4px}.lbl-chip{font-size:10px;font-weight:700;color:#fff;padding:1px 8px;border-radius:999px;text-shadow:0 1px 1px rgba(0,0,0,.3);white-space:nowrap}.card-fields{margin-top:6px;display:flex;flex-direction:column;gap:2px}.card-field{font-size:12px;color:var(--text);overflow-wrap:break-word}.badge{display:inline-block;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:600}.badge.prio-high,.badge.prio-critical{background:#ffe0e5;color:#a50020}.badge.prio-medium{background:color-mix(in srgb,#c98a18 16%,white);color:#8a5d00}.badge.prio-low{background:var(--surface-sunken);color:var(--text-muted)}.drawer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#14141e47;display:flex;justify-content:flex-end}.drawer{width:540px;max-width:92vw;background:var(--surface);height:100%;overflow-y:auto;padding:20px 22px;box-shadow:-2px 0 12px #0000001f}.drawer h2{margin:0 0 4px}.field{margin:14px 0}.field label{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:var(--text-muted);margin-bottom:4px}.row{display:flex;gap:10px;align-items:center}.muted{color:var(--text-muted)}.summary-box{background:var(--surface-muted);border:1px solid var(--border);border-radius:8px;padding:8px 10px;margin:6px 0;font-size:13px}.activity{font-size:13px;color:var(--text-muted);padding:4px 0;border-bottom:1px dashed var(--border)}.comment{background:var(--surface-muted);border-radius:8px;padding:8px 10px;margin:6px 0;font-size:14px}.close-x{border:0;background:transparent;font-size:22px;cursor:pointer;color:var(--text-muted);padding:4px 8px;min-width:32px;min-height:32px;border-radius:6px}.close-x:hover{background:var(--surface-sunken)}.error{color:#c00028;font-size:13px}.link-btn{border:0;background:transparent;padding:0;color:var(--brand-primary);font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.link-btn:hover{color:var(--brand-primary-hover)}.mention-pop{position:absolute;z-index:30;left:0;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow);margin-top:2px;min-width:200px;max-height:220px;overflow:auto}.mention-item{display:block;width:100%;text-align:left;border:0;background:transparent;padding:7px 10px;cursor:pointer;font-size:14px}.mention-item:hover{background:var(--surface-sunken)}.search-pop{position:absolute;z-index:40;left:0;top:38px;width:340px;max-width:80vw;max-height:60vh;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:4px}.search-item{display:block;width:100%;text-align:left;border:0;background:transparent;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-item:hover{background:var(--surface-sunken)}.md>:first-child{margin-top:0}.md>:last-child{margin-bottom:0}.md p{margin:6px 0}.md ul,.md ol{margin:6px 0;padding-left:22px}.md code{background:var(--surface-sunken);padding:1px 5px;border-radius:4px;font-size:90%}.md pre{background:var(--surface-sunken);padding:10px;border-radius:8px;overflow:auto}.md pre code{background:none;padding:0}.md blockquote{border-left:3px solid var(--border);margin:6px 0;padding-left:10px;color:var(--text-muted)}.md a{color:var(--brand-primary)}.md table{border-collapse:collapse}.md th,.md td{border:1px solid var(--border);padding:4px 8px}.md img{max-width:100%}.tl-row{display:flex;gap:10px;align-items:center;width:100%;text-align:left;border:0;background:transparent;padding:9px 6px;border-bottom:1px solid var(--border);cursor:pointer}.tl-row:hover{background:var(--surface-muted)}.tl-due{width:92px;flex-shrink:0;font-size:13px;font-weight:600;color:var(--text-muted)}.tl-due.overdue{color:#c00028}.tl-due.today{color:var(--brand-primary)}.tl-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}.drawer:focus{outline:none}.bell-badge{display:inline-block;min-width:18px;height:18px;line-height:18px;padding:0 5px;margin-left:2px;border-radius:999px;background:#d0183a;color:#fff;font-size:12px;font-weight:700;text-align:center}.notif-pop{position:absolute;right:0;top:36px;width:320px;max-height:60vh;overflow-y:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:8px;z-index:20}.notif-item{display:flex;justify-content:space-between;gap:8px;width:100%;text-align:left;border:0;background:transparent;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:13px}.notif-item:hover{background:var(--surface-sunken)}.notif-item.unread{background:color-mix(in srgb,var(--brand-primary) 8%,white);font-weight:600}.center{display:flex;align-items:center;justify-content:center;height:100%;flex-direction:column;gap:12px}@media (max-width: 900px){.layout{flex-direction:column;height:calc(100% - 64px)}.sidebar{width:auto;max-height:34vh;border-right:0;border-bottom:1px solid var(--border)}.column{width:230px}.drawer{width:100vw;max-width:100vw}}.report-page{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:var(--surface);display:flex;flex-direction:column}.report-topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid var(--border);flex-wrap:wrap;background:var(--surface)}.report-body{flex:1;overflow:auto;padding:20px;min-width:0}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.kpi{background:var(--surface-sunken);border:1px solid var(--border);border-radius:var(--radius);padding:12px}.kpi-label{font-size:12px;color:var(--text-muted)}.kpi-value{font-size:22px;font-weight:700;margin-top:4px}.kpi-sub{font-size:12px;color:var(--text-muted);margin-top:2px}.budget-bar{height:10px;background:var(--surface-sunken);border-radius:999px;overflow:hidden;margin-top:12px}.budget-fill{height:100%}.report-table-wrap{overflow-x:auto}.report-table{width:100%;border-collapse:collapse;font-size:13px}.report-table th{text-align:left;color:var(--text-muted);font-size:12px;font-weight:600;padding:6px 8px;border-bottom:1px solid var(--border);white-space:nowrap}.report-table td{padding:6px 8px;border-bottom:1px solid var(--border);vertical-align:top}.report-table td.num,.report-table th.num{text-align:right;white-space:nowrap}.kpi{min-width:0}.kpi-value{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;line-height:1.15;font-size:clamp(15px,1.9vw,22px)}.report-table td.num,.report-table th.num{font-variant-numeric:tabular-nums}.timer-pill{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:999px;overflow:hidden;background:var(--surface-sunken);margin-right:4px}.timer-pill-label{border:0;background:transparent;cursor:pointer;padding:3px 8px;font-size:12px;color:var(--text);white-space:nowrap}.timer-elapsed{font-variant-numeric:tabular-nums;font-weight:600}.timer-stop{border:0;background:transparent;cursor:pointer;padding:3px 8px;color:var(--brand-accent);border-left:1px solid var(--border)}.timer-dropdown{position:absolute;top:34px;right:0;z-index:55;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:8px;width:360px;max-width:86vw;max-height:60vh;overflow:auto}.timer-row{display:flex;justify-content:space-between;gap:8px;width:100%;border:0;background:transparent;cursor:pointer;padding:6px 4px;font-size:13px;text-align:left;border-radius:6px}.timer-row:hover{background:var(--surface-sunken)}.ctx-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70}.ctx-menu{position:fixed;z-index:71;min-width:200px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow);padding:4px}.ctx-head{font-size:11px;color:var(--text-muted);padding:4px 10px}.ctx-item{display:flex;align-items:center;gap:6px;width:100%;border:0;background:transparent;text-align:left;padding:7px 10px;font-size:13px;cursor:pointer;border-radius:6px;color:var(--text)}.ctx-item:hover:not(:disabled){background:var(--surface-sunken)}.ctx-item:disabled{opacity:.5;cursor:default}.ctx-item.danger{color:var(--brand-accent)}.ctx-sep{height:1px;background:var(--border);margin:4px 0}.ctx-sub{padding-left:8px;max-height:200px;overflow:auto}.ctx-dot{width:9px;height:9px;border-radius:999px;display:inline-block;flex-shrink:0}.card.mine{border-left:3px solid var(--brand-primary);background:color-mix(in srgb,var(--brand-primary) 6%,var(--surface))}
