/* a5-lifecycle (/platform/alarms/): one alarm open → acknowledged → resolved on the live board (A5). */
.hm-a5-lifecycle .hm-life .kui-steps { margin: 0; }
.hm-a5-lifecycle .kui-step__num { transition: background-color .3s, color .3s, box-shadow .3s; }
.hm-a5-lifecycle .kui-step[data-s="open"].done .kui-step__num { background: var(--error-subtle); color: var(--error); }
.hm-a5-lifecycle .kui-step[data-s="ack"].done .kui-step__num { background: var(--warning-subtle); color: var(--warning-fg, var(--warning)); }
.hm-a5-lifecycle .kui-step[data-s="resolved"].done .kui-step__num { background: var(--success-subtle); color: var(--success-fg, var(--success)); }
.hm-a5-lifecycle .kui-step.now .kui-step__num { box-shadow: 0 0 0 4px var(--surface-base), 0 0 0 7px color-mix(in srgb, currentColor 30%, transparent); }
.hm-a5-lifecycle .kui-step__num svg { width: 1.25rem; height: 1.25rem; }
.hm-a5-lifecycle .kui-step h3 + p { min-height: 1.4em; font-variant-numeric: tabular-nums; }
.hm-a5-lifecycle .hm-alarm.kui-card { height: auto; margin-top: 2rem; transition: border-color .3s, box-shadow .3s; }
.hm-a5-lifecycle .hm-alarm.on { border-color: color-mix(in srgb, var(--primary) 40%, transparent); box-shadow: var(--wp--preset--shadow--md); }
.hm-a5-lifecycle .hm-alarm .kui-card__sub b { font-weight: 600; transition: color .3s; }
.hm-a5-lifecycle .hm-alarm .st-open { color: var(--error); }
.hm-a5-lifecycle .hm-alarm .st-ack { color: var(--warning-fg, var(--warning)); }
.hm-a5-lifecycle .hm-alarm .st-resolved { color: var(--success-fg, var(--success)); }
.hm-a5-lifecycle .hm-alarm .kui-card__specs strong { font-variant-numeric: tabular-nums; }
.hm-a5-lifecycle .hm-rule { margin-top: 1.25rem !important; font-size: 0.875rem; color: var(--text-secondary); }
.hm-a5-lifecycle .hm-sev { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.hm-a5-lifecycle .hm-sev p.kui-pill i { width: 0.5rem; height: 0.5rem; border-radius: var(--wp--custom--radius--full); }
.hm-a5-lifecycle .hm-sev p.kui-pill.cur { border-color: var(--error); color: var(--text-primary); }
.hm-a5-lifecycle .hm-screen { padding: 0.75rem; background: var(--surface-base); }
.hm-a5-lifecycle .hm-wgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0.5rem; }
.hm-a5-lifecycle .hm-wgrid .hm-full { grid-column: 1 / -1; }
.hm-a5-lifecycle .hm-feed.hl [data-feed-item]:first-child { border-radius: var(--wp--custom--radius--lg); background: var(--primary-subtle); box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 40%, transparent); margin: -4px -6px 4px; padding: 4px 6px 8px; }
.hm-a5-lifecycle .hm-notify { margin: 0.75rem 0.25rem 0.25rem !important; font-size: 0.875rem; color: var(--text-secondary); }
@media (max-width: 600px) { .hm-a5-lifecycle .hm-life .kui-steps { gap: 0.75rem; } .hm-a5-lifecycle .kui-step h3 { overflow-wrap: normal; word-break: normal; } }
@media (max-width: 520px) { .hm-a5-lifecycle .hm-wgrid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .hm-a5-lifecycle .kui-step__num, .hm-a5-lifecycle .hm-alarm.kui-card, .hm-a5-lifecycle .hm-alarm .kui-card__sub b { transition: none; } }
