/* =============================================
   TAB: Clips — Step-by-Step Clip-Editor (Streamladder-light)
   Stil: Apple / Stripe — clean, ruhig.
   Konsistent mit cross-clip.css / translation.css.
   ============================================= */

.ce-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ─── Section-Intro ───────────────────────────────────────────────── */
.ce-intro {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: var(--radius-md);
}
.ce-intro-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ce-intro-icon svg { width: 18px; height: 18px; }
.ce-intro-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.ce-intro-sub {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ─── Card-Look ───────────────────────────────────────────────────── */
.ce-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg, 16px);
  padding: 22px 24px;
}

/* ─── Step-Indicator-Bar ──────────────────────────────────────────── */
.ce-stepbar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ce-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  cursor: default;
  user-select: none;
}
.ce-step + .ce-step::before {
  content: '';
  position: absolute;
  left: -8px;
  width: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  top: 50%;
}
.ce-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono, monospace);
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: all .2s;
}
.ce-step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color .2s;
}
.ce-step.done .ce-step-num {
  background: linear-gradient(135deg, #34d399, #10b981);
  border-color: transparent;
  color: #fff;
}
.ce-step.done .ce-step-label {
  color: var(--color-text);
}
.ce-step.active .ce-step-num {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.18);
}
.ce-step.active .ce-step-label {
  color: var(--color-text);
}

/* ─── Step-Panes ──────────────────────────────────────────────────── */
.ce-pane { display: none; }
.ce-pane.active { display: block; animation: ceFadeIn .25s ease-out; }
@keyframes ceFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.ce-pane-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.ce-pane-sub {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

/* ─── Source Cards (Step 1) ───────────────────────────────────────── */
.ce-source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.ce-source-card {
  position: relative;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  cursor: pointer;
  transition: all .18s cubic-bezier(.22,1,.36,1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: inherit;
  text-align: left;
  color: inherit;
}
.ce-source-card:hover {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(167, 139, 250, 0.04);
  transform: translateY(-1px);
}
.ce-source-card.active {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(167, 139, 250, 0.10);
  box-shadow: 0 8px 24px -12px rgba(124, 58, 237, 0.45);
}
.ce-source-card-icon {
  font-size: 26px;
  margin-bottom: 2px;
}
.ce-source-card-title {
  font-size: 0.9rem;
  font-weight: 700;
}
.ce-source-card-sub {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.ce-source-detail {
  margin-top: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}
.ce-upload-zone {
  position: relative;
  border: 2px dashed rgba(167, 139, 250, 0.25);
  background: rgba(167, 139, 250, 0.03);
  border-radius: 12px;
  padding: 28px 18px;
  text-align: center;
  cursor: pointer;
  transition: all .18s;
}
.ce-upload-zone:hover,
.ce-upload-zone.dragover {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(167, 139, 250, 0.08);
}
.ce-upload-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.ce-upload-zone-icon { font-size: 32px; margin-bottom: 8px; opacity: .85; }
.ce-upload-zone-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.ce-upload-zone-sub { font-size: 0.78rem; color: var(--color-text-muted); }
.ce-upload-zone-file {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #a78bfa;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
}
.ce-upload-progress {
  margin-top: 12px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  overflow: hidden;
  display: none;
}
.ce-upload-progress.active { display: block; }
.ce-upload-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
  transition: width .25s ease-out;
}

.ce-select-wrap { display: flex; flex-direction: column; gap: 6px; }
.ce-select-label {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.ce-select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all .15s;
}
.ce-select:hover { border-color: rgba(167, 139, 250, 0.35); }
.ce-select:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15);
}
.ce-select option { background: #0f0f17; color: var(--color-text); }

/* ─── Step 2: Trim Inputs ─────────────────────────────────────────── */
.ce-trim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.ce-trim-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ce-trim-label {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.ce-trim-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ce-trim-input {
  flex: 1;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--color-text);
  font-family: var(--font-mono, monospace);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  -moz-appearance: textfield;
}
.ce-trim-input::-webkit-outer-spin-button,
.ce-trim-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ce-trim-input:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15);
}
.ce-trim-step-btn {
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: var(--color-text-muted);
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .12s;
}
.ce-trim-step-btn:hover {
  background: rgba(167, 139, 250, 0.10);
  border-color: rgba(167, 139, 250, 0.3);
  color: #c4b5fd;
}

