/* Find: tokens medidos na referência (references/instantly-spec.md, seção "Medidas"). */
:root {
  --bg: #fcfcfc;            /* fundo das páginas e painéis */
  --surface: #ffffff;       /* cartões, tabelas, trilho */
  --sunken: #f5f5f5;        /* colunas do kanban, grupo de abas segmentadas */
  --ink: rgba(0, 0, 0, .87);
  --ink-strong: #14171f;
  --ink-table: #252f3d;
  --ink-head: #3f4b5f;
  --muted: #5f5f5f;
  --line: #e0e5eb;          /* bordas de cartão e divisórias */
  --line-input: #d2dae3;    /* bordas de campo */
  --accent: #0080ff;
  --accent-ink: #ffffff;
  --accent-soft: #d7eaff;   /* item selecionado no painel de filtros */
  --rail-on-bg: #dbeafe;
  --rail-on: #155dfc;
  --accent-tint: rgba(0, 118, 255, .05);
  --green: #00c950; --green-ink: #0a8f43; --green-soft: #e3f8ec;
  --red: #e5484d; --red-ink: #c8323a; --red-soft: #fdecec;
  --amber: #f5a524; --amber-ink: #a96800; --amber-soft: #fff4dd;
  --violet: #8e4ec6; --violet-soft: #f3ebfb;
  --neutral-badge: rgba(157, 157, 177, .10); --neutral-badge-ink: #364153;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .10), 0 1px 2px -1px rgba(0, 0, 0, .10);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .10), 0 4px 6px -4px rgba(0, 0, 0, .10);
  --r-sm: 8px; --r-md: 10px; --r-lg: 14px;
  --rail-w: 48px; --sub-w: 256px; --top-h: 64px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px; line-height: 20px; color: var(--ink); background: var(--surface);
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a.link { color: var(--accent); }
a.link:hover { text-decoration: underline; }
svg.lucide { width: 16px; height: 16px; stroke-width: 2; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 16px; }
.xs { font-size: 11px; line-height: 16px; }
.strong { font-weight: 500; }
.num { text-align: right; }
.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ------------------------------------------------------------ estrutura */
.app { display: flex; height: 100vh; overflow: hidden; }
.rail {
  width: var(--rail-w); flex: none; display: flex; flex-direction: column; background: var(--surface);
  border-right: 1px solid var(--line);
}
.rail .ws { height: var(--top-h); display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.rail .ws span {
  width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 13px;
}
.rail nav { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; }
.rail nav a, .rail .ind {
  width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--muted);
  position: relative;
}
.rail nav a:hover { background: var(--sunken); color: var(--ink); }
.rail nav a.on { background: var(--rail-on-bg); color: var(--rail-on); }
.rail .foot { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0 16px; }
.rail .ind i { position: absolute; right: 5px; bottom: 5px; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--surface); }
.rail .ind i.ok { background: var(--green); } .rail .ind i.warn { background: var(--amber); }
/* dica ao passar o mouse nos ícones do trilho */
.rail [data-tip]:hover::after {
  content: attr(data-tip); position: absolute; left: 40px; top: 50%; transform: translateY(-50%);
  background: var(--ink-strong); color: #fff; font-size: 12px; line-height: 16px; padding: 4px 8px;
  border-radius: 6px; white-space: nowrap; z-index: 50; pointer-events: none;
}

