/* ---------------------------------------------------------------------------
   The CRM basics: notes and meetings on a record's Activity tab, a won deal's
   customer row, the delete dialog and the Follow up tasks
   --------------------------------------------------------------------------- */
/* The drawers' Activity: a holder only, so its containers sit straight on
   the drawer's grey body (the containers rule at the end). */
.acttab { display: contents }

/* The drawers' Thread: a chat on the page grey rather than containers, as one
   stream of time read top to bottom, with nothing to group a box would add.
   Theirs turn white with a container's faint edge (the grey they were would
   vanish on grey); an email stays a letter, white, with that edge. The
   composer is the one container: pinned to the foot of the drawer, on a
   strip of the grey, so the answer is in reach however far back the rep
   reads. The body's own bottom padding moves into that strip (over the
   containers rule's, which a pinned foot would otherwise float above). */
.drawer .drawer__body:has(> .threadtab) { padding-bottom: 0 }
.threadtab { display: flex; flex-direction: column; min-height: 100% }
/* A short thread sits on the composer, as a chat does, so the last message
   and the answer to it are read together rather than across a gap. */
.threadtab > .thread { flex: 1 0 auto; justify-content: flex-end; padding-bottom: 16px }
/* No accent on a message (Rob, 12 Nov 2026): theirs white with the faint
   edge, ours a neutral grey a step darker than the page, on every channel.
   Each channel keeps only its shape (the letter, the tail, the card). */
.threadtab .msg .bubble.bubble--them { background: var(--card); border-color: rgba(16, 33, 31, .07); box-shadow: 0 0 0 1px rgba(16, 33, 31, .07) }
.threadtab .msg .bubble.bubble--email.bubble--them { box-shadow: 0 1px 2px rgba(16, 33, 31, .04) }
.threadtab .msg .bubble.bubble--you { background: color-mix(in srgb, var(--ink) 7%, var(--page)); border-color: transparent; box-shadow: none }
/* Over every channel's own edge (the LinkedIn and WhatsApp rule above). */
/* Where what is said turns to another deal (design/deal-links.md): the deal
   kind's mark, its name and its stage, on the left
   over the run it heads, as a day is marked in the middle. A button: its
   menu moves the run to another deal. */
.thread__deal { display: flex; align-items: center; gap: 8px; margin: 22px 0 0 }
/* A hairline on to the edge, so the deal heads everything under it. */
.thread__deal::after { content: ""; flex: 1; height: 1px; background: rgba(16, 33, 31, .12) }
.thread__day + .thread__deal { margin-top: 8px }
.thread > .thread__deal + .msg--first { margin-top: 6px }
.thread__dealbtn {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; min-height: 40px;
  margin-left: -8px; padding: 4px 8px; border: 0; border-radius: 8px; background: none; color: var(--text);
  font: inherit; text-align: left; cursor: pointer; transition: background-color .15s ease;
}
.thread__dealbtn:hover { background: rgba(16, 33, 31, .05) }
.thread__dealbtn:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px }
.thread__dealbtn > .ms { flex: 0 0 auto; font-size: 18px }
.thread__dealbtn b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.thread__dealbtn > span { white-space: nowrap }
.thread__dealbtn > .thread__dealchev { color: var(--muted) }
/* No deal: muted, over the type scale's ink. */
.drawer__body .thread__deal.is-none :is(.ms, b) { color: var(--muted) }
/* No grey band over the messages (Rob, 12 Nov 2026): the composer's own edge
   is where they scroll away. Grey only under it, so nothing shows beneath
   it, and the top half clear, so its rounded corners don't cut grey notches. */
.threadfoot { position: sticky; bottom: 0; z-index: 1; padding: 0 0 16px; background: linear-gradient(transparent 50%, var(--page) 50%) }
.threadfoot[hidden] { display: none }
.threadfoot .composer { border-color: rgba(16, 33, 31, .07); box-shadow: var(--shadow-low-up) }
.threadfoot .composer:focus-within { border-color: var(--field-focus); box-shadow: 0 0 0 .5px var(--field-focus) }
/* The field grows with the words, up to a third of the drawer, then scrolls
   inside itself, so the thread above always keeps most of the height. */
.threadfoot .composer__field { min-height: 76px; max-height: 32vh; overflow-y: auto }
@media (max-width: 479px) {
  .threadfoot { padding: 0 0 12px }
  .threadfoot .composer__field { min-height: 64px; max-height: 26vh }
}
/* A meeting, between both sides (Rob, 12 Nov 2026): their face on the
   left and ours on the right, in the columns the messages' faces sit in,
   each joined by a hairline to one compact white card in the middle: the
   mark and the meeting's name, then when it ran, how long and how it went,
   split by dots. The card is the button that opens it on Meetings. */
.thread__meetrow { display: flex; align-items: center; margin: 18px 0 2px }
.thread__meetrow > .msg__face { flex: none; margin-top: 0 }
.thread__meetline { flex: 1 1 24px; min-width: 16px; height: 1px; background: rgba(16, 33, 31, .14) }
.thread__meet {
  flex: 0 1 auto; display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 72%;
  padding: 10px 18px 10px 14px; border: 0; border-radius: 14px; background: var(--card);
  box-shadow: 0 0 0 1px rgba(16, 33, 31, .09), 0 1px 2px rgba(16, 33, 31, .04);
  font: inherit; color: var(--muted); text-align: center; cursor: pointer; transition: box-shadow .15s ease;
}
@media (prefers-reduced-motion: reduce) { .thread__meet { transition: none } }
.thread__meet:hover { box-shadow: 0 0 0 1px rgba(16, 33, 31, .22), 0 1px 2px rgba(16, 33, 31, .04) }
.thread__meet:hover .thread__meetname { color: var(--coral) }
.thread__meet:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px }
/* The meeting mark, the height of the name and the line under it together. */
.thread__meet > .thread__meeticon { flex: none; font-size: 34px; line-height: 1; color: var(--text) }
.thread__meetbody { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; text-align: left }
.drawer__body .thread__meetname { max-width: 100%; min-width: 0; font-size: 15px; font-weight: 600; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis }
.thread__meetwhen { display: inline-flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 2px 0; font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums }
.thread__meetwhen > * + *::before { content: "·"; margin: 0 7px; color: var(--muted) }
.thread__meetwhen > span { display: inline-flex; align-items: center; gap: 4px }
.thread__meetwhen .ms { font-size: 15px; color: inherit }
.thread__meetwhen .statemark--good { color: #23794C }
@media (max-width: 479px) { .thread__meetrow > .msg__face { width: 28px; height: 28px } .thread__meet { max-width: 76%; padding: 10px 14px } }
/* What an email quoted, folded under its new part. */
.bubble__more {
  display: inline-flex; align-items: center; gap: 4px; margin: 10px 0 0 -6px; padding: 3px 8px;
  border: 0; border-radius: 8px; background: none; font: inherit; font-size: 12.5px; font-weight: 500;
  color: var(--muted); cursor: pointer;
}
.bubble__more .ms { font-size: 17px }
.bubble__more:hover { color: var(--text); background: var(--page) }
.bubble__more:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px }
.bubble__earlier {
  margin-top: 8px; padding-left: 12px; border-left: 2px solid var(--hair);
  font-size: 13.5px; line-height: 1.6; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere;
}
.bubble__earlier[hidden] { display: none }
/* A referral's name opens that person. */
.msg__readgo {
  margin: -4px -6px; padding: 4px 6px; border: 0; border-radius: 8px; background: none; font: inherit; cursor: pointer;
}
.msg__readgo:hover { background: var(--card) }
.msg__readgo:hover b { color: var(--coral) }
.msg__readgo:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px }
@media (pointer: coarse) {
  .bubble__more, .msg__readgo { min-height: 40px }
}
/* What came with a message, under its words inside the bubble. A file is a
   control: a row of its mark in its colour, its name and its size, on the
   faintest wash of ink so it reads as something to press. A photo is itself,
   a preview cut to 4:3 with its name and size under it; a voice note plays
   in place. One that can no longer be fetched stays, faded. */
