/* Admin — record feature styles (loaded after admin.css; use its tokens)
 *
 * Owns four surfaces that share one visual language:
 *   .rec-*   the customer record (sticky header, timeline column, sticky rail)
 *   .tl-*    the merged timeline, used by the record AND the Inbox reading pane
 *   .cmp-*   the shared compose box
 *   .jr-*    the journey slide-over
 *
 * Layout rule from the design synthesis: ONE scrolling record with a sticky rail
 * at >=1200px; the segmented control exists only on iPad portrait (<=900px),
 * because that is the only width where two columns genuinely do not fit.
 */

/* ============================== Record shell ============================== */

.rec {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.rec-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}
.rec-head-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.rec-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.rec-head-text { min-width: 0; }
.rec-head-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.rec-head-line h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.rec-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.rec-chips .chip-source { margin-left: 0; }

.rec-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 6px 0 0;
  font-size: 0.86rem;
}
.rec-contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.rec-contact a:hover { text-decoration: underline; }
.rec-muted { color: var(--ink-faint); }

.rec-facts {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.rec-facts a { color: var(--accent); text-decoration: none; }
.rec-facts a:hover { text-decoration: underline; }

/* ---------- "⋯ More" menu ---------- */

.rec-head-actions {
  position: relative;
  flex-shrink: 0;
}
.rec-more-btn {
  border: 1px solid var(--line);
  background: var(--surface);
}
.rec-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  padding: 6px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
}
.rec-menu-item {
  appearance: none;
  border: none;
  background: transparent;
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  font: 500 0.86rem Inter, sans-serif;
  color: var(--ink);
  cursor: pointer;
}
.rec-menu-item:hover { background: var(--surface-soft); }
.rec-menu-item.is-danger { color: var(--danger); }
.rec-menu-item.is-danger:hover { background: var(--danger-soft); }
.rec-menu-sep {
  height: 1px;
  margin: 5px 6px;
  background: var(--line-soft);
}

/* ---------- Segmented control (iPad portrait only) ---------- */

.rec-seg { display: none; }
.rec-seg-btn {
  flex: 1;
  appearance: none;
  border: none;
  background: transparent;
  padding: 11px 10px;
  border-radius: 8px;
  font: 600 0.88rem Inter, sans-serif;
  color: var(--ink-soft);
  cursor: pointer;
}
.rec-seg-btn.is-active {
  background: var(--surface);
  color: var(--accent-deep);
  box-shadow: var(--shadow);
}

/* ---------- Columns ---------- */

.rec-cols {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  padding: 20px 28px 40px;
}
.rec-main { min-width: 0; }
.rec-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/**
 * The record needs real width for two columns, and admin.css caps the reading
 * column at 520px — enough for an enquiry, not for timeline + rail. Give the
 * customer record (and only it: the Inbox pane is untouched) the larger share
 * from 1280px up.
 */
@media (min-width: 1280px) {
  #panel-customers.reading-open {
    grid-template-columns: minmax(320px, 0.7fr) minmax(720px, 1.3fr);
  }
  /* admin.css already drops Type and Joined when the pane opens. At this width
     Contact has to go too, or the list renders "alice@e…" beside a record that
     is showing the full address anyway. Search still matches on email. */
  #panel-customers.reading-open .crm-table th:nth-child(2),
  #panel-customers.reading-open .crm-table td:nth-child(2) {
    display: none;
  }
}

/**
 * Two columns keyed off the RECORD's own width, not the viewport: the reading
 * column is a fraction of the window, so a viewport media query would split it
 * into two unusable 250px columns on a 1440px laptop. Browsers without
 * container queries fall back to the single stacked column, which is correct.
 */
/* Scoped to >=901px on purpose: `container-type` implies layout containment,
 * which would make this element the containing block for the fixed bottom bar
 * used on iPad portrait. */
@media (min-width: 901px) {
  #customers-reading-pane {
    container-type: inline-size;
    container-name: rec;
  }
}

