/* Reuse the ANZ palette and typography; stage columns carry real workflow meaning. */
.work-queue { display:grid; gap:12px; margin:18px 0; }
.work-item { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 22px; background:var(--white); border:1px solid var(--line); border-radius:9px; }
.work-item.overdue { border-left:4px solid var(--danger); }
.work-item-content { min-width:0; }
.work-item h3 { margin:8px 0; overflow-wrap:anywhere; white-space:pre-wrap; }
.work-item-action { display:grid; gap:12px; justify-items:end; flex-shrink:0; }
.opportunity-board { display:flex; align-items:stretch; gap:14px; overflow-x:auto; padding:18px 2px; scrollbar-width:thin; }
.opportunity-column { flex:1 0 255px; max-width:340px; min-width:0; padding:14px; background:#eaf0f7; border-radius:9px; border-top:3px solid var(--blue); }
.opportunity-column.won { border-color:var(--success); }
.opportunity-column.lost { border-color:var(--muted); }
.opportunity-column>h2 { display:flex; justify-content:space-between; align-items:center; font-size:15px; margin-bottom:18px; }
.opportunity-card { margin-bottom:12px; padding:16px; background:var(--white); border:1px solid var(--line); border-radius:7px; overflow-wrap:anywhere; }
.opportunity-card>p { margin-top:6px; }
.opportunity-card h3 { font-family:var(--display); font-size:16px; }
.opportunity-card .btn { margin-top:12px; }
.opportunity-next { border-top:1px solid var(--line); margin-top:12px; padding-top:10px; font-size:12px; }
.opportunity-next p { margin:5px 0; white-space:pre-wrap; }
.opportunity-empty { padding:10px 0 24px; }
.opportunity-history { padding:18px 24px; max-height:300px; overflow:auto; }
.opportunity-history p { padding:8px 0; border-bottom:1px solid var(--line); }
.message-service-summary { margin:16px 0; padding:14px 16px; background:var(--paper); border-radius:6px; font-size:13px; }
.message-service-summary p { margin-top:7px; }
.work-center .toolbar select { max-width:100%; }
@media(max-width:700px) {
  .work-item { display:block; padding:16px; }
  .work-item-action { margin-top:12px; justify-items:start; }
  .opportunity-column { flex-basis:82vw; max-width:340px; }
  .work-center .toolbar { flex-wrap:wrap; }
  .work-center .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
