@layer components {
  /* ——— What is live in a call ———
     Straw marks it, as the accepted canvas draws it
     (docs/planning/video-calling.md): the dot, and the words of what runs
     now — the chat head's pill, the live line's minutes, the dock's clock.
     The line, the dock and the ring each have a file of their own. */
  .call-live {
    display: inline-block;
    flex: none;
    inline-size: 0.45em;
    block-size: 0.45em;
    border-radius: 50%;
    background-color: var(--color-warning-ink);
  }

  .call-now {
    color: var(--color-warning-ink);
    font-weight: 500;
  }

  /* The chat head's way into its call goes with the head on a phone
     (messages.css), so the toolbar carries one there, and only there. */
  @container main (width > 70ch) {
    .call-toolbar-button {
      display: none;
    }
  }
}
