:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.5;color:#0f172a;background:#f1f5f9;--border: #cbd5e1;--surface: #ffffff;--accent: #1d4ed8;--muted: #64748b}body{margin:0;min-height:100vh}#root{max-width:90rem;margin:0 auto;padding:1.25rem 1.5rem 2.5rem}#root main{width:100%;box-sizing:border-box}.pageHeader{margin-bottom:1.5rem}.pageHeader h1{margin:0 0 .5rem;font-size:1.75rem;font-weight:650;letter-spacing:-.02em}.metaLine{margin:0;display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;font-size:.875rem;color:var(--muted)}.metaPiece code{font-size:.8125rem;color:#334155}.warnBanner{margin:.75rem 0 0;padding:.5rem .75rem;background:#fef3c7;border:1px solid #fcd34d;border-radius:6px;font-size:.875rem}.roadmapNote{margin:.75rem 0 0;font-size:.8125rem;color:var(--muted)}.board{background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 1px 2px #0f172a0f;overflow:hidden}.boardToolbar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem;padding:.875rem 1rem;border-bottom:1px solid var(--border);background:#f8fafc}.filterLabel{display:flex;flex-direction:column;gap:.25rem;font-size:.75rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.filterInput{min-width:min(22rem,100%);padding:.45rem .6rem;border:1px solid var(--border);border-radius:6px;font-size:.9375rem}.boardMeta{margin:0;font-size:.875rem;color:var(--muted)}.tableWrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.875rem}thead th{position:sticky;top:0;background:#f8fafc;border-bottom:1px solid var(--border);padding:.35rem .75rem;vertical-align:bottom;white-space:nowrap}.thButton{font:inherit;font-weight:600;color:#1e293b;background:none;border:none;padding:.25rem 0;cursor:pointer;border-radius:4px}.thButton:hover{color:var(--accent)}.thButton:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.board tbody tr{border-bottom:1px solid #e2e8f0;cursor:default}.board tbody tr:hover{background:#f8fafc}.board tbody tr:focus-visible,.board tbody tr.rowFocused{outline:2px solid var(--accent);outline-offset:-2px}tbody td{padding:.55rem .75rem;vertical-align:top}.mono{font-family:ui-monospace,monospace;font-size:.8125rem;font-weight:600;color:#0f172a;white-space:nowrap}.muted{color:#475569}.detailRow td{padding:0;border-bottom:1px solid var(--border);background:#fafafa}.detailGrid{padding:1rem 1rem 1.25rem;display:grid;gap:1rem}@media (min-width: 640px){.detailGrid{grid-template-columns:1fr 1fr}}.detailBlock{min-width:0}.detailHeading{margin:0 0 .35rem;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.detailBody{margin:0;font-size:.8125rem;line-height:1.55;white-space:pre-wrap;word-break:break-word}.filterSelect{min-width:8rem;padding:.4rem .5rem;border:1px solid var(--border);border-radius:6px;font-size:.875rem}.boardHint{margin:0;padding:0 1rem .5rem;font-size:.75rem;color:var(--muted)}.narrowCol{max-width:12rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prio{font-size:.75rem;font-weight:700;padding:.15rem .45rem;border-radius:4px}.prioP0{background:#fee2e2;color:#991b1b}.prioP1{background:#fef3c7;color:#92400e}.prioP2{background:#e2e8f0;color:#334155}.stat{font-size:.75rem;padding:.15rem .4rem;border-radius:4px;text-transform:capitalize}.stat-todo{background:#f1f5f9;color:#475569}.stat-in_progress{background:#dbeafe;color:#1e40af}.stat-blocked{background:#ffedd5;color:#9a3412}.stat-done{background:#dcfce7;color:#166534}.stat-deferred{background:#f3e8ff;color:#6b21a8}.insightsSection{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1rem 1.25rem 1.25rem;margin-bottom:1.5rem;box-shadow:0 1px 2px #0f172a0f}.insightsTitle{margin:0 0 .75rem;font-size:1.125rem}.kpiStrip{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;margin-bottom:1rem}.kpi{display:flex;flex-direction:column;gap:.15rem}.kpiVal{font-size:1.5rem;font-weight:700;color:#0f172a}.kpiLab{font-size:.75rem;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.insightColumns{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1rem;margin-bottom:1rem}.insightCol{border:1px solid var(--border);border-radius:8px;padding:.65rem .75rem;font-size:.8125rem}.insightCol h3{margin:0 0 .5rem;font-size:.8125rem}.insightCol ul{margin:0;padding-left:1rem}.insightOk{background:#f0fdf4}.insightWarn{background:#fffbeb}.insightBad{background:#fef2f2}.insightNarrative{display:grid;gap:.75rem;margin-bottom:1rem;font-size:.875rem}.insightNarrative h4{margin:0 0 .25rem;font-size:.75rem;text-transform:uppercase;color:var(--muted)}.rollupBars h4{margin:0 0 .5rem;font-size:.8125rem}.rollupRow{display:flex;align-items:center;gap:.5rem;margin-bottom:.35rem;font-size:.8125rem}.rollupName{flex:0 0 10rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rollupTrack{flex:1;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.rollupFill{height:100%;background:#22c55e;border-radius:4px}.rollupPct{flex:0 0 3rem;text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}.ganttSection{width:100%;box-sizing:border-box;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1rem 1rem .75rem;margin-bottom:1.5rem;box-shadow:0 1px 2px #0f172a0f}.ganttToolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}.ganttTitle{margin:0;font-size:1.125rem}.toggleLabel{display:flex;align-items:center;gap:.35rem;font-size:.875rem;cursor:pointer}.ganttMeta{margin:.35rem 0 .75rem;font-size:.8125rem;color:var(--muted)}.ganttScroll{overflow-x:auto;border:1px solid var(--border);border-radius:8px;background:#fafafa;width:100%;box-sizing:border-box}.ganttInner{--gantt-label-w: 140px;width:100%;min-width:0;box-sizing:border-box}.ganttHeaderRow{display:flex;align-items:stretch;gap:0;width:100%;border-bottom:1px solid var(--border);background:#f8fafc}.ganttCorner{box-sizing:border-box;flex:0 0 var(--gantt-label-w);width:var(--gantt-label-w);min-width:var(--gantt-label-w);max-width:var(--gantt-label-w);flex-shrink:0;margin:0;padding:0;border-right:1px solid var(--border);background:#fff}.ganttTimelineShell{flex:1 1 0;min-width:0;display:flex;flex-direction:column}.ganttYearRow{text-align:center;font-size:.75rem;font-weight:700;color:#334155;letter-spacing:.02em;padding:.3rem .35rem;border-bottom:1px solid #e2e8f0;background:#f1f5f9}.ganttSprintRow{display:grid;width:100%;box-sizing:border-box;background:#f8fafc}.ganttAxisCell{box-sizing:border-box;padding:.3rem .15rem;text-align:center;border-right:1px solid #e2e8f0;font-size:.6875rem;font-weight:600;color:#1e293b;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:.1rem}.ganttAxisCell:last-child{border-right:none}.ganttSprintId{font-variant-numeric:tabular-nums}.ganttAxisDates{font-weight:500;font-size:clamp(.65rem,1.25vw,.8125rem);color:#475569;white-space:nowrap}.ganttRow{display:flex;align-items:stretch;gap:0;width:100%;border-bottom:1px solid #e2e8f0;min-height:36px}.ganttRowGroup{min-height:44px}.ganttRowLabel{box-sizing:border-box;flex:0 0 var(--gantt-label-w);width:var(--gantt-label-w);min-width:var(--gantt-label-w);max-width:var(--gantt-label-w);flex-shrink:0;margin:0;padding:.35rem .5rem;font-size:.6875rem;line-height:1.3;border-right:1px solid var(--border);background:#fff;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.ganttRowTrack{position:relative;flex:1 1 0;min-width:0;min-height:36px;background:#f8fafc}.ganttBarStack{position:absolute;left:0;right:0;top:0;bottom:0}.ganttBar{position:absolute;top:7px;height:22px;border-radius:4px;min-width:2px;box-shadow:0 0 0 1px #0f172a14}.ganttToday{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#dc2626;z-index:2;pointer-events:none}.ganttLegend{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;margin:.5rem 0 0;padding:0;list-style:none;font-size:.75rem;color:var(--muted)}.ganttLegend .lg{display:inline-block;width:.75rem;height:.75rem;border-radius:2px;margin-right:.25rem;vertical-align:middle}.lgTodo{background:#94a3b8}.lgProg{background:#3b82f6}.lgBlock{background:#f97316}.lgDone{background:#22c55e}.ganttLegendNote{margin-left:auto}.modalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:flex-start;justify-content:center;padding:2rem 1rem;z-index:100;overflow-y:auto}.modalCard{background:var(--surface);border-radius:12px;max-width:52rem;width:100%;box-shadow:0 25px 50px -12px #00000040;border:1px solid var(--border)}.modalHead{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;border-bottom:1px solid var(--border)}.modalTitle{margin:0;font-size:1.05rem;line-height:1.35}.modalClose{font-size:1.5rem;line-height:1;border:none;background:none;cursor:pointer;color:var(--muted);padding:.15rem .35rem;border-radius:4px}.modalClose:hover{color:#0f172a;background:#f1f5f9}.modalMeta{display:flex;flex-wrap:wrap;gap:.35rem;padding:.65rem 1.25rem;border-bottom:1px solid #f1f5f9}.chip{font-size:.75rem;padding:.2rem .5rem;border-radius:999px;background:#e2e8f0;color:#334155}.chipStatus{text-transform:capitalize}.modalDeps{padding:.5rem 1.25rem;font-size:.8125rem;border-bottom:1px solid #f1f5f9}.depLinks{display:inline-flex;flex-wrap:wrap;gap:.35rem;margin-left:.35rem}.depLink{font:inherit;font-size:.8125rem;padding:.1rem .45rem;border-radius:4px;border:1px solid var(--accent);background:#eff6ff;color:var(--accent);cursor:pointer}.depLink:hover{background:#dbeafe}.modalBody{padding:1rem 1.25rem 1.5rem;max-height:min(70vh,36rem);overflow-y:auto;display:grid;gap:1rem}@media (min-width: 640px){.modalBody{grid-template-columns:1fr 1fr}}.modalBlock h3{margin:0 0 .35rem;font-size:.6875rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.modalBlock p{margin:0;font-size:.8125rem;line-height:1.55;white-space:pre-wrap;word-break:break-word}.footerActions{margin-top:2rem;padding-top:1rem;border-top:1px solid var(--border);font-size:.875rem}.exportBtn{font:inherit;font-size:.875rem;padding:.45rem .85rem;border-radius:6px;border:1px solid var(--border);background:#fff;cursor:pointer}.exportBtn:hover{border-color:var(--accent);color:var(--accent)}
