@font-face { font-family: Inter; src: url("/static/fonts/Inter.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  --sidebar: #0c1524; --sidebar-hover: #1a2b45; --accent: #12b886; --accent-dark: #0b9b70; --accent-soft: #e6f8f1;
  --sky: #1d8cf8; --text: #152033; --text-2: #4b5568; --muted: #6b7280; --line: #e6eaf0; --bg: #f3f5f9; --card: #fff;
  --wa: #25d366; --ig: #e1306c; --fb: #1877f2; --amber: #f59e0b; --amber-soft: #fff7e6; --red: #ef4444; --red-soft: #fdecec; --violet: #7c5cfc;
  --shadow: 0 8px 24px rgba(15, 23, 42, .08); --radius: 12px; --banner: 0px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--bg); color: var(--text); font-family: Inter, "Segoe UI", system-ui, sans-serif; font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--sky); text-decoration: none; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.stack > * + * { margin-top: 12px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- shell ---------- */
.support-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 44px; background: #7c2d12; color: #fff; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 16px; font-size: 13px; }
.support-banner form { margin: 0; }
.app { display: flex; height: 100vh; height: 100dvh; overflow: hidden; }
.app.with-banner { padding-top: 44px; --banner: 44px; }
.sidebar { width: 240px; flex: 0 0 240px; background: linear-gradient(180deg, var(--sidebar), #0a1220); color: #fff; display: flex; flex-direction: column; padding: 16px 12px 12px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 10px; }
.brand strong { display: block; font-size: 15px; }
.brand .ws { display: block; font-size: 11.5px; color: #93a3bd; }
.brand.dark { border: 0; padding: 0 0 18px; }
.brand.dark .ws { color: var(--muted); }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #12b886, #0ea5e9); display: grid; place-items: center; }
.logo-mark svg { width: 22px; height: 22px; }
.nav-label { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #6f819e; padding: 12px 10px 6px; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #cbd5e1; font-size: 13.5px; }
.nav-item svg { width: 18px; height: 18px; }
.nav-item:hover { background: var(--sidebar-hover); color: #fff; }
.nav-item.active { background: rgba(18,184,134,.16); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.badge-count { margin-left: auto; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 1px 7px; }
.sidebar-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 6px 0; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-foot .who { flex: 1; min-width: 0; }
.sidebar-foot .who strong { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-foot .who span { font-size: 11.5px; color: #93a3bd; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #7c5cfc, #1d8cf8); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; flex: 0 0 34px; }
.avatar.sm { width: 28px; height: 28px; flex-basis: 28px; font-size: 11px; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.page { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; }
.loading { padding: 40px; color: var(--muted); }
.menu-btn { display: none; }
.sidebar-scrim { display: none; }

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px 14px; flex-wrap: wrap; }
.page-head h1 { font-size: 21px; font-weight: 700; }
.page-head p { color: var(--muted); font-size: 13px; }
.page-body { padding: 0 28px 28px; flex: 1; min-height: 0; }

/* ---------- elementos ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 13px; color: var(--text); white-space: nowrap; }
.btn:hover { border-color: #cfd6e0; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-danger { color: #b91c1c; border-color: #f3c7c7; }
.btn-danger.solid { background: var(--red); color: #fff; border-color: var(--red); }
.btn-ghost { background: transparent; }
.btn-light { background: #fff; color: #7c2d12; border: 0; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12.5px; }
.btn-block { width: 100%; height: 42px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.ico-btn { width: 34px; height: 34px; border-radius: 8px; border: 0; background: transparent; display: grid; place-items: center; color: var(--text-2); }
.ico-btn:hover { background: #eef1f6; }
.ico-btn svg { width: 18px; height: 18px; }
.ico-btn.light { color: #93a3bd; }
.ico-btn.light:hover { background: var(--sidebar-hover); color: #fff; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15,23,42,.03); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.card-h h2 { font-size: 15px; }
.card-h p { font-size: 12.5px; color: var(--muted); }
.card-b { padding: 16px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; }
.field small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=time], input[type=date], input[type=search], input[type=tel], input[type=url], select, textarea {
  width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 9px; padding: 0 11px; background: #fff; outline: none; }
textarea { height: auto; min-height: 90px; padding: 9px 11px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18,184,134,.15); }
input[type=color] { width: 38px; height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 2px; background: #fff; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch i { width: 38px; height: 22px; border-radius: 22px; background: #cfd6e0; position: relative; transition: background .15s; flex: 0 0 38px; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(16px); }
.switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(18,184,134,.25); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.seg button.on { background: var(--accent-soft); color: var(--accent-dark); }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 11.5px; font-weight: 600; background: #eef1f6; color: var(--text-2); white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.green { background: var(--accent-soft); color: #087f5b; }
.pill.red { background: var(--red-soft); color: #b91c1c; }
.pill.amber { background: var(--amber-soft); color: #b45309; }
.pill.blue { background: #e8f1fe; color: #1d4ed8; }
.pill.violet { background: #f0ecff; color: #5b3fd6; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; color: #fff; white-space: nowrap; }
.tag button { border: 0; background: transparent; color: inherit; opacity: .8; font-size: 13px; line-height: 1; }
.score { display: inline-flex; align-items: center; height: 21px; padding: 0 7px; border-radius: 6px; font-size: 11.5px; font-weight: 700; }
.score.Quente { background: #fdecec; color: #c2410c; }
.score.Morno { background: var(--amber-soft); color: #b45309; }
.score.Frio { background: #e8f1fe; color: #1d4ed8; }
.ch { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; color: #fff; font-size: 10px; font-weight: 800; }
.ch-whatsapp { background: var(--wa); } .ch-instagram { background: var(--ig); } .ch-facebook { background: var(--fb); }
.alert { padding: 10px 12px; border-radius: 9px; font-size: 13px; margin-bottom: 12px; }
.alert-error { background: var(--red-soft); color: #991b1b; }
.alert-warn { background: var(--amber-soft); color: #92400e; }
.alert-info { background: #e8f1fe; color: #1e3a8a; }
.alert-ok { background: var(--accent-soft); color: #065f46; }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); }
.ai-note { font-size: 11.5px; color: var(--violet); }

table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbfd; white-space: nowrap; }
table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr.click { cursor: pointer; }
table.data tr.click:hover td { background: #fafbfd; }
.table-wrap { overflow-x: auto; }
.user-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.user-cell strong { display: block; }
.user-cell span { display: block; font-size: 12px; color: var(--muted); }

.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 100; display: flex; flex-direction: column; gap: 8px; }
.toast { background: #152033; color: #fff; padding: 11px 14px; border-radius: 10px; box-shadow: var(--shadow); max-width: 380px; font-size: 13px; }
.toast.error { background: #991b1b; }
.modal-back { position: fixed; inset: 0; background: rgba(12, 21, 36, .45); z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal { background: #fff; border-radius: 14px; width: 560px; max-width: 100%; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.modal.wide { width: 860px; }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.modal-h h3 { font-size: 16px; }
.modal-b { padding: 18px; overflow: auto; }
.modal-f { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }

/* ---------- login / estados ---------- */
.login-body { display: grid; place-items: center; min-height: 100vh; background: radial-gradient(circle at 20% 10%, #dff7ee, transparent 40%), var(--bg); }
.login-wrap { width: 100%; padding: 20px; display: grid; place-items: center; }
.login-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 32px; width: 400px; max-width: 100%; }
.login-card h1 { font-size: 22px; margin-bottom: 4px; }
.login-card p { margin-bottom: 14px; }
.login-card.center { text-align: center; }
.login-help { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.state-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; }
.state-ico svg { width: 28px; height: 28px; }
.state-ico.amber { background: var(--amber-soft); color: #b45309; }

/* ---------- caixa de entrada ---------- */
.inbox { display: flex; flex: 1; min-height: 0; background: #fff; }
.conv-col { width: 340px; flex: 0 0 340px; border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.conv-tools { padding: 12px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.conv-tools .row { flex-wrap: nowrap; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.chip.on { background: var(--accent-soft); border-color: #b7ebd8; color: var(--accent-dark); }
.conv-list { flex: 1; overflow-y: auto; }
.conv { display: flex; gap: 10px; padding: 11px 12px; border-bottom: 1px solid #f0f2f6; cursor: pointer; }
.conv:hover { background: #fafbfd; }
.conv.active { background: #eefaf5; }
.conv .top { display: flex; gap: 6px; align-items: center; }
.conv .top strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
.conv .time { font-size: 11px; color: var(--muted); }
.conv .prev { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv .meta { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; align-items: center; }
.unread { background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 5px; }
.chat-col { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #f6f7fb; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); flex-wrap: nowrap; min-height: 60px; }
.chat-head > * { flex-shrink: 0; }
.chat-head .grow { flex-shrink: 1; }
.chat-head .grow strong, .chat-head .grow span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-btn { display: none; }
.chat-head .grow strong { display: block; }
.chat-head .grow span { font-size: 12px; color: var(--muted); }
.ia-toggle { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 9px; font-size: 12.5px; }
.messages { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.msg { display: flex; }
.msg.out { justify-content: flex-end; }
.bubble { max-width: min(560px, 78%); background: #fff; border-radius: 12px; padding: 8px 11px; box-shadow: 0 1px 1px rgba(15,23,42,.06); font-size: 13.5px; white-space: pre-wrap; word-wrap: break-word; }
.msg.out .bubble { background: #dcf8ec; }
.msg.out.ai .bubble { background: #efeaff; }
.msg.out.automation .bubble, .msg.out.flow .bubble { background: #e8f1fe; }
.bubble .by { font-size: 11px; font-weight: 700; color: var(--violet); margin-bottom: 2px; }
.bubble .foot { font-size: 10.5px; color: var(--muted); text-align: right; margin-top: 3px; }
.bubble .err { color: #b91c1c; font-size: 11.5px; }
.bubble img { max-width: 260px; border-radius: 8px; display: block; }
.bubble audio { width: 260px; max-width: 100%; display: block; }
.bubble .transcript { font-size: 12px; color: var(--text-2); font-style: italic; margin-top: 4px; border-top: 1px dashed #cfd6e0; padding-top: 4px; }
.note-line { align-self: center; font-size: 11.5px; color: var(--muted); background: #eef1f6; padding: 3px 10px; border-radius: 10px; }
.day-sep { align-self: center; font-size: 11px; color: var(--muted); background: #fff; padding: 2px 10px; border-radius: 10px; margin: 6px 0; }
.approval { margin: 0 18px 10px; background: #fff; border: 1px solid #e3dcff; border-radius: 12px; padding: 12px; }
.approval h4 { font-size: 12.5px; color: var(--violet); margin-bottom: 6px; }
.approval textarea { min-height: 64px; }
.approval .row { margin-top: 8px; }
.composer { display: flex; gap: 8px; padding: 10px 12px; background: #fff; border-top: 1px solid var(--line); align-items: flex-end; }
.composer textarea { min-height: 40px; max-height: 160px; height: 40px; resize: none; }
.composer .rec { color: var(--red); }
.profile-col { width: 320px; flex: 0 0 320px; border-left: 1px solid var(--line); background: #fff; overflow-y: auto; }
.profile-col section { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.profile-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.dl { display: grid; grid-template-columns: 110px 1fr; gap: 5px 8px; font-size: 13px; }
.dl dt { color: var(--muted); }
.dl dd { overflow-wrap: anywhere; }
.chat-empty { flex: 1; display: grid; place-items: center; color: var(--muted); }
.back-btn { display: none; }
.media-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.media-pick button { text-align: left; border: 1px solid var(--line); border-radius: 10px; padding: 9px; background: #fff; }
.media-pick button:hover { border-color: var(--accent); }

/* ---------- funil ---------- */
.kanban { display: flex; gap: 12px; padding: 0 28px 20px; overflow-x: auto; flex: 1; min-height: 0; align-items: stretch; }
.col { width: 280px; flex: 0 0 280px; background: #eaedf3; border-radius: 12px; display: flex; flex-direction: column; min-height: 0; }
.col-h { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-weight: 700; font-size: 13px; }
.col-h .dot { width: 10px; height: 10px; border-radius: 50%; }
.col-h .count { color: var(--muted); font-weight: 600; }
.deal-list { flex: 1; overflow-y: auto; padding: 0 8px 8px; display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
.deal-list.over { background: rgba(18,184,134,.08); border-radius: 8px; }
.deal { background: #fff; border-radius: 10px; padding: 10px; box-shadow: 0 1px 2px rgba(15,23,42,.06); cursor: grab; font-size: 12.5px; }
.deal.dragging { opacity: .5; }
.deal strong { display: block; font-size: 13.5px; }
.deal .meta { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; align-items: center; color: var(--muted); }
.col-foot { padding: 8px 12px; font-size: 12px; color: var(--muted); }
.add-col { width: 240px; flex: 0 0 240px; border: 2px dashed #cfd6e0; border-radius: 12px; display: grid; place-items: center; color: var(--muted); font-weight: 600; background: transparent; min-height: 120px; }
.col-row { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: #fff; }
.col-row .handle { cursor: grab; color: var(--muted); }

/* ---------- painel / relatórios ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.stat { padding: 16px; }
.stat span { font-size: 12.5px; color: var(--muted); }
.stat strong { display: block; font-size: 26px; margin-top: 4px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 80px; gap: 10px; align-items: center; margin-bottom: 9px; font-size: 13px; }
.bar-track { height: 10px; background: #eef1f6; border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 6px; }

/* ---------- editor de passos ---------- */
.step-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff; margin-bottom: 10px; }
.step-card .step-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.step-n { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.opt-row { display: flex; gap: 6px; margin-bottom: 6px; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.media-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.media-item img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; }
.media-item audio { width: 100%; }
.qr-img { width: 260px; height: 260px; border-radius: 12px; border: 1px solid var(--line); }
.conn-card { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mod-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0f2f6; }
.mod-row:last-child { border-bottom: 0; }
.copy-field { display: flex; gap: 6px; }
.copy-field input { font-family: ui-monospace, monospace; font-size: 12px; }

/* ---------- responsivo ---------- */
@media (max-width: 1280px) { .profile-btn { display: inline-flex; } .profile-col { display: none; } .profile-col.open { display: block; position: absolute; right: 0; top: 0; bottom: 0; z-index: 20; box-shadow: var(--shadow); } }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .sidebar { position: fixed; z-index: 50; top: var(--banner); bottom: 0; left: 0; transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { transform: none; }
  .sidebar-scrim.open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 45; }
  .menu-btn { display: grid; place-items: center; position: absolute; top: 10px; left: 10px; z-index: 10; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); background: #fff; }
  .menu-btn svg { width: 20px; height: 20px; }
  .page-head { padding: 12px 14px 10px 58px; }
  .page-body { padding: 0 14px 18px; }
  .kanban { padding: 0 14px 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .conv-col { width: 100%; flex-basis: 100%; border-right: 0; }
  .conv-tools { padding-left: 58px; }
  .inbox.has-chat .conv-col { display: none; }
  .inbox:not(.has-chat) .chat-col { display: none; }
  .back-btn { display: grid; }
  .chat-head { padding-left: 54px; flex-wrap: wrap; }
  .chat-head .ia-toggle span.small { display: none; }
  .bubble { max-width: 88%; }
  .support-banner { font-size: 11.5px; height: 56px; text-align: left; }
  .app.with-banner { padding-top: 56px; --banner: 56px; }
  .bar-row { grid-template-columns: 90px 1fr 60px; }
  .modal-back { padding: 0; align-items: end; }
  .modal { border-radius: 14px 14px 0 0; max-height: 92dvh; }
}

.deal .move-btn { width: 24px; height: 24px; padding: 3px; opacity: .55; flex: none; }
.deal:hover .move-btn { opacity: 1; }
.deal .move-btn svg { width: 15px; height: 15px; }
@media (hover: none) { .deal .move-btn { opacity: 1; } }