.ce-trim-summary {
  padding: 12px 14px;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.ce-trim-summary strong {
  font-family: var(--font-mono, monospace);
  color: #a78bfa;
}
.ce-trim-summary.invalid {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}
.ce-trim-summary.invalid strong { color: #f87171; }

.ce-trim-hint {
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ─── Step 3: Format Cards (reuse cc-* variant) ───────────────────── */
.ce-formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.ce-format-card {
  position: relative;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  cursor: pointer;
  transition: all .18s cubic-bezier(.22,1,.36,1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: inherit;
  text-align: left;
  color: inherit;
}
.ce-format-card:hover {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(167, 139, 250, 0.04);
  transform: translateY(-1px);
}
.ce-format-card.active {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(167, 139, 250, 0.10);
  box-shadow: 0 8px 24px -12px rgba(124, 58, 237, 0.45);
}
.ce-format-card-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  font-size: 12px;
  color: transparent;
}
.ce-format-card.active .ce-format-card-check {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  border-color: transparent;
  color: #fff;
}
.ce-format-card-preview {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.ce-format-card-preview::after {
  content: attr(data-emoji);
  font-size: 18px;
  opacity: .4;
}
.ce-format-card-preview.ratio-16-9 { width: 88px; height: 50px; }
.ce-format-card-preview.ratio-9-16 { width: 36px; height: 64px; }
.ce-format-card-preview.ratio-1-1  { width: 56px; height: 56px; }
.ce-format-card-name {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ce-format-card-res {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono, monospace);
  margin-top: -4px;
}
.ce-format-card-platforms {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.ce-format-card-platforms span {
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ─── Step 4: Captions ────────────────────────────────────────────── */
.ce-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 14px;
}
.ce-toggle-row-text { flex: 1; }
.ce-toggle-row-title { font-size: 0.92rem; font-weight: 600; }
.ce-toggle-row-sub { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 2px; }
.ce-switch {
  position: relative;
  width: 42px;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.ce-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left .2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.ce-switch.active { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.ce-switch.active::after { left: 21px; }

.ce-captions-options {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(167, 139, 250, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 12px;
}
.ce-captions-options.active { display: flex; }
.ce-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
}
.ce-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #a78bfa;
  cursor: pointer;
}
.ce-radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ce-radio-card {
  flex: 1;
  min-width: 140px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  color: inherit;
}
.ce-radio-card:hover {
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.05);
}
.ce-radio-card.active {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(167, 139, 250, 0.12);
  color: #c4b5fd;
}
.ce-radio-card-preview {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}
.ce-radio-card[data-style="white"] .ce-radio-card-preview {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
}
.ce-radio-card[data-style="yellow"] .ce-radio-card-preview {
  background: #facc15;
  color: #000;
  font-weight: 800;
  text-shadow: 1px 1px 0 #000;
}

/* ─── Wizard Nav ──────────────────────────────────────────────────── */
.ce-nav-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.ce-nav-row .ce-spacer { flex: 1; }
.ce-nav-btn {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ce-nav-btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
}
.ce-nav-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
}
.ce-nav-btn.primary {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(124, 58, 237, 0.55);
}
.ce-nav-btn.primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -4px rgba(124, 58, 237, 0.7);
}
.ce-nav-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
}

/* ─── Job-Status-Card ─────────────────────────────────────────────── */
.ce-job-card {
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.08), rgba(124, 58, 237, 0.02));
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: var(--radius-lg, 16px);
  margin-bottom: var(--space-lg);
}
.ce-job-card.error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(0, 0, 0, 0.02));
  border-color: rgba(239, 68, 68, 0.35);
}
.ce-job-card.done {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(0, 0, 0, 0.02));
  border-color: rgba(52, 211, 153, 0.35);
}
.ce-job-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ce-job-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ce-job-card-id {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  color: var(--color-text-muted);
}
.ce-job-card-status {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.ce-job-progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 6px;
}
.ce-job-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
  width: 0%;
  border-radius: 100px;
  transition: width .35s ease-out;
}
.ce-job-card.done .ce-job-progress-bar {
  background: linear-gradient(90deg, #34d399, #10b981);
}
.ce-job-progress-pct {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono, monospace);
  text-align: right;
}

.ce-job-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ce-job-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(52, 211, 153, 0.10);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
.ce-job-dl-btn:hover {
  background: rgba(52, 211, 153, 0.18);
  transform: translateY(-1px);
}
.ce-job-error-msg {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 10px;
  color: #f87171;
  font-size: 0.84rem;
}
.ce-job-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* ─── Job-History ─────────────────────────────────────────────────── */
.ce-history {
  margin-top: var(--space-lg);
}
.ce-history-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.ce-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ce-history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  flex-wrap: wrap;
}
.ce-history-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ce-history-status.queued, .ce-history-status.processing {
  background: rgba(251, 191, 36, 0.12); color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.ce-history-status.done {
  background: rgba(52, 211, 153, 0.12); color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.ce-history-status.error {
  background: rgba(239, 68, 68, 0.12); color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.ce-history-formats {
  display: flex;
  gap: 6px;
  font-size: 0.78rem;
}
.ce-history-fmt-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}
.ce-history-fmt-icon.ready {
  background: rgba(52, 211, 153, 0.08);
  border-color: rgba(52, 211, 153, 0.3);
  color: #34d399;
  text-decoration: none;
}
.ce-history-time {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono, monospace);
}

/* ─── Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .ce-stepbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .ce-step + .ce-step::before { display: none; }
  .ce-step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 8px 12px;
  }
  .ce-source-grid { grid-template-columns: 1fr; }
  .ce-formats-grid { grid-template-columns: 1fr; }
  .ce-format-card { flex-direction: row; align-items: center; }
  .ce-format-card-preview { flex-shrink: 0; }
  .ce-trim-grid { grid-template-columns: 1fr; }
  .ce-radio-group { flex-direction: column; }
}

/* ─── ETA-Display in Job-Card ─────────────────────────────────────── */
.ce-job-eta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--fg-muted, #9ca3af);
  font-variant-numeric: tabular-nums;
}
.ce-job-eta-elapsed {
  color: var(--fg-muted, #9ca3af);
  font-weight: 500;
}
.ce-job-eta-remaining {
  margin-left: auto;
  color: var(--accent, #a78bfa);
  font-weight: 600;
}
@media (max-width: 480px) {
  .ce-job-eta { flex-direction: column; gap: 4px; }
  .ce-job-eta-remaining { margin-left: 0; }
}
