/* Owned by the integrations block: badges, call states. */
.badges { display: flex; gap: .3rem; align-items: center; margin-left: auto; margin-right: .75rem; }
.badge-service { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .3rem; border-radius: 999px; font-size: .8rem; text-decoration: none; color: var(--fg); background: var(--surface); border: 2px solid var(--border); }
.badge-service.up { border-color: var(--ok, #2e7d32); }
.badge-service.slow { border-color: #e0a100; }
.badge-service.down { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, var(--surface)); }
.badge-service.unknown { border-style: dashed; }
.state { display: inline-block; padding: .05rem .5rem; border-radius: 999px; font-size: .8rem; border: 1px solid var(--border); }
.state.succeeded, .state.up { border-color: var(--ok, #2e7d32); color: var(--ok, #2e7d32); }
.state.failed, .state.timed_out, .state.down { border-color: var(--accent); color: var(--accent); }
.state.slow, .state.not_sent { border-color: #e0a100; }
.services { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.service { border: 1px solid var(--border); border-radius: var(--radius); padding: .6rem .8rem; background: var(--surface); }
.service header { display: flex; gap: .5rem; align-items: center; }
.events { list-style: none; padding: 0; border-left: 2px solid var(--border); margin-left: .4rem; }
.events li { padding: .2rem .8rem; }
