.operations-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1rem; }
.operations-header h1 { font-size: 1.5rem; font-weight: 700; }
.operations-header-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .875rem; color: var(--color-base-content); }
.operations-jump { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.25rem; font-size: .875rem; }
.operations-jump > span, .operations-period, .operations-empty { color: color-mix(in srgb, var(--color-base-content) 65%, transparent); }
.operations-period { font-size: .75rem; font-weight: 400; margin-left: .5rem; white-space: nowrap; }
.operations-empty { font-size: .875rem; margin: 0; }
.operations-section h2 { scroll-margin-top: 5rem; }
.operations-section {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-base-300);
  border-radius: 1rem;
  background: var(--color-base-100);
}
.operations-section h2 { font-size: 1.125rem; font-weight: 600; margin-bottom: .75rem; }
.operations-table { table-layout: fixed; min-width: 760px; font-variant-numeric: tabular-nums; }
.operations-table th:first-child { width: 24%; }
.operations-table th:nth-child(2) { width: 8%; }
.operations-table th:nth-child(3) { width: 10%; }
.operations-table :is(th, td):nth-child(2), .operations-table :is(th, td):nth-child(3) { text-align: center; }
.operations-table :is(th, td) { padding: .625rem .75rem; vertical-align: middle; }
.operations-table time { white-space: nowrap; }
.operations-table--screening { min-width: 1100px; }
.operations-table--screening th { width: 8%; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.operations-table--screening th:first-child { width: 20%; }
.operations-table--screening th:nth-child(3) { width: 9%; }
.operations-table--screening th:nth-child(4) { width: 13%; }
.operations-table--screening th:nth-child(7) { width: 18%; }
.operations-table--screening th:nth-child(8) { width: 16%; }
.operations-table--screening :is(th, td):nth-child(n+2):nth-child(-n+7) { text-align: center; }
.operations-table--media { min-width: 1100px; }
.operations-table--media th { width: 10%; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.operations-table--media th:first-child { width: 18%; }
.operations-table--media th:nth-child(2) { width: 10%; }
.operations-table--media th:nth-child(3), .operations-table--media th:nth-child(6) { width: 16%; }
.operations-table--media :is(th, td):nth-child(n+3) { text-align: center; }
.operations-table--source-data { min-width: 1100px; }
.operations-table--source-data th { width: 12%; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.operations-table--source-data th:first-child { width: 16%; }
.operations-table--source-data th:nth-child(2) { width: 14%; }
.operations-table--source-data th:nth-child(3) { width: 16%; }
.operations-table--source-data th:nth-child(4) { width: 22%; }
.operations-table--source-data th:nth-child(6) { width: 14%; }
.operations-table--source-data th:last-child { width: 6%; }
.operations-section > .flex { flex-wrap: wrap; margin-bottom: .75rem; }
.operations-section > .flex h2 { margin-bottom: 0; }
.operations-table a:focus-visible, .operations-jump a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
@media (max-width: 640px) { .operations-section { padding: .75rem; } .operations-header-meta { font-size: .75rem; } }

.source-detail-summary { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.25rem; }
.source-detail-panel { border: 1px solid var(--color-base-300); border-radius: 1rem; background: var(--color-base-100); padding: 1.5rem; min-width: 0; }
.source-detail-panel > header { margin-bottom: 1.25rem; }
.source-detail-panel h2 { font-size: 1.125rem; font-weight: 600; }
.source-detail-panel > header p { font-size: .875rem; color: var(--color-base-content); opacity: .65; margin-top: .25rem; }
.source-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.source-detail-facts dt { font-size: .8125rem; color: var(--color-base-content); opacity: .65; }
.source-detail-facts dd { margin-top: .35rem; overflow-wrap: anywhere; }
.source-detail-history, .source-detail-configuration { margin-top: 1.25rem; }
.source-detail-history .table { min-width: 720px; }
.source-detail-check { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; border-top: 1px solid var(--color-base-300); margin-top: 1.25rem; padding-top: 1rem; font-size: .8125rem; }
.source-detail-check > span { opacity: .65; }
.source-detail-configuration summary { cursor: pointer; font-weight: 600; }
.source-detail-configuration summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; }
.source-detail-configuration[open] summary { margin-bottom: 1.25rem; }
@media (max-width: 800px) { .source-detail-summary { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .source-detail-panel { padding: 1rem; } .source-detail-facts { grid-template-columns: 1fr; } }
.operation-count { display: inline-block; min-width: 2rem; padding: .25rem .5rem; text-align: center; font-weight: 600; border-radius: .25rem; text-decoration: underline; text-underline-offset: 3px; }
.operation-count--failed { color: color-mix(in srgb, var(--color-error) 75%, var(--color-base-content)); background: color-mix(in srgb, var(--color-error) 10%, var(--color-base-100)); }
.operation-count--overdue { color: color-mix(in srgb, var(--color-warning) 40%, var(--color-base-content)); background: color-mix(in srgb, var(--color-warning) 10%, var(--color-base-100)); }
@media (pointer: coarse) { a.operation-count { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; } }
/* Detection events retain readable columns inside the scroll container. */
.screening-detections-table {
  min-width: 1000px;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.screening-detections-table th:nth-child(1) { width: 18%; }
.screening-detections-table th:nth-child(2) { width: 12%; }
.screening-detections-table th:nth-child(3) { width: 13%; }
.screening-detections-table th:nth-child(4) { width: 16%; }
.screening-detections-table th:nth-child(5) { width: 21%; }
.screening-detections-table th:nth-child(6) { width: 8%; }
.screening-detections-table th:nth-child(7) { width: 12%; }

.screening-detections-table th,
.screening-detections-table td {
  white-space: normal;
  overflow-wrap: anywhere;
}

.screening-detections-table time {
  white-space: nowrap;
}
