/* ===========================================================================
   Conversations
   ---------------------------------------------------------------------------
   One card, a row per business. Each row is marks and figures under one
   row of column heads, as Companies has: the company and whose turn, the
   faces of the people talking, messages sent and received, the channels
   used, the team's faces, and when. A row opens out into its people, indented so each face sits
   under the company's name, in the same columns, so a person's figures read
   straight down from their company's.

   Search pins to the top of the page while the rows scroll under it. Below
   760px a row stacks: who and when, then the figures in a line.
   =========================================================================== */

.convo {
  container-type: inline-size;
  /* The reference container (the drawer's .ovbox): a 16px radius, a faint
     edge, the softest shadow; its rows sit on the drawer type scale (Item,
     Label, the row's 15px figure). */
  background: var(--card); border: 1px solid rgba(16, 33, 31, .07); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 33, 31, .04);
  /* clip, not hidden: hidden would make the card a scroller of its own, and
     the band could then only pin inside the card. */
  overflow: clip;
}
.convo__sentinel { height: 0 }
/* A list with nothing in it: a done tick and a word. The do not contact list
   uses it. */
.convo__none { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 16px; text-align: center }
.convo__none .ms { font-size: 28px; color: var(--good) }
.convo__none b { font-size: 14px; font-weight: var(--weight-strong) }

/* The page has 32px of padding above the card; -32px pins the band flush
   under the top bar, as the Pipeline's stage heads do, so no row shows above it. */
/* Only the column heads pin; search sits above them and scrolls away. The
   card's clip rounds the search bar's top corners. */
.convo__pin { position: sticky; top: -32px; z-index: 2; background: var(--page) }
.convo__bar { display: flex; align-items: center; gap: 8px; padding: 24px; border-bottom: 1px solid var(--line) }
.convo__search {
  display: flex; align-items: center; gap: 8px; flex: 1 1 280px; max-width: 480px;
  height: var(--control-h); padding: 0 16px; border-radius: var(--r-btn);
  background: var(--field); border: 1px solid var(--field-edge); cursor: text;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
/* A Soft fill field (css/forms.css), as the header search. */
.convo__search:hover:not(:focus-within) { background: var(--field-hover); border-color: var(--field-edge-hover) }
.convo__search:focus-within { background: var(--card); border-color: var(--field-focus); box-shadow: inset 0 0 0 .5px var(--field-focus) }
.convo__search input::placeholder { color: var(--field-ph); opacity: 1 }
.convo__search > .ms { font-size: 18px; color: var(--muted) }
.convo__search input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent;
  font-family: inherit; font-size: 13.5px; color: var(--text);
}
.convo__search input::-webkit-search-cancel-button { display: none }
.convo__clear {
  display: grid; place-items: center; width: 28px; height: 28px; margin-right: -8px; padding: 0;
  border: 0; border-radius: var(--r-btn-sm); background: transparent; color: var(--muted); cursor: pointer;
}
.convo__clear[hidden] { display: none }
.convo__clear:hover { background: var(--line); color: var(--text) }
.convo__clear .ms { font-size: 17px }

/* A business and its people share the columns. */
.convo__co, .convo__person, .convo__head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 132px 150px minmax(110px, 1fr) 96px 60px 20px;
  grid-template-areas: "who people msgs ch team at chev";
  align-items: center; column-gap: 16px;
  width: 100%; margin: 0; text-align: left; cursor: pointer;
  background: transparent; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0;
  font-family: inherit; font-size: 13px; color: var(--text);
  transition: background-color .14s ease;
}
.convo__co { padding: 24px 24px }
/* The columns named once, in the band under search, as Companies heads its
   table: the grey strip, the Label role. The rows then carry no words under
   their figures, except on a phone, where the row stacks and the head goes. */