@container rec (min-width: 700px) {
  .rec-cols {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  }
  .rec-rail {
    position: sticky;
    /* Clears the sticky record header. */
    top: 104px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.rec-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.rec-sec-head .detail-section-title { margin: 0; }
.tl-filter select { min-width: 132px; }

.rec-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
}
.rec-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.rec-card-head .detail-section-title { margin: 0; }
.rec-card .notes-label {
  display: block;
  margin: 14px 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.rec-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font: 400 0.85rem Inter, sans-serif;
  color: var(--ink);
  resize: vertical;
}
.rec-card .btn-row { margin-top: 8px; }
.rec-card .history-list { margin: 0; }

.rail-grid {
  grid-template-columns: 1fr;
  gap: 8px 16px;
  font-size: 0.85rem;
}

.rec-products {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip-product {
  display: inline-block;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chip-product:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

/* ---------- Sticky bottom bar (iPad portrait only) ---------- */

.rec-bottombar { display: none; }

/* ================================ Timeline ================================ */

.tl { display: block; }
.tl-empty { margin: 8px 0 0; }

.tl-day {
  margin: 18px 0 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.tl-day:first-child { margin-top: 0; }

.tl-row {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}
.tl-row:first-of-type { border-top: none; }
.tl-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-soft);
  font-size: 0.8rem;
  line-height: 1;
}
.tl-row[data-kind="pending"] .tl-icon { background: var(--amber-soft); }
.tl-row[data-kind="visit"] .tl-icon { background: var(--accent-soft); }
.tl-body { min-width: 0; flex: 1; }

.tl-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.tl-when {
  margin-right: 8px;
  font-weight: 600;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.tl-subject { font-weight: 500; }

.tl-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.tl-meta .badge { text-transform: none; }
.tl-fail { color: var(--danger); }
.tl-pending { color: var(--amber); font-weight: 600; }

.tl-snippet {
  margin: 6px 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.tl-note {
  margin: 6px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-soft);
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.tl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.tl-actions .btn-small { padding: 4px 9px; font-size: 0.74rem; }

.tl-expanded { margin-top: 8px; }
.tl-frame {
  width: 100%;
  height: 340px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.tl-plain {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  font: 400 0.82rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
  overflow-x: auto;
}

/* ================================ Compose ================================= */

.rec-compose { margin-top: 20px; }

.cmp {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 14px 16px 12px;
  box-shadow: var(--shadow);
}
.cmp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.cmp-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.cmp-to {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.cmp-to-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-right: 4px;
}
.cmp-to-value { font-weight: 600; color: var(--ink); }

.cmp-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.cmp-template { flex-shrink: 0; max-width: 200px; }
.cmp-subject {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font: 600 0.88rem Inter, sans-serif;
  color: var(--ink);
  background: var(--surface);
}
.cmp-text {
  width: 100%;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: 400 0.88rem/1.55 Inter, sans-serif;
  color: var(--ink);
  background: var(--surface);
  resize: vertical;
}
.cmp-subject:focus, .cmp-text:focus {
  outline: 2px solid var(--accent-mid);
  outline-offset: 1px;
  border-color: var(--accent-mid);
}
.cmp-sign {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.cmp-error { margin: 8px 0 0; font-size: 0.82rem; }
.cmp-error .btn-small { margin-left: 6px; }

.cmp-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}
.cmp-note[disabled] { opacity: 0.45; cursor: not-allowed; }
/* `.btn-primary.btn-small` flattens to the pale small-button fill in admin.css
 * (same specificity, .btn-small wins on order). Send is the primary action in
 * this box and has to outrank "Save as note". */
.cmp-send {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(61, 87, 69, 0.2);
}
.cmp-send:hover { background: var(--accent-deep); }
.cmp-send[disabled] { opacity: 0.7; cursor: progress; }

.cmp-disabled {
  border-style: dashed;
  background: var(--surface-soft);
  box-shadow: none;
}
.cmp-disabled-title {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.cmp-disabled .hint { margin: 0; }
.cmp-disabled .btn-row { margin-top: 10px; }

/* =============================== Journey ================================== */

body.jr-open { overflow: hidden; }

.jr-root {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.jr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 36, 32, 0.38);
}
.jr-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -8px 0 32px rgba(28, 36, 32, 0.14);
}
.jr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.jr-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.jr-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px 40px;
  scrollbar-width: thin;
}
.jr-empty { margin: 12px 0 0; }

.jr-attribution {
  grid-template-columns: 1fr;
  gap: 8px 16px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  font-size: 0.84rem;
}

.jr-session { margin-bottom: 20px; }
.jr-session.is-focus {
  padding: 10px 12px;
  margin-left: -12px;
  margin-right: -12px;
  border-radius: var(--radius);
  background: var(--accent-soft);
}
.jr-session-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}
.jr-session-when { font-weight: 600; color: var(--ink-soft); }
.jr-session-meta { font-weight: 500; color: var(--ink-faint); }

.jr-events {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
  border-left: 2px solid var(--line-soft);
}
.jr-event {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0 5px 12px;
  font-size: 0.82rem;
}
.jr-time {
  flex-shrink: 0;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.jr-ev-icon { flex-shrink: 0; font-size: 0.78rem; }
.jr-what { min-width: 0; overflow-wrap: anywhere; }
.jr-kind {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.7rem;
  color: var(--ink-faint);
}
.jr-path { color: var(--ink-soft); }
.jr-product { font-weight: 600; color: var(--ink); }
.jr-query { font-weight: 600; color: var(--accent-deep); }

/* ============================ Record dialogs ============================== */

.rec-dialog-root {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: 24px;
}
.rec-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 36, 32, 0.38);
}
.rec-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(640px, 86vh);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lift);
  padding: 18px 20px 20px;
}
.rec-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.rec-dialog-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rec-dialog-intro { margin: 6px 0 12px; }
.rec-dialog-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.rec-dialog-body .search-box { margin-bottom: 10px; }
.rec-dialog-body .search {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font: 400 0.88rem Inter, sans-serif;
}
.rec-dialog-list {
  flex: 1;
  overflow-y: auto;
  min-height: 120px;
  scrollbar-width: thin;
}
.rec-dialog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  appearance: none;
  border: 1px solid transparent;
  border-bottom-color: var(--line-soft);
  background: transparent;
  padding: 10px 8px;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
}
.rec-dialog-row:hover { background: var(--surface-soft); }
.rec-dialog-row.is-match { background: var(--accent-soft); }
.rec-dialog-row[disabled] { opacity: 0.5; cursor: wait; }
.rec-dialog-row-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.rec-dialog-row-name {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font: 600 0.88rem Inter, sans-serif;
  color: var(--ink);
}
.rec-dialog-row-sub {
  font-size: 0.78rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.rec-dialog-row-action {
  flex-shrink: 0;
  font: 600 0.78rem Inter, sans-serif;
  color: var(--accent);
}

/* ========================= Customers list additions ======================= */

.row-email.is-empty { color: var(--ink-faint); font-style: italic; }

.crm-joined .crm-when-main { display: block; }
.crm-joined .crm-when-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: var(--ink-faint);
}
.crm-joined .crm-when-source { display: none; }
.th-narrow { display: none; }

