#operationsControlRoot { display: grid; gap: 1rem; }
.ops-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--border-color, #334155); border-radius: 18px; background: linear-gradient(135deg, rgba(79,70,229,.15), rgba(15,23,42,.35)); }
.ops-header h2 { margin: .2rem 0 .35rem; font-size: clamp(1.2rem, 2vw, 1.65rem); }
.ops-header p { margin: 0; color: var(--text-muted, #94a3b8); max-width: 760px; }
.ops-summary { display: grid; grid-template-columns: repeat(6, minmax(135px, 1fr)); gap: .75rem; }
.ops-summary article { min-width: 0; display: grid; grid-template-columns: auto 1fr; gap: .15rem .65rem; align-items: center; padding: .9rem; border-radius: 15px; border: 1px solid var(--border-color, #334155); background: var(--card-bg, rgba(15,23,42,.72)); }
.ops-summary i { grid-row: 1 / 3; color: #818cf8; font-size: 1.15rem; }
.ops-summary span { color: var(--text-muted, #94a3b8); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ops-summary strong { font-size: 1.25rem; }
.ops-nav { display: flex; gap: .4rem; padding: .35rem; overflow-x: auto; border-radius: 13px; background: rgba(15,23,42,.36); scrollbar-width: thin; }
.ops-nav button { flex: 0 0 auto; border: 0; border-radius: 10px; padding: .65rem .85rem; color: var(--text-muted, #94a3b8); background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.ops-nav button i { margin-right: .45rem; }
.ops-nav button.active { color: #fff; background: linear-gradient(135deg, #4f46e5, #6366f1); box-shadow: 0 8px 20px rgba(79,70,229,.25); }
.ops-panel { display: grid; gap: 1rem; min-width: 0; }
.ops-panel h3 { margin: .3rem 0 0; font-size: 1rem; }
.ops-toolbar { display: flex; flex-wrap: wrap; gap: .55rem; }
.ops-table td { vertical-align: middle; }
.ops-table td > small, .ops-table strong + small { display: block; margin-top: .18rem; color: var(--text-muted, #94a3b8); font-size: .72rem; }
.ops-actions { display: flex; flex-wrap: wrap; gap: .35rem; min-width: 150px; }
.ops-row-action { display: inline-flex; align-items: center; gap: .32rem; padding: .38rem .52rem; border: 1px solid rgba(99,102,241,.4); border-radius: 8px; color: #c7d2fe; background: rgba(79,70,229,.12); cursor: pointer; font: inherit; font-size: .72rem; }
.ops-row-action:hover { background: rgba(79,70,229,.3); }
.ops-row-action.danger { color: #fecaca; border-color: rgba(239,68,68,.45); background: rgba(239,68,68,.12); }
.ops-row-action:disabled, .ops-toolbar button:disabled { opacity: .42; cursor: not-allowed; }
.ops-status { display: inline-flex; padding: .28rem .48rem; border-radius: 999px; background: rgba(100,116,139,.18); color: var(--text-muted, #cbd5e1); font-size: .72rem; font-weight: 800; }
.ops-status-passed, .ops-status-completed, .ops-status-received, .ops-status-available, .ops-status-active { color: #6ee7b7; background: rgba(16,185,129,.13); }
.ops-status-failed, .ops-status-critical, .ops-status-cancelled { color: #fca5a5; background: rgba(239,68,68,.14); }
.ops-status-pending, .ops-status-partial, .ops-status-open, .ops-status-in_progress { color: #fcd34d; background: rgba(245,158,11,.14); }
.ops-empty { padding: 2rem !important; text-align: center; color: var(--text-muted, #94a3b8); }
.ops-audit-note { display: flex; gap: .55rem; align-items: center; margin: 0; padding: .8rem 1rem; color: var(--text-muted, #94a3b8); border: 1px dashed var(--border-color, #334155); border-radius: 12px; font-size: .78rem; }
.ops-loading, .ops-error { display: grid; justify-items: center; gap: .7rem; padding: 3rem 1rem; border: 1px solid var(--border-color, #334155); border-radius: 16px; color: var(--text-muted, #94a3b8); }
.ops-loading i, .ops-error i { font-size: 1.7rem; color: #818cf8; }
.ops-dialog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; text-align: left; }
.ops-dialog label { display: grid; gap: .32rem; color: #475569; font-size: .78rem; font-weight: 800; }
.ops-dialog input, .ops-dialog select, .ops-dialog textarea { width: 100%; box-sizing: border-box; min-height: 42px; padding: .6rem .7rem; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; color: #0f172a; font: inherit; }
.ops-dialog textarea { min-height: 82px; resize: vertical; }
.ops-dialog .ops-check { display: flex; align-items: center; gap: .5rem; }
.ops-dialog .ops-check input { width: auto; min-height: auto; }
.ops-dialog .ops-line-pricing { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; padding: .75rem; border: 1px solid #cbd5e1; border-radius: 10px; }
.ops-dialog .ops-line-pricing legend { padding: 0 .35rem; color: #334155; font-size: .78rem; font-weight: 800; }
@media (max-width: 1050px) { .ops-summary { grid-template-columns: repeat(3, minmax(140px, 1fr)); } }
@media (max-width: 700px) {
    .ops-header { align-items: stretch; flex-direction: column; }
    .ops-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ops-summary article:last-child { grid-column: 1 / -1; }
    .ops-dialog, .ops-dialog .ops-line-pricing { grid-template-columns: 1fr; }
    .ops-actions { min-width: 120px; }
    .ops-row-action span { display: none; }
}
@media (max-width: 390px) { .ops-summary { grid-template-columns: 1fr; } .ops-summary article:last-child { grid-column: auto; } }