.convo__head {
  cursor: default; padding: 16px 24px; background: var(--page);
  font-size: 12.5px; font-weight: 500; color: var(--muted); white-space: nowrap;
}
.convo__head > span { min-width: 0; display: block }
.convo__head > .convo__c--msgs { display: grid }
.convo__head > .convo__c--at { text-align: right }
.convo__co:hover, .convo__person:hover { background: var(--page) }
.convo__co:focus-visible, .convo__person:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px }
/* A business waiting on you: a red edge down its row, as unread mail is marked. */
/* A business waiting on you is washed red as well, so the eye finds the
   ones to answer before reading a word. */
.convo__co--due { box-shadow: inset 3px 0 0 #C0362C; background: color-mix(in srgb, #C0362C 5%, var(--card)) }
.convo__co--due:hover { background: color-mix(in srgb, #C0362C 8%, var(--card)) }
.convo__co.is-open { border-bottom-color: transparent; overflow: hidden }
.convo__rows > :last-child { border-bottom: 0 }

/* Its people, drawn as Companies draws a company's people: indented inside
   the first cell so each face sits under the company's name (a 34px mark,
   12px apart, as on Companies), a size down from the company (a 28px round face, a 13.5px
   name), 16px above and below, a rule above each that starts at the faces,
   one hairline across after the last, and a tree line from the company's
   mark to each face. The lines are clipped by their own row, so each row
   draws only its part. */
.convo__person {
  grid-template-areas: "who who msgs ch team at chev"; padding: 16px 24px;
  position: relative; overflow: hidden; border-bottom: 0;
}
.convo__person::before { content: ""; position: absolute; left: 70px; right: 0; top: 0; border-top: 1px solid var(--hair) }
.convo__person--last { border-bottom: 1px solid var(--hair) }
.convo__person .convo__c--who { position: relative; padding-left: 46px; gap: 10px }
.convo__person .convo__name { font-size: 13.5px }
/* The stem leaves the company's mark from its bottom edge, at its middle;
   in each person row it comes down, rounds the corner to the face, and runs
   on to the next person unless this is the last. */
.convo__co.is-open .convo__c--who { position: relative }
.convo__co.is-open .convo__c--who::after {
  content: ""; position: absolute; left: 16.5px; top: calc(50% + 17px); height: 100px;
  border-left: 1px solid var(--line);
}
.convo__person .convo__c--who::before {
  content: ""; position: absolute; left: 16.5px; top: -100px; height: calc(100px + 50%); width: 29.5px;
  border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); border-bottom-left-radius: 8px;
}
.convo__person:not(.convo__person--last) .convo__c--who::after {
  content: ""; position: absolute; left: 16.5px; top: calc(50% - 9px); height: 100px;
  border-left: 1px solid var(--line);
}
.convo__person.is-current { background: color-mix(in srgb, var(--teal) 8%, var(--card)) }

.convo__c { min-width: 0 }
.convo__c--who { grid-area: who; display: flex; align-items: center; gap: 12px }
.convo__c--people, .convo__c--ch, .convo__c--team, .convo__c--at {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
}
.convo__c--people { grid-area: people }
/* Two even columns, so Sent and Received sit under their heads. */
.convo__c--msgs { grid-area: msgs; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px }
.convo__c--ch { grid-area: ch }
.convo__c--team { grid-area: team }
.convo__c--at { grid-area: at; align-items: flex-end; text-align: right }
.convo__c--at time { font-size: 15px; font-weight: var(--weight-strong); font-variant-numeric: tabular-nums; white-space: nowrap }
.convo__co--due .convo__c--at time { color: #C0362C }
.convo__chev { grid-area: chev; font-size: 20px; color: var(--muted) }
.convo__c .figcap { font-size: 12.5px; font-weight: 500; display: none }

.convo__brand {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px;
  background: var(--coral); color: var(--on-coral);
  display: grid; place-items: center; font-size: 12px; font-weight: var(--weight-strong);
}
.convo__face { width: 34px; height: 34px; flex: 0 0 34px; font-size: 12px; cursor: inherit; overflow: hidden }
.convo__person .convo__face { width: 28px; height: 28px; flex-basis: 28px; font-size: 10.5px }
/* A person's initials in the soft teal, as Companies draws a person; the
   coral is for companies. */
.convo__person .convo__face, .convo__c--people .convo__stack .avatar:not(.convo__extra) { background: var(--teal-soft, #E3F1EE); color: #04635C }
/* Whose turn, on the face itself: a red ring when they are waiting on you,
   a dashed grey one while you wait on them, nothing once it is dealt with.
   An outline, so it sits outside the card-coloured ring that keeps the
   faces in a stack apart. */
.convo__turn--due { outline: 2px solid #C0362C; outline-offset: 2px }
.convo__turn--waiting { outline: 1.5px dashed #8A8A8A; outline-offset: 2px }
.convo__id { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: 1 1 auto; min-width: 0 }
.convo__name { max-width: 100%; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.convo__line { display: flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0 }
.convo__line .convo__role::before { content: "·"; margin-right: 6px }
/* After the bare turn icon the role follows straight on, with no dot. */
.convo__st[role="img"] + .convo__role::before { content: none }
.convo__role { min-width: 0; font-size: 12.5px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }

/* Whose turn, in words: here, and in the drawer's Also at list. */
.convo__st { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 12.5px; font-weight: var(--weight-strong) }
.convo__st .ms { font-size: 16px }
.convo__st--due { color: #C0362C }
.convo__st--waiting { color: var(--muted) }
.convo__st--done { color: var(--muted); font-weight: 500 }

/* Faces overlapped, each ringed in the card's colour so the overlap reads. */
/* isolate: the faces' z-index orders them within the stack only, so they
   pass under the pinned band and its fade like the rest of the row. */
.convo__stack { display: flex; align-items: center; padding-left: 8px; isolation: isolate }
.convo__stack .avatar {
  position: relative; width: 22px; height: 22px; flex: 0 0 22px; margin-left: -8px; font-size: 9px;
  box-shadow: 0 0 0 2px var(--card); overflow: hidden; cursor: inherit;
}
/* The first face on top: the stack runs whose turn first, so a red ring is
   never under the next face. */
.convo__stack .avatar:nth-child(1) { z-index: 4 }
.convo__stack .avatar:nth-child(2) { z-index: 3 }
.convo__stack .avatar:nth-child(3) { z-index: 2 }
.convo__stack .avatar:nth-child(4) { z-index: 1 }
.convo__stack .convo__turn--due, .convo__stack .convo__turn--waiting { margin-right: 4px }
.convo__mate { background: #E3F1EE; color: #04635C }
/* Candid itself, in its own ink, so its sends read apart from a person's. */
.convo__mate--candid { background: var(--ink); color: var(--on-ink) }
.convo__extra { background: var(--page); color: var(--muted); font-weight: var(--weight-strong) }
/* The faces and their count side by side, as Companies' .costack. */
.convo__ppl { display: flex; align-items: center; gap: 8px }
.convo__n { font-size: 15px; font-weight: var(--weight-strong); font-variant-numeric: tabular-nums }
.convo__person .convo__stack .avatar { width: 22px; height: 22px; flex-basis: 22px; font-size: 9px }

/* Sent and received: a number with its arrow, and the word under it. */
.convo__fig { display: flex; flex-direction: column; gap: 5px; min-width: 0 }
.convo__fig b { display: inline-flex; align-items: center; gap: 3px; font-size: 15px; line-height: 1; font-weight: var(--weight-strong); font-variant-numeric: tabular-nums }
.convo__fig .ms { font-size: 16px }
.convo__fig--out .ms { color: #0E8F81 }
.convo__fig--in .ms { color: #D9663F }

/* Channels: each one's mark, one icon size with the rest of the row. */
.convo__chans { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 16px }
.convo__chan { display: inline-flex; align-items: center; gap: 4px }
.convo__chan .ms { font-size: 16px; color: var(--muted) }


/* Narrower: the same columns, drawn tighter. */
@container (max-width: 1059.98px) {
  .convo__co, .convo__person, .convo__head { grid-template-columns: minmax(0, 1.5fr) 120px 140px minmax(100px, 1fr) 84px 56px 20px; column-gap: 16px }
}
/* A phone: who and when on top, then the figures in a line under them. */
@container (max-width: 759.98px) {
  .convo__bar { padding: 16px }
  .convo__head { display: none }
  /* "1 person" under the faces says the count, so the number goes. */
  .convo__n { display: none }
  .convo__c .figcap { display: block }
  .convo__search { max-width: none }
  .convo__co, .convo__person {
    grid-template-columns: auto auto auto minmax(0, 1fr) auto;
    grid-template-areas: "who who who who at" "people msgs ch team team";
    row-gap: 12px; column-gap: 16px; padding: 22px 16px;
  }
  .convo__person { grid-template-areas: "who who who who at" "msgs msgs ch team team" }
  .convo__person .convo__c--who { padding-left: 16px }
  /* No room for the tree on a phone: the indent and the smaller row carry
     it, and the rule starts at the faces. */
  .convo__person { padding: 16px 16px }
  .convo__person::before { left: 32px }
  .convo__co.is-open .convo__c--who::after, .convo__person .convo__c--who::before,
  .convo__person:not(.convo__person--last) .convo__c--who::after { content: none }
  .convo__person .convo__c--msgs { padding-left: 16px }
  .convo__chev { display: none }
  /* Room for the figures and the name: the role goes, the pair draws closer. */
  .convo__role { display: none }
  .convo__c--msgs { display: flex; gap: 12px }
  /* The faces, Sent and Received keep their own width, so a tight row
     squeezes the channel marks (which wrap) rather than printing one figure
     over the next; the labels then share one line along the foot of the row. */
  .convo__c--people, .convo__c--msgs { min-width: max-content }
  .convo__c--people, .convo__c--msgs, .convo__c--ch, .convo__c--team { align-self: end }
  .convo__fig { flex: none; min-width: max-content }
  .convo__c--team { justify-self: end; align-items: flex-end }
}
/* A small phone (320px): the channels take a line of their own under the figures. */
@container (max-width: 309.98px) {
  .convo__co { grid-template-areas: "who who who who at" "people msgs msgs team team" "ch ch ch ch ch" }
  .convo__person { grid-template-areas: "who who who who at" "msgs msgs msgs team team" "ch ch ch ch ch" }
  .convo__person .convo__c--ch { padding-left: 16px }
}
@media (max-width: 900px) {
  /* The phone's page scroller has no padding above, so the band scrolls
     away with the page rather than taking a slice of a short screen. */
  .convo__pin { position: static }
}

/* The answer at the end of a contact's thread: a composer, not a message.
   White with a hairline and a soft shadow where the messages above are
   filled bubbles, so a draft never reads as sent. It opens on the message it
   answers, which wears a teal ring and "Replying" while the composer shows. */
.composer {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-low);
  transition: border-color .16s ease;
}
/* The composer is a floating card, not a field, but it focuses as one. */
.composer:focus-within { border-color: var(--field-focus); box-shadow: 0 0 0 .5px var(--field-focus) }
/* The head, one quiet line: who it answers on the left (a way back up to
   their message), whose words these are on the right. */
.composer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 0 }
.composer__head[hidden] { display: none }
.composer__to {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0; margin: -4px -8px; padding: 4px 8px;
  border: 0; border-radius: 8px; background: none; font: inherit; color: var(--muted); cursor: pointer;
}
.composer__to:hover { background: var(--page) }
.composer__to:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px }
.composer__to > .ms { font-size: 16px; color: inherit }
.composer__who { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.composer__who b { color: var(--text); font-weight: var(--weight-strong) }
.composer__state { display: flex; align-items: center; gap: 10px; flex: none; min-height: 22px; font-size: 12.5px; font-weight: var(--weight-strong) }
.composer__by { display: inline-flex; align-items: center; gap: 5px; color: color-mix(in srgb, var(--teal) 50%, var(--ink)) }
.composer__by.is-edited { color: #8A5A00 }
.composer__by .ms, .composer__undo .ms { font-size: 15px }
.composer__undo {
  display: inline-flex; align-items: center; gap: 4px; margin: -4px -6px; padding: 4px 6px;
  border: 0; border-radius: 6px; background: none; font: inherit; color: var(--muted); cursor: pointer;
}
.composer__undo:hover { color: var(--text); background: var(--page) }
.composer__undo:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px }
/* The foot's quiet controls: words with their icon, no edge, a grey wash on
   hover, so the one solid button (Copy or Send) is the only weight in the
   row. The channel picker, Write with Candid and Book a meeting are these. */
.composer__tool {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
  border: 0; border-radius: var(--r-btn-sm); background: none; font: inherit; font-size: 13px; font-weight: 500;
  color: var(--text); white-space: nowrap; cursor: pointer; transition: background-color .15s ease;
}
@media (prefers-reduced-motion: reduce) { .composer__tool { transition: none } }
.composer__tool:hover { background: var(--page) }
.composer__tool:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px }
.composer__tool > .ms { font-size: 17px; color: var(--muted) }
.composer__tool[aria-pressed="true"] { background: color-mix(in srgb, var(--teal) 10%, var(--card)); color: color-mix(in srgb, var(--teal) 50%, var(--ink)) }
.composer__tool[aria-pressed="true"] > .ms { color: inherit }
.composer__tool:disabled { opacity: .5; cursor: default }
.composer__tool > .composer__chev { margin-left: -2px; font-size: 18px }
/* The channel picker leads with the channel's own mark, at its own colour. */
.composer__via > svg { flex: none }
.composer__draft[hidden] { display: none }
.composer__field {
  display: block; width: 100%; min-height: 104px; margin: 0; padding: 14px 16px 8px;
  border: 0; background: none; outline: none; resize: none; overflow: hidden; overflow-wrap: anywhere;
  font: inherit; font-size: 14.5px; line-height: 1.65; color: var(--text);
}
.composer__field::placeholder { color: var(--muted) }
/* Picking meeting times happens inside the reply the times go into, under a
   rule rather than in a second box. */
.composer__meet { padding: 0 16px }
.composer__meet:empty { display: none }
.composer .meetbox { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 14px 0 4px }
/* Tools on the left, the ways to finish on the right. */
.composer__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 6px 10px 10px }
.composer__tools, .composer__finish { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; min-width: 0 }
.composer__finish { gap: 8px; margin-left: auto }
@media (max-width: 760px) {
  /* On a phone the ways to finish take a line of their own, Copy filling it. */
  .composer__finish { flex: 1 1 100%; justify-content: flex-end }
  .composer__finish > .btn { flex: 1 1 auto; justify-content: center; min-height: 44px }
  .composer__tool { min-height: 44px }
}

/* The message the composer answers is not marked (Rob, 12 Nov 2026): the
   composer's "Replying to" names it, and pressed, flashes it. */

.pill .ms { font-size: 14px }


/* A message in a contact's thread, read as a chat. Theirs on the left beside
   their face, in the page grey; yours on the right in the brand tint, beside
   the face of whoever on the team sent it. The side says whose it is. The
   corner nearest the sender is tighter, so a bubble points at who sent it.
   In the Thread each channel then takes its own shape, below. */
.msg { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; align-items: start }
.msg--them { padding-inline-end: 12% }
.msg--you { grid-template-columns: minmax(0, 1fr) 32px; padding-inline-start: 12% }
/* Over the bubble, one line: who in the ink, "Cold outreach" on a sequence
   step, then where and when in the muted grey. */
.msg__head {
  display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; min-height: 20px; padding: 0 4px;
  font-size: 11.5px; color: var(--muted);
}
.msg--you .msg__head { justify-content: flex-end }
.msg__head > .msg__who { padding: 0; font-size: 13px }
/* After the name, only quiet words: the time, then a marker such as Cold
   outreach, its icon the colour of its words. */
.msg__via { display: inline-flex; align-items: center; gap: 4px; color: var(--muted) }
.msg__via .ms { font-size: 14px; color: inherit }
/* Which email of the sequence, across the top of the email over its
   subject: the Cold outreach mark and name on the left, a segmented bar and
   "Email 2 of 4" on the right. Equal segments, ink up to this one and a soft
   grey for those still to go, so how far along it is reads at a glance. */
.bubble__seq {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px;
  margin: 0 0 12px; font-size: 12.5px; font-weight: 500; color: var(--muted);
}
.bubble__seqname { display: inline-flex; align-items: center; gap: 6px }
/* Sized to the 12.5px words and dropped a pixel, so the mark centres on
   their lowercase letters rather than their box, which reads as sitting high. */
.bubble__seqname .ms { font-size: 15px; line-height: 1; color: inherit; transform: translateY(1px) }
.bubble__seqstep { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: var(--weight-strong); font-variant-numeric: tabular-nums }
.bubble__seqbar { display: inline-flex; gap: 3px }
.bubble__seqbar > i { width: 18px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 14%, transparent) }
.bubble__seqbar > i.is-sent { background: var(--text) }
.msg__where { display: inline-flex; align-items: center; gap: 5px }
.msg__where time { font-variant-numeric: tabular-nums }
/* The channel's name, for a screen reader: the logo on the face shows it. */
.msg__srword { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
/* The face with the channel's logo on its lower corner, on a white disc
   ringed in the page grey so it reads as sitting on the photo. */
.msg__facewrap { position: relative; display: block; width: 32px; height: 32px; margin-top: 0 }
.msg__facewrap > .msg__face { margin-top: 0 }
.msg__chan {
  position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 18px; height: 18px;
  border-radius: 50%; background: var(--card); box-shadow: 0 0 0 2px var(--page);
}
.msg__chan > * { display: block }
.msg__face { width: 32px; height: 32px; flex: 0 0 32px; font-size: 11.5px; overflow: hidden; margin-top: 24px }
.msg__gap { width: 32px }
.msg__col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0 }
.msg--you .msg__col { align-items: flex-end }
.msg__who { padding: 0 4px; font-size: 12px; font-weight: var(--weight-strong); color: var(--text) }
.bubble { max-width: 100%; padding: 12px 16px; border-radius: 18px }
.bubble--them { background: var(--page); border-radius: 6px 18px 18px 18px }
.bubble--you { background: color-mix(in srgb, var(--teal) 14%, var(--card)); border-radius: 18px 6px 18px 18px }
.msg:not(.msg--first) .bubble--them { border-top-left-radius: 18px }
.msg:not(.msg--first) .bubble--you { border-top-right-radius: 18px }
.bubble__text { font-size: 14.5px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere }
/* Under the bubble. In the Thread, on theirs only: how Candid read it, as
   coloured words. */
.msg__foot {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 2px 4px 0;
  font-size: 11.5px; color: var(--muted);
}
.msg__foot time { font-variant-numeric: tabular-nums }
.msg__foot time::before { content: "·"; margin-right: 6px }
.bubble__cat { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: var(--weight-strong); color: var(--text) }
.bubble__cat .ms { font-size: 15px }

/* In the Thread, each channel keeps a shape and colour of its own, so where
   a message came from reads before its words do. Side still says whose it
   is; the stronger tint is yours.
   Email, a letter: the full width, square corners, a hairline border and its
   subject over a hairline, the way an inbox shows a message.
   WhatsApp, a chat: the tailed bubble in WhatsApp's green, its time and
   ticks tucked inside the bottom corner.
   LinkedIn, a card in LinkedIn's blue: tighter corners, no tail, and a
   connection request names itself at the top. */
.msg .bubble.bubble--email {
  width: 100%; padding: 14px 18px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line);
}
.msg .bubble.bubble--email.bubble--you {
  background: color-mix(in srgb, var(--teal) 5%, var(--card));
  border-color: color-mix(in srgb, var(--teal) 34%, var(--line));
}
.bubble__subj {
  margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--hair);
  font-size: 14px; font-weight: var(--weight-strong); overflow-wrap: anywhere;
}
.bubble--whatsapp { padding: 9px 14px 6px }
.bubble--whatsapp.bubble--them { background: color-mix(in srgb, var(--whatsapp) 9%, var(--card)) }
.bubble--whatsapp.bubble--you { background: color-mix(in srgb, var(--whatsapp) 22%, var(--card)) }
.bubble__stamp {
  display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 1px;
  font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.bubble__stamp .ms { font-size: 15px; color: color-mix(in srgb, var(--linkedin) 70%, var(--ink)) }
/* In the Thread every message keeps its time there (Rob, 12 Nov 2026), a
   little clear of the words, with "Copied" before it on one sent by hand. */
.threadtab .bubble__stamp { gap: 8px; margin-top: 6px }
.threadtab .bubble--whatsapp .bubble__stamp { margin-top: 1px }
.bubble__copied { display: inline-flex; align-items: center; gap: 3px; font-weight: 500 }
.bubble__stamp .bubble__copied .ms { font-size: 13px; color: inherit }
.msg .bubble.bubble--linkedin { border-radius: 8px }
.bubble--linkedin.bubble--them { background: color-mix(in srgb, var(--linkedin) 7%, var(--card)) }
.bubble--linkedin.bubble--you { background: color-mix(in srgb, var(--linkedin) 14%, var(--card)) }
.bubble__kind {
  display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
  font-size: 13px; font-weight: var(--weight-strong); color: color-mix(in srgb, var(--linkedin) 72%, var(--ink));
}
.bubble__kind .ms { font-size: 17px }

.suggest { background: var(--page); border: 1px solid var(--teal); border-radius: 20px; padding: 20px }
.suggest__label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: var(--weight-strong); margin-bottom: 10px }
.suggest__text { font-size: 14.5px; line-height: 1.7; white-space: pre-line }
.suggest .textarea { background: var(--card); font-size: 14.5px; line-height: 1.7 }
.suggest__editing { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap }
.suggest__editing b { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: var(--weight-strong); color: #B07C00 }
.suggest__revert {
  display: flex; align-items: center; gap: 5px; background: none; border: none;
  font-family: inherit; font-size: 11.5px; font-weight: var(--weight-strong); color: var(--muted); cursor: pointer;
}
.suggest__revert:hover { color: var(--text) }

.meetbox { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-top: 16px }
.meetbox__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap }
.meetbox__head b { font-size: 13px; font-weight: var(--weight-strong) }
.meetbox__head > span { margin-left: auto; font-size: 11.5px; color: var(--muted) }
.meetbox__meta { display: inline-flex; gap: 12px }
.meetbox__meta span { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums }
.meetbox__meta .ms { font-size: 15px }
.meetbox__meta b { font-size: 13px; font-weight: var(--weight-strong); color: var(--text) }
.meetbox__meta .figcap { font-size: 12.5px; font-weight: 500; color: var(--muted) }
.slots { display: flex; flex-wrap: wrap; gap: 9px }
.slot {
  font-size: 12.5px; font-weight: var(--weight-strong); padding: 8px 14px; border-radius: var(--r-btn-sm);
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  cursor: pointer; font-family: inherit;
}
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink) }