.bubble__files { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 10px }
.bubble__text + .bubble__files, .bubble__more + .bubble__files, .bubble__earlier + .bubble__files { margin-top: 12px }
.bubble__subj + .bubble__files, .bubble__kind + .bubble__files { margin-top: 0 }
.bubble__file {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; column-gap: 10px;
  width: 100%; max-width: 360px; min-height: 44px; padding: 8px 12px 8px 10px; border: 0; border-radius: 10px;
  background: rgba(16, 33, 31, .045); font: inherit; text-align: left; color: var(--text); cursor: pointer;
}
.bubble__file .ms { font-size: 21px }
.bubble__file b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500 }
.bubble__file span { font-size: 12.5px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap }
.bubble__file:hover { background: rgba(16, 33, 31, .08) }
.bubble__file:focus-visible, .bubble__photo:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px }
.bubble__file[aria-busy="true"] { opacity: .6; cursor: progress }
.bubble__file--voice .ms { color: color-mix(in srgb, var(--whatsapp) 70%, var(--ink)) }
.bubble__audio { width: 100%; max-width: 360px; height: 40px }
.bubble__fig { margin: 0; display: flex; flex-direction: column; gap: 6px; max-width: 100% }
.bubble__photo {
  position: relative; display: block; width: 240px; max-width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0;
  border-radius: 12px; overflow: hidden; background: rgba(16, 33, 31, .06); cursor: zoom-in;
}
.bubble__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s ease }
.bubble__photo.is-in img { opacity: 1 }
.bubble__photomark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 28px; color: rgba(16, 33, 31, .25) }
.bubble__filecap { display: flex; gap: 8px; align-items: baseline; min-width: 0; font-size: 12.5px; font-weight: 500; color: var(--muted) }
.bubble__filecap b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--text) }
.bubble__file.is-gone, .bubble__photo.is-gone { opacity: .45; cursor: default }
@media (prefers-reduced-motion: reduce) { .bubble__photo img { transition: none } }

/* Nothing said yet: the mark itself, faded, not on a tile, and its words. */
/* Each touch is a row split by hairlines: the channel's mark (in its tone,
   never on a tile), what happened over who and what it was about, then when
   and who did it at the end. A row with somewhere to go is the button. */
