@caddis/cli 0.4.96 → 0.4.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/bundles/antigravity-plugin/plugin.json +1 -1
- package/bundles/antigravity-plugin/repo_hygiene.py +134 -20
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_exit.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_file_lock.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_frontmatter.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_redact.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_roadmap.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_rows.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_status.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_tidy.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_todo.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_workstreams.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/__pycache__/caddis_worktree_safety.cpython-311.pyc +0 -0
- package/bundles/antigravity-plugin/scripts/caddis_fleet.py +31 -21
- package/bundles/antigravity-plugin/scripts/caddis_gate.py +18 -1
- package/bundles/antigravity-plugin/scripts/caddis_guide.json +2 -2
- package/bundles/antigravity-plugin/scripts/caddis_handoff.py +235 -0
- package/bundles/antigravity-plugin/scripts/caddis_hub_collect.py +67 -15
- package/bundles/antigravity-plugin/scripts/caddis_lanes.py +154 -130
- package/bundles/antigravity-plugin/scripts/caddis_review.py +12 -0
- package/bundles/antigravity-plugin/scripts/caddis_tidy.py +152 -51
- package/bundles/antigravity-plugin/scripts/caddis_todo.py +314 -18
- package/bundles/antigravity-plugin/scripts/schemas/hub-collect.schema.json +117 -1
- package/bundles/antigravity-plugin/scripts/schemas/hub-plans.schema.json +117 -1
- package/bundles/antigravity-plugin/scripts/setup_project_ai.py +60 -2
- package/bundles/antigravity-plugin/scripts/templates/coordinator.md +3 -3
- package/bundles/antigravity-plugin/skills/coordinate/SKILL.md +4 -1
- package/bundles/antigravity-plugin/skills/cross-review/SKILL.md +6 -0
- package/bundles/antigravity-plugin/skills/handoff/SKILL.md +101 -23
- package/bundles/antigravity-plugin/skills/implement/SKILL.md +6 -0
- package/bundles/antigravity-plugin/skills/park/SKILL.md +7 -2
- package/bundles/antigravity-plugin/skills/pr-merge/SKILL.md +1 -0
- package/bundles/antigravity-plugin/skills/ship-pr/SKILL.md +1 -0
- package/bundles/manifest.json +2 -2
- package/dist/cli.js +276 -76
- package/dist/export/assets/export-B3cUoxL1.js +150 -0
- package/dist/export/assets/export-DQss44R1.css +1 -0
- package/dist/export/index.html +2 -2
- package/dist/ui/assets/Activity-CvEIJlnE.js +6 -0
- package/dist/ui/assets/{Guide-Czn5sK0f.js → Guide-BxS9L55s.js} +1 -1
- package/dist/ui/assets/Guide-DTd261-c.css +1 -0
- package/dist/ui/assets/RoadmapTab-CqlWs7dJ.js +31 -0
- package/dist/ui/assets/index-9pdDzLVp.css +1 -0
- package/dist/ui/assets/index-DSxeWPax.js +231 -0
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
- package/dist/export/assets/export-CMtV-slT.css +0 -1
- package/dist/export/assets/export-DtlDFN4L.js +0 -150
- package/dist/ui/assets/Activity-BDjet2xd.js +0 -6
- package/dist/ui/assets/Guide-D-Zy4cUT.css +0 -1
- package/dist/ui/assets/RoadmapTab-Bd8geyQx.js +0 -31
- package/dist/ui/assets/index-Bd0Z4jR8.css +0 -1
- package/dist/ui/assets/index-CmngQ8Mk.js +0 -231
- package/dist/ui/assets/time-D00tu2ZP.js +0 -1
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{c as K,a as _,D as I,b as O,d as z,r as C,j as n,e as B}from"./index-CmngQ8Mk.js";import{l as Y}from"./time-D00tu2ZP.js";/**
|
|
2
|
-
* @license lucide-react v1.61.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const q={name:"external-link",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]};q.node;const F=K(q),G=["merge","deploy","health","owner","coordinator","approval"],U={merge:"Merges",deploy:"Deploys",health:"Health checks",owner:"Your actions",coordinator:"Coordinator results",approval:"Routine approvals"},A=100,E=s=>s&&typeof s=="object"&&!Array.isArray(s)?s:{},p=s=>typeof s=="string"&&s?s:null,D=s=>typeof s=="number"&&Number.isInteger(s)?s:null,L=O,b=(s,c)=>{var d;return(d=s==null?void 0:s.github)!=null&&d.repo&&c!==null?`https://github.com/${s.github.repo}/pull/${c}`:null},H={hotfix:"marked as hotfix",unhotfix:"unmarked as hotfix",hold:"held",release:"released",approve:"approved",decline:"declined"};function P(s){const c=s.action?H[s.action]??s.action:"sent a request",d=s.pr!==null?` #${s.pr}`:s.what?`: ${s.what}`:"";return s.result==="refused"?`Refused: you ${c}${d}`:`You ${c}${d}`}function V(s){var m,g,h,k,j;const c=[],d=new Map(s.repos.map(e=>[L(e),e])),M=e=>{const t=d.get(e);return t?z(t):e.replace("__","/")},u=e=>{const t=Date.parse(e.at);Number.isNaN(t)||c.push({...e,ms:t,repoLabel:M(e.repo)})};for(const e of s.repos){const t=L(e),x=new Set;for(const o of _((m=e.coordinator)==null?void 0:m.deploy_checks)){const a=E(o),r=D(a.pr),l=p(a.at);if(r===null||!l)continue;const f=(p(a.merge_sha)??"").toLowerCase();x.add(r);const i=E(a.checks),y=Object.keys(i).length>0,R=y?I.map(N=>`${N} ${p(i[N])??"skip"}`).join(" · "):null,T=y&&I.some(N=>i[N]==="fail"),S=D(a.deploy_run);u({id:`deploy:${t}:${r}:${f}`,kind:"deploy",repo:t,at:l,text:`Deploy check for #${r}`,detail:[R,S!==null?`run ${S}`:null,p(a.reason)].filter(Boolean).join(" · ")||null,tone:T?"bad":y?"good":"muted",pr:r,prUrl:b(e,r)});const v=p(a.health);(v==="ok"||v==="failed")&&u({id:`health:${t}:${r}:${f}`,kind:"health",repo:t,at:l,text:`Health check ${v} for #${r}`,detail:null,tone:v==="ok"?"good":"bad",pr:r,prUrl:b(e,r)})}for(const o of((g=e.github)==null?void 0:g.merges)??[])if(u({id:`merge:${t}:${o.number}:${o.merge_sha.toLowerCase()}`,kind:"merge",repo:t,at:o.merged_at,text:`Merged #${o.number} ${o.title}`,detail:o.merge_sha.slice(0,10),tone:"good",pr:o.number,prUrl:b(e,o.number)}),!x.has(o.number)&&o.runs.length){const a=o.runs.some(l=>l.conclusion==="failure"||l.conclusion==="cancelled"),r=o.runs.some(l=>l.status!=="completed");u({id:`deploy-runs:${t}:${o.number}:${o.merge_sha.toLowerCase()}`,kind:"deploy",repo:t,at:o.merged_at,text:`Deploy runs for #${o.number}`,detail:o.runs.map(l=>`${l.name} ${l.status==="completed"?l.conclusion??"done":l.status}`).join(" · "),tone:a?"bad":r?"muted":"good",pr:o.number,prUrl:b(e,o.number)})}const $=new Map((((h=e.coordinator)==null?void 0:h.requests)??[]).map(o=>[o.id,o]));for(const o of _((k=e.coordinator)==null?void 0:k.processed_requests)){const a=E(o),r=p(a.id),l=p(a.at),f=p(a.result);if(!r||!l||!f)continue;const i=$.get(r),y=i?`${H[i.action]??i.action}${i.pr!==null?` #${i.pr}`:i.what?`: ${i.what}`:""}`:`request ${r.slice(0,8)}`;u({id:`result:${t}:${r}`,kind:"coordinator",repo:t,at:l,text:`Coordinator ${f}: ${y}`,detail:p(a.reason),tone:f==="done"?"good":f==="rejected"?"bad":"warn",pr:(i==null?void 0:i.pr)??null,prUrl:b(e,(i==null?void 0:i.pr)??null)})}for(const o of _((j=e.coordinator)==null?void 0:j.ledger)){const a=E(o),r=p(a.at),l=p(a.what);a.approved_by!=="coordinator"||!r||!l||u({id:`ledger:${t}:${r}:${l}`,kind:"approval",repo:t,at:r,text:`Coordinator ${a.decision==="decline"?"declined":"approved"}: ${l}`,detail:p(a.reason),tone:a.decision==="decline"?"warn":"good",pr:null,prUrl:null})}}const w=new Map;return _(s.audit).forEach(e=>{const t=e,x=t.repo??"unknown",$=`audit:${t.at}:${t.request_id??"x"}:${t.action??""}:${t.result??""}`,o=(w.get($)??0)+1;w.set($,o),u({id:o===1?$:`${$}:${o}`,kind:"owner",repo:x,at:t.at,text:P(t),detail:t.reason,tone:t.result==="refused"?"warn":"muted",pr:t.pr,prUrl:b(d.get(x),t.pr)})}),c.sort((e,t)=>t.ms-e.ms||(e.id<t.id?-1:1))}function Z(s,c){return s.filter(d=>(c.repo===null||d.repo===c.repo)&&(c.kinds.size===0||c.kinds.has(d.kind)))}function W({state:s}){const c=C.useMemo(()=>V(s),[s]),[d,M]=C.useState(null),[u,w]=C.useState(new Set),[m,g]=C.useState(A),h=Z(c,{repo:d,kinds:u}),k=e=>{const t=new Set(u);t.has(e)?t.delete(e):t.add(e),w(t),g(A)},j=!s.sources.github.ok||s.sources.github.stale;return n.jsxs("div",{className:"flow","data-testid":"activity",children:[n.jsxs("div",{className:"page-header",children:[n.jsx("h1",{className:"page-title",children:"Activity"}),n.jsxs("span",{className:"page-subtitle",children:[h.length," events, newest first"]})]}),j&&n.jsx("p",{className:"lane-note","data-testid":"activity-stale",children:"GitHub data is old, so merges and deploys may be missing the newest events."}),n.jsxs("div",{className:"act-filters",role:"group","aria-label":"Filters",children:[n.jsxs("label",{children:[n.jsx("span",{className:"sr-only",children:"Repo"}),n.jsxs("select",{"data-testid":"activity-repo",value:d??"",onChange:e=>{M(e.target.value||null),g(A)},children:[n.jsx("option",{value:"",children:"All repos"}),s.repos.map(e=>{var t;return n.jsx("option",{value:L(e),children:((t=e.github)==null?void 0:t.repo)??e.name},L(e))})]})]}),n.jsx("div",{className:"act-kinds",role:"group","aria-label":"Kinds",children:G.map(e=>n.jsx("button",{type:"button",className:"act-kind","aria-pressed":u.has(e),"data-testid":`kind-${e}`,onClick:()=>k(e),children:U[e]},e))})]}),h.length===0?n.jsx("p",{className:"col-empty","data-testid":"activity-empty",children:c.length===0?"No activity yet. Merges, deploys and your actions show here.":"No event matches these filters."}):n.jsx("ul",{className:"flow-list","aria-label":"Events",children:h.slice(0,m).map(e=>n.jsxs("li",{className:"flow-row","data-testid":"activity-item","data-kind":e.kind,children:[n.jsxs("div",{className:"flow-row-head",children:[n.jsx("span",{className:"act-kindtag",children:U[e.kind]}),n.jsx("span",{className:`flow-title tone-${e.tone}`,children:e.text})]}),e.detail&&n.jsx("span",{className:"flow-why",children:e.detail}),n.jsxs("span",{className:"act-time",children:[n.jsx("time",{dateTime:e.at,children:Y(e.at)})," ·"," ",n.jsx("a",{href:B(e.repo,"flow"),children:e.repoLabel}),e.prUrl&&n.jsxs(n.Fragment,{children:[" · ",n.jsxs("a",{href:e.prUrl,target:"_blank",rel:"noreferrer noopener","data-testid":"activity-pr",children:["#",e.pr," ",n.jsx(F,{size:12,"aria-hidden":"true"})]})]})]})]},e.id))}),h.length>m&&n.jsxs("button",{type:"button",className:"btn","data-testid":"activity-more",onClick:()=>g(m+A),children:["Show more (",h.length-m," left)"]})]})}export{W as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.guide-hero{display:flex;align-items:center;gap:16px;margin-bottom:16px}.guide-mark{flex:none;width:56px;height:56px}.guide-mark svg{width:100%;height:100%}.guide-tools{display:grid;gap:12px;margin-bottom:20px}.guide-filter{display:grid;gap:4px}.guide-filter-label{font-size:13px;color:var(--text-sub)}.guide-filter-input{width:100%;min-height:40px;padding:0 12px;border-radius:8px;border:1px solid var(--border-bright);background:var(--bg-card);color:var(--text-main);font:inherit}.guide-filter-input:focus-visible,.guide-jump:focus-visible{outline:2px solid var(--green);outline-offset:2px}.guide-chips{display:flex;flex-wrap:wrap;gap:8px}.guide-jump{min-height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--border-bright);background:transparent;color:var(--text-main);font:inherit;font-size:13px;cursor:pointer}.guide-jump:hover{background:var(--bg-elevated)}.guide-note{margin:0;font-size:13px;color:var(--text-dim)}.guide-section{margin-bottom:28px}.guide-section-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin:0 0 12px;font-size:20px}.guide-count,.guide-shown{font-size:13px;font-weight:600;color:var(--text-sub)}.guide-group-title{margin:16px 0 8px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-sub)}.guide-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:10px;margin:0;padding:0;list-style:none}.guide-entry{display:grid;gap:6px;min-width:0;padding:12px 14px;border-radius:10px;border:1px solid var(--border-dim);background:var(--bg-card)}.guide-entry-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.guide-entry-name{font-weight:700;overflow-wrap:anywhere}.guide-entry-purpose{margin:0;font-size:14px;color:var(--text-sub);overflow-wrap:anywhere}.guide-entry-invoke{font-family:var(--font-mono);font-size:12.5px;color:var(--text-main);overflow-wrap:anywhere;white-space:pre-wrap}.guide-chip{padding:1px 8px;border-radius:999px;border:1px solid var(--border-bright);font-size:12px;color:var(--text-sub);white-space:nowrap}.guide-chip.good{color:var(--text-main);border-color:var(--green)}.guide-chip.warn{color:var(--text-main);border-color:var(--mk-warn)}.guide-none{color:var(--text-sub)}.guide-state-title{margin:0 0 6px;font-size:18px}.guide-tabs{display:flex;gap:4px;border-bottom:1px solid var(--border-dim);margin-bottom:20px}.guide-tabs [role=tab]{padding:8px 14px;border-bottom:2px solid transparent;text-decoration:none;color:inherit}.guide-tabs [role=tab][aria-selected=true]{border-bottom:2px solid var(--purple);color:var(--purple)}.gd-section{margin-bottom:28px}.gd-item summary{display:grid;grid-template-columns:minmax(180px,240px) 1fr auto;grid-auto-flow:column;gap:12px;padding:8px 0;cursor:pointer;align-items:baseline}.gd-blurb{color:var(--text-sub)}@media(max-width:560px){.gd-item summary{display:flex;flex-wrap:wrap;gap:4px 8px}.gd-item summary .gd-blurb{order:1;flex:0 0 100%}}.gd-stage{font-family:var(--font-head);font-size:15px;font-weight:600;margin:20px 0 6px}.gd-steps{margin:8px 0 8px 22px}.gd-hint{font-family:var(--font-mono);color:var(--text-sub)}.gd-group{border:1px solid var(--border-dim);border-radius:8px;padding:8px 12px;margin-bottom:8px}.gd-group summary{cursor:pointer;font-weight:600}.gd-skill{display:flex;align-items:baseline;gap:10px;padding:4px 0}.gd-table{width:100%;border-collapse:collapse}.gd-table th,.gd-table td{padding:6px 8px;border-bottom:1px solid var(--border-dim);text-align:left;vertical-align:top}.is-target{outline:2px solid var(--purple);outline-offset:4px}.gp-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;margin-bottom:18px}.gp-head-left{display:flex;align-items:center;gap:16px;min-width:0}.gp-title{font-family:var(--font-head);margin:0 0 4px;font-size:20px}.gp-counts{margin:0;font-size:13px;color:var(--text-sub)}.gp-switch{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--border-dim);border-radius:999px;background:var(--bg-card);margin-left:auto}.gp-print{padding:6px 14px;border:1px solid var(--border-dim);border-radius:999px;background:var(--bg-card);color:var(--text-main);font:inherit;font-size:13px;cursor:pointer}.gp-print:hover{border-color:var(--purple)}.gp-hidden{display:none}.gp-switch button{padding:6px 12px;border:0;border-radius:999px;background:transparent;color:var(--text-sub);font:inherit;font-size:13px;cursor:pointer}.gp-switch button[aria-pressed=true]{background:var(--purple);color:var(--bg-canvas);font-weight:600}.gp-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.gp-stage,.gp-band,.gp-card{background:var(--bg-card);border:1px solid var(--border-dim);border-radius:12px;padding:14px;min-width:0}.gp-stage{position:relative}.gp-stage:not(:last-child):after{content:"→";position:absolute;right:-12px;top:14px;color:var(--text-sub);pointer-events:none}.gp-stage h3,.gp-band h3,.gp-card h3{font-family:var(--font-head);display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:16px}.gp-step{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;border:1px solid var(--border-dim);font-size:12px;color:var(--text-sub);flex-shrink:0}.gp-sub{font-family:var(--font-head);font-size:13px;color:var(--text-sub);margin:8px 0 6px}.gp-bands{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-top:18px}.gp-foot{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-top:18px}.gp-chip{display:inline-block;padding:3px 8px;border-radius:999px;border:1px solid var(--border-dim);margin:0 6px 6px 0;font-family:var(--font-mono);font-size:13px;color:var(--text-main);text-decoration:none;max-width:100%;overflow-wrap:anywhere}.gp-chip:hover{border-color:var(--purple)}.gp-chip.is-daily{font-size:15px;font-weight:600}@media(max-width:900px){.gp-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.gp-stage:not(:last-child):after{display:none}}@media(max-width:560px){.gp-flow{grid-template-columns:1fr}}.gp-map-wrap{max-width:1000px;margin:0 auto}.gp-map{display:block;width:100%;height:auto;overflow:visible}.gp-map a{text-decoration:none}@keyframes gp-pulse{0%{opacity:.85}to{opacity:1}}.gp-pulse{animation:gp-pulse 3s ease-in-out infinite alternate!important}html[data-motion=off] .gp-pulse{animation:none!important}@page{size:A3 landscape;margin:10mm}@media print{.app-bar,.mobile-topbar,.drawer-backdrop,.sidebar,.sidebar-top,.sidebar-footer,.banners,.banner,nav,footer,.guide-tabs,.gp-switch,.gp-print,.guide-hero{display:none!important}.main-area{margin-left:0!important}.page-wrap{max-width:none;padding:0;gap:0}.gp-hidden{display:block!important}.gp-map-wrap{break-before:page;max-width:250mm;max-height:250mm}.gp-map{max-height:250mm;width:auto;margin:0 auto}a,.gp a{color:inherit;text-decoration:none}.gp-stage,.gp-band,.gp-card{break-inside:avoid}}.gw{display:flex;flex-direction:column;gap:12px;overflow-x:auto}.gw-bar{display:flex;align-items:center;justify-content:space-between;gap:12px}.gw-bar p{margin:0;color:var(--text-muted, #5d6677)}.gw-sheet{--ink: #1b2130;--muted: #5d6677;--line: #dde2ea;--plan: #2f7de1;--build: #1f9d6b;--review: #d9822b;--ship: #d6455d;--cont: #7a5af5;--know: #0f8c95;--setup: #6b7280;--accent: #6b4fd8;flex:none;width:297mm;height:210mm;box-sizing:border-box;padding:8mm 9mm 7mm;background:#fff;color:var(--ink);font:8.3pt/1.3 var(--font-body, system-ui, sans-serif);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:3.2mm;overflow:hidden;box-shadow:0 4px 24px #00000026;-webkit-print-color-adjust:exact;print-color-adjust:exact;page:wall}.gw-sheet a{color:inherit;text-decoration:none}.gw-head{display:flex;align-items:flex-end;justify-content:space-between;border-bottom:2.5px solid var(--ink);padding-bottom:2mm}.gw-brand{font:800 30pt/1 var(--font-head, system-ui, sans-serif);letter-spacing:-1.5px}.gw-brand span{color:var(--accent)}.gw-tag{font-size:10pt;color:var(--muted);margin-left:4mm}.gw-stats{display:flex;gap:4mm;text-align:center}.gw-stats div{font-size:7pt;color:var(--muted);text-transform:uppercase;letter-spacing:.4px}.gw-stats b{display:block;font-size:15pt;line-height:1;color:var(--ink)}.gw-loop{display:flex;gap:1.6mm}.gw-step{flex:1 1 0;min-width:0;border-radius:2mm;padding:1.6mm 2mm;color:#fff!important;background:var(--accent)}.gw-step b{display:block;font:700 9.5pt var(--font-mono, monospace)}.gw-step span{font-size:7pt}.gw-cards{--gw-scale: 1;font-size:calc(8.3pt * var(--gw-scale));columns:4;column-gap:2.6mm;min-height:0;overflow:hidden}.gw-card{break-inside:avoid;margin:0 0 2.6mm;border:1px solid var(--line);border-top:3px solid var(--c, var(--accent));border-radius:1.6mm;padding:1.6mm 2.2mm 1.8mm}.gw-plan{--c: var(--plan)}.gw-build{--c: var(--build)}.gw-review{--c: var(--review)}.gw-ship{--c: var(--ship)}.gw-continuity{--c: var(--cont)}.gw-knowledge{--c: var(--know)}.gw-setup,.gw-other,.gw-agents{--c: var(--setup)}.gw-card h2{margin:0 0 1mm;font-size:1.18em;color:var(--c);text-transform:uppercase;letter-spacing:.6px}.gw-card h2 small{color:var(--muted);font-weight:400;text-transform:none;letter-spacing:0;font-size:.85em}.gw-row{padding:.55mm 0;border-top:1px dotted var(--line)}.gw-row:first-of-type{border-top:0}.gw-name{font:600 .99em var(--font-mono, monospace);overflow-wrap:anywhere}.gw-name.is-daily:before{content:"★ ";color:#c99400}.gw-blurb{color:var(--muted);font-size:.89em}.gw-foot{display:flex;justify-content:space-between;gap:4mm;color:var(--muted);font-size:7pt;border-top:1px solid var(--line);padding-top:1.5mm}@page wall{size:A4 landscape;margin:0}@media print{.gw-bar{display:none!important}.gw{overflow:visible}.gw-sheet{box-shadow:none}}.gm{--gm-bg: var(--bg-card);--gm-ink: var(--text-main);--gm-muted: var(--text-sub);--gm-line: var(--border-dim);--gm-accent: var(--purple);--gm-plan: var(--cyan);--gm-build: var(--green);--gm-review: var(--orange);--gm-ship: var(--pink);--gm-continuity: var(--purple);--gm-knowledge: var(--yellow);--gm-setup: var(--text-dim);--gm-core: var(--yellow);display:flex;flex-direction:column;gap:14px;min-width:0}.gm a{color:inherit;text-decoration:none}.gm a:hover{text-decoration:underline}.gm a:focus-visible,.gm-print:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.gm-bar{display:flex;flex-wrap:wrap;align-items:end;gap:12px 16px}.gm-filter{display:grid;gap:4px;flex:1 1 260px;max-width:420px}.gm-matches{margin:0;min-height:40px;display:flex;align-items:center;font-size:13px;color:var(--text-sub)}.gm-print{margin-left:auto;min-height:40px;padding:0 16px;border:1px solid var(--border-dim);border-radius:999px;background:var(--bg-card);color:var(--text-main);font:inherit;font-size:13px;cursor:pointer}.gm-print:hover{border-color:var(--purple)}.gm-sheet{display:grid;gap:26px;min-width:0;padding:20px;border:1px solid var(--gm-line);border-radius:12px;background:var(--bg-lane);color:var(--gm-ink);page:map}.gm-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 24px;padding-bottom:14px;border-bottom:2px solid var(--gm-ink)}.gm-eyebrow{margin:0 0 4px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--gm-muted)}.gm-title{margin:0 0 6px;font-family:var(--font-head);font-size:clamp(26px,4vw,34px);line-height:1.1}.gm-lede{margin:0;max-width:64ch;color:var(--gm-muted)}.gm-stats{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0}.gm-stats div{min-width:0}.gm-stats dt{font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--gm-muted)}.gm-stats dd{margin:0;font-family:var(--font-head);font-size:24px;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}.gm-section{display:grid;gap:12px;min-width:0}.gm-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0;font-family:var(--font-head);font-size:20px}.gm-h small{font-size:13px;font-weight:400;color:var(--gm-muted)}.gm-loop{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.gm-lanes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px}.gm-stage{--c: var(--gm-accent);position:relative;min-width:0;padding:12px 14px 14px;border:1px solid var(--gm-line);border-top:4px solid var(--c);border-radius:8px;background:var(--gm-bg)}.gm-s-plan{--c: var(--gm-plan)}.gm-s-build{--c: var(--gm-build)}.gm-s-review{--c: var(--gm-review)}.gm-s-ship{--c: var(--gm-ship)}.gm-s-continuity{--c: var(--gm-continuity)}.gm-s-knowledge{--c: var(--gm-knowledge)}.gm-s-setup,.gm-s-other{--c: var(--gm-setup)}.gm-stage.has-arrow:after{content:"→";position:absolute;right:-16px;top:8px;width:14px;text-align:center;color:var(--gm-muted);pointer-events:none}.gm-stage h3{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:0 0 8px;font-family:var(--font-head);font-size:16px;color:var(--c)}.gm-stage h3 small{font-size:12px;font-weight:400;color:var(--gm-muted)}.gm-count{margin-left:auto;font-size:12px;font-weight:600;color:var(--gm-muted);font-variant-numeric:tabular-nums}.gm-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}.gm-item{display:grid;gap:1px;min-width:0}.gm-name{font-family:var(--font-mono);font-size:13px;font-weight:600;overflow-wrap:anywhere}.gm-name.is-daily:before{content:"★ ";color:var(--gm-core)}.gm-blurb{font-size:12.5px;color:var(--gm-muted)}.gm-dim{opacity:.25}.gm-timeline{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px 0;margin:0;padding:0;list-style:none}.gm-event{position:relative;display:grid;align-content:start;gap:4px;min-width:0;padding:22px 12px 0 0}.gm-event:before{content:"";position:absolute;left:0;right:0;top:7px;height:2px;background:var(--gm-line)}.gm-event:after{content:"";position:absolute;left:0;top:1px;width:12px;height:12px;border-radius:50%;background:var(--gm-accent)}.gm-matcher{font-size:12px;color:var(--gm-muted);overflow-wrap:anywhere}.gm-handlers{display:grid;gap:2px;margin:0;padding:0;list-style:none;font-family:var(--font-mono);font-size:12px;overflow-wrap:anywhere}.gm-agents{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:10px}.gm-agent{display:grid;gap:4px;min-width:0;padding:10px 12px;border:1px solid var(--gm-line);border-radius:8px;background:var(--gm-bg)}.gm-agent-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px}.gm-badge{padding:0 6px;border:1px solid var(--gm-line);border-radius:4px;font-size:10.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--gm-muted);white-space:nowrap}.gm-model{color:var(--gm-accent);border-color:var(--gm-accent)}.gm-families{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:16px 22px}.gm-family{display:grid;align-content:start;gap:6px;min-width:0}.gm-family h3{display:flex;align-items:baseline;gap:8px;margin:0;font-size:14px}.gm-chips{display:flex;flex-wrap:wrap;gap:5px}.gm-chip{max-width:100%;padding:1px 7px;border:1px solid var(--gm-line);border-radius:4px;background:var(--gm-bg);font-family:var(--font-mono);font-size:12px;overflow-wrap:anywhere}.gm-chip.is-core{border-color:var(--gm-core);font-weight:600}.gm-runtimes{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:10px}.gm-runtime{display:grid;gap:2px;min-width:0;padding:10px 12px;border:1px solid var(--gm-line);border-left:4px solid var(--gm-accent);border-radius:8px;background:var(--gm-bg)}.gm-runtime span{font-size:12.5px;color:var(--gm-muted)}.gm-foot{padding-top:10px;border-top:1px solid var(--gm-line);font-size:12px;color:var(--gm-muted)}@media(max-width:1000px){.gm-loop{grid-template-columns:repeat(2,minmax(0,1fr))}.gm-stage.has-arrow:after{display:none}}@media(max-width:700px){.gm-sheet{padding:14px 12px}.gm-loop{grid-template-columns:minmax(0,1fr)}.gm-timeline{grid-template-columns:minmax(0,1fr);padding-left:22px}.gm-event{padding:0 0 14px}.gm-event:before{left:-16px;right:auto;top:6px;bottom:-6px;width:2px;height:auto}.gm-event:last-child:before{display:none}.gm-event:after{left:-21px;top:4px;width:10px;height:10px}}@page map{size:A3 landscape;margin:8mm}@media print{.gm-bar{display:none!important}.gm{--gm-bg: #fff;--gm-ink: #1b2130;--gm-muted: #5d6677;--gm-line: #cfd5e0;--gm-accent: #6b4fd8;--gm-plan: #2f7de1;--gm-build: #1f9d6b;--gm-review: #d9822b;--gm-ship: #d6455d;--gm-continuity: #7a5af5;--gm-knowledge: #0f8c95;--gm-setup: #6b7280;--gm-core: #c99400;-webkit-print-color-adjust:exact;print-color-adjust:exact}.gm-sheet{padding:0;border:0;border-radius:0;background:#fff;gap:5mm;zoom:.85}.gm-list{gap:4px}.gm-h{break-after:avoid}.gm-stage,.gm-agent,.gm-family,.gm-event{break-inside:avoid}.gm-dim{opacity:1}}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import{c as $,j as e,r as j,p as L,f as Q,h as Y,P as Z,w as ee,T,e as se,b as D,l as ae,i as ne,k as re,m as le,n as te,o as ie,d as ce,q as oe,s as de,t as he,u as me,v as pe,N as ue,x as xe}from"./index-CmngQ8Mk.js";import{y as ze}from"./index-CmngQ8Mk.js";import{l as P}from"./time-D00tu2ZP.js";/**
|
|
2
|
-
* @license lucide-react v1.61.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const S={name:"arrow-right-left",size:24,node:[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]};S.node;const je=$(S);/**
|
|
7
|
-
* @license lucide-react v1.61.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const M={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]};M.node;const Ne=$(M);/**
|
|
12
|
-
* @license lucide-react v1.61.0 - ISC
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the ISC license.
|
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const _={name:"circle",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]};_.node;const ke=$(_);/**
|
|
17
|
-
* @license lucide-react v1.61.0 - ISC
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the ISC license.
|
|
20
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/const I={name:"loader",size:24,node:[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]};I.node;const ge=$(I);/**
|
|
22
|
-
* @license lucide-react v1.61.0 - ISC
|
|
23
|
-
*
|
|
24
|
-
* This source code is licensed under the ISC license.
|
|
25
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/const O={name:"octagon-alert",size:24,node:[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]],aliases:["alert-octagon"]};O.node;const fe=$(O);/**
|
|
27
|
-
* @license lucide-react v1.61.0 - ISC
|
|
28
|
-
*
|
|
29
|
-
* This source code is licensed under the ISC license.
|
|
30
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/const A={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};A.node;const be=$(A);function V({phase:s}){return e.jsxs(e.Fragment,{children:[s.prs.map(a=>a.url?e.jsxs("a",{className:"rm-pr mono","data-testid":"rm-pr",href:a.url,target:"_blank",rel:"noreferrer noopener",children:["#",a.number]},a.number):e.jsxs("span",{className:"rm-pr mono","data-testid":"rm-pr",children:["#",a.number]},a.number)),e.jsx("span",{className:`rm-stage tile-${s.tile}`,"data-testid":"rm-stage",children:s.stage})]})}function v({status:s}){const a=s==="done"||s==="not-needed";return e.jsx("span",{className:`chip ${a?"chip-resolved":s==="in-progress"?"chip-waiting":"chip-hub"}`,children:s})}function we({detail:s,note:a=null,variant:l,onClose:t}){const n=j.useId(),r=j.useRef(null);if(j.useEffect(()=>{var k;(k=r.current)==null||k.focus()},[s==null?void 0:s.phase.ref]),!s)return null;const{title:i,text:o,phase:h}=s,u=L(h);return e.jsxs("aside",{className:"rm-panel","data-testid":"rm-panel",role:"dialog","aria-modal":"false","aria-labelledby":n,children:[e.jsxs("h3",{id:n,"data-testid":"rm-panel-title",tabIndex:-1,ref:r,children:[h.ref," ",i]}),e.jsx("button",{type:"button",className:"rm-panel-close","data-testid":"rm-panel-close","aria-label":"Close",onClick:t,children:"×"}),e.jsx(v,{status:h.tile}),h.tracker&&e.jsx("p",{"data-testid":"rm-panel-tracker",children:h.tracker}),u&&e.jsx("p",{"data-testid":"rm-panel-meta",children:u}),e.jsx("div",{className:"rm-panel-prs",children:e.jsx(V,{phase:h})}),l!=="site"&&(o!==null?e.jsx("pre",{className:"rm-panel-text","data-testid":"rm-panel-text",children:o}):a==="loading"?e.jsx("p",{"data-testid":"rm-panel-note",children:"Loading the plan section…"}):a==="error"?e.jsx("p",{"data-testid":"rm-panel-note",children:"Could not load the plan section."}):e.jsx("p",{"data-testid":"rm-panel-empty",children:"The plan has no section for this phase."}))]})}function R(){try{return typeof window<"u"?window.localStorage:null}catch{return null}}function z(s){const[a,l]=j.useState(()=>s??Q(R()));return[a,n=>()=>{l(n),ee(R(),n)}]}function F({view:s,choose:a}){return e.jsxs("div",{className:"rm-view",role:"group","aria-label":"View","data-testid":"rm-view",children:[e.jsx("button",{type:"button","data-testid":"rm-view-timeline","aria-pressed":s==="timeline",onClick:a("timeline"),children:"Timeline"}),e.jsx("button",{type:"button","data-testid":"rm-view-board","aria-pressed":s==="board",onClick:a("board"),children:"Board"})]})}const H=s=>s instanceof HTMLElement&&/^(INPUT|TEXTAREA|SELECT)$/.test(s.tagName);function B({m:s,pool:a,repo:l,variant:t}){const[n,r]=j.useState(null),[i,o]=j.useState(null),[h,u]=j.useState(0),k=j.useRef(null),d=n?Y(s,a,n):null,g=j.useContext(Z),c=d==null?void 0:d.planPath,m=d==null?void 0:d.key,w=d!==null&&t!=="site"&&d.hasSection&&d.text===null&&d.planPath!==null&&g!==null;j.useEffect(()=>{if(!w||!n||!d||!d.planPath||!g)return;let x=!0;return g(l.path,d.planPath,d.key).then(y=>{x&&o({ref:n,text:y.text||null,error:!1})},()=>{x&&o({ref:n,text:null,error:!0})}),()=>{x=!1}},[n,w,g,l.path,c,m,h]);const p=i&&i.ref===n?i:null,b=(x,y)=>{if(k.current=y,x===n){p!=null&&p.error&&(o(null),u(J=>J+1));return}o(null),r(x)},N=()=>{var x;o(null),r(null),(x=k.current)==null||x.focus()};j.useEffect(()=>{if(n===null)return;const x=y=>{H(y.target)||y.key==="Escape"&&N()};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[n]);const f=e.jsx(we,{detail:d?{title:d.title,text:d.text??(p==null?void 0:p.text)??null,phase:d.phase}:null,note:w&&!p?"loading":p!=null&&p.error?"error":null,variant:t,onClose:N});return{open:b,panel:f}}const ye={todo:ke,"in-progress":ge,done:Ne,moved:je,blocked:fe},K={size:14,"aria-hidden":!0};function E({tile:s}){const a=ye[s];return e.jsx(a,{...K})}function U({done:s,total:a}){const l=a?Math.round(100*s/a):0;return e.jsxs("div",{className:"rm-bar-wrap",children:[e.jsx("div",{className:"rm-bar",role:"img","aria-label":`${s} of ${a} phases done`,children:e.jsx("i",{style:{width:`${l}%`}})}),e.jsxs("span",{className:"rm-bar-text",children:[s,"/",a," phases · ",l,"%"]})]})}function ve(s,a){const l=document.getElementById(`ms-${s}-${a}`);l instanceof HTMLDetailsElement&&(l.open=!0),l==null||l.scrollIntoView({block:"start"})}function q({m:s,match:a,onOpen:l}){const t=r=>!a||a.phases.has(r.ref),n=s.milestones.length;return e.jsxs("section",{className:"rm-section","data-testid":"rm-timeline","aria-label":"Timeline",children:[e.jsx("h3",{className:"flow-h",children:"Timeline"}),e.jsxs("div",{className:"rm-timeline-grid",style:{"--rm-cols":n},children:[e.jsxs("div",{className:"rm-head-row",children:[e.jsx("div",{className:"rm-cell rm-head rm-lane",children:"Plan / milestone"}),s.milestones.map(r=>e.jsxs("div",{className:"rm-cell rm-head",children:[e.jsx("strong",{children:r.id})," ",e.jsx(v,{status:r.status}),e.jsx("span",{className:"rm-sub",children:r.depends.length?`after ${r.depends.join(", ")}`:"starts first"}),r.blockers.length>0&&e.jsxs("span",{className:"rm-gate-count",children:[r.blockers.length," gate(s)"]})]},r.id))]}),s.lanes.map(r=>e.jsxs("div",{className:"rm-row",children:[e.jsxs("div",{className:"rm-cell rm-lane",children:[r.plan,e.jsxs("span",{className:"rm-sub",children:[r.done,"/",r.total," done"]})]}),s.milestones.map(i=>e.jsx("div",{className:"rm-cell",children:i.phases.filter(o=>o.plan===r.plan&&t(o)).map(o=>e.jsxs("button",{type:"button",className:"rm-tile","data-state":o.tile,"data-risk":o.highRisk?"high":void 0,title:`${o.ref} ${o.name} | ${o.tracker||o.stage}`,onClick:h=>l(o.ref,h.currentTarget),children:[e.jsx(E,{tile:o.tile}),s.kind!=="plan"&&e.jsx("b",{className:"mono",children:o.num}),e.jsx("span",{children:o.name}),e.jsx("span",{className:"sr-only",children:T[o.tile]}),o.highRisk&&e.jsx("i",{className:"rm-risk","aria-label":"high risk"})]},o.ref))},i.id))]},r.plan)),s.blockers.length>0&&e.jsxs("div",{className:"rm-row",children:[e.jsx("div",{className:"rm-cell rm-lane",children:"Owner and outside"}),s.milestones.map(r=>e.jsx("div",{className:"rm-cell",children:r.blockers.map((i,o)=>e.jsxs("div",{className:"rm-gate-note",title:i.reason,children:[i.type,": ",i.reason.length>60?`${i.reason.slice(0,60)}…`:i.reason]},o))},r.id))]})]}),e.jsx("div",{className:"rm-timeline-list","data-testid":"rm-timeline-list",children:s.milestones.map(r=>e.jsxs("div",{children:[e.jsxs("h4",{className:"rm-list-h",children:[r.id," ",e.jsx(v,{status:r.status})]}),r.phases.filter(t).map(i=>e.jsxs("button",{type:"button",className:"rm-tile","data-state":i.tile,"data-risk":i.highRisk?"high":void 0,onClick:o=>l(i.ref,o.currentTarget),children:[e.jsx(E,{tile:i.tile}),s.kind!=="plan"&&e.jsxs("b",{className:"mono",children:[i.plan," ",i.num]}),e.jsx("span",{children:i.name}),e.jsx("span",{className:"sr-only",children:T[i.tile]}),i.highRisk&&e.jsx("i",{className:"rm-risk","aria-label":"high risk"})]},i.ref))]},r.id))}),e.jsxs("div",{className:"rm-legend","data-testid":"rm-legend",children:[e.jsx("span",{children:"to do · in progress · done · moved · blocked: each tile has an icon and a label"}),e.jsx("span",{children:"red dot = Risk high (stops for review)"})]})]})}function G({m:s,match:a,onOpen:l}){return e.jsxs("section",{className:"rm-section","data-testid":"rm-milestones","aria-label":"Milestones and phases",children:[e.jsx("h3",{className:"flow-h",children:"Milestones and phases"}),s.milestones.filter(t=>!a||a.milestones.has(t.id)).map(t=>e.jsxs("details",{className:"rm-ms",id:`ms-${s.slug}-${t.id}`,open:a?!0:void 0,children:[e.jsxs("summary",{children:[e.jsx("strong",{children:t.id})," ",e.jsx(v,{status:t.status}),s.kind!=="plan"&&e.jsxs("span",{className:"rm-sub",children:["owner ",t.owner,t.target?` · target ${t.target}`:""," · after ",t.depends.join(", ")||"-"]})]}),t.phases.length===0?e.jsx("p",{className:"col-empty",children:"No build phases."}):e.jsx("ul",{className:"flow-list",children:t.phases.filter(n=>!a||a.phases.has(n.ref)).map(n=>e.jsxs("li",{className:"flow-row","data-testid":"rm-phase","data-state":n.tile,children:[e.jsxs("div",{className:"flow-row-head",children:[e.jsx("code",{className:"mono",children:n.ref}),e.jsx("button",{type:"button",className:"flow-title rm-open",onClick:r=>l(n.ref,r.currentTarget),children:n.name}),e.jsx(V,{phase:n})]}),e.jsxs("span",{className:"flow-why",children:[L(n)||"no model, lane or risk recorded",n.tracker?` · Tracker: ${n.tracker}`:""]})]},n.ref))})]},`${t.id}-${a?"q":"n"}`))]})}const W=(s,a,l)=>s==="site"?l?`#/roadmap/${encodeURIComponent(l)}`:"#/":se(a,"roadmap",l);function $e({repo:s,m:a,variant:l}){const t=D(s);return e.jsxs("div",{className:"rm-list-view",children:[(a.errors.length>0||a.repoError||a.roadmaps.some(n=>n.detailError))&&e.jsxs("div",{className:"lane-note","data-testid":"rm-errors",children:[a.repoError&&e.jsxs("div",{children:["Could not read this repo: ",a.repoError]}),a.errors.map(n=>e.jsxs("div",{children:["Could not read ",n.slug,": ",n.error]},n.slug)),a.roadmaps.filter(n=>n.detailError).map(n=>e.jsxs("div",{children:["Detail unavailable for ",n.slug,": ",n.detailError]},n.slug))]}),e.jsx("ul",{className:"flow-list rm-cards","data-testid":"rm-list","aria-label":"Roadmaps",children:a.roadmaps.map(n=>{const r=ae(n);return e.jsx("li",{children:e.jsxs("a",{className:`rm-rcard rm-card tone-${r.tone}`,"data-testid":"rm-card",href:W(l,t,n.slug),children:[e.jsxs("span",{children:[e.jsx("strong",{children:r.slug})," ",e.jsx("span",{className:"rm-sub",children:r.branch??""})]}),e.jsx(U,{done:r.phasesDone,total:r.phasesTotal}),e.jsxs("span",{className:"rm-sub",children:[r.milestonesDone,"/",r.milestonesTotal," milestones"]}),e.jsx("span",{className:"rm-dots",children:r.dots.map(i=>e.jsx("span",{className:`rm-dot s-${i.status}`,children:i.id},i.id))}),e.jsxs("span",{className:"rm-sub",children:["next: ",r.next,l==="hub"?` · runner: ${r.runner}`:"",r.gates>0?` · ${r.gates} open gate${r.gates===1?"":"s"}`:""]})]})},n.slug)})})]})}const Te={todo:"todo","in-progress":"prog",blocked:"block",done:"done",moved:"done"},C=s=>s.replace(/^☐\s*/u,"").trim();function Pe({plan:s}){if(s.rows.length===0)return null;const a=ne(s);return e.jsxs("span",{className:"rm-pkpis","data-testid":"rm-plan-kpis",children:[e.jsxs("span",{className:"rm-pkpi",children:[e.jsxs("span",{className:"rm-pkpi-num",children:[a.done," / ",a.total]})," ","done"]}),e.jsx("span",{className:"rm-pbar",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a.pct,"aria-label":"Share of rows done",children:e.jsx("span",{style:{width:`${a.pct}%`}})}),e.jsxs("span",{className:"rm-pkpi rm-pkpi-pct",children:[a.pct," %"]}),e.jsxs("span",{className:`rm-pkpi${a.inProgress?" tone-prog":""}`,children:[e.jsx("span",{className:"rm-pkpi-num",children:a.inProgress})," in progress"]}),e.jsxs("span",{className:`rm-pkpi${a.blocked?" tone-block":""}`,children:[e.jsx("span",{className:"rm-pkpi-num",children:a.blocked})," blocked"]}),e.jsxs("span",{className:"rm-pkpi",children:[e.jsx("span",{className:"rm-pkpi-num",children:a.todo})," to do"]})]})}function Re({plan:s}){if(s.rows.length===0)return e.jsx("p",{className:"col-empty","data-testid":"rm-plan-board",children:"This plan has no Tracker table."});const a=re(s);return e.jsx("div",{className:"rm-cols rm-cols-4","data-testid":"rm-plan-board",children:le.map(l=>e.jsxs("div",{"data-col":l.key,children:[e.jsxs("h4",{className:"rm-list-h",children:[l.label," · ",a[l.key].length]}),a[l.key].length===0?e.jsx("p",{className:"col-empty",children:"none"}):a[l.key].map((t,n)=>e.jsxs("div",{className:`rm-rcard rm-pcard tone-${Te[t.state]}${t.state==="moved"?" is-moved":""}`,children:[e.jsx("strong",{children:t.phase}),C(t.status)?e.jsx("span",{className:"rm-sub",children:C(t.status)}):null]},`${t.phase}-${n}`))]},l.key))})}function Ee({m:s,plan:a,repo:l,variant:t,initialView:n}){const[r,i]=z(n),{open:o,panel:h}=B({m:s,pool:[a],repo:l,variant:t}),u=s.kpis;return e.jsxs("div",{className:"rm-detail","data-testid":"rm-detail",children:[s.detailError&&e.jsxs("div",{className:"lane-note","data-testid":"rm-errors",children:["Roadmap detail is unavailable: ",s.detailError,". Phase names, Tracker cells and PR links are missing."]}),e.jsx("header",{"data-testid":"rm-header",children:e.jsxs("p",{className:"page-subtitle",children:[u.phasesDone," of ",u.phasesTotal," phases done"]})}),e.jsx(F,{view:r,choose:i}),e.jsxs("section",{className:"rm-kpis kpi-strip","data-testid":"rm-kpis","aria-label":"Summary",children:[e.jsxs("div",{className:"kpi-tile",children:[e.jsx("span",{className:"kpi-label",children:"Phases done"}),e.jsxs("span",{className:"kpi-num",children:[u.phasesDone," / ",u.phasesTotal]})]}),e.jsxs("div",{className:"kpi-tile",children:[e.jsx("span",{className:"kpi-label",children:"In progress"}),e.jsx("span",{className:"kpi-num",children:u.inProgress.length}),e.jsx("span",{className:"kpi-sub tone-muted",children:u.inProgress.join(", ")||"none"})]})]}),r==="timeline"?e.jsx(q,{m:s,match:null,onOpen:o}):e.jsx(Re,{plan:a}),e.jsx(G,{m:s,match:null,onOpen:o}),h]})}function Ce(s){const[a]=j.useState(()=>te(s));return a}function Le({plan:s,repo:a,variant:l,initialView:t,defaultOpen:n}){const[r,i]=j.useState(n);return e.jsxs("details",{className:"rm-plan","aria-label":s.title,open:r||void 0,onToggle:o=>i(o.currentTarget.open),children:[e.jsxs("summary",{className:"rm-plan-sum",children:[e.jsx("span",{className:"rm-plan-title",children:s.title}),e.jsxs("span",{className:"rm-sub",children:[s.open," open"]}),e.jsx(Pe,{plan:s}),e.jsx("span",{className:"rm-plan-only",children:"plan only, no runner"})]}),r&&e.jsx(Ee,{m:ie(a,s),plan:s,repo:a,variant:l,initialView:t})]})}function X({plans:s,repo:a,variant:l,initialView:t,initialOpenAll:n}){const r=Ce(s);return e.jsx(e.Fragment,{children:s.map(i=>e.jsx(Le,{plan:i,repo:a,variant:l,initialView:t,defaultOpen:n||i.path===r},i.path))})}function De({plans:s,repo:a,variant:l,initialView:t,initialOpenAll:n=!1}){return e.jsxs("div",{className:"flow","data-testid":"rm-plans",children:[e.jsx("p",{className:"page-subtitle",children:"No roadmap here. These plans are active. Click a plan to open or close it."}),e.jsx(X,{plans:s,repo:a,variant:l,initialView:t,initialOpenAll:n})]})}function Se({plans:s,repo:a,variant:l,initialView:t,initialOpenAll:n=!1}){return s.length===0?null:e.jsxs("div",{className:"flow","data-testid":"rm-other-plans",children:[e.jsx("h2",{className:"rm-title",children:"Plans with no roadmap"}),e.jsx(X,{plans:s,repo:a,variant:l,initialView:t,initialOpenAll:n})]})}function Me({m:s,repo:a,crumbHref:l,match:t,variant:n,initialView:r,plans:i}){const[o,h]=z(r),{open:u,panel:k}=B({m:s,pool:i??[],repo:a,variant:n}),d=s.kpis,g=c=>()=>ve(s.slug,c);return e.jsxs("div",{className:"rm-detail","data-testid":"rm-detail",children:[e.jsxs("nav",{className:"rm-crumbs","data-testid":"rm-crumbs","aria-label":"Breadcrumb",children:[l?e.jsx("a",{href:l,children:"Roadmaps"}):e.jsx("span",{children:"Roadmaps"})," › ",e.jsx("span",{children:ce(a)})," › ",e.jsx("strong",{children:s.slug})]}),s.detailError&&e.jsxs("div",{className:"lane-note","data-testid":"rm-errors",children:["Roadmap detail is unavailable: ",s.detailError,". Phase names, Tracker cells and PR links are missing."]}),e.jsxs("header",{"data-testid":"rm-header",children:[e.jsxs("h2",{className:"rm-title",children:["Roadmap ",s.slug]}),e.jsxs("p",{className:"page-subtitle",children:[d.milestonesDone," of ",d.milestonesTotal," milestones · ",d.phasesDone," of ",d.phasesTotal," phases done",s.branch?e.jsxs(e.Fragment,{children:[" · branch ",e.jsx("code",{children:s.branch})]}):null,s.originCommit?e.jsxs(e.Fragment,{children:[" · origin ",e.jsx("code",{children:s.originCommit})]}):null]}),s.lanes.length>0&&e.jsx("div",{className:"rm-chips","data-testid":"rm-chips",children:s.lanes.map(c=>e.jsxs("span",{className:"rm-chip",children:[e.jsx("b",{children:c.plan})," ",e.jsxs("span",{className:"mono",children:[c.done,"/",c.total," phases"]})]},c.plan))})]}),e.jsx(F,{view:o,choose:h}),e.jsxs("section",{className:`rm-section rm-waiting${s.gates.length?" has":""}`,"data-testid":"rm-waiting","aria-label":"Waiting for you",children:[e.jsx("h3",{className:"flow-h",children:"Waiting for you"}),s.gates.length===0?e.jsx("p",{className:"col-empty",children:"No owner gate is waiting."}):e.jsx("ul",{className:"flow-list",children:s.gates.map((c,m)=>e.jsxs("li",{className:"flow-row",children:[e.jsxs("div",{className:"flow-row-head",children:[e.jsx("strong",{children:c.milestone}),e.jsx("span",{className:"chip chip-owner-gate",children:"owner-gate"})]}),e.jsx("span",{className:"flow-why",children:c.reason}),c.check&&e.jsx("code",{className:"mono",children:c.check})]},m))})]}),e.jsxs("section",{className:"rm-kpis kpi-strip","data-testid":"rm-kpis","aria-label":"Summary",children:[e.jsxs("div",{className:"kpi-tile",children:[e.jsx("span",{className:"kpi-label",children:"Phases done"}),e.jsxs("span",{className:"kpi-num",children:[d.phasesDone," / ",d.phasesTotal]})]}),e.jsxs("div",{className:"kpi-tile",children:[e.jsx("span",{className:"kpi-label",children:"Milestones done"}),e.jsxs("span",{className:"kpi-num",children:[d.milestonesDone," / ",d.milestonesTotal]})]}),e.jsxs("div",{className:"kpi-tile",children:[e.jsx("span",{className:"kpi-label",children:"In progress"}),e.jsx("span",{className:"kpi-num",children:d.inProgress.length}),e.jsx("span",{className:"kpi-sub tone-muted",children:d.inProgress.join(", ")||"none"})]}),e.jsxs("div",{className:"kpi-tile",children:[e.jsx("span",{className:"kpi-label",children:"High-risk phases"}),e.jsx("span",{className:`kpi-num${d.highRisk?" bad":""}`,children:d.highRisk})]}),e.jsxs("div",{className:"kpi-tile deploy",children:[e.jsx("span",{className:"kpi-label",children:"Next batch for the runner"}),e.jsx("span",{className:"kpi-val",children:d.next})]})]}),e.jsxs("section",{className:"rm-section","data-testid":"rm-flow","aria-label":"Flow",children:[e.jsx("h3",{className:"flow-h",children:"Flow"}),e.jsx("div",{className:"rm-chain",children:s.milestones.map((c,m)=>e.jsxs("span",{className:"rm-chain-item",children:[m>0&&e.jsx("span",{"aria-hidden":"true",children:"→"}),e.jsxs("button",{type:"button",className:`rm-node tone-${c.tone}`,onClick:g(c.id),children:[e.jsx("b",{children:c.id})," ",e.jsx(v,{status:c.status}),e.jsxs("span",{className:"rm-sub",children:[c.depends.length?`after ${c.depends.join(", ")}`:"starts first"," · ",c.done,"/",c.total," ph"]})]})]},c.id))})]}),o==="timeline"?e.jsx(q,{m:s,match:t,onOpen:u}):e.jsxs("section",{className:"rm-section","data-testid":"rm-board","aria-label":"Now, next, later",children:[e.jsx("h3",{className:"flow-h",children:"Now, next, later"}),e.jsx("div",{className:"rm-cols",children:["now","next","later"].map(c=>e.jsxs("div",{children:[e.jsx("h4",{className:"rm-list-h",children:c[0].toUpperCase()+c.slice(1)}),s.board[c].length===0?e.jsx("p",{className:"col-empty",children:"none"}):s.board[c].map(m=>e.jsxs("button",{type:"button",className:`rm-rcard tone-${m.tone}`,onClick:g(m.id),children:[e.jsxs("span",{children:[e.jsx("strong",{children:m.id})," ",e.jsx(v,{status:m.status})]}),e.jsx(U,{done:m.done,total:m.total}),m.blockers.map((w,p)=>e.jsx("span",{className:"rm-sub",children:w.type},p))]},m.id))]},c))})]}),e.jsxs("section",{className:"rm-section","data-testid":"rm-gates","aria-label":"Gates and blockers",children:[e.jsxs("h3",{className:"flow-h",children:["Gates and blockers · ",s.blockers.length," open"]}),s.blockers.length===0?e.jsx("p",{className:"col-empty",children:"No blockers."}):e.jsx("ul",{className:"flow-list",children:s.blockers.map((c,m)=>e.jsxs("li",{className:"flow-row",children:[e.jsxs("div",{className:"flow-row-head",children:[e.jsx("strong",{children:c.milestone}),e.jsx("span",{className:`chip ${c.type==="owner-gate"?"chip-owner-gate":"chip-hub"}`,children:c.type})]}),e.jsx("span",{className:"flow-why",children:c.reason}),c.check&&e.jsx("code",{className:"mono",children:c.check})]},m))})]}),e.jsx(G,{m:s,match:t,onOpen:u}),n==="hub"&&e.jsxs("section",{className:"rm-section","data-testid":"rm-runner","aria-label":"Runner",children:[e.jsx("h3",{className:"flow-h",children:"Runner"}),s.runner.running?e.jsxs("p",{children:["Running batch ",e.jsx("code",{children:s.runner.running.batch}),s.runner.running.since?` since ${P(s.runner.running.since)}`:"",s.runner.running.host?` (host ${s.runner.running.host}${s.runner.running.pid?`, pid ${s.runner.running.pid}`:""})`:"","."]}):e.jsx("p",{className:"col-empty",children:"No runner holds this roadmap now."}),s.runner.staleBatch!==null&&e.jsxs("p",{children:["A stale runner lock remains (batch ",e.jsx("code",{children:s.runner.staleBatch}),"): the runner that held it is gone."]}),s.runner.lastStop&&e.jsxs("p",{children:["Last stop record: ",s.runner.lastStopAt?`${P(s.runner.lastStopAt)}: `:"",s.runner.lastStop,"."]}),s.runner.errors.map(c=>e.jsxs("p",{className:"tone-warn",children:["Could not read ",c,"."]},c)),s.runner.next&&e.jsxs("p",{children:["Next batch: ",e.jsx("code",{children:s.runner.next})]})]}),k]})}function Oe({repo:s,slug:a,stale:l=!1,lastOkAt:t=null,variant:n="hub",initialView:r,initialOpenAll:i=!1,nowMs:o}){const h=oe(s),[u,k]=j.useState(""),d=j.useRef(null);j.useEffect(()=>{const b=N=>{var f;N.key==="/"&&!H(N.target)&&!N.ctrlKey&&!N.metaKey&&!N.altKey&&(N.preventDefault(),(f=d.current)==null||f.focus())};return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[]);const g=D(s),c=l&&e.jsxs("p",{className:"lane-note","data-testid":"rm-stale",children:["Roadmap data is old. Last good read ",de(t),". The numbers below are greyed."]}),m=n==="hub"?he(s.plans,o??Date.now()):null,w=m&&e.jsx("p",{className:`page-subtitle rm-source${m.old?" tone-warn":""}`,"data-testid":"rm-source",children:m.text});let p;if(h.mode==="none")p=e.jsxs("div",{className:"notice","data-testid":"rm-none",children:[e.jsx("h2",{className:"rm-title",children:ue}),e.jsxs("p",{children:["Create one with ",e.jsx("code",{className:"cmd",children:xe}),"."]})]});else if(h.mode==="error")p=e.jsxs("div",{className:"lane-note","data-testid":"rm-errors",children:["Could not read this repo: ",h.repoError]});else if(h.mode==="plans")p=e.jsx(De,{plans:h.plans,repo:s,variant:n,initialView:r,initialOpenAll:i});else{const b=a?h.roadmaps.find(N=>N.slug===a):n==="hub"&&me(h)?h.roadmaps[0]:void 0;if(b){const N=h.roadmaps.length+h.errors.length>1,f=pe(b,u);p=e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"rm-searchbar",children:[e.jsxs("label",{className:"rm-search",children:[e.jsx(be,{...K}),e.jsx("span",{className:"sr-only",children:"Search this roadmap"}),e.jsx("input",{ref:d,type:"search","data-testid":"rm-search",placeholder:"Search phases, PRs, milestones (press /)",value:u,onChange:x=>k(x.target.value),onKeyDown:x=>{x.key==="Escape"&&k("")}})]}),e.jsx("span",{className:"rm-match","data-testid":"rm-match-count","aria-live":"polite",children:f?`${f.count} ${f.count===1?"match":"matches"}`:""})]}),e.jsx(Me,{m:b,plans:h.plans,repo:s,crumbHref:N?W(n,g):null,match:f,variant:n,initialView:r})]})}else p=e.jsxs(e.Fragment,{children:[a&&e.jsxs("p",{className:"lane-note","data-testid":"rm-missing",children:["No roadmap named ",a," in this repo."]}),e.jsx($e,{repo:s,m:h,variant:n})]})}return e.jsxs("div",{className:`rm${l?" stale":""}`,"data-testid":"roadmap-tab",children:[c,w,p,h.mode==="roadmaps"?e.jsx(Se,{plans:h.otherPlans,repo:s,variant:n,initialView:r,initialOpenAll:i}):null]})}export{ze as collectorStale,Oe as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-400.17fc1ce7.woff2) format("woff2")}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-500.dcc69acf.woff2) format("woff2")}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-600.d4dad061.woff2) format("woff2")}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ibm-plex-sans-700.40d9a530.woff2) format("woff2")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-mono-400.6d569bb7.woff2) format("woff2")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ibm-plex-mono-700.9f478677.woff2) format("woff2")}:root{--caddis-blue: #0d42fc;--caddis-cyan: #00cad5;--caddis-green: #91d202;--caddis-amber: #fdad01;--caddis-orange: #fc4e23;--caddis-violet: #8730fb;--caddis-bg-dark: #282a36;--caddis-bg-light: #f8f8f2}@media(prefers-reduced-motion:no-preference){.caddis-mark-build path{opacity:0;transform-box:fill-box;transform-origin:center;animation:caddis-piece-in .64s cubic-bezier(.2,.7,.2,1) forwards}.caddis-mark-build .p-blue{--from: -60px, -60px;animation-delay:0ms}.caddis-mark-build .p-purple{--from: -60px, 60px;animation-delay:90ms}.caddis-mark-build .p-cyan{--from: 60px, -60px;animation-delay:.18s}.caddis-mark-build .p-amber{--from: -40px, 60px;animation-delay:.27s}.caddis-mark-build .p-green{--from: 0px, 70px;animation-delay:.36s}.caddis-mark-build .p-orange{--from: 60px, 40px;animation-delay:.45s}}@keyframes caddis-piece-in{0%{opacity:0;transform:translate(var(--from, 0, 0)) scale(.85)}to{opacity:1;transform:none}}:root,[data-theme=dark]{color-scheme:dark;--bg-canvas: #191a23;--bg-lane: #21222c;--bg-card: #282a36;--bg-elevated: #343746;--border-dim: #363949;--border-bright: #4b4f65;--text-main: #f8f8f2;--text-sub: #c0c4d6;--text-dim: #9ca3c4;--purple: #bd93f9;--pink: #ff79c6;--green: #50fa7b;--yellow: #f1fa8c;--red: #ff5555;--cyan: #8be9fd;--orange: #ffb86c;--tone-yellow-bg: rgba(241, 250, 140, .08);--tone-yellow-bd: rgba(241, 250, 140, .42);--tone-red-bg: rgba(255, 85, 85, .09);--tone-red-bd: rgba(255, 85, 85, .45);--tone-pink-bg: rgba(255, 121, 198, .11);--tone-pink-bd: rgba(255, 121, 198, .45);--tone-cyan-bg: rgba(139, 233, 253, .09);--tone-cyan-bd: rgba(139, 233, 253, .36);--tone-green-bg: rgba(80, 250, 123, .09);--tone-green-bd: rgba(80, 250, 123, .36);--tone-purple-bg: rgba(189, 147, 249, .12);--tone-purple-bd: rgba(189, 147, 249, .42);--focus-ring: #bd93f9;--sidebar-w: 232px;--font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-head: "IBM Plex Sans", "Segoe UI", sans-serif;--font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace}[data-theme=light]{color-scheme:light;--bg-canvas: #f2f3f8;--bg-lane: #f9f9fc;--bg-card: #ffffff;--bg-elevated: #ebedf5;--border-dim: #dcdde8;--border-bright: #bfc2d4;--text-main: #1b1c26;--text-sub: #424659;--text-dim: #60667f;--purple: #6837e8;--pink: #cf2384;--green: #128038;--yellow: #8f6100;--red: #d12121;--cyan: #096b7d;--orange: #b85000;--tone-yellow-bg: rgba(217, 155, 8, .11);--tone-yellow-bd: rgba(168, 112, 0, .42);--tone-red-bg: rgba(209, 33, 33, .07);--tone-red-bd: rgba(209, 33, 33, .38);--tone-pink-bg: rgba(207, 35, 132, .08);--tone-pink-bd: rgba(207, 35, 132, .38);--tone-cyan-bg: rgba(9, 107, 125, .08);--tone-cyan-bd: rgba(9, 107, 125, .32);--tone-green-bg: rgba(18, 128, 56, .08);--tone-green-bd: rgba(18, 128, 56, .32);--tone-purple-bg: rgba(104, 55, 232, .09);--tone-purple-bd: rgba(104, 55, 232, .35);--focus-ring: #6837e8}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{min-height:100%;width:100%;max-width:100%;background:var(--bg-canvas);color:var(--text-main);font-family:var(--font-body);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}h1,h2,h3,h4,strong,b{font-weight:600}h1,h2,h3,.page-title,.rm-title,.flow-h{font-family:var(--font-head);letter-spacing:-.01em}.mono,code{font-family:var(--font-mono);font-feature-settings:"zero" on;font-size:.92em}code.cmd{background:var(--bg-elevated);padding:1px 6px;border-radius:4px;color:var(--yellow);overflow-wrap:anywhere}button,a{font-family:inherit}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}@keyframes work-pulse{0%,to{opacity:1}50%{opacity:.35}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.pulse-dot{width:8px;height:8px;border-radius:50%;background:var(--cyan);display:inline-block;animation:work-pulse 2.2s ease-in-out infinite;flex-shrink:0}.app-shell{display:flex;min-height:100vh;width:100%;max-width:100%}.mobile-topbar{display:none;position:sticky;top:0;z-index:45;background:var(--bg-card);border-bottom:1px solid var(--border-dim);padding:10px 14px;align-items:center;justify-content:space-between;gap:10px}.menu-btn{display:inline-flex;align-items:center;gap:8px;background:var(--bg-elevated);border:1px solid var(--border-bright);color:var(--text-main);padding:6px 10px;border-radius:7px;font-size:14px;font-weight:500;cursor:pointer}.drawer-backdrop{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;z-index:49}.drawer-backdrop.open{display:block}.sidebar{width:var(--sidebar-w);background:var(--bg-card);border-right:1px solid var(--border-dim);position:fixed;top:0;bottom:0;left:0;z-index:50;display:flex;flex-direction:column;justify-content:space-between;transition:transform .2s ease;overflow-x:hidden;overflow-y:auto}.sidebar-top{padding:16px 12px;display:flex;flex-direction:column;gap:18px}.brand-row{display:flex;align-items:center;padding:0 6px}.brand-logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:16px;color:var(--text-main);min-width:0}.brand-mark{width:36px;height:36px;flex-shrink:0}.brand-mark-still,html[data-motion=off] .brand-mark-anim{display:none}html[data-motion=off] .brand-mark-still{display:block}.brand-stack{display:flex;flex-direction:column;gap:4px;min-width:0}.brand-wordmark{width:100px;height:20px}.brand-sub{font-size:12px;line-height:12px;font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}.nav-list{display:flex;flex-direction:column;gap:4px;list-style:none}.nav-sublist{display:flex;flex-direction:column;gap:2px;list-style:none;margin:0 0 0 28px;padding-left:8px;border-left:1px solid var(--border-dim)}.nav-sublink{padding-top:4px;padding-bottom:4px;font-size:13px}.nav-section-label{font-size:13px;font-weight:500;color:var(--text-dim);padding:0 10px;margin-bottom:-10px}.nav-empty{padding:6px 10px;color:var(--text-dim);font-size:14px}.nav-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:8px;color:var(--text-sub);text-decoration:none;font-weight:500;font-size:15px;transition:background .12s ease,color .12s ease;min-width:0}.nav-link:hover{background:var(--bg-elevated);color:var(--text-main)}.nav-link.active{background:var(--tone-purple-bg);color:var(--purple);font-weight:600}.nav-link-left{display:flex;align-items:center;gap:10px;min-width:0}.nav-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.soon{font-size:11.5px;color:var(--text-dim);border:1px solid var(--border-dim);border-radius:99px;padding:0 7px}.inbox-badge{display:inline-flex;align-items:center;justify-content:center;padding:1px 8px;border-radius:99px;font-size:12px;font-weight:600;background:linear-gradient(135deg,var(--yellow),var(--red));color:#191a23;flex-shrink:0}.repo-dot{width:9px;height:9px;margin:0 4.5px;border-radius:50%;flex-shrink:0}.repo-dot.attention{background:var(--yellow);box-shadow:0 0 0 2px var(--tone-yellow-bg)}.repo-dot.blocked{background:var(--red);box-shadow:0 0 0 2px var(--tone-red-bg)}.repo-dot.ok{background:var(--green)}.repo-dot.idle{background:var(--text-dim)}.sidebar-footer{padding:14px 12px;border-top:1px solid var(--border-dim);display:flex;flex-direction:column;gap:12px;background:var(--bg-lane)}.footer-meta{font-size:13px;color:var(--text-sub);display:flex;flex-direction:column;gap:8px}.updated-line{display:flex;align-items:center;gap:7px;color:var(--text-dim);font-size:12.5px;line-height:1.35}.spend-box{display:flex;flex-direction:column;gap:5px}.spend-row{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:13px}.meter-track{width:100%;height:6px;background:var(--bg-elevated);border-radius:99px;overflow:hidden}.meter-fill{height:100%;background:var(--purple);border-radius:99px}.meter-fill.hot{background:var(--orange)}.versions{color:var(--text-dim);font-size:11.5px;overflow-wrap:anywhere}.theme-switch{display:flex;gap:4px;background:var(--bg-elevated);border-radius:8px;padding:3px}.theme-btn{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:5px;background:transparent;border:0;border-radius:6px;color:var(--text-sub);padding:5px 4px;font-size:12.5px;cursor:pointer}.theme-btn.active{background:var(--bg-card);color:var(--purple);font-weight:600}.main-area{flex:1;margin-left:var(--sidebar-w);min-width:0;width:100%}.page-wrap{max-width:1420px;margin:0 auto;padding:28px 28px 48px;display:flex;flex-direction:column;gap:28px;min-width:0}.page-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.page-title{font-size:22px;font-weight:600;color:var(--text-main);display:flex;align-items:center;gap:10px}.page-subtitle{font-size:14px;color:var(--text-sub)}.notice{display:flex;flex-direction:column;gap:8px;background:var(--bg-card);border:1px solid var(--border-dim);border-radius:10px;padding:18px 20px;max-width:560px}.banners{display:flex;flex-direction:column;gap:8px}.banner{display:flex;align-items:flex-start;gap:10px;border-radius:8px;padding:10px 14px;font-size:14px;border:1px solid var(--tone-yellow-bd);background:var(--tone-yellow-bg)}.banner svg{flex-shrink:0;margin-top:2px}.banner.warn svg{color:var(--yellow)}.banner.bad{border-color:var(--tone-red-bd);background:var(--tone-red-bg)}.banner.bad svg{color:var(--red)}.kpi-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.kpi-tile{background:var(--bg-card);border:1px solid var(--border-dim);border-radius:10px;padding:13px 16px;display:flex;flex-direction:column;justify-content:space-between;gap:6px;text-decoration:none;color:var(--text-main);transition:border-color .15s ease;min-width:0}.kpi-tile:hover{border-color:var(--purple)}.kpi-tile.urgent{border-color:var(--tone-yellow-bd);background:var(--tone-yellow-bg)}.kpi-tile.danger{border-color:var(--tone-red-bd);background:var(--tone-red-bg)}.kpi-label{font-size:13.5px;color:var(--text-sub);font-weight:500;display:flex;align-items:center;gap:7px;min-width:0}.kpi-val{font-size:19px;font-weight:600;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.kpi-sub{font-size:13px;font-weight:400}@media(max-width:1100px){.kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.mobile-topbar{display:flex}.app-shell{flex-direction:column}.sidebar{width:250px;transform:translate(-100%);visibility:hidden}.sidebar.drawer-open{transform:translate(0);visibility:visible}.main-area{margin-left:0}.page-wrap{padding:16px 12px 36px;gap:20px}.kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}:root,[data-theme=dark]{--mk-accent: #00cad5;--mk-sel: #343746;--mk-bad: #ff7a7a;--mk-good: #91d202;--mk-warn: #fdad01;--mk-warn-bg: rgba(253, 173, 1, .1);--mk-warn-line: rgba(253, 173, 1, .45);--chip-waiting-bg: rgba(0, 202, 213, .16);--chip-waiting-fg: #5fe6ee;--chip-gate-bg: rgba(135, 48, 251, .22);--chip-gate-fg: #c9a7ff;--chip-bad-bg: rgba(255, 122, 122, .16);--chip-bad-fg: #ff9b9b;--chip-coord-bg: rgba(253, 173, 1, .16);--chip-coord-fg: #fdad01;--chip-done-bg: rgba(145, 210, 2, .16);--chip-done-fg: #a8e23a}[data-theme=light]{--mk-accent: #0d42fc;--mk-sel: #e8eefe;--mk-bad: #c0262d;--mk-good: #3d6b00;--mk-warn: #8a5a00;--mk-warn-bg: rgba(253, 173, 1, .14);--mk-warn-line: rgba(154, 101, 0, .45);--chip-waiting-bg: #dff7f8;--chip-waiting-fg: #006b72;--chip-gate-bg: #efe5ff;--chip-gate-fg: #5b1bb5;--chip-bad-bg: #fde4e4;--chip-bad-fg: #a11d24;--chip-coord-bg: #fff1cf;--chip-coord-fg: #7a5000;--chip-done-bg: #e9f6d2;--chip-done-fg: #3d6b00}.btn{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:8px;border:1px solid var(--border-bright);background:transparent;color:var(--text-main);font-size:14px;font-weight:500;cursor:pointer}.btn:hover:not(:disabled){background:var(--bg-elevated)}.btn:disabled{opacity:.55;cursor:not-allowed}.kpi-tile .kpi-num{font-size:30px;font-weight:600;line-height:1.1}.kpi-num.accent{color:var(--mk-accent)}.kpi-num.bad{color:var(--mk-bad)}.tone-good{color:var(--mk-good)}.tone-warn{color:var(--mk-warn)}.tone-bad{color:var(--mk-bad)}.tone-muted{color:var(--text-dim)}.kpi-tile.deploy .kpi-val{font-size:15px}.mailbox{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}.mailbox-folders{flex:1 1 180px;display:flex;flex-direction:column;gap:2px;padding:8px;border-radius:12px;background:var(--bg-lane);border:1px solid var(--border-dim)}.folder-btn,.item-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:0 10px;border:0;border-radius:8px;text-align:left;background:transparent;color:var(--text-main);font-size:15px;cursor:pointer}.folder-btn span:first-of-type{flex-grow:1}.folder-btn.sel,.item-btn.sel{background:var(--mk-sel)}.folder-btn:hover,.item-btn:hover{background:var(--bg-elevated)}.mailbox-list{flex:2 1 280px;min-width:0;display:flex;flex-direction:column;gap:4px;padding:8px;border-radius:12px;background:var(--bg-lane);border:1px solid var(--border-dim)}.item-btn{align-items:flex-start;padding:10px;min-height:56px}.unread-dot{width:9px;height:9px;margin-top:6px;border-radius:50%;flex-shrink:0;background:transparent}.unread-dot.on{background:var(--mk-accent)}.item-main{display:flex;flex-direction:column;gap:3px;min-width:0}.item-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:var(--text-dim)}.item-title{font-weight:400;overflow-wrap:anywhere}.chip{padding:1px 8px;border-radius:99px;font-size:12px;font-weight:600}.chip-waiting{background:var(--chip-waiting-bg);color:var(--chip-waiting-fg)}.chip-owner-gate{background:var(--chip-gate-bg);color:var(--chip-gate-fg)}.chip-blocked,.chip-blocked-merge{background:var(--chip-bad-bg);color:var(--chip-bad-fg)}.chip-coordinator,.chip-hub{background:var(--chip-coord-bg);color:var(--chip-coord-fg)}.chip-resolved{background:var(--chip-done-bg);color:var(--chip-done-fg)}.list-empty{padding:24px 12px;text-align:center;color:var(--text-sub)}.mailbox-detail{flex:3 1 320px;min-width:0;display:flex;flex-direction:column;gap:14px;padding:18px;border-radius:12px;background:var(--bg-lane);border:1px solid var(--border-dim)}.mailbox-detail h2{font-size:20px;line-height:1.3;overflow-wrap:anywhere}.detail-block{display:flex;flex-direction:column;gap:4px}.detail-label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}.detail-actions{display:flex;flex-wrap:wrap;gap:10px}.back-btn{display:none}.notify-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:14px;color:var(--text-sub)}@media(max-width:720px){.mailbox{flex-direction:column;align-items:stretch}.mailbox.show-detail .mailbox-folders,.mailbox.show-detail .mailbox-list{display:none}.mailbox:not(.show-detail) .mailbox-detail{display:none}.mailbox-folders{flex-direction:row;flex-wrap:wrap}.folder-btn{width:auto;flex:1 1 140px}.back-btn{display:inline-flex;align-self:flex-start}}.lanes{display:flex;flex-direction:column;gap:14px}.lane{border-radius:12px;background:var(--bg-lane);border:1px solid var(--border-dim)}.lane.down .lane-body .card.grey>:not(.action-row),.lane.stopped .lane-body .card.grey>:not(.action-row){opacity:.55}.lane.stopped .lane-note{background:var(--mk-warn-bg);border-color:var(--mk-warn-line)}.lane-head{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:0 14px;border:0;background:transparent;color:var(--text-main);font-size:15px;text-align:left;cursor:pointer;border-radius:12px}.lane-head .chev{margin-left:auto;flex-shrink:0;color:var(--text-dim)}.lane-name{font-weight:400;font-family:var(--font-mono);font-size:14px}.lane-summary{color:var(--text-dim);font-size:13.5px;min-width:0;overflow-wrap:anywhere}.lane-body{padding:0 14px 14px;display:flex;flex-direction:column;gap:12px}.lane-note{padding:10px 12px;border-radius:8px;background:var(--bg-elevated);border:1px solid var(--border-dim);font-size:14px}.lane.down .lane-note{background:var(--mk-warn-bg);border-color:var(--mk-warn-line)}.lane-cols{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.lane-col{display:flex;flex-direction:column;gap:8px;min-width:0}.col-title{font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--text-dim);font-weight:600}.card{display:flex;flex-direction:column;gap:2px;padding:9px 11px;border-radius:8px;background:var(--bg-card);border:1px solid var(--border-dim);overflow-wrap:anywhere}.card-title{font-weight:500;font-size:14px}.card-sub{font-size:13px}.col-empty{font-size:13px;color:var(--text-dim)}@media(max-width:1100px){.lane-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.lane-cols{grid-template-columns:minmax(0,1fr)}.lane-head{flex-wrap:wrap;padding:10px 14px}}.first-run{border:1px dashed var(--border, var(--mk-line, #6272a4));border-radius:10px;padding:16px;margin:0 0 16px;display:grid;gap:8px;justify-items:start}.first-run h2{margin:0;font-size:1.1rem}.first-run p{margin:0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.first-run-reason{color:var(--text-dim);font-size:.85rem}.chip-stale{background:transparent;border:1px dashed currentColor;color:var(--text-dim)}.kpi-strip.stale .kpi-num,.kpi-strip.stale .kpi-val,.lanes.stale .lane-body{opacity:.55}.gh-fail{overflow-wrap:anywhere}.quota-low{color:var(--mk-warn, var(--text));font-size:.85rem;overflow-wrap:anywhere}.action-row{display:flex;flex-direction:column;gap:6px;min-width:0}.action-buttons{display:flex;flex-wrap:wrap;gap:8px}.action-row.compact .btn-act{min-height:30px;padding:0 10px;font-size:12.5px}.action-reason,.request-status{font-size:13px;overflow-wrap:anywhere}.action-reason{color:var(--text-dim)}.recommendation{padding:10px 12px;border-radius:8px;border:1px solid var(--border-dim);background:var(--bg-elevated);overflow-wrap:anywhere}.rec-approve{color:var(--mk-good)}.rec-hold{color:var(--mk-warn)}.rec-evidence{font-size:13.5px}.rec-note{font-size:12.5px;color:var(--text-dim)}.quota-line{font-size:.85rem;color:var(--text-dim);overflow-wrap:anywhere}.repo-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}.repo-tabs .folder-btn{width:auto;min-height:38px;padding:0 14px;border:1px solid var(--border-dim)}.flow{display:flex;flex-direction:column;gap:18px;min-width:0}.flow-status.stopped,.flow-status.down{background:var(--mk-warn-bg);border-color:var(--mk-warn-line)}.flow-section{display:flex;flex-direction:column;gap:8px;min-width:0}.flow-h{margin:0;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--text-dim)}.flow-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.flow-row{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:8px;background:var(--bg-card);border:1px solid var(--border-dim);overflow-wrap:anywhere;min-width:0}.flow-row.grey>:not(.action-row){opacity:.55}.flow-row-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.flow-pos{color:var(--text-dim);font-size:13px}.flow-title{font-weight:600;font-size:14.5px}.flow-flags{display:flex;flex-wrap:wrap;gap:6px}.flow-flags .chip,.flow-row-head .chip{border:1px solid currentColor}.flow-why{font-size:13px;color:var(--text-sub)}.card .action-row{margin-top:4px}.repo-tabs a.folder-btn{text-decoration:none;display:inline-flex}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.rm{display:flex;flex-direction:column;gap:14px;min-width:0}.rm.stale .rm-detail,.rm.stale .rm-list-view{opacity:.6}.rm-title{margin:0;font-size:18px}.rm-detail{display:flex;flex-direction:column;gap:18px;min-width:0}.rm-crumbs{font-size:13px;color:var(--text-sub);overflow-wrap:anywhere}.rm-crumbs a{color:var(--mk-accent)}.rm-section{display:flex;flex-direction:column;gap:8px;min-width:0}.rm-waiting.has .flow-row{border-color:var(--tone-pink-bd);background:var(--tone-pink-bg)}.rm-searchbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.rm-search{display:flex;align-items:center;gap:8px;flex:1 1 240px;min-height:40px;padding:0 10px;border:1px solid var(--border-bright);border-radius:8px;background:var(--bg-card)}.rm-search input{flex:1;min-width:0;border:0;background:transparent;color:var(--text-main);font:inherit;min-height:38px}.rm-search input:focus-visible{outline-offset:6px}.rm-match{font-size:13px;color:var(--text-sub)}.rm-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.rm-chip{padding:4px 10px;border:1px solid var(--border-dim);border-radius:8px;background:var(--bg-card);font-size:13px}.rm-sub{display:block;font-size:12px;color:var(--text-dim)}.rm-bar-wrap{display:flex;flex-direction:column;gap:2px}.rm-bar{height:8px;border-radius:99px;background:var(--bg-elevated);overflow:hidden}.rm-bar i{display:block;height:100%;background:var(--mk-good)}.rm-bar-text{font-size:12px;color:var(--text-dim)}.rm-chain{display:flex;flex-wrap:wrap;align-items:stretch;gap:6px}.rm-chain-item{display:inline-flex;align-items:center;gap:6px}.rm-node,.rm-rcard{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border:1px solid var(--border-dim);border-radius:9px;background:var(--bg-card);color:var(--text-main);font:inherit;text-align:left;text-decoration:none;cursor:pointer;min-width:0;overflow-wrap:anywhere}.rm-node:hover,.rm-rcard:hover{background:var(--bg-elevated)}.rm-node.tone-done,.rm-rcard.tone-done{border-left:4px solid var(--mk-good)}.rm-node.tone-prog,.rm-rcard.tone-prog{border-left:4px solid var(--mk-accent)}.rm-node.tone-wait,.rm-rcard.tone-wait{border-left:4px solid var(--chip-gate-fg)}.rm-node.tone-block,.rm-rcard.tone-block{border-left:4px solid var(--mk-warn)}.rm-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.rm-rcard strong{font-weight:500}.rm-cols .rm-rcard{width:100%;margin-bottom:8px}.rm-cols.rm-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.rm-pcard{cursor:default}.rm-pcard:hover{background:var(--bg-card)}.rm-pcard.is-moved{opacity:.55}.rm-list-h{margin:0 0 6px;font-size:14px}.rm-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr))}.rm-cards li{min-width:0}.rm-cards .rm-rcard{height:100%}.rm-dots{display:flex;flex-wrap:wrap;gap:4px}.rm-dot{font-size:11px;padding:0 6px;border-radius:99px;background:var(--bg-elevated);color:var(--text-sub)}.rm-dot.s-done{background:var(--chip-done-bg);color:var(--chip-done-fg)}.rm-dot.s-in-progress{background:var(--chip-waiting-bg);color:var(--chip-waiting-fg)}.rm-timeline-grid{display:flex;flex-direction:column;overflow-x:auto;border:1px solid var(--border-dim);border-radius:8px}.rm-timeline-grid>.rm-head-row,.rm-timeline-grid>.rm-row{display:grid;grid-template-columns:150px repeat(var(--rm-cols, 1),minmax(120px,1fr))}.rm-cell{padding:6px;border-top:1px solid var(--border-dim);border-left:1px dashed var(--border-dim);min-width:0}.rm-head{background:var(--bg-lane);font-weight:600;border-top:0}.rm-lane{font-weight:500;border-left:0;overflow-wrap:anywhere}.rm-gate-count,.rm-gate-note{display:inline-block;margin:2px 0;padding:1px 6px;font-size:11px;border:1px dashed var(--mk-warn);border-radius:6px;background:var(--mk-warn-bg);overflow-wrap:anywhere}.rm-tile{position:relative;display:flex;align-items:center;gap:5px;margin:0 0 4px;padding:3px 6px;font-size:12px;border:1px solid var(--border-bright);border-radius:6px;background:var(--bg-card);max-width:100%;overflow-wrap:anywhere;width:100%;box-sizing:border-box;font-family:inherit;color:inherit;text-align:left;cursor:pointer}.rm-tile[data-state=done]{background:var(--chip-done-bg);color:var(--chip-done-fg)}.rm-tile[data-state=in-progress]{background:var(--chip-waiting-bg);color:var(--chip-waiting-fg)}.rm-tile[data-state=blocked]{background:var(--mk-warn-bg);border-color:var(--mk-warn-line)}.rm-tile[data-state=moved]{background:repeating-linear-gradient(135deg,var(--chip-done-bg) 0 5px,var(--bg-card) 5px 10px)}.rm-panel{position:fixed;top:64px;right:16px;bottom:16px;width:min(480px,calc(100vw - 32px));padding:16px;overflow:auto;z-index:40;background:var(--bg-card);border:1px solid var(--border-bright);border-radius:12px;box-shadow:0 8px 24px #00000040}.rm-panel h3{margin:0 32px 8px 0;outline:none}.rm-panel-close{position:absolute;top:8px;right:8px;border:0;background:none;color:inherit;font-size:20px;line-height:1;cursor:pointer;padding:4px 8px}.rm-panel-text{white-space:pre-wrap;font-family:var(--font-mono);font-size:12.5px;max-height:60vh;overflow:auto;margin:12px 0 0}@media(max-width:700px){.rm-panel{left:16px}}.flow-title.rm-open{background:none;border:0;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer;text-decoration:underline dotted}.rm-tile:focus-visible,.rm-open:focus-visible,.rm-panel-close:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.rm-risk{width:7px;height:7px;margin-left:auto;border-radius:50%;background:var(--mk-bad);flex:none}.rm-timeline-list{display:none}@media(max-width:900px){.rm-timeline-grid{display:none}.rm-timeline-list{display:block}.rm-cols,.rm-cols.rm-cols-4{grid-template-columns:1fr}}.rm-legend{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:var(--text-dim)}.rm-ms{border:1px solid var(--border-dim);border-radius:10px;background:var(--bg-card);padding:8px 12px;margin-bottom:8px}.rm-ms>summary{cursor:pointer;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.rm-ms[open]>.flow-list{margin-top:8px}.rm-plan{border:1px solid var(--border-dim);border-radius:10px;background:var(--bg-card);padding:12px 14px}.rm-plan[open]{gap:12px}.rm-plan-sum{cursor:pointer;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;list-style:none}.rm-plan-sum::-webkit-details-marker{display:none}.rm-plan-sum:before{content:"▸";color:var(--text-sub);transition:transform .15s ease}.rm-plan[open]>.rm-plan-sum:before{transform:rotate(90deg)}.rm-plan-title{font-weight:600;font-size:15.5px;min-width:0;overflow-wrap:anywhere}.rm-pkpis{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding-left:20px;font-size:13.5px;color:var(--text-sub)}.rm-pkpi-num{font-family:var(--font-mono);font-feature-settings:"zero" on;color:var(--text-main)}.rm-pkpi.tone-prog .rm-pkpi-num{color:var(--mk-accent)}.rm-pkpi.tone-block .rm-pkpi-num{color:var(--mk-warn)}.rm-pbar{display:inline-block;width:120px;height:6px;border-radius:3px;background:var(--border-dim);overflow:hidden}.rm-pbar>span{display:block;height:100%;background:var(--green)}.rm-pr{color:var(--mk-accent);font-size:13px}.rm-stage{font-size:12px;padding:1px 8px;border-radius:99px;background:var(--bg-elevated);color:var(--text-sub)}.rm-stage.tile-done{background:var(--chip-done-bg);color:var(--chip-done-fg)}.rm-stage.tile-in-progress{background:var(--chip-waiting-bg);color:var(--chip-waiting-fg)}.rm-stage.tile-blocked{background:var(--mk-warn-bg);color:var(--mk-warn)}.btn-act{min-height:32px;padding:0 10px;font-size:13px}.rm-view{display:inline-flex;align-self:flex-start;gap:2px;padding:2px;border:1px solid var(--border-dim);border-radius:999px;background:var(--bg-card)}.rm-view button{padding:6px 12px;border:0;border-radius:999px;background:transparent;color:var(--text-sub);font:inherit;font-size:13px;cursor:pointer}.rm-view button[aria-pressed=true]{background:var(--purple);color:var(--bg-canvas);font-weight:600}.rm-plan-only{font-size:.75em;text-transform:uppercase;letter-spacing:.04em;color:var(--text-sub)}.act-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.act-filters select{min-height:38px;padding:0 8px;border:1px solid var(--border-bright);border-radius:8px;background:var(--bg-card);color:var(--text-main);font:inherit;max-width:100%}.act-kinds{display:flex;flex-wrap:wrap;gap:6px}.act-kind{min-height:36px;padding:0 12px;border:1px solid var(--border-bright);border-radius:99px;background:transparent;color:var(--text-main);font:inherit;font-size:13px;cursor:pointer}.act-kind[aria-pressed=true]{background:var(--mk-sel);border-color:var(--mk-accent)}.act-time{font-size:12px;color:var(--text-dim)}.act-kindtag{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-dim)}
|