:root {
  /* Cores da Kekeu Baby: azul bebê e rosa bebê */
  --brand: #2563EB;          /* rosa da marca (botões) */
  --brand-dark: #1D4ED8;
  --brand-soft: #DBEAFE;     /* rosa bebê clarinho */
  --blue: #3B82F6;           /* azul da marca */
  --blue-dark: #2563EB;
  --blue-soft: #e4f2fc;      /* azul bebê clarinho */
  --accent: #2563EB;
  --bg: #F5F7FA;
  --panel: #ffffff;
  --line: #e3ebf4;
  --text: #0B2340;
  --muted: #5B6B82;
  --note: #fff7da;
  --note-line: #f3d98a;
  --out: #e4f2fc;
  --danger: #d9534f;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(37, 99, 235, .08);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand-dark); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* ---------- Botões e campos ---------- */
.btn { border: 1px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 10px; font-weight: 500; }
.btn:hover { border-color: #C3CEDD; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.danger { color: var(--danger); }
.btn.small { padding: 4px 10px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: default; }
input[type=text], input[type=password], input[type=search], select, textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }

/* ---------- Login / primeiro acesso ---------- */
.center-screen { min-height: 100vh; display: grid; place-items: center; padding: 16px; color: var(--muted); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; width: 100%; max-width: 380px; color: var(--text); }
.card h1 { margin: 0 0 4px; font-size: 22px; }
.card .btn { width: 100%; margin-top: 16px; }
.logo { font-weight: 700; color: var(--brand); }
.error { color: var(--danger); font-size: 14px; margin-top: 10px; }

/* ---------- Estrutura ---------- */
.shell { display: grid; grid-template-columns: 210px 1fr; height: 100vh; }
.side { background: #0B2340; color: #E6EDF7; display: flex; flex-direction: column; padding: 16px 10px; }
.side .logo { color: #fff; font-size: 18px; padding: 0 10px 16px; }
.side .logo span { color: #8FC3F8; }
.side nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: #C9D6E8; text-decoration: none; font-size: 15px; }
.side nav a:hover { background: #16365E; }
.side nav a.active { background: var(--brand); color: #fff; }
.side nav a .count { margin-left: auto; background: #fff; color: var(--brand-dark); font-size: 11px; font-weight: 700; border-radius: 99px; padding: 1px 7px; }
.side .foot { margin-top: auto; padding: 10px; font-size: 13px; color: #C3CEDD; border-top: 1px solid #16365E; }
.side .foot b { color: #fff; display: block; }
.side .foot button { margin-top: 8px; background: transparent; color: #8FC3F8; border: 0; padding: 0; }
.status-line { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pill { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: #16365E; color: #C9D6E8; }
.pill.ok { background: #1f6f5c; color: #fff; }
main { overflow: hidden; height: 100vh; }
.page { height: 100%; overflow: auto; padding: 20px 24px; }
.page h2 { margin: 0 0 4px; }
.page .intro { color: var(--muted); margin: 0 0 18px; max-width: 720px; }

/* ---------- Caixa de entrada ---------- */
.inbox { display: grid; grid-template-columns: 320px 1fr 260px; height: 100%; }
.list-pane { border-right: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; min-height: 0; }
.list-head { padding: 12px; display: grid; gap: 8px; border-bottom: 1px solid var(--line); }
.conv-list { overflow-y: auto; flex: 1; }
.conv { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; padding: 11px 12px; border-bottom: 1px solid #EFF4FB; cursor: pointer; }
.conv:hover { background: #EFF4FB; }
.conv.active { background: var(--brand-soft); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; position: relative; font-size: 15px; }
.avatar .ch { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; border: 2px solid #fff; }
.ch-whatsapp { background: #25d366; }
.ch-instagram { background: linear-gradient(45deg, #f9a825, #e1306c, #833ab4); }
.conv .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv .preview { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv .meta { text-align: right; font-size: 11px; color: var(--muted); display: grid; gap: 4px; justify-items: end; align-content: start; }
.badge { background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 1px 7px; }
.store-tag { font-size: 11px; padding: 1px 7px; border-radius: 99px; background: #eef7f6; color: #1f6f5c; white-space: nowrap; }
.store-tag.central { background: #EFF4FB; color: var(--muted); }
.chips { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.chip { font-size: 11px; padding: 1px 8px; border-radius: 99px; color: #fff; }
.empty { padding: 30px 16px; color: var(--muted); text-align: center; }

.chat-pane { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: #EFF4FB; }
.chat-head { padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--panel); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chat-head .title { font-weight: 700; font-size: 16px; }
.chat-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chat-head select { width: auto; padding: 6px 8px; font-size: 14px; }
.back-btn { display: none; }
.deadline { font-size: 12px; background: #fff1e0; color: #a35a00; padding: 3px 9px; border-radius: 99px; }
.timeline { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 70%; padding: 8px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); word-wrap: break-word; line-height: 1.35; }
.bubble .text { white-space: pre-wrap; }
.bubble.out { align-self: flex-end; background: var(--out); border-color: #cbe9e3; }
.bubble .who { font-size: 11px; font-weight: 600; color: var(--accent); margin-bottom: 2px; }
.bubble .time { font-size: 11px; color: var(--muted); text-align: right; margin-top: 3px; }
.bubble .err { color: var(--danger); font-size: 12px; margin-top: 4px; }
.bubble .kind { font-style: italic; color: var(--muted); }
.note { align-self: center; max-width: 80%; background: var(--note); border: 1px dashed var(--note-line); border-radius: 10px; padding: 8px 12px; font-size: 14px; white-space: pre-wrap; }
.note .who { font-size: 11px; font-weight: 700; color: #8a6d00; }
.event { align-self: center; font-size: 12px; color: var(--muted); background: #EFF4FB; padding: 3px 10px; border-radius: 99px; text-align: center; }
.day { align-self: center; font-size: 12px; color: var(--muted); margin: 6px 0; }

.composer { border-top: 1px solid var(--line); background: var(--panel); padding: 10px 12px; position: relative; }
.composer.note-mode { background: var(--note); }
.composer .tabs { display: flex; gap: 6px; margin-bottom: 8px; align-items: center; }
.tab { border: 0; background: transparent; padding: 4px 10px; border-radius: 99px; color: var(--muted); font-size: 13px; }
.tab.on { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.composer-row { display: flex; gap: 8px; align-items: flex-end; }
.composer textarea { resize: none; min-height: 42px; max-height: 160px; }
.window-warn { font-size: 12px; color: #a35a00; margin-bottom: 6px; }
.qr-pop { position: absolute; bottom: 100%; left: 12px; right: 12px; max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.qr-item { padding: 8px 12px; cursor: pointer; border-bottom: 1px solid #EFF4FB; }
.qr-item:hover, .qr-item.sel { background: var(--brand-soft); }
.qr-item b { color: var(--brand-dark); }
.qr-item div { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.info-pane { border-left: 1px solid var(--line); background: var(--panel); padding: 16px; overflow-y: auto; }
.info-pane h4 { margin: 18px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.info-pane h4:first-child { margin-top: 0; }
.tag-toggle { display: inline-flex; align-items: center; gap: 4px; margin: 0 4px 6px 0; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 12px; }
.tag-toggle.on { color: #fff; border-color: transparent; }
.kv { font-size: 14px; margin: 4px 0; word-break: break-all; }
.no-chat { margin: auto; color: var(--muted); text-align: center; padding: 20px; }

/* ---------- Funil ---------- */
.board { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; align-items: start; min-width: 1100px; }
.column { background: #EFF4FB; border-radius: var(--radius); padding: 10px; min-height: 200px; }
.column.drop { outline: 2px dashed var(--brand); }
.column h3 { margin: 0 0 10px; font-size: 14px; display: flex; justify-content: space-between; }
.kcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 8px; cursor: grab; }
.kcard .name { font-weight: 600; display: flex; gap: 6px; align-items: center; }
.kcard .preview { font-size: 13px; color: var(--muted); margin-top: 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.kcard .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 11px; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* ---------- Tabelas / listas de configuração ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.box h3 { margin: 0 0 8px; font-size: 16px; }
.row-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #EFF4FB; }
.row-item:last-child { border-bottom: 0; }
.row-item .grow { flex: 1; min-width: 0; }
.row-item .sub { font-size: 13px; color: var(--muted); white-space: pre-wrap; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid #EFF4FB; font-size: 14px; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stat .n { font-size: 28px; font-weight: 700; }
.stat .l { color: var(--muted); font-size: 13px; }
.hint { background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-top: 10px; }

#toasts { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 99; }
.toast { background: #0B2340; color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 14px; max-width: 360px; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.toast.err { background: var(--danger); }

/* ---------- Celular / telas pequenas ---------- */
@media (max-width: 1100px) {
  .inbox { grid-template-columns: 300px 1fr; }
  .info-pane { display: none; }
  .inbox.show-info .info-pane { display: block; position: fixed; right: 0; top: 0; bottom: 0; width: 280px; z-index: 20; box-shadow: -8px 0 24px rgba(0,0,0,.1); }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 100dvh; }
  .side { flex-direction: row; align-items: center; padding: 8px 10px; gap: 6px; overflow-x: auto; }
  .side .logo { padding: 0 6px 0 0; font-size: 15px; white-space: nowrap; }
  .side nav { display: flex; gap: 4px; }
  .side nav a { padding: 6px 10px; font-size: 13px; white-space: nowrap; }
  .side .foot { margin: 0 0 0 auto; border: 0; padding: 0 4px; white-space: nowrap; }
  .side .foot b, .side .foot .status-line, .side .foot span { display: none; }
  .side .foot button { margin: 0; }
  main { height: calc(100dvh - 52px); }
  .inbox { grid-template-columns: 1fr; }
  .inbox .chat-pane { display: none; }
  .inbox.open .list-pane { display: none; }
  .inbox.open .chat-pane { display: flex; }
  .back-btn { display: inline-block; }
  .bubble { max-width: 88%; }
  .grid2 { grid-template-columns: 1fr; }
  .page { padding: 16px; }
}

/* ---------- WhatsApp por QR code ---------- */
.wa-banner { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 50; background: var(--danger); color: #fff; padding: 8px 16px; border-radius: 0 0 12px 12px; font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.15); max-width: calc(100% - 32px); }
.wa-banner a { color: #fff; font-weight: 700; }
label.radio { display: block; color: var(--text); font-size: 14px; margin: 10px 0; line-height: 1.4; }
label.radio input { margin-right: 6px; }
body.wa-down main { padding-top: 40px; }


/* =========================================================
   Tema Kekeu Baby (azul bebê + rosa bebê)
   ========================================================= */
body { background: linear-gradient(160deg, #f3f9ff 0%, #EFF4FB 100%) fixed; }
.btn { border-radius: 999px; border-color: var(--line); }
.btn.primary { background: linear-gradient(135deg, #2563EB, #2563EB); border: 0; box-shadow: 0 4px 12px rgba(37, 99, 235, .25); }
.btn.primary:hover { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
input[type=text], input[type=password], input[type=search], select, textarea { border-radius: 12px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }

/* Login / primeiro acesso */
.center-screen { background: radial-gradient(circle at 20% 20%, #dff0fd 0, transparent 45%), radial-gradient(circle at 80% 80%, #DBEAFE 0, transparent 45%); }
.card { border-radius: 24px; border: 0; box-shadow: 0 20px 50px rgba(37, 99, 235, .15); text-align: left; }
.login-logo { width: 200px; height: auto; display: block; margin: 0 auto 6px; }
.login-title { text-align: center; font-size: 26px; margin: 0 0 6px; color: var(--blue-dark); }
.login-title span { color: var(--brand); }
.card p.muted { text-align: center; }

/* Menu lateral claro, com a marca */
.side { background: linear-gradient(180deg, #ffffff 0%, #eef7fe 55%, #EFF4FB 100%); color: var(--text); border-right: 1px solid var(--line); }
.brand { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 8px 16px; }
.brand img { width: 150px; height: auto; }
.side .logo { color: var(--blue-dark); font-size: 15px; font-weight: 800; padding: 0; letter-spacing: .02em; }
.side .logo span { color: var(--brand); }
.side nav a { color: var(--text); font-weight: 600; border-radius: 12px; margin-bottom: 2px; }
.side nav a:hover { background: var(--blue-soft); }
.side nav a.active { background: linear-gradient(135deg, #2563EB, #2563EB); color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, .25); }
.side nav a .count { background: var(--brand); color: #fff; }
.side nav a.active .count { background: #fff; color: var(--brand-dark); }
.side .foot { border-top: 1px solid var(--line); color: var(--muted); }
.side .foot b { color: var(--text); }
.side .foot button { color: var(--brand-dark); font-weight: 700; }
.pill { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.pill.ok { background: #e3f6ee; color: #23845e; border-color: #c4ebd9; }

/* Caixa de entrada */
.list-pane, .info-pane, .chat-head, .composer { background: rgba(255, 255, 255, .92); }
.conv { border-bottom-color: #eef3f9; }
.conv:hover { background: #f5faff; }
.conv.active { background: linear-gradient(90deg, var(--brand-soft), #fff); box-shadow: inset 3px 0 0 var(--brand); }
.badge { background: var(--brand); }
.avatar { overflow: visible; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.store-tag { background: var(--blue-soft); color: var(--blue-dark); font-weight: 600; }
.store-tag.central { background: var(--brand-soft); color: var(--brand-dark); }
.chat-pane { background: linear-gradient(180deg, #f7fbff, #EFF4FB); }
.bubble { border-radius: 18px 18px 18px 6px; border-color: #e8eef6; box-shadow: 0 2px 6px rgba(11, 35, 64, .04); }
.bubble.out { border-radius: 18px 18px 6px 18px; background: var(--blue-soft); border-color: #cfe6f8; }
.bubble .who { color: var(--blue-dark); }
.event { background: #eef3f9; }
.tab.on { background: var(--brand-soft); color: var(--brand-dark); }
.deadline { background: #fff1e6; }

/* Fotos, áudios e vídeos */
.media-img { display: block; max-width: 260px; max-height: 320px; width: 100%; border-radius: 12px; margin-bottom: 4px; object-fit: cover; cursor: zoom-in; }
.media-audio { width: 260px; max-width: 100%; margin-bottom: 4px; }
.media-video { max-width: 280px; width: 100%; border-radius: 12px; margin-bottom: 4px; }
.media-doc { display: inline-block; padding: 6px 10px; background: #fff; border-radius: 10px; margin-bottom: 4px; text-decoration: none; font-weight: 600; }

/* Funil e caixas */
.column { background: linear-gradient(180deg, #eaf4fd, #EFF4FB); border-radius: 18px; }
.kcard { border-radius: 14px; border-color: #e8eef6; box-shadow: 0 2px 8px rgba(11, 35, 64, .05); }
.box, .stat { border: 0; border-radius: 18px; box-shadow: var(--shadow); }
.stat .n { color: var(--blue-dark); }
.page h2 { color: var(--blue-dark); }
.hint { background: var(--blue-soft); }

@media (max-width: 760px) {
  .brand { flex-direction: row; padding: 0 6px 0 0; }
  .brand img { width: 64px; }
  .side .logo { font-size: 15px; }
}

/* Botão de anexo */
.composer-row .btn.attach { padding: 0 12px; font-size: 18px; background: #fff; border: 1px solid var(--line, #e5e7eb); }
.composer-row .btn.attach:hover { background: #EFF4FB; }

/* Horário de atendimento */
table.hours { border-collapse: collapse; margin: 10px 0 6px; }
table.hours td { padding: 4px 8px 4px 0; }
table.hours input[type=time] { width: auto; margin: 0; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 6px 0; }
label.check input { width: auto; margin: 0; }
.hint { color: #6b7280; font-size: 13px; margin: 4px 0 0; }

/* Botão de avisos */
.push-btn { display: block; width: 100%; margin: 8px 0 6px; padding: 8px 10px; border-radius: 10px; border: 1px dashed #2563EB; background: #fff; color: #2563EB; font-weight: 700; cursor: pointer; text-align: left; }
.push-btn.on { border-style: solid; border-color: #9cc9e8; color: #1E40AF; background: #f2f8fd; }
.push-btn.hidden { display: none; }

/* Botões da IA */
.tab.ai { color: #1E40AF; }
.tab.ai:hover { background: #eef6fc; }
.note { white-space: pre-wrap; }

/* Texto do áudio */
.transcript { margin-top: 6px; padding: 6px 8px; border-radius: 8px; background: #f2f8fd; color: #2f4a5e; font-size: 13px; font-style: italic; white-space: pre-wrap; }

/* Retomar contato */
.follow-box { border: 1px solid #9cc9e8; background: #f2f8fd; border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; }
.follow-box.due { border-color: #2563EB; background: #EFF4FB; }
.follow-box .row { display: flex; gap: 6px; margin-top: 6px; }
.fu-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
#fu-pick input { width: 100%; margin: 4px 0; }
#fu-pick.hidden { display: none; }
.chip.follow { background: #eef6fc; color: #1E40AF; border-radius: 999px; padding: 1px 7px; font-size: 11px; font-weight: 700; }
.chip.follow.due { background: #DBEAFE; color: #2563EB; }

/* Estoque */
.stock-pop { padding: 8px; max-height: 360px; overflow: auto; }
.stock-pop input { width: 100%; margin: 0 0 6px; }
.stock-item { padding: 8px 10px; border-radius: 10px; cursor: pointer; border-bottom: 1px solid #EFF4FB; }
.stock-item:hover { background: #EFF4FB; }
.stock-item.zero { opacity: .6; }
.stock-lojas { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; margin-top: 3px; }
.stock-lojas .ok { color: #1f7a4d; }
.stock-lojas .no { color: #9ca3af; }
.page-res { margin-top: 12px; max-width: 900px; background: #fff; border-radius: 14px; }
.page-res .stock-item { cursor: default; }

/* =========================================================
   Cores mais vivas (pedido do Cleirton: estava "apagadinho")
   ========================================================= */
:root {
  --brand: #2563EB;          /* rosa mais forte */
  --brand-dark: #1D4ED8;
  --brand-soft: #DBEAFE;
  --blue: #2563EB;           /* azul mais forte */
  --blue-dark: #1D4ED8;
  --blue-soft: #d3eafc;
  --accent: #1D4ED8;
  --line: #d6e3f0;
  --text: #0B2340;
  --muted: #52627A;
  --out: #d3eafc;
}
body { background: linear-gradient(160deg, #e6f3ff 0%, #DBEAFE 100%) fixed; }
.btn.primary { background: linear-gradient(135deg, #2563EB, #2563EB); box-shadow: 0 4px 14px rgba(37, 99, 235, .35); }
.btn.primary:hover { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.side { background: linear-gradient(180deg, #ffffff 0%, #dcefff 50%, #DBEAFE 100%); }
.side nav a:hover { background: #c9e5fb; }
.side nav a.active { background: linear-gradient(135deg, #2563EB, #2563EB); box-shadow: 0 4px 14px rgba(37, 99, 235, .35); }
.side .logo { color: var(--blue-dark); }
.chat-pane { background: linear-gradient(180deg, #edf6ff, #EFF4FB); }
.bubble.out { background: #d3eafc; border-color: #b4d9f7; }
.bubble .who { color: var(--blue-dark); font-weight: 700; }
.conv:hover { background: #ecf6ff; }
.conv.active { background: linear-gradient(90deg, #DBEAFE, #fff); box-shadow: inset 4px 0 0 var(--brand); }
.store-tag { background: #d3eafc; color: #1D4ED8; }
.store-tag.central { background: #DBEAFE; color: #1D4ED8; }
.tab.on { background: #DBEAFE; color: #1D4ED8; font-weight: 700; }
.tab.ai { color: #1D4ED8; font-weight: 600; }
.column { background: linear-gradient(180deg, #d9edff, #DBEAFE); }
.page h2, .stat .n { color: var(--blue-dark); }
.hint { background: #d3eafc; color: #1f4f7a; }
.pill.ok { background: #d5f5e6; color: #13784c; border-color: #a9e6c9; }
.follow-box { border-color: #7fbdf0; background: #e3f2fe; }
.follow-box.due { border-color: #2563EB; background: #DBEAFE; }
.transcript { background: #e3f2fe; color: #1f3d57; }
.stock-lojas .ok { color: #0f7a46; font-weight: 600; }

/* Leitor de código de barras */
.scan-row { display: flex; gap: 6px; align-items: center; }
.scan-row input { flex: 1; margin: 0 !important; }
.scan-btn { white-space: nowrap; }
.scan-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .85); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.scan-box { position: relative; width: min(480px, 100%); text-align: center; color: #fff; }
.scan-box video { width: 100%; border-radius: 16px; background: #000; display: block; }
.scan-line { position: absolute; left: 10%; right: 10%; top: 38%; height: 2px; background: #2563EB; box-shadow: 0 0 12px #2563EB; }
.scan-box p { margin: 12px 0; font-weight: 700; }

/* Fotos dos produtos */
.stock-item { display: flex; gap: 10px; align-items: flex-start; }
.stock-info { flex: 1; min-width: 0; }
.stock-thumb { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #fff; border: 1px solid var(--line); flex: none; cursor: zoom-in; }
.stock-thumb.none { display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--muted); cursor: default; text-align: center; }
.stock-actions { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.stock-pop .stock-item { cursor: default; }

.stock-lojas .cli { background: #DBEAFE; border-radius: 6px; padding: 0 5px; }
.stock-head { padding: 4px 10px 6px; }

.send-hint { max-width: 600px; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; }

/* Janela de confirmação do sistema */
.dlg-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dlg { background: #fff; border-radius: 18px; padding: 18px; width: min(420px, 100%); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.dlg-msg { white-space: pre-wrap; font-size: 15px; line-height: 1.45; color: var(--text); }
.dlg-input { width: 100%; margin-top: 12px; }
.dlg-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

/* Galeria de fotos do produto */
.gallery-dlg { width: min(560px, 100%); max-height: 90vh; overflow: auto; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 12px; }
.gal-item { position: relative; padding: 0; border: 3px solid transparent; border-radius: 12px; background: #f3f6fa; overflow: hidden; aspect-ratio: 1; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-item.on { border-color: var(--brand); }
.gal-check { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.85); color: transparent; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.gal-item.on .gal-check { background: var(--brand); color: #fff; }

.sound-btn { display: block; margin: 2px 0 8px; font-size: 12px; color: var(--muted) !important; font-weight: 600 !important; text-align: left; }

.login-tip { margin-top: 14px; text-align: left !important; line-height: 1.4; }

/* Foto grande */
.photo-view { position: fixed; inset: 0; z-index: 1200; background: rgba(10, 14, 25, .92); display: flex; align-items: center; justify-content: center; padding: 56px 12px 24px; touch-action: pinch-zoom; }
.photo-view img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.photo-close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: #0B2340; font-size: 22px; font-weight: 800; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.media-img, .stock-thumb[data-zoom] { cursor: zoom-in; }

/* Ficha do bebê */
.baby { border: 1px solid #8FC3F8; background: #EFF4FB; border-radius: 12px; padding: 8px 10px; margin-bottom: 8px; }
.baby-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.baby-next { margin-top: 4px; color: var(--blue-dark); font-weight: 600; }
.baby-form { width: min(440px, 100%); max-height: 92vh; overflow: auto; }
.baby-form label { display: block; font-weight: 700; font-size: 13px; margin: 10px 0 4px; }
.baby-form input[type=text], .baby-form input[type=date], .baby-form select { width: 100%; }
.seg { display: flex; gap: 8px; margin-top: 10px; }
.seg label { flex: 1; margin: 0 !important; border: 2px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--brand); background: #DBEAFE; color: #1D4ED8; }
.seg input { display: none; }

/* ---------- Celular: barra de baixo + "Mais" ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  .side { padding: 6px 12px; padding-top: max(6px, env(safe-area-inset-top)); }
  .side nav, .side .foot { display: none !important; }
  .brand img { width: 54px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(37, 99, 235, .08); backdrop-filter: blur(8px); }
  .tabbar a, .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 2px; border: 0; background: none;
    color: var(--muted); text-decoration: none; font: inherit; font-size: 11px; font-weight: 700; border-radius: 12px; position: relative; }
  .tabbar .ti { font-size: 22px; line-height: 1; }
  .tabbar a.active { color: var(--brand-dark); background: #DBEAFE; }
  .tabbar .count { position: absolute; top: 0; right: calc(50% - 22px); background: var(--brand); color: #fff; border-radius: 999px; font-size: 10px; padding: 1px 6px; }
  main { height: calc(100dvh - 58px - 64px - env(safe-area-inset-bottom)); }
  /* Dentro de uma conversa, a barra some para dar espaço à caixa de escrever */
  body:has(.inbox.open) .tabbar { display: none; }
  body:has(.inbox.open) main { height: calc(100dvh - 58px); }
}
.sheet-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 23, 42, .45); display: flex; align-items: flex-end; }
.sheet { width: 100%; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); max-height: 85vh; overflow: auto; }
.sheet-grip { width: 44px; height: 5px; border-radius: 99px; background: #d6e3f0; margin: 0 auto 10px; }
.sheet-who { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.sheet-who b { color: var(--text); }
.sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sheet-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; background: #f4f9ff; color: var(--text); text-decoration: none; font-weight: 700; font-size: 13px; text-align: center; }
.sheet-item .ti { font-size: 26px; }
.sheet-status { margin: 12px 0 4px; display: flex; gap: 6px; flex-wrap: wrap; }
.sheet-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.sheet-act { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; color: var(--text); }
.sheet-act.danger { color: var(--brand-dark); }
.sheet-close { width: 100%; margin-top: 10px; }
@media (max-width: 760px) {
  .composer .tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; overflow: visible; }
  .composer .tabs .tab { padding: 4px 2px; font-size: 10.5px; line-height: 1.15; white-space: normal; text-align: center; min-width: 0; }
}

.sheet { position: relative; animation: sheet-up .22s ease; }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
.sheet-head { position: relative; height: 34px; margin: -4px 0 4px; display: flex; align-items: center; justify-content: center; touch-action: none; }
.sheet-head .sheet-grip { margin: 0; width: 56px; height: 6px; }
.sheet-x { position: absolute; right: -4px; top: -2px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #eef4fb; color: var(--text); font-size: 18px; font-weight: 800; }
.sheet-close { padding: 14px !important; font-size: 16px !important; font-weight: 800 !important; background: #eef4fb !important; border: 0 !important; }

/* Cabeçalho do estoque dentro da conversa */
.stock-pop { padding-top: 4px; }
.pop-head { position: sticky; top: -8px; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin: -4px -8px 6px; background: #fff; border-bottom: 1px solid var(--line); touch-action: none; }
.pop-head .sheet-grip { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); margin: 0; width: 44px; height: 5px; }
.pop-head b { margin-top: 6px; color: var(--blue-dark); }
.pop-head .sheet-x { position: absolute; right: 6px; top: 4px; width: 36px; height: 36px; font-size: 16px; }
@media (max-width: 760px) { .stock-pop { max-height: 70vh !important; left: 6px; right: 6px; } }

/* Painel da cliente no celular/tablet */
.info-head { display: none; }
.info-backdrop { display: none; }
.fu-lbl { display: block; font-size: 12px; color: var(--muted); font-weight: 700; margin: 8px 0 2px; }
#fu-pick input[type=datetime-local] { min-height: 40px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 10px; -webkit-appearance: none; appearance: none; }
@media (max-width: 1100px) {
  .inbox.show-info .info-pane { width: min(88vw, 380px); background: #fff; padding-top: 0; animation: info-in .2s ease; }
  .inbox.show-info .info-backdrop { display: block; position: fixed; inset: 0; z-index: 19; background: rgba(15, 23, 42, .35); }
  .info-head { display: flex; position: sticky; top: 0; z-index: 2; align-items: center; justify-content: center; min-height: 52px; box-sizing: content-box; margin: 0 -16px 8px; background: #fff; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
  .info-head b { color: var(--blue-dark); }
  .info-head .sheet-grip { display: none; }
  .info-head .sheet-x { position: absolute; right: 10px; width: 40px; height: 40px; }
}
@keyframes info-in { from { transform: translateX(100%); } to { transform: none; } }

/* Telas do menu no celular: botão de fechar */
.page-close { display: none; }
@media (max-width: 760px) {
  body.on-page .page-close { display: flex; align-items: center; justify-content: center; position: fixed; z-index: 30; top: calc(8px + env(safe-area-inset-top)); right: 10px;
    width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--text); font-size: 18px; font-weight: 800; box-shadow: 0 4px 14px rgba(37, 99, 235, .2); }
  body.on-page .page h2 { padding-right: 48px; }
}

/* Mensagens apagadas: continuam visíveis para a equipe */
.bubble.gone .text, .bubble.gone .media-img, .bubble.gone .kind { opacity: .55; text-decoration: line-through; }
.bubble.revoked { border-style: dashed; }
.gone-note { margin-top: 4px; font-size: 11.5px; font-weight: 700; color: #1E40AF; }
.unsend { border: 0; background: none; padding: 0; font: inherit; font-size: 11.5px; color: #1E40AF; font-weight: 700; cursor: pointer; text-decoration: underline; }

.bubble .text.removed { font-style: italic; color: var(--muted); }
.bubble.gone:has(.removed) .text, .bubble.revoked:has(.removed) .text { opacity: 1; text-decoration: none; }

/* Menu da mensagem (copiar / apagar) */
.bubble { position: relative; -webkit-touch-callout: none; }
.bubble-menu-btn { position: absolute; top: 4px; right: 6px; width: 24px; height: 22px; border: 0; border-radius: 8px; background: rgba(255,255,255,.85); color: var(--muted); font-size: 14px; line-height: 1; opacity: 0; cursor: pointer; }
.bubble:hover .bubble-menu-btn { opacity: 1; }
@media (hover: none) { .bubble-menu-btn { display: none; } }
.bubble.picked { outline: 3px solid #8FC3F8; }
.bubble-menu { position: fixed; z-index: 1300; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(15, 23, 42, .25); padding: 6px; min-width: 150px; display: flex; flex-direction: column; }
.bubble-menu button { border: 0; background: none; text-align: left; padding: 10px 12px; border-radius: 10px; font: inherit; font-weight: 700; color: var(--text); }
.bubble-menu button:hover { background: #f4f9ff; }
.bubble-menu button.danger { color: #1D4ED8; }

/* Quem está atendendo */
.chip.who-chip { background: #ede9fe; color: #5b3fc4; border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 700; }
.chip.who-chip.mine { background: #d5f5e6; color: #13784c; }
.chip.who-chip.big { font-size: 12px; padding: 3px 10px; }

/* Origem da conversa na lista */
.conv .origin { font-size: 11.5px; font-weight: 800; margin: 1px 0 2px; }
.conv .origin.ig { color: #c13584; }
.conv .origin.wa { color: #128c4a; }

.chip.peek { background: #fff4d6; color: #8a5a00; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }

/* Busca e filtros da lista com a cara da Kekeu */
.list-head { background: linear-gradient(135deg, #e3f2fe 0%, #DBEAFE 100%); border-bottom: 1px solid #8FC3F8; padding: 12px; }
.list-head .search-wrap { position: relative; }
.list-head .search-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; pointer-events: none; opacity: .75; }
.list-head input[type=search] { width: 100%; padding-left: 36px; border-radius: 999px; border: 1.5px solid #8FC3F8; background: #fff; box-shadow: 0 2px 8px rgba(37, 99, 235, .08); }
.list-head input[type=search]:focus { border-color: var(--brand); outline: 3px solid #DBEAFE; }
.list-head .filters { display: flex; gap: 6px; }
.list-head select { flex: 1; min-width: 0; border-radius: 999px; font-weight: 700; padding: 8px 30px 8px 12px; -webkit-appearance: none; appearance: none;
  background-repeat: no-repeat; background-position: right 12px center; background-size: 10px; cursor: pointer; }
.list-head select#filter { background-color: #fff; color: var(--brand-dark); border: 1.5px solid #8FC3F8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23c92f6f' stroke-width='1.6'/%3E%3C/svg%3E"); }
.list-head select#tagf { background-color: #fff; color: var(--blue-dark); border: 1.5px solid #a9d3f5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231f6fb3' stroke-width='1.6'/%3E%3C/svg%3E"); }
.list-head select:focus { outline: 3px solid #DBEAFE; }

/* Facebook (Messenger) */
.ch-messenger { background: #1877f2; font-weight: 900; font-family: Arial, sans-serif; }
.conv .origin.fb { color: #1877f2; }

/* Filtros do funil (mesma cara dos filtros da lista de conversas) */
.funnel-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 14px; }
.funnel-filters select { border-radius: 999px; font-weight: 700; padding: 8px 30px 8px 12px; -webkit-appearance: none; appearance: none; background-color: #fff;
  background-repeat: no-repeat; background-position: right 12px center; background-size: 10px; cursor: pointer; width: auto; flex: 0 1 auto; max-width: 100%; }
.funnel-filters select.ff-rosa { color: var(--brand-dark); border: 1.5px solid #8FC3F8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23c92f6f' stroke-width='1.6'/%3E%3C/svg%3E"); }
.funnel-filters select.ff-azul { color: var(--blue-dark); border: 1.5px solid #a9d3f5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231f6fb3' stroke-width='1.6'/%3E%3C/svg%3E"); }
.funnel-filters select:focus { outline: 3px solid #DBEAFE; }

/* Escolha de motivo (lista de botões) */
.dlg-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.dlg-choices .btn { border-radius: 999px; }

/* Contatos do dia */
.ct-card { border: 1.5px solid #8FC3F8; border-radius: 14px; padding: 10px 12px; margin: 8px 0; background: #fff; }
.ct-card.late { border-color: #f59e0b; background: #fffaf0; }
.ct-nota { color: var(--muted); margin: 4px 0; }
.ct-texto { background: #f2f8ff; border-radius: 10px; padding: 8px 10px; margin: 6px 0; font-size: 14px; white-space: pre-wrap; }
.ct-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.late-tag { color: #b45309; font-weight: 700; }

.chip.hot { background: #fee2e2; color: #b91c1c; font-weight: 800; }

/* Clientes (Microvix) */
.cli-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.cli-filtros select, .cli-filtros input { flex: 1 1 220px; min-width: 0; }
.cli-res { display: grid; gap: 10px; margin-top: 10px; }
.cli-card { background: var(--panel, #fff); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.cli-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cli-num { margin: 6px 0; font-size: 14px; }
.cli-acoes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.cli-acoes a.btn { text-decoration: none; }
.cli-compras { margin-top: 8px; border-top: 1px dashed var(--line, #e5e5ef); padding-top: 6px; max-height: 260px; overflow: auto; }
.cli-pag { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 14px 0; }


/* =========================================================
   KEFLUX — identidade visual (manual v2.0, nov/2026)
   Azul profundo #0B2340 · Azul tecnológico #2563EB · Off-white #F5F7FA · Azul claro #8FC3F8
   Sem degradês; sombras leves; fonte Manrope.
   ========================================================= */
:root {
  --kf-navy: #0B2340; --kf-blue: #2563EB; --kf-blue-dk: #1D4ED8; --kf-off: #F5F7FA; --kf-sky: #8FC3F8;
  --brand: var(--kf-blue); --brand-dark: var(--kf-blue-dk); --brand-soft: #DBEAFE;
  --blue: var(--kf-blue); --blue-dark: var(--kf-navy); --blue-soft: #E6EEFC; --accent: var(--kf-blue);
  --bg: var(--kf-off); --line: #E1E7EF; --text: var(--kf-navy); --muted: #5B6B82; --out: #E6EEFC;
  --shadow: 0 2px 10px rgba(11, 35, 64, .06);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body { background: var(--kf-off); }
h1, h2, h3 { font-weight: 700; }
.btn { border-radius: 10px; }
.btn.primary { background: var(--kf-blue); border: 1px solid var(--kf-blue); box-shadow: none; color: #fff; }
.btn.primary:hover { background: var(--kf-blue-dk); }
input:focus, select:focus, textarea:focus { outline: 3px solid #DBEAFE; border-color: var(--kf-blue); }
:focus-visible { outline: 3px solid var(--kf-sky); outline-offset: 2px; }

/* Login no azul profundo (manual: opção B) */
.center-screen { background: var(--kf-navy); color: #C9D6E8; }
.card { border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.login-logo { width: 190px; margin: 0 auto 14px; }
.login-title { color: var(--kf-navy); font-size: 22px; }
.login-title span { color: var(--kf-blue); }

/* Menu lateral em azul profundo */
.side { background: var(--kf-navy); color: #E6EDF7; border-right: 0; }
.brand { align-items: flex-start; padding: 2px 10px 14px; gap: 6px; }
.brand img { width: 128px; }
.brand .empresa { font-size: 12px; color: var(--kf-sky); font-weight: 600; letter-spacing: .02em; }
.side .logo, .side .logo span { color: #fff; }
.side nav a { color: #C9D6E8; font-weight: 600; }
.side nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.side nav a.active { background: var(--kf-blue); color: #fff; box-shadow: none; }
.side nav a .count { background: var(--kf-blue); color: #fff; }
.side nav a.active .count { background: #fff; color: var(--kf-blue-dk); }
.side .foot { border-top: 1px solid rgba(255, 255, 255, .12); color: #9FB0C8; }
.side .foot b { color: #fff; }
.side .foot button { color: var(--kf-sky); }
.side .prod-head { display: flex; align-items: center; gap: 8px; margin: 4px 4px 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; font-weight: 700; text-decoration: none; font-size: 14px; }
.side .prod-head img { width: 18px; height: 18px; }
.side .prod-head small { margin-left: auto; color: var(--kf-sky); font-weight: 600; }
.side nav .sec { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #7F93B0; padding: 12px 10px 4px; }

/* Superfícies claras, sem degradê */
.chat-pane, .column, .list-head { background: var(--kf-off); }
.list-head { border-bottom: 1px solid var(--line); }
.conv:hover { background: #EEF3FA; }
.conv.active { background: #E6EEFC; box-shadow: inset 3px 0 0 var(--kf-blue); }
.bubble.out { background: #E6EEFC; border-color: #C8D9F6; }
.bubble .who { color: var(--kf-blue-dk); }
.page h2, .stat .n { color: var(--kf-navy); }
.store-tag, .store-tag.central { background: #E6EEFC; color: var(--kf-blue-dk); }
.tab.on { background: #E6EEFC; color: var(--kf-blue-dk); }
.hint, .transcript { background: #E6EEFC; color: var(--kf-navy); }

/* Visão geral (KEFLUX 360): cartões dos produtos */
.kf-home { max-width: 1100px; }
.kf-home h2 { font-size: 26px; margin: 0 0 4px; }
.kf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 18px; }
.kf-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-decoration: none; color: var(--kf-navy); transition: border-color .15s, transform .15s; }
.kf-card:hover { border-color: var(--kf-blue); transform: translateY(-1px); }
.kf-card img { width: 36px; height: 36px; flex: none; }
.kf-card b { display: block; font-size: 17px; }
.kf-card b span { font-weight: 800; letter-spacing: .01em; }
.kf-card p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.kf-card .kf-tag { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #EEF2F7; color: #5B6B82; }
.kf-card .kf-tag.on { background: #DCFCE7; color: #15803D; }
.kf-card.off { opacity: .6; cursor: default; }
.kf-card.off:hover { border-color: var(--line); transform: none; }
.kf-sec { margin-top: 26px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.k-ico { width: 18px; height: 18px; vertical-align: -3px; }
.sheet .k-ico { content: url(/marca/icone_transparente.svg); width: 26px; height: 26px; }
