/* The Needs attention list (attention.html). The colour tokens are style.css's. */
.attn { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-md); padding: var(--s3) var(--s4); margin: 0 0 var(--s3); }
.attn-halt, .attn-aborted, .attn-recovery { border-left-color: var(--bad); }
.attn-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.attn-kind { white-space: nowrap; }
.kind-approval { background: transparent; color: var(--info); box-shadow: inset 0 0 0 1px var(--info); }
.kind-halt, .kind-aborted, .kind-recovery { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.attn-run { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.attn-tool { color: var(--muted); font-size: 13.5px; }
.attn-when { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }
.attn-sum { margin: 6px 0; }
.attn-gate { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; margin: 6px 0; font-size: 14px; }
.attn-gate dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.attn-gate dd { margin: 0; overflow-wrap: anywhere; }
.attn-label { margin: 10px 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.attn-cmd { margin: 0; overflow-x: auto; }
.attn-notify { margin: 10px 0 0; font-size: 14px; }
.attn-notify .nlabel { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; margin-right: 6px; color: var(--muted); }
.attn-notify.n-good { color: var(--good); }
.attn-notify.n-bad { color: var(--bad); }
.attn-notify.n-warn { color: var(--warn); }
@media (max-width: 600px) { .attn-when { margin-left: 0; } }

/* approver identity on a waiting gate: the same styles as the run page (extras.css); a non-final identity is never green */
.attn-id { border-left: 4px solid var(--line); padding-left: var(--s2); }
.attn-id.id-audited { border-left-color: var(--good); }
.attn-id.id-final { border-left-color: var(--accent); }
.attn-id.id-prov { border-left: 4px dashed var(--warn); }
.attn-id.id-bad { border-left-color: var(--bad); }
.attn-id .idc { display: inline-block; margin-top: 2px; }