/* The source chip lives in the Inbox reading head; this is its journey twin. */
.detail-journey-slot:empty { display: none; }

/* ============================== iPad portrait ============================= */

@media (max-width: 900px) {
  .rec-head { padding: 14px 18px 12px; }
  .rec-cols { padding: 14px 18px 96px; }

  .rec-seg {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    gap: 4px;
    margin: 0 18px;
    padding: 4px;
    border-radius: 10px;
    background: var(--surface-soft);
  }

  /* One pane at a time: the rail's cards are tagged with the pane they
     belong to, so Details and Products split without duplicating markup. */
  .rec[data-active-pane="timeline"] .rec-rail { display: none; }
  .rec[data-active-pane="details"] .rec-main,
  .rec[data-active-pane="products"] .rec-main { display: none; }
  .rec[data-active-pane="details"] .rec-card[data-pane="products"],
  .rec[data-active-pane="products"] .rec-card[data-pane="details"] { display: none; }

  /* Fixed, not sticky: below 961px the shell scrolls the DOCUMENT, and the
   * reading pane's own `overflow-y: auto` box never scrolls — so a sticky
   * element inside it has no scrollport to stick to and just sits at the end
   * of the record. Fixed pins it where staff expect it. It can only exist
   * while a record is open, and `[hidden]` on the panel removes it. */
  .rec-bottombar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    gap: 10px;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -2px 12px rgba(28, 36, 32, 0.06);
  }
  .rec-bottombar button { flex: 1; min-height: 44px; }

  .crm-joined .crm-when-main,
  .crm-joined .crm-when-sub { display: none; }
  .crm-joined .crm-when-source { display: inline-flex; }
  .crm-joined .crm-when-source .chip-source { margin-left: 0; }
  .th-wide { display: none; }
  .th-narrow { display: inline; }

  .jr-panel { width: 100%; }
}