.actlist { display: flex; flex-direction: column }
.actrow {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 14px; align-items: start;
  width: 100%; padding: var(--dr-space-row, 14px) 0; margin: 0;
  background: none; border: 0; border-radius: 0; font: inherit; color: inherit; text-align: left;
}
.actlist > .actrow:first-child { padding-top: 4px }
.actlist > .actrow:last-child { padding-bottom: 0 }
.actlist > :is(.actrow, .actquiet) + .actrow { border-top: 1px solid var(--hair) }
.actlist > .actquiet + .actrow { border-top: 0 }
button.actrow { cursor: pointer }
button.actrow:hover .actrow__what { color: var(--coral) }
button.actrow:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 8px }
.actrow__mark { display: flex; align-items: center; justify-content: center; height: 22px; color: var(--muted) }
.actrow__mark .ms { font-size: 19px }
.actrow__mark.is-warm { color: #04635C }
.actrow__mark.is-good { color: var(--good) }
.actrow__mark.is-bad { color: var(--bad) }
.actrow__mark.is-wait { color: #8A5A00 }
.actrow__body { display: flex; flex-direction: column; gap: 4px; min-width: 0 }
.actrow__top { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-width: 0; line-height: 22px }
.actrow__sub { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.actrow__sub b { margin-right: 4px }
.actrow__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-top: 3px; white-space: nowrap }
.actrow__when { font-variant-numeric: tabular-nums }
.actrow__who { display: inline-flex; align-items: center; gap: 6px }
.actrow__face { width: 20px; height: 20px; flex: 0 0 20px; font-size: 9px; cursor: inherit }
.actrow__face--candid { background: var(--ink); color: var(--on-ink) }
/* Two weeks or more without a touch: a line with "Quiet 23 days" across it,
   between two rows of a month or on the grey between two months. */
.actquiet { display: flex; align-items: center; gap: 12px; padding: 10px 0 }
.actquiet::before, .actquiet::after { content: ""; flex: 1 1 0; height: 1px; background: var(--hair) }
.acttab > .actquiet { padding: 2px 6px }
.acttab > .actquiet::before, .acttab > .actquiet::after { background: rgba(16, 33, 31, .14) }
.actquiet__said { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap }
.actquiet__said .ms { font-size: 16px }
/* Nothing yet, on every drawer tab (Thread, Notes, Meetings, Deals,
   Cold outreach, Activity): a faded mark with a short label under it, centred in the
   space on the page grey. The label takes the drawer type scale's Label. */
.tabempty {
  flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; min-height: 160px; padding: 24px 20px; text-align: center;
}
.tabempty > .ms { font-size: 40px; color: #C4C4C4 }
/* Nothing yet, inside a drawer container (Recent news, Pain points, Deals in
   the pipeline, Calls, Sequence; boxNone in app/shared-pieces.js): the same
   faded mark and label, smaller, centred where the rows would be. The
   heading's 16px stays above it; the padding gives it the height of a row or
   two, so an empty container still reads as a section. A failure's mark is amber. */
.boxnone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 8px 16px 12px; text-align: center; text-wrap: balance;
}
.boxnone > .ms { font-size: 30px; color: #C4C4C4 }
.boxnone.is-warn > .ms { color: #8A5A00 }
/* Cold outreach: why Candid chose not to write, centred under the label. */
.tabempty > .seqnone__why { align-items: center; padding: 4px 0 0 }
@media (max-width: 479px) {
  .actrow { column-gap: 12px }
}

/* The Notes tab (notesTab), company and contact drawers, laid out as the
   Thread: Key notes, then everything said, oldest first, each a container on
   the page grey, and the box to write in pinned to the foot of the drawer on
   a strip of the grey. The body's bottom padding moves into that strip.
   Sizes come from the drawer type scale at the end of the file; these rules
   only lay things out. */
.drawer .drawer__body:has(> .notestab) { padding-bottom: 0 }
.notestab { display: flex; flex-direction: column; min-height: 100% }
.notes__list { display: flex; flex-direction: column; gap: 12px; flex: 1 0 auto; padding-bottom: 12px }
.notesfoot { position: sticky; bottom: 0; z-index: 1; padding: 0 0 16px; background: var(--page) }
.drawer__body .notesfoot > .card.ovbox.notenew:not(:focus-within) { box-shadow: var(--shadow-low-up) }
@media (max-width: 479px) {
  .notesfoot { padding-bottom: 12px }
}
/* A section is a container: a long word in a note wraps inside it. */
.notesec { min-width: 0 }
.notes__bar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap }
.notes__sec, .mtgtab__sec { display: flex; flex-direction: column; gap: 4px }
.notes__rows, .mtgtab__rows { display: flex; flex-direction: column }
.notes__head { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 13.5px; font-weight: var(--weight-strong) }
.notes__head .ms { font-size: 18px; color: var(--muted) }

/* The box to write in is the container itself, laid out as the Thread's
   composer: the formatting buttons quiet along its top, the words, then a
   foot with who the note is linked to at the left and Add note at the
   right. Its edge lights as the composer's does. */
.notenew { display: flex; flex-direction: column; gap: 0; cursor: text }
.drawer__body .card.ovbox.notenew { padding: 0 }
.drawer__body .card.ovbox.notenew:focus-within { border-color: var(--field-focus); box-shadow: 0 0 0 .5px var(--field-focus) }
.notenew > .richtools { padding: 10px 12px 0 }
.notenew > .richtext { min-height: 76px; padding: 8px 18px }
/* The rich text field (richBox): grows with the words up to a third of the
   drawer, then scrolls inside itself, as the Thread's reply does. */
.richtext {
  position: relative; display: block; width: 100%; min-height: 26px; max-height: 32vh; padding: 3px 0; overflow-y: auto;
  outline: 0; line-height: 1.6; color: var(--text); overflow-wrap: anywhere; cursor: text;
}
.richtext.is-empty::before { content: attr(data-placeholder); position: absolute; color: var(--muted); pointer-events: none }
.richtext > div, .richtext p, .noterich p { margin: 0 }
.richtext :is(ul, ol), .noterich :is(ul, ol) { margin: 2px 0; padding-left: 22px }
.richtext li + li, .noterich li + li { margin-top: 2px }
.noterich strong { font-weight: var(--weight-strong) }
.richtools { display: inline-flex; align-items: center; gap: 2px }
/* Formatting buttons sit quiet until used: no edge, the wash on hover. */
.richtools__btn { width: 28px; height: 28px; border-color: transparent; border-radius: 8px; background: none; color: var(--muted) }
.richtools__btn:hover { background: var(--btn-wash); color: var(--text) }
.richtools__btn .ms { font-size: 17px }
.richtools__btn[aria-pressed="true"] { background: color-mix(in srgb, var(--text) 10%, var(--card)); color: var(--text) }
/* In an edit the field is drawn as a form's field, its buttons over the words. */
.noteedit__box {
  display: flex; flex-direction: column; gap: 6px; padding: 8px 12px 6px; border: 1px solid var(--field-edge); border-radius: var(--r-input);
  background: var(--field); transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.noteedit__box:hover:not(:focus-within) { background: var(--field-hover); border-color: var(--field-edge-hover) }
.noteedit__box:focus-within { background: var(--card); border-color: var(--field-focus); box-shadow: inset 0 0 0 .5px var(--field-focus) }
.noteedit__box > .richtext { min-height: 76px }
/* The formatting buttons head the box, over a hairline, their first
   glyph lined up with the words. */
.noteedit__box > .richtools { margin-left: -6px }
@media (max-width: 479px) {
  .richtext { max-height: 26vh }
  .richtools__btn { width: 40px; height: 40px }
}
.notenew__bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px 12px; cursor: default }
.notenew__save { margin-left: auto; white-space: nowrap }
/* Who a new note is linked to: a quiet control like the composer's
   channels, muted until a person is picked, then in the chosen grey wash.
   It opens the app's own menu (menuAt), not a native select. */
.notenew__link {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0; height: 32px; padding: 0 10px;
  border: 0; border-radius: 999px; background: none; font: inherit; font-size: 13px; font-weight: 500;
  color: var(--muted); white-space: nowrap; cursor: pointer;
}
.notenew__link .ms { font-size: 17px }
.notenew__link:hover, .notenew__link.is-set, .notenew__link[aria-expanded="true"] { color: var(--text) }
.notenew__link.is-set, .notenew__link[aria-expanded="true"] { background: var(--page) }
.notenew__link:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px }
.notenew__linkname { min-width: 0; max-width: 200px; overflow: hidden; text-overflow: ellipsis }
.notenew__linkarrow { margin-left: -2px; color: var(--muted) }
/* Its menu: each person as their initials in a soft grey disc, the name
   over the title, the linked one ticked. */
.latermenu:has(.notelink__who) { max-width: min(320px, calc(100vw - 16px)) }
.latermenu__item:has(.notelink__who) { height: auto; min-height: 48px; padding: 6px 10px }
.notelink__face { width: 28px; height: 28px; flex: 0 0 28px; font-size: 11px; background: var(--page); color: var(--text); cursor: inherit }
.latermenu__item > span:has(> .notelink__who) { min-width: 0 }
.notelink__who { display: grid; min-width: 0; line-height: 1.3 }
.notelink__name, .notelink__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.notelink__title { font-size: 12.5px; font-weight: 500; color: var(--muted) }
@media (pointer: coarse) {
  .notenew__link { height: 40px }
}

/* Who a note is about: a choice in a form, so an outlined control like the
   form's chips, with the person's or the shop's mark before the name. */
.notes__about {
  position: relative; display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; min-height: 32px; max-width: 100%;
  padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
}
.notes__about:focus-within { border-color: var(--field-focus) }
.notes__aboutlabel { font-size: var(--dr-label); font-weight: 500; color: var(--muted) }
.notes__aboutmark { display: inline-flex }
.notes__aboutmark .ms, .notes__aboutarrow { font-size: 17px; color: var(--muted) }
.notes__aboutarrow { margin-left: -22px; pointer-events: none }
.notes__aboutsel {
  appearance: none; -webkit-appearance: none; min-width: 0; max-width: 220px; padding: 6px 22px 6px 0; border: 0; outline: 0;
  background: transparent; font: inherit; font-size: 13px; font-weight: var(--weight-strong); color: var(--text);
  text-overflow: ellipsis; cursor: pointer;
}

/* A note: a card of its own on the page grey (Unify's and Calendly's notes
   tabs), 12px from the next. Across its top the writer's initials (or a
   call's or meeting's icon), their name over when it was written, and the
   star and pencil at the end; under that the words at the card's full width,
   so a long note reads as a paragraph, not a column beside a face. */
.notesec { display: flex; flex-direction: column; gap: 12px; min-width: 0 }
.notes__group { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 -2px; padding: 0 4px }
.notes__group > span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums }
.noterow {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  width: 100%; color: inherit; font: inherit; text-align: left;
}
.noterow__top { display: flex; align-items: center; gap: 12px; min-width: 0 }
.noterow__mark { flex: 0 0 auto; width: 36px; height: 36px; font-size: 12.5px; background: var(--ink); color: var(--on-ink) }
.noterow__icon { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px }
.noterow__icon .ms { font-size: 22px; font-variation-settings: 'FILL' 1 }
.noterow__icon.is-good, .noterow__icon.is-warm { color: var(--good) }
.noterow__icon.is-bad { color: var(--bad) }
.noterow__icon.is-wait, .noterow__icon.is-none { color: var(--muted) }
.noterow__icon.is-meet { color: var(--text) }
.noterow__who { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.noterow__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
/* "About" before who the note is about and "By" before who wrote it, so the
   lead face never reads as the writer (Rob, 17 Nov 2026). */
.noterow__role { margin-right: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted) }
.noterow__by .noterow__role { margin-right: 4px }
.noterow__name b { font-weight: inherit }
.noterow__head { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; font-variant-numeric: tabular-nums }
.noterow__about { display: inline-flex; align-items: center; gap: 3px; min-width: 0 }
.noterow__about .ms { font-size: 15px }
.noterow__smallface { flex: 0 0 auto; width: 18px; height: 18px; margin-right: 2px; font-size: 8px; background: var(--ink); color: var(--on-ink) }
/* Who a note is about leads it: a person's face with their business's logo
   ringed at its lower right, or the business's logo alone. */
.noterow__subj { position: relative; flex: 0 0 auto; display: inline-flex }
.noterow__mark--biz { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line) }
.noterow__badge { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; font-size: 7px;
  background: var(--card); color: var(--text); box-shadow: 0 0 0 2px var(--card) }
.noterow__badge .markimg--logo { padding: 8% }
.noterow__body { display: block; margin: 0; color: var(--text); line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; text-wrap: pretty }
.noterow__body.noterich { white-space: pre-wrap }
.noterow__body.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
/* The star and the one pencil are the drawer's plain pencil (drawer__edit):
   no outline, a grey wash on hover, a 44px reach. A key note's star is
   filled in ink, with no wash. */
