/* 💬 Conversations — the contact's GetBookedUp message thread (Allan, 30 Oct 2026).
 * ONE stylesheet for both places it is drawn: the Full record's tab (record.html)
 * and the portal card's section + its full-screen view (app.html).
 *
 * The native look Allan approved on the mock-ups: Inter, the record's #006aac,
 * 8px cards / 6px small controls — NO 999px pills ("a little too rounded") — and
 * chip edges dark enough to see each divider (#7d8a9a on #f1f4f7, his ask).
 * Every state is said in words with an icon; colour is never the only signal
 * (Allan is colourblind). Tokens come from styles.css (--accent, --ink, --line…). */

/* Neither page has a global [hidden] rule, so any display below would beat the
   attribute: a closed CC / BCC box stayed open (and what was typed in it was
   not sent), "↺ Undo all changes" and "✓ Mark as read (0 unread)" always showed.
   Hidden means hidden, everywhere in the thread and the template panel. */
.cfc [hidden], .cfc-overlay [hidden] { display: none !important; }

.cfc {
  --cfc-chip-edge: #7d8a9a;
  --cfc-chip-fill: #f1f4f7;
  --cfc-out: #e8f1f8;
  --cfc-out-edge: #a9c8e0;
  --cfc-note: #fff6db;
  --cfc-note-edge: #d9bf6a;
  display: flex; flex-direction: column;
  flex: 1; min-width: 0; min-height: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
}

/* ── header: chips, activity switch, refresh ───────────────────────────── */
.cfc-head {
  flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 8px 11px; background: var(--card); border-bottom: 1px solid var(--line);
}
.cfc-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.cfc-chip {
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  min-height: 30px; padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--cfc-chip-edge); background: var(--cfc-chip-fill); color: var(--ink);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.cfc-chip:hover { border-color: var(--accent); }
/* Picked = FILLED, the record's selected-tab rule — luminance, not hue. */
.cfc-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cfc-chip__n { font-size: 11px; font-weight: 700; opacity: .85; font-variant-numeric: tabular-nums; }
.cfc-chip:disabled { opacity: .55; cursor: default; }