.frame { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--bg); }
.top {
  height: var(--top-h); flex: none; display: flex; align-items: center; border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.top .title {
  display: flex; align-items: center; gap: 12px; padding: 0 24px; height: 100%; min-width: 0;
  font-size: 19px; line-height: 28px; font-weight: 500;
}
.has-sub .top .title { width: var(--sub-w); flex: none; border-right: 1px solid var(--line); }
.top .title .back { color: var(--muted); display: grid; place-items: center; }
.top .title .name { font-size: 17px; line-height: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top .mid { flex: 1; display: flex; justify-content: center; align-self: stretch; }
.top .right { display: flex; align-items: center; gap: 8px; padding: 0 24px; }
.body { flex: 1; min-height: 0; display: flex; }
.sub {
  width: var(--sub-w); flex: none; border-right: 1px solid var(--line); overflow-y: auto; padding: 16px 16px 24px;
  background: var(--bg);
}
.content { flex: 1; min-width: 0; overflow: auto; padding: 24px; }
.content.flush { padding: 0; display: flex; }
.content.narrow > .inner { max-width: 800px; margin: 0 auto; }

/* abas do cabeçalho (dentro de uma campanha) */
.tabs { display: flex; gap: 4px; align-self: stretch; }
.tabs a {
  display: flex; align-items: center; padding: 8px 10px; font-size: 15px; line-height: 20px; color: var(--ink-head);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-bottom-color: var(--accent); }

/* ------------------------------------------------------------ painel de filtros */
.group { margin-bottom: 8px; }
.group > .head, .group > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none; cursor: pointer;
  padding: 8px; border-radius: var(--r-sm); font-weight: 500;
}
.group > summary::-webkit-details-marker { display: none; }
.group > summary:hover { background: var(--sunken); }
.group > summary .chev { transition: transform .15s; color: var(--muted); }
.group[open] > summary .chev { transform: rotate(180deg); }
.group .items { display: flex; flex-direction: column; gap: 4px; padding: 4px 0 8px 16px; }
.fitem {
  display: flex; align-items: center; gap: 8px; height: 32px; padding: 8px; border-radius: var(--r-sm);
  font-size: 13px; line-height: 16px; color: var(--ink);
}
.fitem:hover { background: var(--sunken); }
.fitem.on { background: var(--accent-soft); color: var(--ink-strong); font-weight: 500; }
.fitem .count { margin-left: auto; color: var(--muted); font-weight: 400; }
.fitem .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ic-green { color: var(--green-ink); } .ic-red { color: var(--red-ink); } .ic-amber { color: var(--amber-ink); }
.ic-blue { color: var(--accent); } .ic-violet { color: var(--violet); } .ic-muted { color: var(--muted); }

/* ------------------------------------------------------------ controles */
.btn, button {
  font: inherit; font-size: 14px; line-height: 20px; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 36px; padding: 8px 12px; border-radius: var(--r-sm); cursor: pointer; white-space: nowrap;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs);
}
.btn:hover, button:hover { background: #f7f8fa; }
.btn.primary, button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: none; }
.btn.primary:hover, button.primary:hover { background: #0071e6; }
.btn.plain, button.plain { border-color: transparent; background: transparent; box-shadow: none; }
.btn.plain:hover, button.plain:hover { background: var(--sunken); }
.btn.danger, button.danger { color: var(--red-ink); }
.btn.sm, button.sm { height: 32px; padding: 0 12px; }
.btn.icon, button.icon { width: 36px; padding: 0; }
.btn.icon.sm, button.icon.sm { width: 32px; }
button:disabled, .btn.disabled { opacity: .5; pointer-events: none; }
.kbd {
  font-size: 11px; line-height: 16px; padding: 0 5px; border-radius: 4px; border: 1px solid rgba(255,255,255,.4);
}
.btn:not(.primary) .kbd { border-color: var(--line); color: var(--muted); }

input, select, textarea {
  font: inherit; font-size: 14px; line-height: 20px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-input); border-radius: var(--r-sm); padding: 7px 12px; width: 100%;
  box-shadow: var(--shadow-xs);
}
input, select { height: 36px; }
select { padding-right: 32px; appearance: none; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f5f5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; }
textarea { min-height: 88px; resize: vertical; padding: 8px 12px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 128, 255, .15); }
input[type=checkbox], input[type=radio] { width: 16px; height: 16px; padding: 0; box-shadow: none; accent-color: var(--accent); cursor: pointer; }
input[type=file] { height: auto; padding: 6px; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 14px; height: 14px; }
.search input { padding-left: 30px; }
.sub .search { margin-bottom: 6px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field > .lbl { font-size: 14px; line-height: 20px; }
.field > .help { font-size: 13px; line-height: 16px; color: var(--muted); margin-top: -6px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }

/* interruptor (checkbox com aparência de switch) */
.switch { position: relative; display: inline-block; width: 32px; height: 18px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line-input); transition: background .15s; cursor: pointer; box-shadow: var(--shadow-xs); }
.switch span::after { content: ""; position: absolute; top: 1px; left: 1px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(14px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

/* grupo de abas segmentadas */
.seg { display: inline-flex; gap: 4px; padding: 3px; background: var(--sunken); border: 1px solid var(--line); border-radius: var(--r-md); }
.seg a, .seg button {
  height: 34px; padding: 6px 12px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent;
  color: var(--ink-head); box-shadow: none; display: inline-flex; align-items: center; gap: 8px;
}
.seg a.on, .seg button.on { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: var(--shadow-sm); }

/* ------------------------------------------------------------ cartões, selos e tabelas */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card.pad { padding: 24px; }
.inset { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 13px; line-height: 16px; padding: 4px 8px;
  border-radius: var(--r-sm); background: var(--neutral-badge); color: var(--neutral-badge-ink); white-space: nowrap;
}
.badge svg.lucide { width: 14px; height: 14px; }
.badge.green, .badge.ativa, .badge.interessado, .badge.pedido_info, .badge.ganho { background: var(--green-soft); color: var(--green-ink); }
.badge.red, .badge.bounce, .badge.suprimido, .badge.remover, .badge.sem_interesse, .badge.perdido { background: var(--red-soft); color: var(--red-ink); }
.badge.amber, .badge.revisar, .badge.pausada, .badge.outro { background: var(--amber-soft); color: var(--amber-ink); }
.badge.blue, .badge.em_campanha, .badge.em_contato { background: var(--accent-tint); color: var(--accent); }
.badge.violet, .badge.ausente { background: var(--violet-soft); color: var(--violet); }
.chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: 13px; line-height: 16px; padding: 2px 8px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg);
}
.dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; flex: none; }