.noterow__acts { flex: 0 0 auto; display: inline-flex; gap: 4px; margin-right: -6px }
.noterow__star, .noterow__edit { width: 36px; height: 36px }
.noterow__star[aria-pressed="true"] { color: var(--text); background: none }
/* A call or a meeting is read here and opened on its own tab: the row is the
   button, with no buttons of its own. */
.noterow--open { cursor: pointer; transition: box-shadow .15s }
.drawer__body .card.ovbox.noterow--open:hover { box-shadow: var(--shadow-low) }
.noterow__go { align-self: center; font-size: 20px; color: var(--muted); transition: color .15s, transform .15s }
.noterow--open:hover .noterow__go, .noterow--open:focus-visible .noterow__go { color: var(--text); transform: translateX(2px) }
.noterow--open:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px }
.notes__hit { background: color-mix(in srgb, var(--amber) 38%, transparent); color: inherit; border-radius: 3px; padding: 0 1px }
/* A note being changed: its words, who it is about, then Delete at one end
   and Cancel and Save at the other. */
.noteedit { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 12px }
.noteedit .noterow__main { display: flex; flex-direction: column; gap: 10px; min-width: 0 }
.noteedit__bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.noteedit__drop { margin-right: auto; display: inline-flex; align-items: center; gap: 6px }

/* The search, in place of the sub tabs: one field, white on the grey like
   the chosen chip, and a close. */
.notesbar__find, .notesbar__close { margin-left: auto; flex: 0 0 auto; width: 36px; height: 36px }
.notesbar__search {
  flex: 1 1 auto; display: flex; align-items: center; gap: 8px; min-width: 0; height: 36px; padding: 0 14px;
  border-radius: var(--r-btn); background: var(--card); box-shadow: 0 0 0 1px rgba(16, 33, 31, .07), 0 1px 2px rgba(16, 33, 31, .04);
}
.notesbar__search .ms { font-size: 19px; color: var(--muted) }
.notesbar__field { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--text) }
.notesbar__field::-webkit-search-cancel-button { display: none }
.notesbar__close { margin-left: 4px }
/* On a phone the chips fill the row and scroll, so the search leads it,
   where it is always in reach. */
@media (max-width: 600px) {
  .notesbar__find { order: -1; margin-left: 0 }
  /* A touch target on a phone. */
  .notes__about { min-height: 44px }
}

/* A contact's Meetings tab, in the drawer's containers (the containers rule
   at the end): Upcoming and Past as sub tabs on the grey, Book and More
   at their end; then one list, a row a meeting, each opened in place. The holder adds no box of its own. Sizes are the drawer type
   scale's, where each class joins its role. */
.mtgtab { display: contents }
.mtgtools { display: flex; align-items: center; justify-content: flex-end; gap: 8px }
.mtgtools__more { position: relative }
.mtgtools__menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; min-width: 200px; padding: 6px;
  display: flex; flex-direction: column; background: var(--card); border: 1px solid rgba(16, 33, 31, .08);
  border-radius: 12px; box-shadow: var(--shadow-top);
}
.mtgtools__menu[hidden] { display: none }
.mtgtools__item {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px;
  background: none; font: inherit; font-size: 14px; color: var(--text); text-align: left; cursor: pointer;
}
.mtgtools__item:hover, .mtgtools__item:focus-visible { background: var(--page); outline: none }
.mtgtools__item .ms { font-size: 19px; color: var(--muted) }

/* A container's heading with its controls at the other end. */
.mtgbox__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: var(--dr-space-head) }
.drawer__body .mtgbox__head .ovhead { margin: 0 auto 0 0; min-width: 0 }
.mtgbox__head:last-child { margin-bottom: 0 }

/* Book, Log a meeting and Notetaker now: fields straight in their container. */
.mtgform__body { display: flex; flex-direction: column; gap: 12px }
.mtgform__body .textarea { min-height: 96px; resize: vertical }
.mtgform__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px }
.mtgform__field { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.mtgform__field .input { height: 40px }
.mtgform__err { font-size: 12.5px; color: var(--bad) }
.mtgform__err:empty { display: none }
.mtgform__bar { display: flex; justify-content: flex-end; gap: 8px }
.mtgslots__chips { display: flex; flex-wrap: wrap; gap: 8px }
.mtgslots .chip { min-height: 40px; font-variant-numeric: tabular-nums }
/* No times because of the calendar: what is wrong, in red beside its mark, and the fix. */
.calgap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px }
.calgap__why { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text) }
.calgap__why .ms { font-size: 20px; color: var(--bad) }

/* Rows: a meeting a row, split by hairlines, the first flush under its heading. */
.mtglist { display: flex; flex-direction: column }
.mtgrow { padding: var(--dr-space-row) 0 }
.mtglist > .mtgrow:first-child { padding-top: 0 }
.mtglist > .mtgrow:last-child { padding-bottom: 0 }
.mtgrow + .mtgrow { border-top: 1px solid var(--hair) }
.mtgrow__line { display: flex; align-items: center; gap: 12px; min-width: 0 }
button.mtgrow__toggle {
  width: 100%; min-height: 44px; padding: 0; border: 0; border-radius: 8px; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.mtgrow__toggle:focus-visible { outline: none; box-shadow: var(--ring) }
.mtgrow__mark { flex: 0 0 22px; display: grid; place-items: center; color: var(--muted) }
.mtgrow__mark .ms { font-size: 22px }
.mtgrow__mark.is-good { color: var(--good) }
.mtgrow__mark.is-bad { color: var(--bad) }
.mtgrow__mark.is-warn { color: #B07700 }
.mtgrow__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px }
.mtgrow__when { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-variant-numeric: tabular-nums }
.mtgrow__flag { display: inline-flex; align-items: center; gap: 4px }
.mtgrow__flag .ms { font-size: 15px }
.mtgrow__out { flex: 0 0 auto }
.mtgrow__chev { flex: 0 0 auto; display: grid; place-items: center; color: var(--muted) }
.mtgrow__chev .ms { font-size: 20px; transition: transform .16s ease }
.mtgrow.is-open .mtgrow__chev .ms { transform: rotate(180deg) }
.mtgrow__acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px }
.mtgrow__state, .mtgrow__bot { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px }
.mtgrow__state .ms { font-size: 17px; animation: cdSpin 1s linear infinite }
.mtgrow__bot .ms { font-size: 16px }
.mtgrow__body { display: flex; flex-direction: column; gap: 20px; padding: 16px 0 4px 34px }

/* The parts of an opened meeting, each under a small heading. */
.mtgpart { display: flex; flex-direction: column; gap: 10px; min-width: 0 }
.mtgpart__head { margin: 0 }
.mtgrow__said { margin: 0; white-space: pre-line; overflow-wrap: anywhere }
.mtgfold summary {
  display: inline-flex; align-items: center; gap: 4px; min-height: 32px; cursor: pointer; list-style: none;
  font-size: 12.5px; font-weight: var(--weight-strong); color: var(--muted);
}
.mtgfold summary::-webkit-details-marker { display: none }
.mtgfold summary:hover { color: var(--text) }
.mtgfold summary:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px }
.mtgfold summary .ms { font-size: 18px; transition: transform .16s ease }
.mtgfold[open] summary .ms { transform: rotate(180deg) }
.mtgfold .mtgrow__notes { margin: 4px 0 0; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere }

