.ops-hero { background: linear-gradient(135deg, #0f172a, #134e4a); color: #fff; }
.ops-hero p, .ops-hero h1 { color: #fff; }
.ops-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 24px; }
.ops-metrics .stat strong { font-size: 1.6rem; }
.ops-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.ops-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ops-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.ops-table th, .ops-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.ops-table tbody tr { cursor: pointer; }
.ops-table tbody tr:hover { background: #f8fafc; }
.ops-label {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em;
  padding: 3px 8px; border-radius: 6px; text-transform: uppercase;
}
.ops-label-simulated { background: #fef3c7; color: #92400e; }
.ops-label-copy-ready { background: #e0f2fe; color: #075985; }
.ops-label-accepted { background: #ede9fe; color: #5b21b6; }
.ops-label-delivered { background: #dcfce7; color: #166534; }
.ops-label-failed { background: #fee2e2; color: #991b1b; }
.ops-label-waiting { background: #f3f4f6; color: #374151; }
.ops-label-waiting-approval { background: #ffedd5; color: #9a3412; }
.ops-label-configuration-required { background: #fce7f3; color: #9d174d; }
.ops-label-retry { background: #fef9c3; color: #854d0e; }
.ops-label-running { background: #dbeafe; color: #1e40af; }
.ops-label-success, .ops-label-pass, .ops-label-healthy { background: #dcfce7; color: #166534; }
.ops-label-skipped { background: #f1f5f9; color: #475569; }
.ops-label-disabled { background: #e2e8f0; color: #334155; }
.ops-empty, .ops-error { border: 1px dashed var(--border); border-radius: 12px; padding: 20px; margin: 12px 0; }
.ops-error { border-color: #fecaca; background: #fef2f2; }
.ops-timeline { list-style: none; padding: 0; margin: 0; }
.ops-timeline li { display: grid; grid-template-columns: 160px 1fr auto auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.ops-step { border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin: 8px 0; background: var(--surface); }
.ops-step header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ops-mark { font-weight: 800; width: 1.2rem; }
.ops-step-error { color: #991b1b; }
.ops-pre { background: #0f172a; color: #e2e8f0; padding: 12px; border-radius: 8px; overflow-x: auto; font-size: 0.8rem; }
.ops-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.ops-meta span { display: block; font-size: 0.75rem; color: var(--muted); }
.ops-actions { display: flex; gap: 8px; margin: 12px 0; }
.ops-health-grid { margin-bottom: 24px; }

@media (max-width: 900px) {
  .ops-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-timeline li { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ops-metrics { grid-template-columns: 1fr; }
  .nav { gap: 4px; }
  .nav button { padding: 8px 10px; font-size: 0.8rem; }
}