/* ============================== Touch targets ============================= */

@media (pointer: coarse) {
  .rec-more-btn,
  .rec-menu-item,
  .rec-seg-btn,
  .cmp-actions .btn-small,
  .cmp-disabled .btn-small,
  .tl-actions .btn-small,
  .tl-actions .btn-ghost,
  .rec-card .btn-small,
  .rec-dialog-row {
    min-height: 44px;
  }
  .tl-actions .btn-small { padding: 10px 14px; font-size: 0.8rem; }
  .cmp-template, .cmp-subject, .rec-dialog-body .search { min-height: 44px; }
  .jr-close, .rec-dialog-head .btn-icon { min-width: 44px; min-height: 44px; }
  .jr-event { padding-top: 8px; padding-bottom: 8px; }
}

/* ===================== Inbound replies (Slice 8) ========================== */

/*
 * "Reply" reads as a distinct state from the outbound delivery chips
 * (Sent/Delivered/Opened, which are all `--accent`). Blue is used nowhere else
 * in the admin, so an inbound row is identifiable at a glance in a long thread.
 */
.badge.reply {
  background: #e3ecf7;
  color: #2f5787;
}

/* The inbound envelope gets the same tint, so the icon column reads as a
   left-hand gutter of who-said-what without any extra markup. */
.tl-row[data-direction="in"] .tl-icon {
  background: #e3ecf7;
  color: #2f5787;
}

/* ---- Unmatched replies: list rows ---- */

/*
 * These rows are `messages`, not `submissions`, so they carry no select
 * checkbox — override the 4-column submission grid back to 3.
 */
#subs-body .mail-row.unmatched-row {
  grid-template-columns: 8px minmax(0, 1fr) auto;
}
.mail-row.unmatched-row::before {
  background: #93aecd;
  opacity: 0.55;
}
.mail-row.unmatched-row.selected::before {
  background: #2f5787;
  opacity: 1;
}
.mail-row.unmatched-row .mail-from {
  font-weight: 700;
}

/* ---- Unmatched replies: reading pane ---- */

.um-message { margin-top: 14px; }
/* The stored HTML renders in the same sandboxed iframe the timeline uses, so it
   inherits .tl-frame; a text-only reply falls back to .tl-plain. */
.um-message .tl-frame { height: 420px; }
.um-message .tl-plain { max-height: 420px; overflow-y: auto; }

@media (max-width: 768px) {
  .um-message .tl-frame { height: 320px; }
}

/* ── Reply-on-the-back-of-the-email: quote toggle under the compose box ── */
.cmp-quote {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 8px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.cmp-quote input { width: 16px; height: 16px; accent-color: var(--accent); margin: 0; }
.cmp-quote strong { font-weight: 600; color: var(--ink); }
.tl-actions .tl-reply { margin-right: 6px; }