/* What the meeting agreed, from the rep's list: done, due or late. */
.mtgsteps { list-style: none; margin: 0; padding: 0 }
.mtgstep { display: flex; align-items: center; gap: 10px; padding: 10px 0 }
.mtgstep:first-child { padding-top: 0 }
.mtgstep + .mtgstep { border-top: 1px solid var(--hair) }
.mtgstep__mark { flex: 0 0 20px; display: grid; place-items: center; color: var(--muted) }
.mtgstep__mark .ms { font-size: 19px }
.mtgstep__title { flex: 1; min-width: 0; overflow-wrap: anywhere }
.mtgstep__when { flex: 0 0 auto; font-variant-numeric: tabular-nums; white-space: nowrap }
.mtgstep.is-done .mtgstep__mark { color: var(--good) }
.mtgstep.is-done .mtgstep__title { color: var(--muted); text-decoration: line-through }
.mtgstep.is-late .mtgstep__mark { color: var(--bad) }

/* The recording, then each side's share of the talking as one bar. */
.mtgplayer:empty { display: none }
.mtgplayer audio { display: block; width: 100%; height: 36px }
.mtgtalk { display: flex; flex-direction: column; gap: 6px; max-width: 420px }
.mtgtalk__ends { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums }
.mtgtalk__bar { display: flex; gap: 2px; height: 8px }
.mtgtalk__bar i { display: block; height: 100% }
.mtgtalk__you { background: var(--teal); border-radius: 99px 0 0 99px }
.mtgtalk__them { background: color-mix(in srgb, var(--ink) 20%, transparent); border-radius: 0 99px 99px 0 }
.mtgsend { display: flex; flex-wrap: wrap; gap: 8px }
/* A recorded meeting's transcript scrolls in place, so a long meeting does
   not push the rest away. */
.mtgrec__script { max-height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 6px 2px 8px }
.script__line { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.6; color: var(--text); overflow-wrap: anywhere }
.script__who { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px }
.script__who b { font-weight: var(--weight-strong) }
.script__who time { color: var(--muted); font-variant-numeric: tabular-nums }

/* A meeting's day as a calendar mark: the month in coral over the date,
   the weekday under it, on a faint coral wash; today's in solid coral. It
   is the visual itself, so it keeps its wash inside a container. */
.mtgdate {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 64px; padding: 8px 0; border-radius: var(--r-inner); background: color-mix(in srgb, var(--coral) 9%, transparent);
  font-variant-numeric: tabular-nums; line-height: 1.1; text-align: center;
}
.mtgdate__mon { font-size: 12.5px; font-weight: var(--weight-strong); color: var(--coral); text-transform: uppercase; letter-spacing: .04em }
.mtgdate__day { font-size: 26px; font-weight: var(--weight-strong); color: var(--text); letter-spacing: -.02em }
.mtgdate__wd { font-size: 12.5px; font-weight: 500; color: var(--muted) }
.mtgdate.is-today { background: var(--coral) }
.mtgdate.is-today :is(.mtgdate__mon, .mtgdate__day, .mtgdate__wd) { color: #FFF }
/* In a row: smaller, the width of a row's two lines. */
.mtgdate--sm { width: 44px; padding: 5px 0 }
.mtgdate--sm .mtgdate__mon { font-size: 11px }
.mtgdate--sm .mtgdate__day { font-size: 18px }

/* The list (Rob, 12 Nov 2026): Upcoming and Past as sub tabs on the grey,
   Book and More at the row's end; every meeting its own container,
   opened in place. The row hangs its day, title and times, how soon or how
   it went, and a chevron; its opened body lines up under the title. */
.dealsbar.mtgbar { overflow: visible; flex-wrap: wrap; row-gap: 8px }
.mtgbar .mtgtools { margin-left: auto; flex: 0 0 auto }
.mtgcard > .mtgrow { padding: 0 }
.mtgcard .mtgrow__toggle { gap: 12px }
.mtgcard .mtgrow__still { min-height: 44px }
.mtgcard .mtgrow__chev { width: 20px }
/* An opened meeting (Rob, 12 Nov 2026): no indent, every section split from
   the next by a hairline with 24px of white either side. */
.mtgcard .mtgrow__body { gap: 0; padding: 20px 0 0 }
.mtgcard .mtgrow__body > * + * { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--hair) }
.mtgprep { min-width: 0 }
.mtgcard .mtgpart { gap: 14px }
/* The objective leads, larger than anything under it. */
.mtgprep__aim { margin: 0; line-height: 1.35; text-wrap: balance }
.mtgsay__body b { font-weight: var(--weight-strong) }
.mtgrow.is-past .mtgdate { background: color-mix(in srgb, var(--ink) 6%, transparent) }
.mtgrow.is-past .mtgdate__mon { color: var(--muted) }
.drawer__body .mtgrow__out.is-time { color: var(--text); font-weight: 600 }
.drawer__body .mtgrow__out.is-soon { color: var(--coral); font-weight: 600 }
/* The way in: Join, the notetaker and Copy prep, in one row. */
.mtgacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px }
.mtgbot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted) }
.mtgbot .ms { font-size: 17px }
.mtgbot.is-on, .mtgbot.is-live { color: var(--text) }
.mtgbot.is-off, .mtgbot.is-rec { color: var(--bad) }
.mtgpart__n { margin-left: 8px; font-size: 12.5px; font-weight: 500; color: var(--muted) }
/* The notetaker's switch as one unit (Rob, 12 Nov 2026): outlined, the
   height and corner of the small buttons beside it, its mark and word
   then the switch inside, the whole of it the control. */
.drawer__body button.mtgswitch {
  display: inline-flex; align-items: center; gap: 8px; height: var(--control-h); margin: 0; padding: 0 8px;
  border: 1px solid var(--btn-edge); border-radius: var(--r-btn); background: var(--card);
  font: inherit; font-size: 12.5px; font-weight: 600; color: var(--text); cursor: pointer;
}
.drawer__body button.mtgswitch .ms { font-size: 17px }
.drawer__body button.mtgswitch:hover { background: var(--btn-wash) }
.drawer__body button.mtgswitch:focus-visible { outline: none; box-shadow: var(--ring) }
.drawer__body button.mtgswitch:disabled { cursor: progress; opacity: .7 }
/* Inside the unit the track is a size down, so it sits within the button's height. */
.drawer__body button.mtgswitch .mtgswitch__track { flex-basis: 30px; height: 18px; margin-left: 2px }
.drawer__body button.mtgswitch .mtgswitch__track i { top: 3px; left: 3px; width: 12px; height: 12px }
.drawer__body button.mtgswitch[aria-checked="true"] .mtgswitch__track i { transform: translateX(12px) }
.mtgswitch__track {
  position: relative; flex: 0 0 36px; height: 22px; border-radius: 99px;
  background: color-mix(in srgb, var(--ink) 22%, transparent); transition: background .16s ease;
}
.mtgswitch__track i {
  position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #FFF; box-shadow: 0 1px 2px rgba(16, 33, 31, .25); transition: transform .16s ease;
}
.mtgswitch[aria-checked="true"] .mtgswitch__track { background: var(--teal) }
.mtgswitch[aria-checked="true"] .mtgswitch__track i { transform: translateX(14px) }

/* What has been said, what they pushed back with and what they wait on: a
   row each, its mark on the left, then what was said and where, split by
   hairlines, the first flush under its heading. Where it was said opens it. */