.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  height: 40px; padding: 0 12px; text-align: left; font-size: 11px; line-height: 16px; font-weight: 500;
  text-transform: uppercase; color: var(--ink-head); background: var(--surface); border-bottom: 1px solid var(--line);
  white-space: nowrap; position: sticky; top: 0; z-index: 1;
}
th + th { border-left: 1px solid var(--line); }
td { height: 48px; padding: 6px 12px; color: var(--ink-table); border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fafbfc; }
tr.clickable { cursor: pointer; }
td.check, th.check { width: 40px; padding: 0 0 0 12px; }
td .sub-line { display: block; font-size: 13px; line-height: 16px; color: var(--muted); }
tr.sel td { background: var(--accent-tint); }
.meter { height: 6px; background: var(--sunken); border-radius: 3px; min-width: 64px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.meter.green i { background: var(--green); } .meter.amber i { background: var(--amber); } .meter.red i { background: var(--red); }

/* barra de ferramentas acima de listas */
.toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .search { width: 200px; }
.toolbar .spacer { flex: 1; }
.stats { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-xs); }
.stats a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 6px; color: var(--muted); }
.stats a b { color: var(--ink); font-weight: 500; }
.stats a:hover { background: var(--sunken); }
.stats a.on { background: var(--accent-soft); color: var(--ink-strong); }

