.ci-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.run-pipeline-inline{display:flex;align-items:center;gap:.5rem}
.run-pipeline-inline select{width:auto;min-width:10rem;font-size:var(--fs-sm);font-weight:600;border-radius:var(--radius);background:var(--bg-card);border:1px solid var(--border);color:var(--text);padding:.38rem .6rem}
.ci-local-tabs{margin-bottom:1rem}
.pipeline-filters{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}
.pipeline-filters .filter-select{width:auto;min-width:7rem;padding:.4rem 2rem .4rem .65rem}
.pipeline-test-summary{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;margin-bottom:1.5rem}
.pipeline-test-summary h2{font-size:var(--fs-sm);margin-bottom:.5rem}
.test-totals{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.test-progress{flex:1;min-width:13rem}
.pipeline-artifact-link{margin-left:auto}
.pipeline-artifact-link~.pipeline-artifact-link{display:none}
.pipeline-row-artifact{color:var(--text-muted);font-size:.7rem}
[data-testid="pipeline-job-card"]{display:contents}
.job-artifact-icon{color:var(--text-muted);font-size:.65rem}
.ci-job-grid{grid-template-columns:minmax(0,3fr) minmax(15rem,1fr)}
.job-log-search-wrap{width:16rem;max-width:100%}
.job-log-pane mark{background:#ffe066;color:#111}
.log-section-block{border-bottom:1px solid var(--log-border)}
.log-section-block:last-child{border-bottom:0}
.log-section-block>summary{list-style:none}
.log-section-block>summary::-webkit-details-marker{display:none}
.log-section-block>summary::before{content:"⌄";font-size:.8rem}
.log-section-block:not([open])>summary::before{content:"›"}
.ci-job-sidebar{padding:0 1.25rem;align-self:start}
.artifact-item{display:flex;gap:.75rem;justify-content:space-between;align-items:center;font-size:var(--fs-xs);margin-bottom:.75rem}
.job-details-list{display:flex;flex-direction:column;gap:.55rem;font-size:var(--fs-sm)}
.job-details-list div{display:flex;justify-content:space-between;gap:1rem}
.job-details-list dt{color:var(--text-dim)}
.job-details-list dd{margin:0;text-align:right;overflow-wrap:anywhere}
.schedule-list{margin-bottom:1.25rem}
.schedule-row{gap:.75rem;flex-wrap:wrap}
.schedule-main{flex:1;min-width:14rem}
.schedule-form{max-width:40rem}
.schedule-form h2{font-size:var(--fs-lg);margin-bottom:1rem}

@media (max-width:700px){
  .ci-job-grid{grid-template-columns:1fr}
  .ci-page-head{display:block}
  .run-pipeline-inline{margin-top:1rem;align-items:stretch;flex-direction:column}
  .pipeline-filters .nav-spacer{display:none}
  .pipeline-filters .filter-bar{width:100%;overflow-x:auto}
  .run-row-side{justify-content:flex-end}
  .stage-column>[data-testid="pipeline-stage-column"]{display:contents}
  .pipeline-test-summary{align-items:stretch}
}
