@layer components { /* live updates: a slot is a status region that stays in the page; its banner comes and goes as its content. Empty, it is out of the way but still in the accessibility tree (display: none would drop the region, and the next banner would not be announced). */ .live-slot:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .live-slot:not(:empty) { padding: var(--s3) var(--s4); font-weight: 700; background: var(--bg-surface); border: 1px solid var(--border-strong); border-left: 3px solid var(--teal); border-radius: var(--r-s); } /* A deferred MR refresh must not insert height above a long diff. */ #mr-refresh-status:has(a) { position: fixed; bottom: var(--s4); left: var(--s4); z-index: 24; max-width: min(42rem, calc(100vw - 2 * var(--s4))); font-size: var(--fs-s); } .live-slot a { color: var(--ink-hi); } }