/* Option 2: one actionable evidence table replaces the competing status cards. */
.ov-worklist { display: grid; gap: 12px; min-width: 0; color: #26354b; }
.ov-worklist .ow-technologies { min-width: 0; }
.ov-worklist .ow-section { overflow: hidden; min-width: 0; background: #fff; border: 1px solid #d6deea; border-radius: 8px; }
.ov-worklist .ow-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px 12px; border-bottom: 1px solid #e5eaf1; }
.ov-worklist .ow-section-heading h2 { margin: 0; color: #24334a; font-size: 14px; font-weight: 650; line-height: 1.4; }
.ov-worklist .ow-open-count { color: #85591f; font-size: 11px; line-height: 1.4; text-align: right; }
.ov-worklist .ow-open-count.is-complete { color: #176d50; }
.ov-worklist .ow-table { width: 100%; border-spacing: 0; border-collapse: separate; table-layout: fixed; text-align: left; }
.ov-worklist .ow-table thead th { background: #f7f9fc; border-bottom: 1px solid #e0e6ef; padding: 9px 16px; color: #5b6a80; font-size: 10.5px; font-weight: 550; line-height: 1.4; }
.ov-worklist .ow-table thead th:nth-child(1) { width: 43%; }
.ov-worklist .ow-table thead th:nth-child(2) { width: 24%; }
.ov-worklist .ow-table thead th:nth-child(3) { width: 20%; }
.ov-worklist .ow-table thead th:nth-child(4) { width: 13%; }
.ov-worklist .ow-table tbody tr { background: #fff; }
.ov-worklist .ow-table tbody tr:hover { background: #fafbfd; }
.ov-worklist .ow-table tbody th,
.ov-worklist .ow-table tbody td { border-bottom: 1px solid #e8edf3; padding: 12px 16px; vertical-align: middle; }
.ov-worklist .ow-table tbody tr:last-child > * { border-bottom: 0; }
.ov-worklist .ow-area { font-weight: 400; }
.ov-worklist .ow-area > strong { display: block; font-size: 12px; font-weight: 600; color: #293d58; line-height: 1.45; }
.ov-worklist .ow-area > span { display: block; margin-top: 4px; color: #5b6b80; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.ov-worklist .ow-evidence-state { display: block; color: #865820; font-size: 11px; line-height: 1.5; }
.ov-worklist .ow-evidence-state.is-complete { color: #176d50; }
.ov-worklist .ow-evidence-dots { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.ov-worklist .ow-evidence-dots .completion-dots { gap: 3px; }
.ov-worklist .ow-owner { font-size: 11px; line-height: 1.5; color: #455a73; overflow-wrap: anywhere; }
.ov-worklist .ow-cell-label { display: none; }
.ov-worklist .ow-actions { text-align: right; }
.ov-worklist .ow-row-action { display: inline-flex; justify-content: flex-end; align-items: center; gap: 6px; min-height: 30px; max-width: 100%; padding: 4px 0 4px 6px; border: 0; border-radius: 4px; background: transparent; color: #3b5295; font: inherit; font-size: 11px; font-weight: 550; cursor: pointer; white-space: nowrap; }
.ov-worklist .ow-row-action:hover { color: #203878; text-decoration: underline; }
.ov-worklist .ow-row-action:focus-visible { outline: 2px solid #4058ae; outline-offset: 3px; }
.ov-worklist .ow-row-action svg { width: 14px; height: 14px; flex: 0 0 14px; }
.ov-worklist .is-complete .ow-row-action { color: #5b6d85; }
.ov-worklist .ow-brief { min-width: 0; background: #fff; border: 1px solid #d6deea; border-radius: 8px; }
.ov-worklist .ow-brief > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 53px; padding: 11px 16px; cursor: pointer; list-style: none; }
.ov-worklist .ow-brief > summary::-webkit-details-marker { display: none; }
.ov-worklist .ow-brief > summary strong { color: #293d58; font-size: 12px; font-weight: 600; }
.ov-worklist .ow-brief > summary small { display: block; margin-top: 3px; color: #5b6b80; font-size: 10.5px; line-height: 1.4; }
.ov-worklist .ow-brief > summary > svg { width: 15px; height: 15px; flex: 0 0 15px; color: #60728a; transition: transform .15s ease; }
.ov-worklist .ow-brief[open] > summary { border-bottom: 1px solid #e1e7ef; }
.ov-worklist .ow-brief[open] > summary > svg { transform: rotate(180deg); }
.ov-worklist .ow-brief > summary:focus-visible { outline: 2px solid #4058ae; outline-offset: -3px; border-radius: 7px; }
.ov-worklist .ow-brief-body { padding: 16px; }
.ov-worklist .ow-supporting { display: grid; gap: 8px; min-width: 0; }

@container ov-layout (max-width: 900px) {
  .ov-worklist .ow-table thead th,
  .ov-worklist .ow-table tbody th,
  .ov-worklist .ow-table tbody td { padding-left: 12px; padding-right: 12px; }
  .ov-worklist .ow-table thead th:nth-child(1) { width: 39%; }
  .ov-worklist .ow-table thead th:nth-child(2) { width: 25%; }
  .ov-worklist .ow-table thead th:nth-child(3) { width: 21%; }
  .ov-worklist .ow-table thead th:nth-child(4) { width: 15%; }
}

@container ov-layout (max-width: 640px) {
  .ov-worklist { gap: 10px; }
  .ov-worklist .ow-section-heading { padding: 12px; align-items: flex-start; }
  .ov-worklist .ow-section-heading h2 { font-size: 13px; }
  .ov-worklist .ow-open-count { max-width: 130px; font-size: 10.5px; }
  .ov-worklist .ow-table,
  .ov-worklist .ow-table tbody { display: block; }
  .ov-worklist .ow-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .ov-worklist .ow-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 12px; padding: 12px; border-bottom: 1px solid #e4eaf2; }
  .ov-worklist .ow-table tbody tr:last-child { border-bottom: 0; }
  .ov-worklist .ow-table tbody th,
  .ov-worklist .ow-table tbody td { display: block; padding: 0; border: 0; }
  .ov-worklist .ow-area { grid-column: 1; grid-row: 1; }
  .ov-worklist .ow-area > strong { font-size: 12px; }
  .ov-worklist .ow-area > span { font-size: 10.5px; margin-top: 3px; }
  .ov-worklist .ow-evidence { grid-column: 1; grid-row: 2; display: flex !important; flex-direction: column; gap: 3px; }
  .ov-worklist .ow-evidence-dots { margin-top: 0; }
  .ov-worklist .ow-owner { grid-column: 1; grid-row: 3; font-size: 10.5px; }
  .ov-worklist .ow-cell-label { display: inline; color: #69788d; }
  .ov-worklist .ow-actions { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .ov-worklist .ow-row-action { min-height: 36px; font-size: 11px; }
  .ov-worklist .ow-brief > summary { padding: 12px; }
  .ov-worklist .ow-brief-body { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .ov-worklist .ow-brief > summary > svg { transition: none; }
}
