/* E1-24 „Felgi i etapy” with production (block 5): current task label (D118), held stage and
   held rim line, „Zadania teraz” (prototype ModZlecenia „karta”). */

/* Held stage segment and legend swatch: #8A5300 (prototype legend „wstrzymany”) */
.fjn-ocard__seg--held { background: var(--fjn-warning-700); }

/* „Malowanie · w toku” / held stage — right of the rim code (D118) */
.fjn-ostages__current {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 8px;
  border-radius: 4px; font-size: 12px; font-weight: var(--fjn-fw-bold); white-space: nowrap;
}
.fjn-ostages__current--info { background: var(--fjn-info-100); color: var(--fjn-info-700); }
.fjn-ostages__current--warning { background: var(--fjn-warning-100); color: var(--fjn-warning-700); }

.fjn-ostages__held { margin: 0; font-size: 13px; line-height: 18px; font-weight: var(--fjn-fw-bold); color: var(--fjn-warning-700); }

/* „Zadania teraz” */
.fjn-ostages__now {
  display: flex; flex-direction: column; gap: 8px; padding: 12px 18px;
  background: var(--fjn-surface); border: 1px solid var(--fjn-border); border-radius: 10px;
}
.fjn-ostages__now-title {
  margin: 0; font-size: var(--fjn-fs-label); line-height: var(--fjn-lh-label); font-weight: var(--fjn-fw-bold);
  letter-spacing: .04em; text-transform: uppercase; color: var(--fjn-text-2);
}
.fjn-ostages__tasks { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fjn-ostages__tasks li { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.fjn-ostages__state {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 4px;
  font-size: 13px; font-weight: var(--fjn-fw-bold); white-space: nowrap;
}
.fjn-ostages__state--now { background: var(--fjn-brand-100); color: var(--fjn-brand-700); }
.fjn-ostages__state--held { background: var(--fjn-warning-100); color: var(--fjn-warning-700); }
.fjn-ostages__square { width: 8px; height: 8px; background: currentColor; }
.fjn-ostages__detail { color: var(--fjn-text-2); }
