/* Whisper — Wave 3 background jobs (progress row, Admin › Jobs). RESTRAINT.md: neutral, 1px borders, one accent. */
.w3j-prog { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-panel, 8px); background: var(--surface); min-width: 0; }
.w3j-prog + .w3j-prog { margin-top: 8px; }
.w3j-prog-top { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.w3j-prog-label { flex: 1 1 auto; min-width: 0; font-size: var(--fs-13); font-weight: var(--fw-med); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w3j-prog-pct { font-size: var(--fs-12); color: var(--text-2); font-variant-numeric: tabular-nums; }
.w3j-prog-msg { font-size: var(--fs-12); line-height: 16px; color: var(--text-3); overflow-wrap: anywhere; }
.w3j-err { color: var(--err); }
.w3j-bar { position: relative; height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.w3j-bar > span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 2px; transition: width .3s ease; }
.w3j-bar.is-indet > span { animation: w3j-indet 1.4s ease-in-out infinite; }
@keyframes w3j-indet { 0% { left: -30%; } 100% { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .w3j-bar.is-indet > span { animation: none; left: 0; } .w3j-bar > span { transition: none; } }
.w3j-inline { margin-top: 12px; }
.w3j-inline:empty { display: none; }

/* lists (agent detail › Runs, Admin › Jobs) */
.w3j-muted { color: var(--text-3); }
.w3j-small { font-size: var(--fs-12); }
.w3j-strong { font-weight: var(--fw-med); color: var(--text); }
.w3j-sub { display: block; font-size: var(--fs-12); line-height: 16px; color: var(--text-3); }
.w3j-num { font-weight: var(--fw-med); font-variant-numeric: tabular-nums; color: inherit; }
.w3j-warn { color: var(--warn); }
.w3j-st { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.w3j-note { display: block; max-width: 360px; font-size: var(--fs-12); line-height: 16px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w3j-note.w3j-err { color: var(--err); }
.w3j-agent-jobs:empty { display: none; }
.w3j-agent-jobs { margin-bottom: 16px; }
.w3j-sec-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; }
.w3j-eyebrow { font-size: var(--fs-12); font-weight: var(--fw-med); color: var(--text-2); }
.w3j-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 12px 0; font-size: var(--fs-13); color: var(--text-2); }
.w3j-sum .w3j-err, .w3j-sum .w3j-warn { font-weight: var(--fw-med); }
.w3j-dotsep { color: var(--text-3); }
.w3j-help { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: var(--fs-12); line-height: 18px; color: var(--text-3); }
.w3j-help svg { flex: 0 0 auto; margin-top: 3px; }
.w3j-segs { max-width: 100%; overflow-x: auto; }
.w3j-gap8 { height: 12px; }
.w3j-wk-row { align-items: flex-end; }
.w3j-wk-field { flex: 0 0 140px; }
.w3j-wk-state { padding-bottom: 8px; }
@media (max-width: 719px) {
  .w3j-note { max-width: 100%; white-space: normal; }
  .w3j-bar-t select { flex: 1 1 auto; }
}

/* connector wizard (W3-B): long setup URLs/scopes from the catalog wrap instead of scrolling the drawer */
.v2p-wz-docs { overflow-wrap: anywhere; min-width: 0; }
.w3j-verif .w3j-strong { margin-right: 2px; }
.v2p-tile-net.w3j-tile-verif { color: var(--text-3); }
#w3j-wk-form .w3j-wk-field { flex: 0 0 140px; max-width: 140px; }
@media (max-width: 719.98px) {
  .dtable.stack.w3j-t tr { padding-right: 16px; }
  .dtable.stack.w3j-t td.sc-status { order: 2; flex: 1 1 100%; margin: 4px 0 2px; }
  .w3j-t .w3j-st { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
  .w3j-t td.sc-status .w3j-note { max-width: 100%; white-space: normal; }
  .w3j-t td .w3j-sub { display: inline; }
  .w3j-t td:not(:first-child) .w3j-sub::before { content: "\00a0\00b7\00a0"; }
  .w3j-t td:first-child .w3j-sub { display: block; }
  .dtable.stack.w3j-t td.actions { position: static; order: 9; flex: 1 1 100%; width: auto; height: auto; display: block; margin-top: 8px; }
  .dtable.stack.w3j-t td.actions > * { min-width: 0; min-height: 36px; }
  .dtable.stack.w3j-t td.actions:empty { display: none; }
}
