/* ─── Sidebar & nav ──────────────────────────────────────────────────── */
.pf-v5-c-page__sidebar[aria-hidden="true"] { display: none; }
.pf-v5-c-page.pf-m-sidebar-collapsed { grid-template-columns: 0 1fr !important; }
.pf-v5-c-nav__link { cursor: default; }

/* ─── Utilities ──────────────────────────────────────────────────────── */
.status-cell { display: flex; align-items: center; gap: 6px; }
.status-cell svg { flex-shrink: 0; }
.tsf-link { color: var(--pf-v5-global--link--Color, #06c); text-decoration: none; }
.tsf-link:hover { text-decoration: underline; }
.tsf-link-mono { color: var(--pf-v5-global--link--Color, #06c); text-decoration: none; font-family: monospace; font-size: 0.9em; }
.tsf-link-mono:hover { text-decoration: underline; }
.tsf-success { color: #3e8635; }
.tsf-namespace-bar { font-size: 0.85em; color: var(--pf-v5-global--Color--200, #aaa); margin-bottom: 8px; }
.tsf-panel-description { color: var(--pf-v5-global--Color--200, #aaa); font-size: 0.875em; margin-bottom: 16px; }
.tsf-toolbar { display: flex; gap: 8px; margin-bottom: 16px; align-items: center; }
.tsf-filter-btn { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.tsf-label-group { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tsf-td-mono { word-break: break-all; font-size: 0.85em; }
.tsf-mono-block { font-size: 0.8em; font-family: monospace; background: #0f1114; padding: 6px 8px; border-radius: 4px; word-break: break-all; color: #c0c0c0; }

/* ─── Release detail drawer ──────────────────────────────────────────── */
.tsf-drawer-label { font-weight: 700; font-size: 0.8em; color: #8a8d90; margin-bottom: 4px; }
.tsf-result-label { font-size: 0.8em; color: #8a8d90; margin-bottom: 2px; }
.tsf-drawer-value { font-size: 0.875em; margin: 0; }
.tsf-drawer-section-title { font-size: 0.875em; font-weight: 700; margin: 0 0 8px; color: #e0e0e0; }

/* ─── SVG pipeline edges ─────────────────────────────────────────────── */
g[data-kind="edge"][data-type="pipelinerun-edge"] { z-index: 0; }

/* ─── Tab & sub panels ───────────────────────────────────────────────── */
.tab-panel { display: none !important; }
.tab-panel.active { display: block !important; }
.sub-panel { display: none !important; }
.sub-panel.active { display: block !important; }

/* ─── Pipeline detail ────────────────────────────────────────────────── */
.details-item { padding: 14px 0; border-bottom: 1px solid var(--pf-v5-global--BorderColor--100, #3c3f42); }
.details-label { font-size: 0.875em; font-weight: 700; margin-bottom: 4px; }
.details-value { font-size: 1em; }

/* ─── Pipeline graph ─────────────────────────────────────────────────── */
.pipeline-graph-wrap { overflow: auto; background: #0f1114; border-radius: 8px; padding: 24px; margin-bottom: 24px; max-width: 100%; width: 100%; box-sizing: border-box; }

/* ─── Pipeline node popover ──────────────────────────────────────────── */
.tsf-popover { display: none; position: fixed; z-index: 9999; background: #212427; border-radius: 8px; padding: 16px 20px 14px; min-width: 260px; max-width: 360px; box-shadow: 0 6px 24px rgba(0,0,0,0.75); pointer-events: none; font-family: RedHatText, Overpass, sans-serif; }
.tsf-popover__title { font-weight: 700; font-size: 0.875em; margin-bottom: 10px; color: #e0e0e0; text-align: center; padding-bottom: 10px; border-bottom: 1px solid #3c3f42; }
.tsf-popover__steps { font-size: 0.8125em; color: #c0c0c0; }
.tsf-popover__caret { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #212427; }