.cfc-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.cfc-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; user-select: none; }
.cfc-switch input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.cfc-btn {
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  min-height: 30px; padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; text-decoration: none;
}
.cfc-btn:hover { border-color: var(--accent); color: var(--accent); }
.cfc-btn:disabled { opacity: .6; cursor: default; }
.cfc-btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cfc-btn--primary:hover { color: var(--accent-ink); filter: brightness(1.08); }
.cfc-readat { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
/* ⓘ The guide, in WORDS — never an icon alone. */
.cfc-help { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.cfc-help:hover { text-decoration: underline; }

/* ── 🔍 search inside the conversation ────────────────────────────────────
   Under the header, above the thread, so every result and every "Searching…"
   or "not found" line is on screen beside the box that asked. The list scrolls
   on its own and the thread stays in view below it. */
.cfc-find {
  flex: none; display: grid; gap: 6px; padding: 8px 11px;
  background: var(--card); border-bottom: 1px solid var(--line);
}
/* The card page has no global [hidden] rule, and display:grid above would beat it. */
.cfc-find[hidden] { display: none; }
/* 🔍 Search while its panel is open = FILLED, like a picked chip. */
.cfc-btn[data-cfc="find-open"][aria-expanded="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cfc-find__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.cfc-find__q {
  flex: 1 1 140px; min-width: 0; min-height: 30px; box-sizing: border-box;
  font: inherit; font-size: 14px; color: var(--ink); background: var(--card);
  padding: 4px 8px; border: 1px solid var(--cfc-chip-edge); border-radius: 6px;
}
.cfc-find__q:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.cfc-find__said { font-size: 13px; color: var(--ink); }
.cfc-find__said:empty, .cfc-find__list:empty { display: none; }
.cfc-find__step { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cfc-find__step[hidden] { display: none; }
.cfc-find__pos { font-size: 13px; font-weight: 700; margin-right: 4px; font-variant-numeric: tabular-nums; }
.cfc-find__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 220px; overflow-y: auto; }
/* A short laptop screen keeps more of the thread in view while choosing. */
@media (max-height: 760px) { .cfc-find__list { max-height: 150px; } }
.cfc-find__hit {
  width: 100%; display: grid; gap: 2px; text-align: left; cursor: pointer;
  font: inherit; font-size: 13px; line-height: 1.4; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px;
}
.cfc-find__hit:hover { border-color: var(--accent); }
.cfc-find__hit:disabled { cursor: progress; opacity: .75; }
/* The one gone to: a thick bar on its left as well as the edge — never colour alone. */
.cfc-find__hit[aria-current="true"] { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent); }
.cfc-find__top { font-size: 12px; color: var(--ink-soft); }
.cfc-find__top b { color: var(--ink); font-weight: 700; }
.cfc-find__date { color: var(--ink); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.cfc-find__subj { font-weight: 600; overflow-wrap: anywhere; }
.cfc-find__snip { overflow-wrap: anywhere; }
/* The searched-for words: filled AND edged AND bold, so it shows without colour. */
.cfc mark.cfc-hit {
  background: #ffe58a; color: inherit; font-weight: 700;
  border-radius: 2px; box-shadow: 0 0 0 1px #9c7a00; padding: 0 1px;
}
.cfc-msg.is-found { outline: 3px solid var(--accent); outline-offset: 2px; }
.cfc-found { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ── the thread ───────────────────────────────────────────────────────── */
.cfc-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 11px 14px; container-type: inline-size; }
.cfc-note-line, .cfc-empty, .cfc-err {
  font-size: 13px; color: var(--ink-soft); text-align: center; padding: 14px 8px;
}
.cfc-err { color: var(--ink); background: #fdf0d5; border: 1px solid #f0dcb0; border-radius: 8px; text-align: left; }
.cfc-err .cfc-btn { margin-top: 8px; }
.cfc-partial { font-size: 12px; color: #8a5a00; background: #fdf0d5; border: 1px solid #f0dcb0; border-radius: 6px; padding: 6px 10px; margin-bottom: 8px; }
.cfc-older { display: flex; justify-content: center; margin: 2px 0 10px; }

.cfc-day {
  display: flex; align-items: center; gap: 10px; margin: 12px 0 8px;
  font-size: 12px; font-weight: 700; color: var(--ink-soft);
}
.cfc-day::before, .cfc-day::after { content: ''; flex: 1; border-top: 1px solid var(--line); }

.cfc-row { display: flex; margin: 6px 0; }
.cfc-row--in { justify-content: flex-start; }
.cfc-row--out { justify-content: flex-end; }
.cfc-row--note { justify-content: center; }

.cfc-msg {
  max-width: min(78%, 640px); min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 10px 6px; font-size: 14px; line-height: 1.45;
}
.cfc-row--out .cfc-msg { background: var(--cfc-out); border-color: var(--cfc-out-edge); }
.cfc-row--note .cfc-msg { background: var(--cfc-note); border-color: var(--cfc-note-edge); max-width: min(92%, 720px); width: 100%; }
/* ↪ Stray email replies: our note as the amber box from Allan's sketch — a link
   icon and words say what it is, never the colour alone. */
.cfc-row--note .cfc-msg.cfc-stray { background: #fff7e6; border: 2px solid #b26a00; }
.cfc-stray__head { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--ink); white-space: pre-wrap; }
.cfc-stray__icon { flex-shrink: 0; margin-top: 2px; color: #8a5200; }
.cfc-stray__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cfc-stray__acts .cfc-btn { text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.cfc-msg--mail { width: min(78%, 640px); }
/* The middle two thirds (Allan, 5 Nov 2026 — a user found theirs-far-left,
   ours-far-right "very extreme"). Keyed to the THREAD's width (.cfc-scroll is
   the container), not the screen's, so a phone, or a narrow record beside its
   side panel, stays full width. The bubbles get a larger share of the narrower
   column so they are not squeezed. AFTER the rules above, or they win. */
@container (min-width: 641px) {
  .cfc-list, .cfc-previewlabel { width: 66.667%; margin-left: auto; margin-right: auto; }
  .cfc-msg { max-width: min(88%, 640px); }
  .cfc-msg--mail { width: min(88%, 640px); }
}

.cfc-msg__top { display: flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--ink-soft); margin-bottom: 3px; }
.cfc-msg__ch { font-weight: 700; color: var(--ink); }
.cfc-msg__time { margin-left: auto; white-space: nowrap; }
/* Text is ALWAYS selectable — the whole point Allan started from: native GHL
   will not let you copy an email's words. */
.cfc-msg__text { white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
.cfc-msg__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: 12px; color: var(--ink-soft); }
.cfc-msg__err { color: #8a2a00; font-weight: 600; }
.cfc-msg__nums { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cfc-copy {
  font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; background: none; color: var(--accent);
  padding: 2px 6px; border-radius: 6px; margin-left: auto;
}
.cfc-copy:hover { border-color: var(--line); background: var(--card); }

/* 📎 Attachments: a photo as a small picture, anything else as a named link. */
.cfc-files { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.cfc-file {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
  font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none;
  padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--card);
  overflow-wrap: anywhere;
}
.cfc-file:hover { border-color: var(--accent); }
.cfc-file--img { padding: 2px; }
.cfc-file--img img { display: block; max-width: 160px; max-height: 120px; border-radius: 4px; }
/* ▶ a call's recording */
.cfc-play { margin-top: 6px; }
/* A fixed width, not a percentage: a bubble is only as wide as its words, and
   100% of a short "Voicemail · 24 s" squeezed the player to a stub. */
.cfc-audio { display: block; width: 280px; max-width: 100%; height: 36px; }

/* Activity (opportunity created, booking made…) — only with the switch on. */
.cfc-act { text-align: center; font-size: 12px; color: var(--ink-soft); margin: 4px 0; }
.cfc-act span { display: inline-block; padding: 2px 8px; border: 1px dashed var(--line); border-radius: 6px; background: var(--card); }

/* ── email card ───────────────────────────────────────────────────────── */
.cfc-mail__subject { font-weight: 700; overflow-wrap: anywhere; }
.cfc-mail__preview {
  margin-top: 2px; color: var(--ink-soft); font-size: 13px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  user-select: text; -webkit-user-select: text;
}
/* Opened, the email itself is on screen — its first lines would be said twice. */
.cfc-mail.is-open > .cfc-mail__preview { display: none; }
.cfc-mail__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cfc-mail__one { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.cfc-mail__one:first-child { margin-top: 4px; border-top: 0; padding-top: 0; }
.cfc-mail__meta { font-size: 12px; color: var(--ink-soft); overflow-wrap: anywhere; margin-bottom: 6px; user-select: text; -webkit-user-select: text; }
.cfc-mail__meta b { color: var(--ink); font-weight: 600; }
.cfc-mail__frame { display: block; width: 100%; height: 60px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.cfc-mail__tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; }
.cfc-mail__said { font-size: 12px; color: var(--ink-soft); }

/* ── the portal card's section: a 3-message preview ───────────────────── */
.cfc--preview { background: none; }
.cfc-previewlabel { font-size: 13px; font-weight: 600; color: var(--ink-soft); padding: 2px 2px 0; }
.cfc--preview .cfc-scroll { padding: 4px 0 0; overflow: visible; }
.cfc--preview .cfc-msg { max-width: 88%; font-size: 14px; }
.cfc--preview .cfc-msg__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cfc-open { display: flex; gap: 8px; margin-top: 8px; }
.cfc-open .cfc-btn { min-height: 44px; flex: 1; justify-content: center; font-size: 15px; }

/* ── full screen (card's "Open conversation ›", and ⤢ on an email) ─────── */
.cfc-dialog {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  width: min(900px, 96vw); margin: auto;
  background: var(--bg); border-radius: 8px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
}
.cfc-dialog__head {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 14px; background: var(--card); border-bottom: 1px solid var(--line);
}
.cfc-dialog__title { flex: 1; min-width: 0; margin: 0; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.cfc-dialog__close {
  flex: none; min-width: 44px; min-height: 44px; border: 0; background: none;
  font-size: 22px; line-height: 1; color: var(--ink-soft); cursor: pointer; border-radius: 6px;
}
.cfc-dialog__close:hover { background: var(--pill); color: var(--ink); }
.cfc-dialog__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cfc-mailfull .cfc-dialog__body { padding: 10px 12px; overflow-y: auto; background: var(--card); }
.cfc-mailfull .cfc-mail__frame { border: 0; }
/* ── ✍ the reply box (Stage 2), pinned under the thread ────────────────── */
/* Its own column piece: the thread above shrinks, never the box. On a short
   screen the box scrolls inside itself and its foot — Send, "Send this…?",
   and what happened — stays stuck to the bottom, so every message about a send
   is on screen without scrolling. */
.cfc-cmp {
  flex: none; max-height: 62%; overflow-y: auto;
  display: flex; flex-direction: column; gap: 7px;
  padding: 8px 11px 0; background: var(--card); border-top: 1px solid var(--line);
}
.cfc-cmp__tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.cfc-cmp__tab {
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  min-height: 30px; padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--cfc-chip-edge); background: var(--cfc-chip-fill); color: var(--ink);
}
.cfc-cmp__tab:hover { border-color: var(--accent); }
.cfc-cmp__tab[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cfc-cmp__reply {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
  background: #e6f0f7; border-radius: 6px; padding: 5px 4px 5px 10px; overflow-wrap: anywhere;
}
.cfc-cmp__x {
  margin-left: auto; flex: none; min-width: 32px; min-height: 32px; border: 0; border-radius: 6px;
  background: none; cursor: pointer; font-size: 15px; color: var(--ink-soft);
}
.cfc-cmp__x:hover { background: var(--card); color: var(--ink); }
.cfc-cmp__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* 84px: room for "SENDING AS *", so every box in the email starts in one line. */
.cfc-cmp__row label {
  min-width: 84px; font-size: 11px; font-weight: 700; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .03em;
}
.cfc-cmp__row select, .cfc-cmp__row input {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--ink);
  border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px 9px; background: var(--card);
}
.cfc-cmp__box {
  width: 100%; box-sizing: border-box; min-height: 64px; max-height: 40vh; resize: vertical;
  font: inherit; font-size: 14px; line-height: 1.45; color: var(--ink);
  border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px 10px; background: var(--card);
}
.cfc-cmp__box:focus, .cfc-cmp__row input:focus, .cfc-cmp__row select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 106, 172, .15); outline: 2px solid transparent;
}
.cfc-cmp__info { font-size: 13px; border-radius: 6px; padding: 6px 10px; }
.cfc-cmp__info--note { background: #fff6db; color: #7a4a00; }
/* 📅 Said once, calmly: this business has no diary, so no templates / Sending as. */
.cfc-cmp__info--plain { background: var(--bg); color: var(--ink-soft); border: 1px solid var(--line); }
.cfc-cmp__info--warn { background: #fef3c7; color: #7a3a00; border: 1px solid #fde68a; }
.cfc-cmp__info--warn .cfc-btn { margin-left: 6px; }
.cfc-cmp__tick { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.cfc-cmp__tick input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.cfc-cmp__quoted {
  font-size: 13px; color: var(--ink-soft); white-space: pre-wrap; overflow-wrap: anywhere;
  border-left: 3px solid #c3cad4; padding-left: 10px; max-height: 84px; overflow-y: auto;
}
.cfc-cmp__foot {
  position: sticky; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; gap: 6px;
  margin: 0 -11px; padding: 7px 11px 10px; background: var(--card);
}
/* 🔵 Inside GetBookedUp (conversation-ui.js insideGetBookedUp) its own blue help
   bubble sits in the bottom-right corner of the window, over this frame: 64px
   round, 16px up from the bottom — measured on a computer (9 Nov 2026) and at
   phone size (10 Nov 2026). It covered Send. Allan, 11 Nov 2026: "Move our
   buttons up", so the bar sits above it (16 + 64 + a 6px gap = 86px). Our own
   tab has no bubble and keeps the 10px. */
html.cfc-in-gbu .cfc-cmp__foot { padding-bottom: 86px; }
/* …except where the bubble cannot reach: the full-screen pop-up is centred and at
   most 900px wide, so from 1084px wide (900 + 2 × the bubble's 92px from the
   right) its right edge stops short of the bubble and the thread keeps its room. */
@media (min-width: 1084px) { html.cfc-in-gbu .cfc-dialog .cfc-cmp__foot { padding-bottom: 10px; } }
/* The 📄 template panel scrolls, so its Send can be scrolled clear the same way. */
html.cfc-in-gbu .cft { padding-bottom: 96px; }
.cfc-cmp__bar { display: flex; align-items: center; gap: 10px; }
.cfc-cmp__count { font-size: 12px; color: var(--ink-soft); min-width: 0; overflow-wrap: anywhere; }
.cfc-cmp__send { margin-left: auto; min-height: 36px; font-size: 14px; }
.cfc-cmp__confirm {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; overflow-wrap: anywhere;
  background: #fef3c7; border: 1px solid #fde68a; border-radius: 6px; padding: 7px 10px;
}
.cfc-cmp__confirm span { flex: 1 1 220px; }
/* ⏰ Send later (Allan, 6 Nov 2026): the Later button sits beside Send; its menu
   and the "Set to go …" line sit just above the bar, so both are on screen with
   the button that opened them. */
.cfc-cmp__bar { flex-wrap: wrap; }
.cfc-cmp__laterbtn { margin-left: auto; min-height: 36px; font-size: 14px; }
.cfc-cmp__close + .cfc-cmp__laterbtn, .cfc-cmp__laterbtn + .cfc-cmp__send { margin-left: 0; }
.cfc-cmp__laterbtn[aria-expanded="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cfc-cmp__later {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px;
  border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; background: var(--bg);
}
.cfc-cmp__laterh { font-weight: 700; flex: 1 1 100%; }
.cfc-cmp__latersub { font-weight: 500; color: var(--ink-soft); }
.cfc-cmp__laterpick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1 1 100%; }
.cfc-cmp__laterpick label { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.cfc-cmp__laterpick input {
  font: inherit; font-size: 14px; color: var(--ink); background: var(--card);
  border: 1px solid var(--cfc-chip-edge); border-radius: 6px; padding: 4px 6px; min-height: 30px;
}
.cfc-cmp__laterset {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px;
  border: 1px solid var(--cfc-out-edge); border-left-width: 4px; border-radius: 6px; padding: 6px 10px; background: var(--cfc-out);
}
/* 🟢 WhatsApp: the 24-hour window said in words (open / templates only), and
   the templates as whole tappable rows — picked = FILLED with a ✓, never colour alone. */
.cfc-cmp__wa { border-left: 4px solid var(--line); padding-left: 8px; }
.cfc-cmp__wa--open { border-left-color: #1f6b44; }
.cfc-cmp__wa--closed { border-left-color: #8a5a00; }
.cfc-cmp__watpl { display: grid; gap: 6px; }
.cfc-cmp__watplbtn {
  font: inherit; font-size: 14px; text-align: left; cursor: pointer; min-height: 36px;
  padding: 6px 10px; border-radius: 6px; border: 1px solid var(--cfc-chip-edge); background: var(--card); color: var(--ink);
}
.cfc-cmp__watplbtn:hover { border-color: var(--accent); }
.cfc-cmp__watplbtn[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.cfc-cmp__watplbtn:disabled { opacity: .6; cursor: default; }
.cfc-cmp__wadraft { font-size: 12px; font-weight: 500; }

/* ⏰ On a waiting message in the thread: 🕒 Waiting to go · ✕ Cancel. */
.cfc-later { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cfc-later--mail { display: flex; margin-top: 4px; font-size: 12px; font-weight: 600; }
.cfc-later__ask { font-weight: 600; color: var(--ink); }
/* 📄 Snippets: a button at the end of the tabs, a short list that searches as you type. */
.cfc-cmp__snipbtn { margin-left: auto; }
.cfc-cmp__snip { border: 1px solid var(--line); border-radius: 8px; background: var(--bg); padding: 6px; display: flex; flex-direction: column; gap: 6px; }
.cfc-cmp__sniphead { display: flex; align-items: center; gap: 6px; }
.cfc-cmp__sniphead input {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--ink);
  border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px 9px; background: var(--card);
}
.cfc-cmp__sniphead input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 106, 172, .15); outline: 2px solid transparent; }
.cfc-cmp__sniplist { max-height: 190px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.cfc-cmp__snipitem {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; text-align: left;
  font: inherit; font-size: 13px; color: var(--ink); cursor: pointer;
  border: 1px solid transparent; border-radius: 6px; background: var(--card); padding: 5px 8px;
}
.cfc-cmp__snipitem:hover, .cfc-cmp__snipitem:focus-visible { border-color: var(--accent); }
.cfc-cmp__snipitem:disabled { opacity: .6; cursor: default; }
.cfc-cmp__snipitem span { font-size: 12px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cfc-cmp__snipnote { font-size: 13px; color: var(--ink-soft); padding: 6px 4px; }
.cfc-cmp__snipnote--warn { color: #7a3a00; }
/* What GetBookedUp will do with each {{blank}} left in the message. */
.cfc-cmp__blanks:empty { display: none; }
.cfc-cmp__blanks { display: flex; flex-direction: column; gap: 3px; }
.cfc-cmp__blank { font-size: 12px; color: var(--ink-soft); overflow-wrap: anywhere; }
.cfc-cmp__blank--empty { color: #7a3a00; font-weight: 600; }
.cfc-cmp__said { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.cfc-cmp__said--ok { color: #1f6b44; }
.cfc-cmp__said--busy { color: var(--ink-soft); }
.cfc-cmp__said--err { color: #8a2a00; }

/* ── 📄 the designed-template panel (conversation-template-ui.js) ────────
   ETAS compose's layout and order, as the mock-up Allan approved: the form on
   the left, Sending as + Send under it, the full email on the right. On a phone
   one column — the preview ABOVE Send, so what goes is seen before it goes. */
.cfc-cmp__tplrow .cfc-cmp__tplbtn { border-color: var(--accent); color: var(--accent); }
.cfc-cmp__tplhint { font-size: 12px; color: var(--ink-soft); }
/* The two ways to email (Allan, 5 Nov 2026): a designed template above, a
   simple typed one under this line — its Sending as, Subject and words. */
.cfc-cmp__or { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.cfc-cmp__or::before, .cfc-cmp__or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
/* The hint sits under the select, lined up with it (label 84px + 8px gap). */
.cfc-cmp__sendashint { flex: 1 1 100%; padding-left: 92px; font-size: 12px; color: var(--ink-soft); }
/* 📎 An attachment opened in OUR pop-up (never a new tab — the session would
   not follow it there). The file fills the space; Download + Close underneath. */
.cfc-attview .cfc-dialog__body { display: flex; flex-direction: column; gap: 10px; padding: 12px; min-height: 0; }
.cfc-attview__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: var(--bg); border-radius: 6px; overflow: auto; }
.cfc-attview__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cfc-attview__pdf { width: 100%; height: 100%; min-height: 60vh; border: 0; background: #fff; }
.cfc-attview__media { width: 100%; max-width: 640px; }
.cfc-attview__wait { margin: 0; padding: 16px; font-size: 15px; color: var(--ink); text-align: center; }
.cfc-attview__err { margin: 0; font-size: 13px; color: #7a3a00; background: #fdf0d5; border: 1px solid #f0dcb0; border-radius: 6px; padding: 6px 10px; }
.cfc-attview__bar { display: flex; justify-content: flex-end; gap: 8px; }
.cfc-attview__bar .cfc-btn { min-height: 40px; font-size: 14px; }
/* 📎 Files on the email: a chip per file (name + state in words), then Attach. */
.cfc-cmp__files { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cfc-cmp__file {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%; min-width: 0;
  font-size: 13px; padding: 2px 2px 2px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--card);
  overflow-wrap: anywhere;
}
.cfc-cmp__file.is-err { border-color: #f0dcb0; background: #fdf0d5; color: #7a3a00; }
.cfc-cmp__file .cfc-cmp__x { min-width: 28px; min-height: 28px; margin-left: 0; }
.cfc-cmp__filehint { font-size: 12px; color: var(--ink-soft); }
/* 📷 "Also add the photos to their Images": its own line under the files. */
.cfc-cmp__toimages { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; }
.cfc-cmp__toimages--off { font-size: 12px; color: var(--ink-soft); }
.cfc-cmp__imgkind { display: inline-flex; align-items: center; gap: 6px; }
.cfc-cmp__imgkind select {
  font: inherit; font-size: 13px; color: var(--ink); padding: 3px 8px;
  border: 1px solid #cbd5e1; border-radius: 6px; background: var(--card);
}
.cfc-cmp__imgkind select:disabled { color: var(--ink-soft); background: var(--bg); }
.cfc-cmp__imgkind select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 106, 172, .15); outline: 2px solid transparent; }
/* Close beside Send, in the full-screen pop-up: quiet, so Send stays the one
   blue button. */
.cfc-cmp__close { margin-left: auto; min-height: 36px; font-size: 14px; }
.cfc-cmp__close + .cfc-cmp__send { margin-left: 0; }
.cft-dialog { width: min(1180px, 98vw); }
.cft-dialog .cfc-dialog__body { overflow-y: auto; background: var(--bg); }
.cft { display: flex; flex-direction: column; gap: 8px; padding: 10px 14px 16px; }
.cft-sub { margin: 0; font-size: 13px; color: var(--ink-soft); }
.cft-body {
  display: grid; gap: 14px; align-items: start;
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "form" "prev" "send";
}
@media (min-width: 900px) {
  .cft-body { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); grid-template-areas: "form prev" "send prev"; }
  .cft-prevcard { position: sticky; top: 0; }
}
.cft-form { grid-area: form; display: flex; flex-direction: column; gap: 12px; }
.cft-send { grid-area: send; display: flex; flex-direction: column; gap: 10px; }
.cft-prevcard { grid-area: prev; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--card); min-width: 0; }
.cft-h2 { margin: 0; font-size: 15px; font-weight: 700; }
.cft-field { display: flex; flex-direction: column; gap: 4px; }
.cft-field > label, .cft-lab { font-size: 11px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .03em; }
.cft-field input[type="text"], .cft-field input[type="search"], .cft-field select {
  font: inherit; font-size: 14px; color: var(--ink); min-width: 0;
  border: 1px solid #cbd5e1; border-radius: 6px; padding: 6px 9px; background: var(--card);
}
.cft-field input:focus, .cft-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 106, 172, .15); outline: 2px solid transparent; }
.cft-small { font-size: 12px; color: var(--ink-soft); }
.cft-small--warn { color: #7a3a00; font-weight: 600; }
/* 🔽 The template picker: a search box whose matches DROP DOWN over the form and close on a
   pick, filling the real drop-down under it (like the invoice email panel). It was an
   always-open list of buttons: "a backward step" (Allan, on his phone, 24 Nov 2026). */
.cft-pick { position: relative; display: flex; flex-direction: column; }
.cft-drop { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin-top: 2px; display: flex; flex-direction: column; gap: 2px; max-height: min(320px, 50vh); overflow-y: auto; overscroll-behavior: contain; border: 1px solid #94a3b8; border-radius: 8px; padding: 6px; background: var(--card); box-shadow: 0 8px 24px rgba(15, 23, 42, .18); }
.cft-drop__note { margin: 0; padding: 4px 6px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.cft-drop__item { display: block; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; font-size: 14px; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.cft-drop__item:hover, .cft-drop__item:focus-visible { background: var(--bg); outline: 2px solid var(--accent); outline-offset: -2px; }
.cft-drop__item.is-on { background: #e6f0f7; font-weight: 700; }
.cft-drop__now { font-weight: 400; color: var(--ink-soft); }
/* 16px: an iPhone zooms the whole page in on a smaller box and stays zoomed. */
.cft-field #cft-search, .cft-field #cft-tpl { font-size: 16px; min-height: 44px; max-width: 100%; }
.cft-folder { font-size: 11px; font-weight: 700; color: var(--ink-soft); padding: 6px 4px 2px; overflow-wrap: anywhere; }
.cft-exp {
  display: flex; gap: 8px; align-items: center; width: 100%; text-align: left; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink);
  border: 1px solid #b4bfcc; background: var(--card); border-radius: 6px; padding: 7px 10px;
}
.cft-exp small { font-weight: 400; color: var(--ink-soft); }
.cft-chev { margin-left: auto; color: var(--ink-soft); }
.cft-exppanel { display: flex; flex-direction: column; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 6px 6px; margin-top: -12px; }
.cft-tick { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.cft-tick input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
/* ⚡ Follow-up actions: one tick per action, its fields opening under it. */
.cft-fu { gap: 10px; }
.cft-furow { display: flex; flex-direction: column; gap: 6px; }
.cft-fubody { display: flex; flex-direction: column; gap: 6px; padding: 6px 0 4px 22px; border-left: 2px solid var(--line); margin-left: 7px; }
.cft-fubody input[type="text"], .cft-fubody input[type="date"], .cft-fubody input[type="number"], .cft-fubody select, .cft-fubody textarea {
  font: inherit; font-size: 14px; color: var(--ink); min-width: 0; width: 100%; box-sizing: border-box;
  border: 1px solid #cbd5e1; border-radius: 6px; padding: 6px 9px; background: var(--card);
}
.cft-fubody select:disabled { color: var(--ink-soft); background: var(--bg); }
.cft-fubody textarea { resize: vertical; }
.cft-fupair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
/* "Show all stages" — a quiet link-style button under the Move to list. */
.cft-linkbtn {
  align-self: flex-start; font: inherit; font-size: 13px; font-weight: 600; color: var(--accent);
  background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left;
}
.cft-linkbtn:hover { text-decoration: underline; }

/* "Sending as" is required: amber until someone is picked, plain once they are. */
.cft-sendas { padding: 10px; border-radius: 8px; border: 2px solid #d97706; background: #fef3c7; }
.cft-sendas.is-ok { border: 1px solid #b4bfcc; background: var(--bg); }
.cft-left:empty { display: none; }
.cft-blank { margin: 0; font-size: 12px; color: var(--ink-soft); overflow-wrap: anywhere; }
.cft-blank--empty { color: #7a3a00; font-weight: 600; }
.cft-foot { display: flex; flex-direction: column; gap: 8px; }
.cft-sendbtn { min-height: 40px; font-size: 15px; justify-content: center; }
.cft-laterbtn { min-height: 36px; justify-content: center; }
.cft-laterbtn[aria-expanded="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cft-unsent { margin: 0; font-size: 13px; color: #7a3a00; background: #fef3c7; border: 1px solid #fde68a; border-radius: 6px; padding: 6px 10px; }
.cft-prevhead { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cft-prevhead .cft-h2 { margin-right: 6px; }
.cft-prevhead [aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cft-editstatus { font-size: 12px; color: var(--ink-soft); }
.cft-hint { margin: 0; font-size: 12px; background: #e6f0f7; border-radius: 6px; padding: 6px 10px; }
.cft-warn { margin: 0; font-size: 13px; color: #7a3a00; }
.cft-prevwrap { position: relative; background: #e9edf1; border-radius: 6px; padding: 12px 8px; overflow-x: auto; }
.cft-frame { display: block; width: 100%; max-width: 680px; height: 480px; margin: 0 auto; border: 0; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.cft-prevwrap.is-mobile .cft-frame { max-width: 375px; }
.cft-empty { margin: 0; padding: 40px 10px; text-align: center; font-size: 13px; color: var(--ink-soft); }
.cft-frame:not([srcdoc]) { display: none; }

/* A phone gets the whole screen. Height is set from innerHeight in the script,
   never dvh — the GHL app's frame does not report it reliably. */
@media (max-width: 640px) {
  .cft-field input[type="text"], .cft-field input[type="search"], .cft-field select { font-size: 16px; }
  .cft-fubody input[type="text"], .cft-fubody input[type="date"], .cft-fubody input[type="number"], .cft-fubody select, .cft-fubody textarea { font-size: 16px; }
  .cft-fupair { grid-template-columns: minmax(0, 1fr); }
  .cft-linkbtn { min-height: 44px; }
  .cft { padding: 8px 10px 14px; }
  .cfc-cmp { max-height: 58%; }
  .cfc-cmp__box { min-height: 52px; font-size: 16px; }   /* 16px: iOS zooms the page into a smaller box */
  .cfc-cmp__row select, .cfc-cmp__row input, .cfc-cmp__imgkind select { font-size: 16px; }
  .cfc-cmp__send, .cfc-cmp__close, .cfc-cmp__tab, .cfc-cmp__laterbtn, .cfc-cmp__later .cfc-btn { min-height: 40px; }
  .cfc-stray__acts .cfc-btn { min-height: 44px; font-size: 15px; }
  .cfc-cmp__laterpick input { font-size: 16px; min-height: 40px; }   /* 16px: iOS zooms into a smaller box */
  /* The count takes its own line, so Close, ⏰ Later and Send stay together. */
  .cfc-cmp__count { flex: 1 1 100%; }
  .cfc-cmp__count:empty { display: none; }
  .cfc-cmp__watplbtn { min-height: 44px; }
  /* A phone keeps the narrow labels (the To box needs the room), so "SENDING
     AS *" is wider than the rest and its hint simply starts at the edge. */
  .cfc-cmp__sendashint { padding-left: 0; }
  /* A phone keeps the thread in view while replying: the quote shows its first
     lines (it scrolls), the box grows as it is typed into. */
  .cfc-cmp__quoted { max-height: 54px; font-size: 12px; }
  .cfc-cmp__sniphead input { font-size: 16px; }
  .cfc-cmp__sniplist { max-height: 160px; }
  .cfc-cmp__snipitem { padding: 8px; }
  .cfc-cmp__row label { min-width: 52px; }
  .cfc-dialog { width: 100vw; border-radius: 0; margin: 0; align-self: stretch; }
  .cfc-msg, .cfc-msg--mail { max-width: 92%; }
  .cfc-msg--mail { width: 92%; }
  .cfc-tools { margin-left: 0; width: 100%; }
  .cfc-find__q { font-size: 16px; min-height: 40px; }   /* 16px: iOS zooms the page into a smaller box */
  .cfc-find__bar .cfc-btn, .cfc-find__step .cfc-btn { min-height: 40px; }
  .cfc-find__list { max-height: 160px; }

  /* 📱 THE REPLY BOX IS A SLIM BAR UNTIL IT IS ASKED FOR (Allan, 25 Nov 2026: with
     an email open "we get a very narrow viewing window and the whole editing
     section is fixed"). conversation-ui.js puts .is-shut / .is-open on the box
     and .cfc--writing on the thread, at phone width only, so a computer or
     tablet never meets a rule below. */
  .cfc-cmp__tab, .cfc-cmp__snipbtn, .cfc-cmp__send, .cfc-cmp__close, .cfc-cmp__laterbtn { min-height: 44px; }
  /* Away: the channel buttons and Close, nothing else, and the thread has the rest. */
  .cfc-cmp.is-shut { max-height: none; overflow: visible; padding-bottom: 8px; }
  .cfc-cmp__tabs--bar { gap: 4px 3px; align-items: stretch; }
  /* Tighter sides, so the four channels and Close fit one line on a 390px phone. */
  .cfc-cmp__tabs--bar .cfc-cmp__tab { padding: 4px 6px; }
  .cfc-cmp__tabs--bar .cfc-cmp__close { padding: 4px 8px; }
  /* Something waiting: said in WORDS, "✏️ draft" on a small second line under the
     channel's name; the dark edge is only extra. The top line is not made bolder
     and the edge is drawn inside the button, so it is exactly as wide as it is
     without a draft: the bar stays one row and Close never moves. */
  .cfc-cmp__tab.has-draft {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    padding-top: 2px; padding-bottom: 2px;
    border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink);
  }
  .cfc-cmp__tabtop { line-height: 1.2; white-space: nowrap; }
  .cfc-cmp__tabdraft { font-size: 11px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
  /* 🔵 Inside GetBookedUp its help bubble covers the bottom-right corner (92px
     in from the right, see .cfc-cmp__foot above): the bar's buttons stop short of it. */
  html.cfc-in-gbu .cfc-cmp.is-shut { padding-right: 92px; }
  /* Out: as tall as what is in it (it was capped at 58% of the pop-up), and a
     box to type a real message in. The thread always keeps a strip to read; if
     the two cannot both fit, the box scrolls inside itself and its Send bar
     stays stuck to the bottom, as before. */
  .cfc-cmp.is-open { max-height: none; flex: 0 1 auto; min-height: 0; }
  .cfc--writing > .cfc-scroll { flex: 1 1 96px; min-height: 96px; }
  .cfc-cmp.is-open .cfc-cmp__box { min-height: 132px; }
  /* …and it takes the room of the chips and tools above the thread, which come
     back when the box is put away (Close). Their "Read at…" line stays: it is where the thread says
     a re-read failed, and that must never be said out of sight. */
  .cfc--writing > .cfc-head .cfc-chips, .cfc--writing > .cfc-head .cfc-tools > :not(.cfc-readat) { display: none; }
  /* Why Send cannot go ("There is no mobile number…") comes straight under the
     channels, so on a short phone it is never below the fold of a long email form. */
  .cfc-cmp.is-open .cfc-cmp__tabs { order: -2; }
  .cfc-cmp.is-open .cfc-cmp__info--warn[role] { order: -1; }
}
/* A short phone (320 × 568): a smaller box, so the thread keeps more than its strip. */
@media (max-width: 640px) and (max-height: 640px) {
  .cfc-cmp.is-open .cfc-cmp__box { min-height: 76px; }
}

/* ── 📎 Save to Images (Allan's photos mock-up, 1 Nov 2026) ──────────────────
   Under a customer's photos, inside their bubble. The status line sits beside
   Save / Cancel, so "Saving…" and every refusal are on screen with the button
   that caused them. Each photo is a whole tappable tile on a phone. */
.cfc-save { margin-top: 8px; }
.cfc-save__panel {
  display: grid; gap: 8px; padding: 10px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--card);
}
.cfc-save__h { font-size: 14px; font-weight: 700; }
.cfc-save__row { display: grid; gap: 4px; font-size: 13px; }
.cfc-save__l { font-weight: 600; }
.cfc-save__row select, .cfc-save__row input[type="text"], .cfc-save__row textarea {
  font: inherit; font-size: 14px; color: var(--ink); width: 100%; box-sizing: border-box;
  padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--card);
}
.cfc-save__row textarea { resize: vertical; min-height: 44px; }
.cfc-save__picks { display: flex; flex-wrap: wrap; gap: 6px; }
.cfc-save__pick {
  position: relative; display: block; cursor: pointer;
  border: 1px solid var(--line); border-radius: 6px; padding: 2px;
}
.cfc-save__pick img { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.cfc-save__pick input { position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; margin: 0; }
.cfc-save__pick:has(input:not(:checked)) img { opacity: .45; }
.cfc-save__hint, .cfc-save__info { font-size: 12px; color: var(--ink-soft, #4b5563); }
.cfc-save__info { font-size: 13px; }
.cfc-save__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cfc-save__msg { font-size: 13px; font-weight: 600; }
.cfc-save__done { font-size: 13px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cfc-save__warn { font-size: 13px; margin-top: 4px; }
/* 📎 Already in Images (12 Nov 2026): the set these photos are in, in words, and
   each photo already saved marked ✓ In Images on the tile — words and a tick,
   never colour alone. */
.cfc-save__already {
  display: grid; gap: 2px; font-size: 13px; padding: 6px 10px; border-radius: 6px;
  border: 1px solid var(--cfc-out-edge, #a9c8e0); border-left-width: 4px; background: var(--cfc-out, #e8f1f8);
}
.cfc-save__alreadyline { overflow-wrap: anywhere; }
.cfc-save__pick.is-saved { cursor: default; }
.cfc-save__pick.is-saved input { display: none; }
.cfc-save__in {
  position: absolute; left: 2px; right: 2px; bottom: 2px; padding: 2px 0; border-radius: 0 0 4px 4px;
  font-size: 11px; font-weight: 700; text-align: center; color: #fff; background: rgba(15, 23, 42, .78);
}
.cfc-link {
  font: inherit; font-size: 13px; font-weight: 600; color: var(--accent);
  background: none; border: 0; padding: 4px 2px; cursor: pointer; text-decoration: underline;
}
