/* The System page (docs/MONITORING.md). Builds on stats.css. */
.ops-state { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.ops-state i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--fg-muted); }
.ops-state.is-ok { color: var(--stat-good); } .ops-state.is-ok i { background: var(--stat-good); }
.ops-state.is-bad { color: var(--stat-poor); } .ops-state.is-bad i { background: var(--stat-poor); }
.ops-state.is-unknown { color: var(--fg-muted); font-weight: 400; }
.ops-channel { max-width: 70rem; margin: 0 0 1rem; }
.ops-warn { color: var(--stat-poor); }
.ops-quiet { margin: 0; display: flex; gap: .6rem; align-items: center; }
.ops-incidents { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ops-incidents li { border-left: 3px solid var(--stat-fair); padding: .2rem 0 .2rem .75rem; display: flex; flex-direction: column; gap: .15rem; }
.ops-incidents li.is-critical { border-color: var(--stat-poor); }
.ops-details { margin: .2rem 0 0; font-size: .85rem; color: var(--fg-muted); }
.ops-small { padding: .25rem .6rem; font-size: .8rem; margin-top: .3rem; align-self: flex-start; }
.ops-history { font-size: .85rem; }
.ops-history summary { cursor: pointer; color: var(--fg-muted); }
.ops-table .stat-row { grid-template-columns: minmax(0, 1fr) repeat(var(--cols), minmax(5rem, auto)); }
.ops-spark { display: flex; flex-direction: column; align-items: flex-end; }
.ops-spark .stat-spark { width: 5rem; height: 16px; margin-top: .1rem; }
.ops-kv > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; border-bottom: 1px solid var(--border); padding-bottom: .4rem; }
.ops-kv > div:last-of-type { border-bottom: 0; }
.ops-kv p { margin: .3rem 0 0; font-size: .8rem; }
.ops-intro { max-width: 70rem; margin: -.3rem 0 1rem; }
.ops-page { margin-bottom: 1rem; }
.ops-page-head { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--border); }
.ops-page-head h3 { margin: 0; font-size: .95rem; }
.ops-page-actions { margin-left: auto; display: flex; gap: 1rem; flex-wrap: wrap; }
.ops-page-actions form { display: inline; }
.ops-shots { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; padding: 1rem; }
.ops-shot { margin: 0; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.ops-shot img { width: 100%; height: 260px; object-fit: cover; object-position: top; border: 1px solid var(--border); border-radius: 6px; display: block; background: var(--bg-subtle); }
.ops-shot-empty { height: 260px; display: grid; place-items: center; border: 1px dashed var(--border); border-radius: 6px; }
.ops-shot figcaption { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; font-size: .85rem; }
.ops-shot figcaption .stat-sub { flex-basis: 100%; }
.ops-failures { margin: .2rem 0 0; padding-left: 1.1rem; font-size: .82rem; color: var(--stat-poor); flex-basis: 100%; }
.ops-masks { padding: 0 1rem 1rem; font-size: .85rem; }
.ops-masks summary, .ops-add summary { cursor: pointer; color: var(--fg-muted); }
.ops-masks form { max-width: 40rem; margin-top: .6rem; }
.ops-add { margin-bottom: 1rem; }
.ops-add summary { list-style: none; }
@media (max-width: 700px) {
  .ops-shots { grid-template-columns: 1fr; }
  .ops-page-actions { margin-left: 0; }
  .ops-table .stat-row { grid-template-columns: minmax(0, 1fr) repeat(2, auto); }
  .ops-table .stat-row > :nth-child(n+4) { display: none; }
}
/* The Vercel page and its dashboard box (Ops::Vercel). */
.ops-state.is-warn { color: var(--stat-fair); } .ops-state.is-warn i { background: var(--stat-fair); }
.vc-meter { display: block; height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; margin-top: .35rem; }
.vc-meter > span { display: block; height: 100%; border-radius: 3px; background: var(--stat-good); }
.vc-meter.is-warn > span { background: var(--stat-fair); }
.vc-meter.is-bad > span { background: var(--stat-poor); }
.vc-period { font-size: 1.15rem; }
.vc-service { font-size: .78rem; color: var(--fg-muted); text-align: right; }
.vc-glance p { margin: 0 0 .5rem; }
.vc-glance .vc-meter { margin: 0 0 .6rem; }