.mtgsays { list-style: none; margin: 0; padding: 0 }
.mtgsay { display: flex; align-items: flex-start; gap: 12px; padding: var(--dr-space-row) 0 }
.mtgsay:first-child { padding-top: 0 }
.mtgsay:last-child { padding-bottom: 0 }
.mtgsay + .mtgsay { border-top: 1px solid var(--hair) }
.mtgsay__mark { flex: 0 0 22px; min-height: 24px; display: grid; place-items: center; color: var(--text) }
.mtgsay__mark .ms { font-size: 20px }
.mtgsay__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px }
.mtgsay__body { margin: 0; overflow-wrap: anywhere; text-wrap: pretty }
.mtgsay__kind { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px }
.mtgsay__state, .mtgsay__answer { display: inline-flex; align-items: center; gap: 4px }
.mtgsay__state .ms, .mtgsay__answer .ms { font-size: 15px }
.mtgsay__answer { align-items: flex-start }
.mtgsay__answer .ms { margin-top: 2px }
.mtgsay__src {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 0; border: 0; background: none; font: inherit; text-align: left;
}
.mtgsay__src .channel-mark, .mtgsay__src .ms { flex: 0 0 auto }
.mtgsay__src .ms { font-size: 14px }
button.mtgsay__src { min-height: 32px; border-radius: 6px; cursor: pointer }
button.mtgsay__src:hover > span { color: var(--coral) }
button.mtgsay__src:focus-visible { outline: none; box-shadow: var(--ring) }
.drawer__body .mtgsay.is-met .mtgsay__mark, .drawer__body .mtgsay.is-met .mtgsay__state { color: #1F7A4A }

/* Who's coming: a row a person, their face, name and title, then their part
   and whether a rep confirmed it at the right end. Whoever decides and is not
   invited follows under its own heading; the rep's own side and anyone else
   on the invite close the container. */
.mtgwhos { list-style: none; margin: 0; padding: 0 }
.mtgwho + .mtgwho { border-top: 1px solid var(--hair) }
.mtgwho__line {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 0;
  border: 0; background: none; font: inherit; color: inherit; text-align: left;
}
.mtgwhos > .mtgwho:first-child .mtgwho__line { padding-top: 0; min-height: 46px }
button.mtgwho__line { border-radius: 8px; cursor: pointer }
button.mtgwho__line:hover .mtgwho__name { color: var(--coral) }
button.mtgwho__line:focus-visible { outline: none; box-shadow: var(--ring) }
.mtgwho__face.avatar { flex: 0 0 36px; width: 36px; height: 36px; font-size: 12px }
.mtgwho__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px }
.mtgwho__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

/* The three every meeting gives, as columns split by hairlines like Contact
   methods: each its icon in its colour and its word, then its points. A part
   nobody spoke to keeps its place, faded. One part a row on a phone. */
.mbrief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 }
.mbrief__part {
  --tone: var(--teal); --tone-ink: color-mix(in srgb, var(--teal) 62%, var(--ink));
  min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 0 18px;
}
.mbrief__part:first-child { padding-left: 0 }
.mbrief__part:last-child { padding-right: 0 }
.mbrief__part + .mbrief__part { border-left: 1px solid var(--hair) }
.mbrief__part--worries { --tone: var(--amber); --tone-ink: #8A5A00 }
.mbrief__part--fixes { --tone: var(--good); --tone-ink: #23794C }
.mbrief__head { display: flex; align-items: center; gap: 6px; margin: 0 }
.mbrief__head .ms { font-size: 19px; color: var(--text); font-variation-settings: 'FILL' 1 }
.mbrief__pts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px }
.mbrief__pts li { position: relative; padding-left: 14px; overflow-wrap: anywhere }
.mbrief__pts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--text) }
/* A prep's point says where it came from: Said in the part's colour, or
   Expected in grey with a hollow dot, so a guess never reads as their words. */
.mbrief__part.is-empty .mbrief__head, .mbrief__part.is-empty .mbrief__head .ms { color: var(--muted) }
.mbrief__none { font-size: 12.5px; color: var(--muted) }

/* The agenda, a numbered row an item with its minutes on the right. */
.mtgagenda__list { list-style: none; margin: 0; padding: 0 }
.mtgagenda__row { display: flex; align-items: baseline; gap: 12px; padding: var(--dr-space-row) 0 }
.mtgagenda__row:first-child { padding-top: 0 }
.mtgagenda__row:last-child { padding-bottom: 0 }
.mtgagenda__row + .mtgagenda__row { border-top: 1px solid var(--hair) }
.mtgagenda__n { flex: 0 0 18px; font-size: 15px; font-weight: var(--weight-strong); color: var(--muted); font-variant-numeric: tabular-nums }
.mtgagenda__item { flex: 1; min-width: 0 }

/* Bring and Ask, side by side, split by a hairline. */
.mtgcols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr) }
.mtgcol { min-width: 0; padding: 0 20px }
.mtgcol:first-child { padding-left: 0 }
.mtgcol:last-child { padding-right: 0 }
.mtgcol + .mtgcol { border-left: 1px solid var(--hair) }
.mtgcol__list { list-style: none; margin: 0; padding: 0 }
.mtgcol__list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0 }
.mtgcol__list li:first-child { padding-top: 0 }
.mtgcol__list li + li { border-top: 1px solid var(--hair) }


@media (max-width: 640px) {
  .mtgform__row { grid-template-columns: minmax(0, 1fr) }
  .mtgrow__body { margin-left: 0; padding-left: 0 }
  .mbrief, .mtgcols { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row }
  .mbrief__part, .mtgcol { padding: 0 }
  .mbrief__part + .mbrief__part, .mtgcol + .mtgcol { border-left: 0; border-top: 1px solid var(--hair); margin-top: 16px; padding-top: 16px }
  /* A touch target on a phone. */
  button.mtgsay__src { min-height: 44px }
}
@media (prefers-reduced-motion: reduce) {
  .mtgrow__chev .ms, .mtgfold summary .ms, .mtgswitch__track, .mtgswitch__track i { transition: none }
  .mtgrow__state .ms { animation: none }
}

/* Held opens what came out of a meeting on Today, under its row. */
.mtg--capture { align-items: flex-start }
.mtg--capture .feed__dot { margin-top: 2px }

