/* Ops-only content styles. The skeleton (sidebar, top bar, bottom bar, sign-in layout) and components (card, button, field, badge, alert)
   come from the same source as the panel and console: ModLocus.Menu.Shell > site.css. Only Ops-specific rules belong here. */
body.ops .bad { color: var(--danger); }
body.ops .ok { color: var(--green-fg); }
body.ops .content-inner > .card, body.ops .content-inner > .grid-2 { margin-bottom: 16px; }
body.ops .card h2 { margin-bottom: 10px; }
body.ops .card p { margin: 0 0 10px; }
body.ops .ops-inline { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; }
body.ops .ops-inline .field, body.ops .ops-inline .check { margin: 0; }
body.ops .ops-actions { display: flex; flex-wrap: wrap; gap: 12px; }
body.ops .ops-actions form { margin: 0; }
body.ops .ops-list { margin: 0 0 12px; padding-left: 20px; font-family: ui-monospace, Consolas, monospace; font-size: 0.85rem; }
body.ops .ops-list li { overflow-wrap: anywhere; }
body.ops .mono, body.ops code { font-family: ui-monospace, Consolas, monospace; font-size: 0.85rem; word-break: break-all; }
body.ops .log { margin: 0; overflow: auto; font: 0.8rem/1.5 ui-monospace, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }

/* Table (backup and trash lists); on phones each row becomes a card, no horizontal scroll */
body.ops table.stack { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
body.ops table.stack th, body.ops table.stack td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
body.ops table.stack th { color: var(--text-3); font-weight: 600; font-size: 0.85rem; }
body.ops table.stack tr.total td { font-weight: 700; }
@media (max-width: 700px) {
    body.ops table.stack thead { position: absolute; left: -9999px; }
    body.ops table.stack, body.ops table.stack tbody, body.ops table.stack tr, body.ops table.stack td { display: block; width: 100%; }
    body.ops table.stack tr { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 6px 0; background: var(--surface); }
    body.ops table.stack td { display: flex; justify-content: space-between; gap: 16px; border: 0; padding: 6px 14px; text-align: right; }
    body.ops table.stack td::before { content: attr(data-label); color: var(--text-3); font-weight: 600; font-size: 0.85rem; text-align: left; }
    body.ops table.stack td:not([data-label])::before { content: none; }
    body.ops .ops-inline { align-items: stretch; flex-direction: column; }
}

/* Activity feed */
body.ops .feed { list-style: none; margin: 0; padding: 0; }
body.ops .feed li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
body.ops .feed li:first-child { border-top: 0; }
body.ops .feed time { color: var(--text-3); font-size: 0.84rem; }
body.ops .feed small { display: block; color: var(--text-3); word-break: break-word; }
@media (max-width: 560px) { body.ops .feed li { grid-template-columns: 1fr; gap: 2px; } }
