/* Shared compact operational surfaces; timelines show observed events only. */
.flow-timeline{display:flex;list-style:none;margin:18px 0 4px;padding:0;isolation:isolate;min-width:0;color:var(--muted)}
.flow-step{position:relative;flex:1 1 0;min-width:0;padding:0 8px 0 0;display:flex;align-items:flex-start;flex-direction:column;gap:5px;font-size:11px;line-height:1.35}
.flow-step:not(:last-child)::after{content:"";position:absolute;z-index:-1;height:2px;background:var(--line);top:9px;left:20px;right:0}
.flow-step-done:not(:last-child)::after{background:var(--green)}
.flow-node{height:20px;width:20px;display:grid;place-items:center;flex:none;border:2px solid var(--line);border-radius:50%;color:var(--muted);font-size:11px;font-weight:700;background:var(--surface)}
.flow-step-done .flow-node{background:var(--green-soft);border-color:var(--green);color:var(--green)}
.flow-step-current{color:var(--ink)}.flow-step-current .flow-label{font-weight:650}
.flow-step-current .flow-node{border-color:var(--blue);background:var(--blue);box-shadow:0 0 0 4px var(--blue-soft);animation:flow-current 3s ease-in-out infinite}
.flow-step-failed .flow-node{border-color:var(--red);color:var(--red);background:var(--red-soft)}
.flow-step-skipped .flow-node{border-style:dashed}.flow-step-skipped .flow-label{text-decoration:line-through;text-decoration-color:var(--line)}
.flow-step time,.flow-step small{font-size:10px;color:var(--muted);font-weight:400;max-width:100%;overflow-wrap:anywhere}
.flow-timeline-compact{margin-top:10px}.flow-timeline-compact .flow-step{font-size:10px;gap:4px}
.flow-timeline-compact .flow-node{width:16px;height:16px;font-size:9px}.flow-timeline-compact .flow-step:not(:last-child)::after{top:7px;left:16px}
.ops-surface{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.ops-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:14px 16px;border-bottom:1px solid var(--line)}
.ops-toolbar input,.ops-toolbar select{min-height:36px;max-width:100%;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);padding:8px 10px;font:inherit;font-size:12px}
.ops-toolbar input[type=search]{flex:1 1 230px}.ops-toolbar label{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:12px}
.ops-toolbar input[type=number]{width:88px}.ops-muted{font-size:12px;color:var(--muted);line-height:1.5}
.ops-empty{padding:44px 20px;text-align:center;color:var(--muted)}.ops-empty strong{display:block;color:var(--ink);margin-bottom:8px;font-size:15px}
.ops-tabs{display:inline-flex;gap:4px;background:var(--surface-soft);border:1px solid var(--line);padding:4px;border-radius:10px;margin-bottom:18px}
.ops-tabs button{border:0;border-radius:7px;background:transparent;color:var(--muted);font:inherit;font-size:13px;padding:9px 15px;cursor:pointer}.ops-tabs button[aria-selected=true]{background:var(--surface);box-shadow:0 1px 4px #17212b12;color:var(--ink);font-weight:600}
.ops-count{font-variant-numeric:tabular-nums}.ops-pill{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);padding:3px 8px;border-radius:20px;font-size:11px;color:var(--muted);background:var(--surface-soft)}
.ops-pill-good{color:var(--green);border-color:transparent;background:var(--green-soft)}.ops-pill-warn{color:var(--amber);border-color:transparent;background:var(--amber-soft)}
.ops-chart{display:block;max-width:100%;height:34px;overflow:visible;color:var(--blue)}.ops-chart path{stroke:currentColor;fill:none;stroke-width:2}.ops-chart circle{fill:currentColor}
@keyframes flow-current{0%,100%{box-shadow:0 0 0 3px var(--blue-soft)}50%{box-shadow:0 0 0 6px var(--blue-soft)}}
@media(max-width:720px){.flow-timeline{overflow-x:auto;padding:4px 0 10px;scrollbar-width:thin}.flow-step{min-width:80px}.flow-timeline-compact .flow-step{min-width:72px}.ops-toolbar{padding:12px;gap:8px}.ops-toolbar select{flex:1 1 130px;min-width:0}.ops-tabs{display:flex}.ops-tabs button{flex:1;padding:9px 10px}}
@media(prefers-reduced-motion:reduce){.flow-node{animation:none!important}.ops-surface *{scroll-behavior:auto!important}}