/* menu suspenso simples com <details> */
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu .pop {
  position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; min-width: 200px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.menu.right .pop { left: auto; right: 0; }
.menu .pop a, .menu .pop button {
  display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; border-radius: 6px; font-size: 13px;
  border: 0; background: transparent; box-shadow: none; justify-content: flex-start; width: 100%;
}
.menu .pop a:hover, .menu .pop button:hover { background: var(--sunken); }
.menu .pop a.on { font-weight: 500; }
.menu .pop .sep { height: 1px; background: var(--line); margin: 4px 0; }
.menu .pop .label { font-size: 11px; text-transform: uppercase; color: var(--muted); padding: 6px 8px 2px; }

/* ------------------------------------------------------------ métricas e gráfico */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 16px; }
.metric { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.metric .lbl { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.metric .val { font-size: 31px; line-height: 36px; font-weight: 500; color: var(--ink); }
.metric .val small { font-size: 15px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.metric.alert { border-color: var(--amber); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 16px; }
.panel > header { padding: 24px 24px 0; display: flex; align-items: flex-start; gap: 16px; }
.panel > header h3 { margin: 0; font-size: 15px; line-height: 20px; font-weight: 500; }
.panel > header p { margin: 4px 0 0; color: var(--muted); }
.panel > header .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.panel > .pbody { padding: 24px; }
.panel > .table-wrap { border: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); margin-top: 16px; }
.legend { display: flex; gap: 16px; color: var(--muted); font-size: 13px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid line { stroke: var(--line); }
.chart text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 1100px) { .grid2 { grid-template-columns: 1fr; } }

/* funil com barras proporcionais */
.funnel { display: flex; flex-direction: column; gap: 12px; }
.funnel .stage { display: grid; grid-template-columns: 160px 1fr 120px; align-items: center; gap: 16px; }
.funnel .bar { height: 28px; background: var(--sunken); border-radius: 6px; overflow: hidden; }
.funnel .bar i { display: block; height: 100%; background: var(--accent); border-radius: 6px; min-width: 2px; }
.funnel .stage:nth-child(3) .bar i { background: var(--green); }
.funnel .stage:nth-child(4) .bar i { background: var(--red); }
.funnel .v { text-align: right; }
.funnel .v b { font-size: 17px; font-weight: 500; }

/* ------------------------------------------------------------ estados vazios */
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px 24px; gap: 8px; }
.empty .tile {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; color: #fff;
  background: linear-gradient(160deg, #3d9bff 0%, #0080ff 55%, #5bd1a6 100%); box-shadow: var(--shadow-sm);
}
.empty .tile svg.lucide { width: 26px; height: 26px; }
.empty h2 { font-size: 25px; line-height: 32px; font-weight: 500; margin: 0; }
.empty p { margin: 0; color: var(--muted); max-width: 52ch; }
.empty .actions { margin-top: 16px; display: flex; gap: 8px; }
.empty.sm { padding: 32px 16px; }
.empty.sm h2 { font-size: 15px; line-height: 20px; }
.empty.sm .tile { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 8px; }
.empty.sm .tile svg.lucide { width: 18px; height: 18px; }

/* ------------------------------------------------------------ seções em sanfona */
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 16px; }
.acc > summary { list-style: none; cursor: pointer; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary .row1 { display: flex; align-items: center; justify-content: space-between; }
.acc > summary h3 { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; }
.acc > summary .chev { color: var(--muted); transition: transform .15s; }
.acc[open] > summary .chev { transform: rotate(180deg); }
.acc > summary .desc { font-size: 13px; line-height: 16px; color: var(--muted); }
.acc > summary .chips { display: flex; gap: 4px; flex-wrap: wrap; }
.acc[open] > summary .chips { display: none; }
.acc:not([open]) > summary .desc { display: none; }
.acc .acc-body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 16px; }
.setting { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 12px 0; border-top: 1px solid var(--line); }
.setting:first-child { border-top: 0; }
.setting .t { font-weight: 500; }
.setting .d { color: var(--muted); font-size: 13px; line-height: 16px; margin-top: 2px; }
.page-intro { color: var(--muted); margin: 0 0 32px; }
.savebar { position: sticky; bottom: 0; display: flex; gap: 8px; justify-content: flex-end; padding: 12px 0; background: linear-gradient(transparent, var(--bg) 30%); }

/* ------------------------------------------------------------ editor de sequência */
.seq { max-width: 900px; margin: 0 auto; padding: 24px 0 8px; }
.seq .preview { margin-top: 32px; }
.seq-note { text-align: center; margin: 24px 0 0; }
.step { display: grid; grid-template-columns: 1fr 164px; gap: 24px; align-items: start; }
.step .mail { display: flex; flex-direction: column; gap: 16px; }
.subject { display: flex; align-items: center; height: 40px; border: 1px solid var(--line-input); border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-xs); padding: 0 12px; gap: 8px; }
.subject .k { color: var(--muted); font-size: 13px; flex: none; }
.subject input { border: 0; box-shadow: none; height: 38px; padding: 0; font-weight: 500; }
.subject input:focus { box-shadow: none; }
.editor { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.editor textarea { border: 0; box-shadow: none; border-radius: var(--r-md); min-height: 300px; padding: 24px 28px; font-size: 15px; line-height: 25.6px; resize: vertical; }
.editor textarea:focus { box-shadow: none; }
.variants { display: flex; flex-direction: column; gap: 8px; }
.variant {
  width: 164px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 12px;
  display: flex; flex-direction: column; gap: 12px; cursor: pointer; text-align: left; height: auto; box-shadow: none;
  align-items: stretch;
}
.variant:hover { background: var(--surface); border-color: var(--line-input); }
.variant.on { border-color: var(--accent); background: var(--accent-tint); box-shadow: var(--shadow-sm); }
.variant .vt { display: flex; align-items: center; justify-content: space-between; font-weight: 500; font-size: 14px; }
.variant .vt .del { color: var(--muted); padding: 0; height: auto; border: 0; background: none; box-shadow: none; }
.variant .vb { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.add-variant { width: 164px; height: 44px; border-radius: var(--r-lg); justify-content: flex-start; }
.wait { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 24px 0; position: relative; color: var(--muted); }
.wait::before, .wait::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wait input { width: 56px; height: 32px; text-align: center; padding: 4px; }
.wait [data-del-step] { color: var(--muted); margin-left: -4px; }
.add-step { display: flex; justify-content: center; margin-top: 24px; }
/* barra de baixo da campanha: voltar + etapas | ferramentas | salvar + próximo */
.dock {
  position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  padding: 8px 16px; margin: 32px -24px -24px; background: var(--surface); border-top: 1px solid var(--line);
}
.dock .l, .dock .c, .dock .r { display: flex; align-items: center; gap: 4px; min-width: 0; }
.dock .r { justify-content: flex-end; gap: 8px; }
.dock .sep { align-self: stretch; width: 1px; background: var(--line); margin: 4px 6px; }
.wiz { display: flex; align-items: center; gap: 12px; list-style: none; margin: 0 0 0 8px; padding: 0; font-size: 13px; color: var(--muted); white-space: nowrap; }
.wiz li { display: flex; align-items: center; gap: 6px; }
.wiz li span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-input); font-size: 12px; }
.wiz li.on { color: var(--ink); font-weight: 500; }
.wiz li.on span { background: var(--accent); border-color: var(--accent); color: #fff; }
.wiz li.done span { background: var(--accent-tint); border-color: var(--accent-tint); color: var(--accent); }
@media (max-width: 1100px) { .wiz { display: none; } }

/* ------------------------------------------------------------ caixa de respostas (3 colunas) */
.ubox { display: flex; flex: 1; min-width: 0; }
.ubox .list { width: 384px; flex: none; border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.ubox .list > header { height: 64px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); font-weight: 500; }
.ubox .list .items { overflow-y: auto; flex: 1; }
.conv { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.conv:hover { background: var(--sunken); }
.conv.on { background: var(--accent-tint); box-shadow: inset 2px 0 0 var(--accent); }
.conv .l1 { display: flex; align-items: center; gap: 8px; }
.conv .who { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv time { margin-left: auto; color: var(--muted); font-size: 12px; flex: none; }
.conv .subj { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv .prev { margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.conv .l3 { display: flex; gap: 6px; margin-top: 8px; }
.ubox .thread { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.thread > header { height: 64px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(0, 128, 255, .10); color: var(--accent); font-weight: 500; font-size: 13px;
}
.avatar.lg { width: 40px; height: 40px; font-size: 15px; }
.thread .who b { display: block; font-weight: 500; }
.thread .who span { color: var(--muted); font-size: 13px; }
.thread > header .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.thread .scroll { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid; }
.notice.red { background: var(--red-soft); border-color: #f6c9cb; color: var(--red-ink); }
.notice.amber { background: var(--amber-soft); border-color: #f3dca8; color: var(--amber-ink); }
.notice.blue { background: var(--accent-tint); border-color: #bcdcff; color: #0062c4; }
.notice .grow { flex: 1; }
.ai-sum { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: flex; gap: 12px; }
.ai-sum .k { font-size: 11px; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.mail-msg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.mail-msg > .mh { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mail-msg > .mh time { margin-left: auto; color: var(--muted); font-size: 13px; }
.mail-msg > .mb { padding: 16px; white-space: pre-wrap; line-height: 22px; }
.mail-msg.out { background: var(--bg); }
.mail-msg.out > .mh .avatar { background: var(--sunken); color: var(--muted); }

/* ------------------------------------------------------------ kanban */
.kanban { display: flex; gap: 16px; align-items: stretch; min-height: calc(100% - 52px); overflow-x: auto; padding-bottom: 8px; }
.kcol { width: 320px; flex: none; background: var(--sunken); border-radius: var(--r-lg); padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.kcol > header { padding: 8px 8px 4px; }
.kcol > header .t { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 16px; font-weight: 500; }
.kcol > header .m { font-size: 13px; line-height: 16px; color: var(--muted); margin-top: 4px; padding-left: 16px; }
.kcol.over { box-shadow: inset 0 0 0 2px var(--accent); }
.kcard {
  background: var(--surface); border: 1px solid rgba(223, 229, 235, .5); border-radius: var(--r-md); padding: 14px;
  box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 10px; cursor: grab;
}
.kcard.dragging { opacity: .5; }
.kcard .l1 { display: flex; align-items: center; gap: 10px; }
.kcard .n { font-weight: 500; line-height: 17.5px; }
.kcard .d { font-size: 11px; line-height: 16.5px; color: var(--muted); }
.kcard .sum { font-size: 13px; line-height: 18px; color: var(--ink-table); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kcard .l3 { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.kcard .owner { display: inline-flex; align-items: center; gap: 6px; }
.mini-av { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: rgba(0, 128, 255, .10); color: var(--accent); }

/* ------------------------------------------------------------ gaveta, modal e toast */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 60; display: none; }
.overlay.show { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 512px; max-width: 100vw; background: var(--surface);
  border-left: 1px solid var(--line); z-index: 70; transform: translateX(100%); transition: transform .2s ease;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.show { transform: none; }
.drawer > header { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.drawer > header .grow { flex: 1; min-width: 0; }
.drawer > header h3 { margin: 0; font-size: 17px; line-height: 24px; font-weight: 500; }
.drawer > header p { margin: 0; color: var(--muted); font-size: 13px; }
.drawer .dbody { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.drawer > footer { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; }
.modal {
  position: fixed; z-index: 80; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 512px; max-width: calc(100vw - 32px);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; gap: 16px;
}
.modal.show { display: flex; }
.modal h2 { margin: 0; font-size: 19px; line-height: 24px; font-weight: 500; }
.modal p { margin: 0; color: var(--muted); }
.modal .actions { display: flex; gap: 8px; justify-content: flex-end; }
.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 10px; max-width: 420px;
  padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  font-size: 13px; animation: toast-in .2s ease;
}
.toast.err svg { color: var(--red-ink); } .toast svg { color: var(--green-ink); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.bulkbar {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; display: none; align-items: center; gap: 8px;
  padding: 8px 8px 8px 16px; background: var(--ink-strong); color: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
}
.bulkbar.show { display: flex; }
.bulkbar button { height: 32px; background: transparent; color: #fff; border-color: rgba(255,255,255,.2); box-shadow: none; }
.bulkbar button:hover { background: rgba(255,255,255,.08); }

.pager { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-top: 12px; color: var(--muted); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 8px 0; }
.timeline li svg.lucide { margin-top: 2px; color: var(--muted); }
.timeline time { display: block; color: var(--muted); font-size: 12px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (max-width: 800px) {
  .sub { display: none; }
  .has-sub .top .title { width: auto; border-right: 0; }
  .ubox .list { width: 100%; } .ubox .thread { display: none; }
  .ubox.reading .list { display: none; } .ubox.reading .thread { display: flex; }
  .step { grid-template-columns: 1fr; } .variants { flex-direction: row; flex-wrap: wrap; }
}

/* ------------------------------------------------------------ conta e usuário no trilho */
.rail-menu > summary { cursor: pointer; position: relative; }
.rail .ws .rail-menu > summary span {
  width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 12px;
}
.rail .foot .rail-menu > summary { width: 32px; height: 32px; display: grid; place-items: center; }
.rail-menu .pop { left: 44px; top: 0; min-width: 240px; }
.rail-menu.up .pop { top: auto; bottom: 0; }
.rail-menu .pop form { margin: 0; }
.rail-menu .pop button.on { font-weight: 500; }
.rail-menu .pop .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.rail-menu .pop .label { text-transform: none; font-size: 12px; }
.rail-menu[open] > summary::after { display: none; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }

/* ------------------------------------------------------------ login */
.auth { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; background: var(--bg); }
.auth .card { width: 100%; max-width: 380px; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); }
.auth .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink-strong); }
.auth .brand span { width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 13px; }
.auth h1 { margin: 8px 0 0; font-size: 21px; line-height: 28px; font-weight: 500; }
.auth p { margin: 0; color: var(--muted); }
.auth button.primary { width: 100%; height: 40px; }

/* ------------------------------------------------------------ configurações (painel + coluna de cartões) */
.snav .navhead { font-size: 11px; line-height: 16px; text-transform: uppercase; color: var(--muted); padding: 16px 8px 6px; font-weight: 500; }
.snav .navhead:first-child { padding-top: 0; }
.snav a { display: flex; align-items: center; gap: 8px; height: 32px; padding: 8px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: var(--ink); }
.snav a svg.lucide { color: var(--muted); }
.snav a:hover { background: var(--sunken); }
.snav a.on { background: var(--accent-soft); color: var(--ink-strong); }
.snav a.on svg.lucide { color: var(--accent); }
.snav a .ext { margin-left: auto; width: 14px; height: 14px; }
.settings { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; padding-bottom: 48px; }
.settings > h1 { font-size: 25px; line-height: 32px; font-weight: 700; margin: 0; }
.settings > .intro { color: var(--muted); margin: -8px 0 0; }
.scard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.scard > header { padding: 16px; display: flex; align-items: flex-start; gap: 16px; border-bottom: 1px solid var(--line); }
.scard > header .grow { flex: 1; min-width: 0; }
.scard > header h2 { margin: 0; font-size: 17px; line-height: 24px; font-weight: 500; }
.scard > header p { margin: 2px 0 0; color: var(--muted); }
.scard > .sbody { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.scard > .sbody.flush { padding: 0; }
.scard > footer { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.scard > footer .note { margin-right: auto; color: var(--muted); font-size: 13px; }
.scard .table-wrap { border: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.scard .sbody .table-wrap { border: 1px solid var(--line); border-radius: var(--r-sm); }
.srow { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.srow + .srow { padding-top: 16px; border-top: 1px solid var(--line); }
.srow .t { font-size: 14px; line-height: 16px; }
.srow .d { font-size: 13px; line-height: 16px; color: var(--muted); margin-top: 4px; max-width: 60ch; }
.srow .ctl { flex: none; display: flex; align-items: center; gap: 8px; }
.copy { display: flex; align-items: center; gap: 0; }
.copy input { border-top-right-radius: 0; border-bottom-right-radius: 0; color: var(--muted); background: var(--bg); }
.copy button { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 0; width: 36px; padding: 0; }
.avatar.xl { width: 64px; height: 64px; border-radius: var(--r-lg); font-size: 19px; background: var(--violet-soft); color: var(--violet); }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.perm td.c, .perm th.c { text-align: center; width: 140px; }
.perm .yes { color: var(--green-ink); } .perm .no { color: var(--line-input); }
.perm input[type=checkbox] { pointer-events: none; }
.linkrow { display: grid; grid-template-columns: 1fr 160px auto; gap: 8px; align-items: center; }
.soon { font-size: 11px; line-height: 16px; padding: 1px 6px; border-radius: 6px; background: var(--amber-soft); color: var(--amber-ink); font-weight: 500; white-space: nowrap; }
.menu .pop .who { display: flex; gap: 10px; align-items: center; padding: 8px; }
.menu .pop .who b { display: block; font-weight: 500; font-size: 14px; }
.menu .pop .who span { color: var(--muted); font-size: 12px; }

/* ------------------------------------------------------------ logo do Find no trilho */
.rail .ws.brand { color: inherit; }
.rail .ws.brand .brand-pin { width: 22px; height: 29px; filter: drop-shadow(0 2px 3px rgba(0, 102, 224, .25)); transition: transform .2s ease; }
.rail .ws.brand:hover .brand-pin { transform: translateY(-2px); }

/* ------------------------------------------------------------ menu do usuário com seletor de conta */
.rail-menu .pop.usermenu { min-width: 300px; padding: 6px; }
.usermenu .who .avatar { width: 40px; height: 40px; }
.acct-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 8px; min-height: 44px; }
.acct-row .lbl { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); white-space: nowrap; }
.acct-row .lbl svg.lucide { color: var(--muted); }
.menu.acct { position: relative; min-width: 0; }
.acct-btn {
  display: inline-flex; align-items: center; gap: 6px; max-width: 160px; height: 32px; padding: 0 8px 0 10px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--sunken); font-size: 13px; font-weight: 500;
  list-style: none; transition: border-color .15s, background .15s;
}
.acct-btn::-webkit-details-marker { display: none; }
.acct-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-btn svg.lucide { width: 14px; height: 14px; color: var(--muted); flex: none; }
.acct-btn:hover, .menu.acct[open] > .acct-btn { border-color: var(--line-input); background: var(--surface); }
.acct-btn.static { cursor: default; background: transparent; border-color: transparent; }
.menu.acct > .pop.acct-list {
  left: auto; right: 0; top: calc(100% + 6px); bottom: auto; min-width: 240px; max-height: 320px; overflow-y: auto; padding: 6px;
  animation: pop-in .14s ease;
}
.acct-list form { margin: 0; }
.acct-list button { height: auto !important; min-height: 40px; padding: 8px 10px !important; gap: 10px !important; font-size: 14px !important; white-space: normal; }
.acct-list button svg.lucide { color: var(--muted); }
.acct-list button.on { background: var(--accent-soft) !important; color: var(--ink-strong); opacity: 1; }
.acct-list button.on .ck { color: var(--accent); margin-left: auto; }
.acct-list button:disabled { pointer-events: none; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* toast saindo */
.toast.out { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }

/* ------------------------------------------------------------ popup de carregamento com o pin */
.finder {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  background: rgba(20, 23, 31, .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .2s ease;
}
.finder[hidden] { display: none; }
.finder:not(.show) { pointer-events: none; }
.finder.show { opacity: 1; }
.finder-card {
  width: 320px; padding: 28px 28px 22px; border-radius: 20px; text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%); border: 1px solid rgba(0, 128, 255, .12);
  box-shadow: 0 24px 60px -12px rgba(0, 60, 140, .28), 0 2px 6px rgba(0, 0, 0, .05);
  transform: translateY(10px) scale(.96); transition: transform .28s cubic-bezier(.2, .9, .3, 1.2);
}
.finder.show .finder-card { transform: none; }
.finder-stage { position: relative; height: 128px; margin: 0 auto 14px; width: 160px; }
/* o pin: desce devagar até o ponto, encosta e sobe de novo */
.finder-stage .pin-wrap {
  position: absolute; left: 50%; bottom: 22px; width: 48px; height: 64px; margin-left: -24px;
  transform-origin: 50% 100%; animation: pin-bob 2.2s cubic-bezier(.45, 0, .55, 1) infinite;
}
.finder-pin { width: 48px; height: 64px; display: block; filter: drop-shadow(0 6px 8px rgba(0, 102, 224, .28)); }
.finder-pin .pin-eye { transform-origin: 24px 22.5px; animation: pin-eye 2.2s ease-in-out infinite; }
/* o ponto no chão, a sombra e as ondas que saem quando o pin encosta */
.finder-stage .spot {
  position: absolute; left: 50%; bottom: 18px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: #0066e0; box-shadow: 0 0 0 3px rgba(0, 128, 255, .18); animation: spot 2.2s ease-in-out infinite;
}
.finder-stage .shadow {
  position: absolute; left: 50%; bottom: 14px; width: 44px; height: 10px; margin-left: -22px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 40, 100, .22), transparent); animation: shadow 2.2s cubic-bezier(.45, 0, .55, 1) infinite;
}
.finder-stage .ring {
  position: absolute; left: 50%; bottom: 22px; width: 120px; height: 30px; margin: 0 0 -15px -60px; border-radius: 50%;
  border: 2px solid rgba(0, 128, 255, .55); opacity: 0; transform: scale(.1); animation: ring 2.2s ease-out infinite;
}
.finder-stage .ring.r2 { animation-delay: .18s; border-color: rgba(0, 128, 255, .35); }
.finder-stage .ring.r3 { animation-delay: .36s; border-color: rgba(61, 155, 255, .22); }
@keyframes pin-bob {
  0%   { transform: translateY(-26px) scale(1, 1); }
  42%  { transform: translateY(-2px) scale(1, 1); }
  50%  { transform: translateY(0) scale(1.06, .92); }   /* encosta no ponto */
  58%  { transform: translateY(-3px) scale(.98, 1.03); }
  100% { transform: translateY(-26px) scale(1, 1); }
}
@keyframes pin-eye { 0%, 40%, 100% { transform: scale(1); } 50% { transform: scale(.78); } 62% { transform: scale(1.08); } }
@keyframes shadow { 0%, 100% { transform: scale(.45); opacity: .45; } 50% { transform: scale(1); opacity: 1; } }
@keyframes spot { 0%, 44%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } 60% { transform: scale(1); } }
@keyframes ring {
  0%, 46% { opacity: 0; transform: scale(.1); }
  50%     { opacity: 1; transform: scale(.18); }
  100%    { opacity: 0; transform: scale(1); }
}
.finder-title { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--ink-strong); letter-spacing: -.01em; }
.finder-step { margin-top: 4px; min-height: 20px; color: var(--muted); font-size: 13px; }
.finder-step.in { animation: step-in .35s ease; }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } }
.finder-bar { margin: 16px auto 0; height: 4px; width: 160px; border-radius: 4px; background: rgba(0, 128, 255, .12); overflow: hidden; }
.finder-bar i { display: block; height: 100%; width: 40%; border-radius: 4px; background: linear-gradient(90deg, #3d9bff, #0066e0); animation: bar 1.4s ease-in-out infinite; }
@keyframes bar { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) {
  .finder-stage .pin-wrap, .finder-stage .ring, .finder-stage .shadow, .finder-stage .spot, .finder-pin .pin-eye, .finder-bar i { animation: none !important; }
  .finder-stage .pin-wrap { transform: none; }
}

/* ------------------------------------------------------------ resposta ao lead (Respostas) */
.composer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-xs); }
.composer .ch { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.composer .ch svg.lucide { flex: none; margin-top: 2px; }
.composer textarea { border: 0; box-shadow: none; border-radius: 0; min-height: 160px; padding: 16px; line-height: 22px; resize: vertical; }
.composer textarea:focus { box-shadow: none; }
.composer .cf { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.composer .teach { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.composer .spacer { flex: 1; }