.feed__dot--note { background: color-mix(in srgb, var(--amber) 22%, transparent); color: #6B4A00 }
.feed__dot--none { background: var(--page); color: var(--muted) }
.feed__note { font-size: 13.5px; line-height: 1.6; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; margin-top: 4px }

/* A client: since when. */
.cust { display: flex; padding-top: 16px; border-top: 1px solid var(--hair) }
.cust__fig { display: flex; flex-direction: column; gap: 4px; min-width: 0 }
.cust__fig b { font-size: 20px; font-weight: var(--weight-strong); letter-spacing: -.02em; line-height: 1.2 }

/* Delete: a quiet red link at the foot of the edit form, and a short dialog. */
.linkbtn--bad { color: #C0362C; display: inline-flex; align-items: center; gap: 6px; text-decoration: none }
.linkbtn--bad:hover { color: #A32C24 }
.linkbtn--bad .ms { font-size: 17px }
.delctl { margin-top: 18px }
.delask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px }
.delask__q { flex: 1 0 100%; font-size: 14px; color: #C0362C }
.delask .btn { display: inline-flex; align-items: center; gap: 6px }

/* Follow up: the rep's tasks under the cards. */
.fulist {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
}
.fulist .todo__row + .todo__row { border-top: 1px solid var(--hair) }
.todo__late { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; font-size: 12.5px; font-weight: var(--weight-strong); color: #C0362C }
.todo__late .ms { font-size: 15px }

/* Companies with "Show people" on: each company's people under its row, in
   the same columns, indented so the face sits under the company's name. One
   company and its people read as a group: a hairline across the whole table
   after its last person, a rule inset to the faces between the company and
   each of its people, and a tree line from the company's mark to each face,
   so whose people they are is drawn rather than inferred from indent. The
   lines are clipped by their own row, so each row draws only its part.

   The people are always on the page and the toggle only shows or hides
   them, so turning it on or off redraws nothing. */
.table__toggle { flex: 0 0 auto }
.table:not(.table--people) .corow--person { display: none }
.table--people .corow--parent { border-bottom: none; padding-bottom: 24px; overflow: hidden }
.corow--person { position: relative; padding-top: 16px; padding-bottom: 16px; border-bottom: none; overflow: hidden }
.corow--lastperson { border-bottom: 1px solid var(--hair) }
/* The rule above each person starts where the faces do (the row's 24px
   padding and the 46px indent), so the tree runs clear of it. */
.corow--person::before {
  content: ""; position: absolute; left: 70px; right: 0; top: 0;
  border-top: 1px solid var(--hair);
}
.corow__who { position: relative; gap: 10px; min-width: 0; padding-left: 46px }
/* The company's mark is 34px and centred in its cell: the stem leaves from
   its bottom edge, at its middle. */
.table--people .corow--parent > :first-child { position: relative }
.table--people .corow--parent > :first-child::after {
  content: ""; position: absolute; left: 16.5px; top: calc(50% + 17px); height: 100px;
  border-left: 1px solid var(--line);
}
/* Down from the row above, round the corner and up to the face's edge (the
   face starts 46px in); on through to the next person unless this is the
   last. The line on through starts where the corner starts to turn, not
   below it, so the stem runs unbroken past each branch. */
.corow--person .corow__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;
}
.corow--person:not(.corow--lastperson) .corow__who::after {
  content: ""; position: absolute; left: 16.5px; top: calc(50% - 9px); height: 100px;
  border-left: 1px solid var(--line);
}
.corow--person .corow__mark { width: 28px; height: 28px; flex-basis: 28px; border-radius: 99px; font-size: 10.5px }
/* A person's fit a size down from their company's, as their face is from its
   mark, and centred under it by the column (.corow__fit). */
.corow--person .wheel { width: 30px; height: 30px; flex-basis: 30px }
.corow--person .wheel__inner { width: 22px; height: 22px; font-size: 10.5px }
.corow--person .corow__name { font-size: 13.5px; font-weight: 500 }
.corow__face { background: var(--teal-soft, #E3F1EE); color: #04635C; overflow: hidden }
.corow__warn { display: inline-flex; align-items: center; gap: 4px; color: #B23A22; font-weight: var(--weight-strong) }
.corow__warn .ms { font-size: 14px }
@media (max-width: 900px) {
  /* No room for the tree on a phone's narrow first column: the indent and
     the lighter row carry it, and the rules start at the faces there too. */
  .corow__who { padding-left: 14px }
  .corow--person::before { left: 30px }
  .table--people .corow--parent > :first-child::after, .corow--person .corow__who::before,
  .corow--person:not(.corow--lastperson) .corow__who::after { content: none }
}

/* Later: putting a To do card off. Its own narrow column after the step, so
   the step keeps its place; the menu hangs off it on the page. */
.later {
  pointer-events: auto; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
  height: 32px; padding: 0 10px; border: 1px solid transparent; border-radius: var(--r-btn-sm); background: none;
  font: inherit; font-size: 12.5px; font-weight: var(--weight-strong); color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.later .ms { font-size: 17px }
.later:hover, .later[aria-expanded="true"] { color: var(--text); border-color: var(--line); background: var(--card) }
.later:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px }
.later:active { transform: translateY(1px) }
.latermenu {
  position: fixed; z-index: 60; min-width: 220px; padding: 6px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-top);
}
.latermenu__item {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: 9px;
  background: none; font: inherit; font-size: 13.5px; font-weight: var(--weight-strong); color: var(--text); cursor: pointer; text-align: left;
}
.latermenu__item .ms { font-size: 18px; color: var(--muted) }
.latermenu__item:hover, .latermenu__item:focus-visible { background: var(--page); outline: none }
/* An option there is no way to use (a channel with no address): faded, no wash. */
.latermenu__item:disabled { opacity: .4; cursor: default; background: none }
.latermenu__day { margin-left: auto; padding-left: 16px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums }
.latermenu__item--bad, .latermenu__item--bad .ms { color: #B23A22 }
.latermenu__rule { height: 1px; margin: 5px 4px; background: var(--hair) }
@media (prefers-reduced-motion: reduce) { .later { transition: none } .later:active { transform: none } }

/* A list whose rows can be put off: a sixth column for Later. */
.worklist--later { --wl-cols: minmax(0, 1.3fr) minmax(0, 1.15fr) minmax(0, 1.5fr) minmax(0, .85fr) 150px 92px }
.worklist--later .worklist__head span:nth-child(5) { text-align: right }
.worklist .who__foot > .later { flex: none }
@container (min-width: 760px) {
  .worklist--later .who__foot > .later { grid-column: 6; grid-row: 1; justify-self: end }
}
@container (min-width: 760px) and (max-width: 1099.98px) {
  .worklist--later .worklist__head, .worklist--later > .seqcard {
    --wl-cols: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, .9fr) 140px 88px;
  }
}
/* Put off: the row folds to one line that says until when, with Undo. */
.worklist > .worklist__off {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; text-align: left;
  min-height: 56px; padding: 8px 18px; background: var(--page); cursor: default;
}
.worklist > .worklist__off:hover { background: var(--page) }
.worklist__offwhat { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 13.5px; color: var(--muted) }
.worklist__offwhat .ms { font-size: 18px }
.worklist__offwhat b { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.worklist__offwhat span:last-child { white-space: nowrap }

/* Cold outreach: a held sequence says so where the others say Open. */
.who__held, .seqcard:hover .who__held { color: #8A5A00 }
.who__held .ms { font-size: 17px }

/* Waiting on: what a prospect said has to happen before they buy. A section
   of the contact's Overview with a heading, its waits as rows on the drawer
   split by hairlines; the state is coloured words beside the name. */
.ready { display: flex; flex-direction: column; gap: 10px }
.ready__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px }
.ready__head h4 { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: var(--weight-strong) }
.ready__head h4 .ms { font-size: 19px; color: inherit }
.ready__head .btn, .ready__acts .btn { display: inline-flex; align-items: center; gap: 6px }
.ready__list { list-style: none; margin: 0; padding: 0 }
.ready__row { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--hair) }
.ready__row:first-child { border-top: 0; padding-top: 2px }
.ready__row.is-past { opacity: .62 }
.ready__icon .ms { font-size: 22px }
.ready__body { min-width: 0 }
.ready__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13.5px }
.ready__top b { font-weight: var(--weight-strong); min-width: 0 }
.ready__state { flex: 0 0 auto; font-size: 12px; font-weight: var(--weight-strong); white-space: nowrap }
.ready__quote {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: var(--text);
}
.ready__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 8px; font-size: 12px; color: var(--muted) }
.ready__src, .ready__news {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0;
  font: inherit; color: var(--muted); background: none; border: 0; padding: 0;
}
.ready__news .ms, .ready__src .ms { font-size: 15px }
button.ready__src, .ready__news { cursor: pointer }
button.ready__src:hover, .ready__news:hover { color: var(--coral) }
.ready__news { color: var(--text) }
button.ready__src:hover, .ready__news:hover { color: var(--coral) }
button.ready__src:focus-visible, .ready__news:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px }
.ready__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px }

.ready__form { display: flex; flex-direction: column; gap: 14px; padding: 6px 0 10px }
.ready__form .field + .field { margin-top: 0 }
.ready__text { min-height: 84px }
.ready__kinds { display: flex; flex-wrap: wrap; gap: 6px }
.ready__kinds .chip { height: 34px; padding: 0 12px; gap: 6px }
.ready__kinds .ms { font-size: 16px }
.ready__pair { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 14px; align-items: start }
.ready__when { height: 34px; padding: 0 10px }
@media (max-width: 600px) { .ready__pair { grid-template-columns: minmax(0, 1fr) } }
/* On the Thread, under the message or meeting it is logged from. */
.thread > .ready__form { padding: 4px 4px 8px }

/* A wait Candid read in their reply: the words it read, marked in the
   bubble, and under the message the wait with Watch for it beside it. */
.bubble__said { background: color-mix(in srgb, #E8A317 26%, transparent); color: inherit; border-radius: 3px; padding: 0 2px }
/* What else Candid read in their message, on the line under it beside how
   the reply was read: an icon, a short label, the thing in ink. A wait that
   has happened is the thing in green with a tick. */
.msg__read { display: inline-flex; align-items: center; gap: 5px; min-width: 0; font-size: 12px; color: var(--muted) }
.msg__read .ms { font-size: 15px; color: inherit }
.msg__read b { font-weight: var(--weight-strong); color: var(--text); overflow-wrap: anywhere }
.msg__read.statemark--good, .msg__read.statemark--good b { color: #23794C }
/* The buying signal a reply carries: a stamp joined to the foot of the
   message, one line. "Buying signal logged" in amber while Candid watches,
   "Buying signal confirmed" in green once it has happened, then the day and
   where it was seen (Rob, 16 Nov 2026). The message and its stamp are one
   width; the bubble gives up its bottom corners to it. */
.msg__plain { display: contents }
.msg__signed { display: grid; max-width: 100%; min-width: 0 }
.msg .msg__signed > .bubble.bubble { border-bottom-left-radius: 0; border-bottom-right-radius: 0 }
.sigstamp {
  --sig: #E8A317; --sig-ink: #8A5A00;
  display: flex; align-items: center; gap: 6px; min-width: 0; padding: 8px 16px;
  border-radius: 0 0 18px 18px; font-size: 13px; line-height: 1.3;
  background: color-mix(in srgb, var(--sig) 16%, var(--card));
  border-top: 1px solid color-mix(in srgb, var(--sig) 30%, transparent);
}
/* It takes the bubble's own corner and edge, so the two read as one. */
.msg .msg__signed > .bubble--linkedin + .sigstamp { border-radius: 0 0 8px 8px }
.threadtab .msg__signed > .bubble--them:not(.bubble--email) + .sigstamp { box-shadow: 0 0 0 1px rgba(16, 33, 31, .07) }
.sigstamp.is-met { --sig: #23794C; --sig-ink: #23794C; background: color-mix(in srgb, var(--sig) 12%, var(--card)) }
.sigstamp.is-off { --sig: #8A8A85; --sig-ink: var(--muted) }
.sigstamp > .ms { flex: none; font-size: 16px; color: var(--sig-ink) }
.sigstamp__word { flex: none; font-weight: 600; color: var(--sig-ink) }
.sigstamp__what { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-variant-numeric: tabular-nums }
.sigstamp__what::before, .sigstamp__when::before { content: "·"; margin-right: 6px }
.sigstamp__when { flex: none; color: var(--muted); font-variant-numeric: tabular-nums }
.sigstamp__found { flex: none; display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding-left: 8px; font-weight: 500; color: var(--text); text-decoration: none }
.sigstamp__found .ms { font-size: 15px; color: inherit }
.sigstamp__found:hover { color: var(--coral) }
.sigstamp__found:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px }
/* On a phone the label has the first line and the day the second; what
   happened is left to the marked words above. */
@media (max-width: 560px) {
  .sigstamp { flex-wrap: wrap; row-gap: 2px }
  .sigstamp__word { flex: 1 0 calc(100% - 22px) }
  .sigstamp.is-met .sigstamp__what { display: none }
  .sigstamp__what, .sigstamp__when { padding-left: 22px }
  .sigstamp__what::before, .sigstamp__when::before { content: none }
}
/* Hovering the stamp lights the words it was read in. */
.msg.is-lit .bubble__said { background: color-mix(in srgb, #E8A317 48%, transparent) }
@media (prefers-reduced-motion: no-preference) { .bubble__said { transition: background-color .15s ease } }
/* What they said about their business, under the reply, note, call or
   meeting it was heard in, as "Watching for" sits: each fact's mark, its name
   and what they said. Already kept, so nothing to press. */
.heardline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 2px 4px 10px 44px }
.heardline__fact { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 13.5px }
.heardline__fact .ms { font-size: 18px; color: var(--text) }
.heardline__fact b { font-weight: var(--weight-strong); overflow-wrap: anywhere }
@media (max-width: 600px) { .heardline { padding-left: 4px } }
/* Inside a row in Notes, or the after-meeting panel, it starts with the words. */
.noterow .heardline { padding: 8px 0 0 }
/* Opened from Overview's link back: the message or meeting it came from, lit for a moment. */
.said--flash { animation: said-flash 1.8s ease }
@keyframes said-flash {
  0%, 45% { border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 28%, transparent) }
}
@media (prefers-reduced-motion: reduce) { .said--flash { animation: none; border-color: var(--teal) } }

/* An open task above a record's feed: its box, what it is, when it is due. */
.mtg--task .todo__check { flex: 0 0 auto }

/* WhatsApp on Me: the link row keeps its state beside the number, and the
   day's follow-ups sit under it as a labelled bar. */
.linkrow > span.statemark:not(.ms):not(.pill) { flex: none; font-size: 12.5px; font-weight: 600 }
.linkrow > span.statemark--good:not(.ms) { color: #23794C }
.linkrow > span.statemark--bad:not(.ms) { color: var(--bad) }
.linkrow > .statemark .ms { color: inherit; font-size: 16px }
.wameter { margin-top: 14px }
.wameter__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px }
.wameter__head b { font-size: 12.5px; font-variant-numeric: tabular-nums }
.wameter .mbbar { margin-bottom: 0 }
.wameter .mbbar > div { background: #1FA855 }

/* The WhatsApp after email 2 in a sequence's drawer: the mark on a pale
   green disc, and a box the size of a text rather than an email. */
.step .step__num--wa,
.step--pending .step__num--wa,
.step--go .step__num--wa { background: color-mix(in srgb, #25D366 16%, var(--card)) }
.step__off--wa { color: color-mix(in srgb, var(--teal) 62%, var(--ink)) }
.step .textarea[aria-label="WhatsApp message"] { min-height: 96px }

/* WhatsApps to approve: rows straight on the card, split by hairlines. Who
   on the left (opens their thread), the message as it will go in the middle,
   Skip and Approve on the right. On a phone the three stack. */
.walist { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card) }
.warow {
  display: grid; grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto;
  gap: 16px; align-items: start; padding: 16px 20px;
}
.warow + .warow { border-top: 1px solid var(--hair) }
/* Approved or skipped: the row fades, what happens and its Undo stay clear. */
.warow.is-done > :not(.warow__tools) { opacity: .6 }
.warow__who {
  display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px;
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit;
}
.warow__who .who__mark { flex: none; width: 36px; height: 36px; border-radius: 10px; font-size: 12px }
.warow__name { display: flex; flex-direction: column; min-width: 0 }
.warow__name b, .warow__name .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.warow__name b { font-size: 14px }
.warow__name .muted { font-size: 12px }
.warow__who:hover b { color: var(--coral) }
.warow__who:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 8px }
.warow__body { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.textarea.warow__text { min-height: 72px; font-size: 13.5px; line-height: 1.5; resize: vertical }
.warow__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted) }
.warow__meta .ms { font-size: 15px }
.warow__tools { display: flex; gap: 8px; align-items: center; padding-top: 4px }
.warow__go { background: #1C7D45; color: #FFF }
.warow__go:hover:not(:disabled) { background: #176A3A; opacity: 1 }
.warow__state { white-space: nowrap }
.waempty { display: flex; align-items: center; gap: 12px; padding: 20px; border: 1.5px dashed var(--line); border-radius: var(--r-card) }
.waempty b { margin-right: auto }
@media (max-width: 760px) {
  .warow { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px }
  .warow__tools { justify-content: flex-end }
}
