/* ZEUS: user-visible brand shell only. Technical routes and customer projects untouched. */
.zeus-brand-word {
  display:inline-flex;align-items:center;gap:5px;white-space:nowrap;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",Inter,"Segoe UI",sans-serif;
  font-size:clamp(21px,3vw,30px);font-weight:850;line-height:1.15;
  letter-spacing:-.048em;color:#141821;
}
.zeus-bolt{font-style:normal;color:#2869ea;font-size:.95em;line-height:1;}
.bd-header-full-logo{display:none!important;}
/* Persist new brand in header, sign-in, dashboard and first setup. */
.brand .zeus-brand-word,.bd-brand .zeus-brand-word,
.bd-mobile-brand .zeus-brand-word{max-width:100%;}
.bd-mobile-brand .zeus-brand-word,.brand-official .zeus-brand-word{
  font-size:26px!important;letter-spacing:-.045em!important;
}
.bd-editor-brand::before,.bd-menu-heading strong::before{
  content:"⚡";display:inline-block;color:#2869ea;margin-right:5px;
  font-size:.9em;vertical-align:baseline;
}
.bd-menu-heading strong,.bd-editor-brand{letter-spacing:-.035em;font-weight:800;}
.pipeline-orb{background:#141922!important;color:#fff!important;box-shadow:none!important;}
.pipeline-agent strong{font-weight:800!important;}
.zeus-stage-bolt{
  display:grid;place-items:center;min-width:16px;
  font-size:15px;line-height:1;font-weight:900;color:#f3ad17;
}
.pipeline-stages li{
  grid-template-columns:20px 18px minmax(0,1fr) auto;
  min-height:35px;gap:6px;font-size:12px;
}
.pipeline-stages li[data-state="done"] .zeus-stage-bolt,
.pipeline-stages li[data-state="active"] .zeus-stage-bolt{color:#f9b31a;}
.pipeline-stages li[data-state="pending"] .zeus-stage-bolt{opacity:.52;}
.pipeline-stages li[data-state="failed"] .zeus-stage-bolt{color:#c15336;}
.pipeline-stages li .pipeline-stage-label {font-size:12px;}
.pipeline-stage-icon{font-size:12px;font-weight:800;}
/* Real statuses remain driven exclusively by the generation controller. */
@media(max-width:900px){
  .zeus-brand-word {font-size:26px;font-weight:850;}
  .bd-mobile-header .bd-mobile-brand{min-width:0;width:auto;}
  .bd-mobile-header .zeus-brand-word{font-size:24px!important;}
  .brand-official .zeus-brand-word{font-size:27px!important;}
  .mobile-editor-head .bd-editor-brand{font-size:23px;}
  .pipeline-stages li{display:grid;grid-template-columns:20px 18px minmax(0,1fr);
    gap:7px;min-height:32px;padding:5px 7px;color:#434b57;}
  .pipeline-stage-state{grid-column:3!important;margin-top:-3px!important;
    font-size:11px!important;font-weight:600;}
  .pipeline-stage-label{white-space:normal!important;font-size:12px!important;
    font-weight:700!important;line-height:1.35;}
  .pipeline-message[data-running="true"] .pipeline-details{
    display:block!important;max-height:155px!important;overflow-y:auto!important;
    padding-top:6px!important;margin-top:5px!important;
    border-top:1px solid #e5e7eb!important;
  }
  .pipeline-message[data-running="true"] .pipeline-facts{display:none!important;}
  .pipeline-message[data-running="true"] .pipeline-card{padding:10px 13px!important;}
  .pipeline-message[data-running="true"] .pipeline-title{font-size:14px!important;}
  .pipeline-message[data-running="true"] .pipeline-description{font-size:12px!important;}
  .pipeline-stages li[data-state="done"]{color:#22583b!important;}
  .pipeline-stages li[data-state="active"]{background:#f1f5fe!important;color:#234875!important;
    border-color:#e6edf9!important;}
  .pipeline-stages li[data-state="failed"]{background:#fff3ef!important;color:#963f2f!important;}
  .pipeline-stages li[data-state="pending"]{color:#6b7280!important;}
  .pipeline-stage-icon{background:#eef0f3;color:#59616d;}
  .pipeline-stages li[data-state="done"] .pipeline-stage-icon{background:#e3f5ea;color:#21834d;}
  .pipeline-stages li[data-state="active"] .pipeline-stage-icon{background:#e4edfc;color:#2963d6;}
}
@media(prefers-reduced-motion:reduce){
  .pipeline-stages li,.pipeline-stage-icon,.zeus-stage-bolt{animation:none!important;}
}
