@charset "UTF-8";
:root {
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#202827;
  background:#f4f6f5;
  font-synthesis:none;
  --ink:#182321;
  --muted:#697570;
  --line:#e4e9e6;
  --lime:#d3ef77;
  --green:#326149;
  --radius:14px
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input,textarea,select {
  font:inherit
}
button {
  cursor:pointer
}
button:disabled {
  cursor:default
}
button,input,textarea,select {
  font-size:.875rem
}
button {
  color:inherit
}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:3px solid #72a848;
  outline-offset:3px
}
button {
  transition:background .15s,box-shadow .15s,transform .15s
}
button:hover {
  filter:brightness(.97)
}
button:active {
  transform:translateY(1px)
}
h1,h2,h3,p {
  margin:0
}
h2 {
  font-size:1rem
}
h3 {
  font-size:1rem
}
svg {
  flex-shrink:0
}
#app {
  display:flex;
  min-height:100vh
}
.sidebar {
  width:205px;
  flex-shrink:0;
  background:var(--ink);
  color:#edf2ed;
  padding:31px 16px 0;
  display:flex;
  flex-direction:column;
  position:fixed;
  inset:0 auto 0 0;
  z-index:4
}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  font-size:1.375rem;
  font-weight:850;
  letter-spacing:2px;
  padding:0 9px
}
.brand-logo {
  width:48px;
  height:48px;
  padding:3px;
  display:grid;
  place-items:center;
  flex-shrink:0;
  overflow:hidden;
  background:#fff;
  border-radius:12px;
  box-shadow:0 0 0 1px #ffffff1f
}
.brand-logo img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:9px
}
.brand>div>span {
  display:block;
  font-size:.625rem;
  letter-spacing:1px;
  font-weight:500;
  margin-top:3px;
  color:#a9b5b0
}
.workspace-label {
  font-size:.625rem;
  letter-spacing:1.3px;
  color:#9eafa7;
  margin:53px 12px 15px
}
.nav-item {
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  padding:13px 12px;
  border:0;
  background:transparent;
  color:#bdc9c1;
  text-align:left;
  border-radius:9px;
  margin-bottom:6px
}
.nav-item span {
  flex:1
}
.nav-item b {
  font-size:.75rem;
  background:#ffffff0d;
  padding:3px 6px;
  border-radius:5px
}
.nav-item.active {
  color:var(--ink);
  background:var(--lime);
  font-weight:650
}
.nav-item.active b {
  background:#18232110
}
.sidebar-bottom {
  margin-top:auto;
  padding:30px 9px 0
}
.human-label {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.8125rem
}
.green-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--lime)
}
.sidebar-bottom p {
  font-size:.75rem;
  color:#9fafa5;
  line-height:1.6;
  margin:8px 0 24px
}
.reset {
  background:none;
  border:0;
  color:#bfccc3;
  display:flex;
  align-items:center;
  gap:9px;
  font-size:.8125rem;
  padding:0;
  margin-bottom:24px
}
.profile {
  border-top:1px solid #ffffff15;
  margin:0 -9px;
  padding:20px 9px;
  display:flex;
  gap:11px;
  align-items:center;
  font-size:.875rem
}
.profile-avatar {
  width:34px;
  height:34px;
  border:1px solid #6b7e71;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--lime)
}
.profile>div>span {
  display:block;
  color:#a5b4aa;
  font-size:.75rem;
  margin-top:4px
}
.main {
  margin-left:205px;
  width:calc(100% - 205px);
  min-width:0
}
.topbar {
  height:66px;
  padding:0 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  background:#fff;
  gap:16px
}
.breadcrumb {
  font-size:.8125rem;
  color:var(--muted)
}
.breadcrumb span {
  margin:0 12px;
  color:#b3bdb6
}
.breadcrumb strong {
  color:#36473d;
  font-weight:500
}
.demo-badge {
  font-size:.75rem;
  border:1px solid #e1e6df;
  border-radius:20px;
  padding:7px 11px;
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap
}
.demo-badge>span {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#a8ba83
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:27px 30px 25px
}
.eyebrow {
  font-size:.625rem;
  letter-spacing:1.5px;
  color:#758b69;
  font-weight:700;
  margin-bottom:9px
}
h1 {
  font-size:clamp(1.3rem,1.8vw,1.875rem);
  letter-spacing:-.8px;
  font-weight:650
}
.page-heading p {
  font-size:.875rem;
  color:var(--muted);
  margin-top:8px
}
.heading-stat {
  text-align:right;
  flex-shrink:0;
  display:flex;
  flex-direction:column;
  gap:4px
}
.heading-stat strong {
  font-size:1.625rem;
  font-weight:600
}
.heading-stat span {
  font-size:.75rem;
  color:var(--muted)
}
.heading-stat .period {
  font-size:.875rem;
  letter-spacing:.5px;
  margin-top:4px
}
.inbox-layout {
  display:grid;
  grid-template-columns:280px minmax(280px,1fr) 285px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  margin:0 24px;
  height:calc(100vh - 235px);
  min-height:610px;
  overflow:hidden;
  box-shadow:0 3px 14px #20372a04
}
.conversation-column {
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  overflow:hidden
}
.list-heading {
  padding:21px 18px 16px
}
.list-heading h2 {
  display:flex;
  align-items:center;
  gap:9px
}
.list-heading h2 span,.count {
  font-size:.75rem;
  color:#69766d;
  background:#f0f3ee;
  border-radius:6px;
  padding:3px 7px;
  font-weight:500
}
.list-heading p {
  font-size:.75rem;
  color:var(--muted);
  margin-top:7px
}
.search {
  margin:0 16px 15px;
  background:#f6f8f6;
  border:1px solid #edf0eb;
  border-radius:8px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  color:#849285
}
.search svg {
  width:16px
}
.search input {
  border:0;
  background:transparent;
  min-width:0;
  width:100%;
  outline:none;
  font-size:.8125rem
}
.channel-filters {
  margin:0 16px;
  display:flex;
  border-bottom:1px solid var(--line);
  gap:14px
}
.channel-filters button {
  border:0;
  border-bottom:2px solid transparent;
  padding:7px 0 12px;
  background:none;
  font-size:.75rem;
  color:var(--muted)
}
.channel-filters button.selected {
  color:var(--green);
  border-bottom-color:var(--green);
  font-weight:650
}
.filter-label {
  padding:11px 17px;
  color:var(--muted);
  font-size:.75rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:5px
}
.filter-label select {
  border:0;
  background:transparent;
  font-size:.75rem;
  max-width:145px;
  color:#394d3f
}
.conversation-list {
  overflow-y:auto;
  flex:1;
  border-top:1px solid var(--line)
}
.conversation {
  padding:18px 14px;
  display:flex;
  align-items:flex-start;
  gap:11px;
  border:0;
  border-bottom:1px solid #f0f2ef;
  background:#fff;
  text-align:left;
  width:100%;
  position:relative
}
.conversation.selected {
  background:#f0f5e8
}
.conversation.selected:before {
  content:"";
  width:3px;
  background:#86a943;
  position:absolute;
  inset:0 auto 0 0
}
.avatar {
  width:37px;
  height:37px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.75rem;
  font-weight:600;
  flex-shrink:0;
  background:#e6eddf;
  color:#4a6240
}
.tone-1 {
  background:#eee3f1;
  color:#875f8b
}
.tone-2 {
  background:#e0e9f1;
  color:#527287
}
.tone-3 {
  background:#f4e8dc;
  color:#987153
}
.tone-4 {
  background:#e6e4f1;
  color:#6e658d
}
.avatar.large {
  width:55px;
  height:55px;
  font-size:1rem
}
.avatar-wrap {
  position:relative;
  display:inline-flex;
  flex-shrink:0
}
.avatar-channel {
  position:absolute;
  bottom:-3px;
  right:-4px;
  border:2px solid #fff;
  border-radius:50%;
  height:19px;
  width:19px;
  display:grid;
  place-items:center;
  background:#e6f5ec;
  color:#399463
}
.avatar-channel.ig {
  background:#f6e5f0;
  color:#b76896
}
.avatar-channel svg {
  width:11px;
  height:11px
}
.conversation-content {
  min-width:0;
  flex:1
}
.conversation-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px
}
.conversation-title strong {
  font-size:.8125rem;
  font-weight:650;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.conversation-title>span {
  font-size:.625rem;
  color:#7d887e
}
.preview {
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:.75rem;
  color:#7c857b;
  margin-top:7px;
  line-height:1.4
}
.conversation-meta {
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:10px
}
.conversation-meta small {
  font-size:.625rem;
  color:var(--muted)
}
.status {
  font-size:.6875rem;
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:5px;
  padding:4px 6px;
  white-space:nowrap;
  background:#edf1f7;
  color:#53719b
}
.status>span {
  width:4px;
  height:4px;
  background:currentColor;
  border-radius:50%
}
.status.followup {
  background:#f6efd9;
  color:#8b732b
}
.status.converted {
  background:#e3f0e4;
  color:#438257
}
.status.lost {
  background:#f0eeed;
  color:#837a76
}
.unread {
  margin-left:auto;
  width:6px;
  height:6px;
  background:#73a444;
  border-radius:50%
}
.chat-column {
  min-width:0;
  background:#fafbf9;
  display:flex;
  flex-direction:column
}
.chat-header {
  padding:17px 21px;
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border-bottom:1px solid var(--line);
  min-height:83px
}
.chat-header h2 {
  font-size:.9375rem;
  margin-bottom:6px
}
.channel {
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:.75rem;
  font-weight:500
}
.channel svg {
  width:14px;
  height:14px
}
.channel.wa {
  color:#36825c
}
.channel.ig {
  color:#a26491
}
.chat-human {
  display:flex;
  align-items:center;
  gap:5px;
  font-size:.75rem;
  color:var(--muted);
  margin-left:auto
}
.chat-human svg {
  width:14px
}
.messages {
  overflow-y:auto;
  flex:1;
  padding:0 22px 24px;
  background-image:radial-gradient(#7291550c 1px,transparent 1px);
  background-size:18px 18px
}
.date-divider {
  text-align:center;
  margin:25px 0
}
.date-divider span {
  font-size:.6875rem;
  border:1px solid #e8ede4;
  background:#fff;
  padding:6px 11px;
  border-radius:20px;
  color:#8b9488
}
.message {
  display:flex;
  margin:14px 0
}
.message.out {
  justify-content:flex-end
}
.bubble {
  max-width:88%;
  padding:13px 15px 8px;
  background:#fff;
  border:1px solid #e6ebe2;
  border-radius:12px 12px 12px 2px;
  font-size:.875rem;
  line-height:1.65;
  overflow-wrap:anywhere;
  box-shadow:0 2px 3px #1e442a03
}
.out .bubble {
  background:#e9f1da;
  border-color:#e1ebd1;
  border-radius:12px 12px 2px 12px
}
.message-time {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:3px;
  font-size:.625rem;
  color:#8b9983;
  margin-top:5px;
  line-height:1.5
}
.message-time svg {
  width:13px;
  height:13px
}
.composer-wrap {
  padding:15px 17px 10px;
  background:#fff;
  border-top:1px solid var(--line)
}
#message-form {
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #dfe6db;
  border-radius:10px;
  padding:9px 9px 9px 13px
}
#message-input {
  border:0;
  padding:3px 0;
  flex:1;
  min-width:0;
  resize:none;
  background:none;
  font-size:.875rem;
  line-height:1.5
}
#message-input:focus-visible {
  outline-offset:0
}
.send-button {
  display:grid;
  place-items:center;
  background:var(--ink);
  color:var(--lime);
  border:0;
  border-radius:8px;
  width:39px;
  height:39px
}
.composer-wrap>p {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  font-size:.625rem;
  color:#899180;
  margin-top:9px
}
.composer-wrap>p svg {
  width:11px;
  height:11px
}
.detail-column {
  overflow-y:auto;
  border-left:1px solid var(--line);
  background:#fff
}
.detail-heading {
  padding:22px 20px 16px;
  border-bottom:1px solid var(--line)
}
.detail-heading h2 {
  font-size:.875rem
}
.detail-heading>span {
  display:block;
  font-size:.625rem;
  color:#99a292;
  letter-spacing:.9px;
  margin-top:7px
}
.contact-summary {
  text-align:center;
  padding:21px 16px 17px
}
.contact-summary h3 {
  margin-top:10px;
  font-size:.9375rem
}
.contact-summary p {
  font-size:.75rem;
  color:var(--muted);
  margin-top:6px
}
.detail-section {
  margin:0 20px;
  padding:17px 0;
  border-top:1px solid var(--line)
}
.detail-section label {
  font-size:.8125rem;
  font-weight:600;
  display:block;
  margin-bottom:9px
}
.detail-section input,.detail-section textarea,.detail-section select {
  width:100%;
  border:1px solid #e0e6dc;
  border-radius:7px;
  padding:9px 10px;
  font-size:.8125rem;
  background:#fff;
  color:#44533f;
  line-height:1.5
}
.detail-section textarea {
  resize:vertical;
  min-height:85px
}
.detail-section select {
  margin-bottom:11px;
  background:#fafbf8
}
.detail-section .date-label {
  font-size:.75rem;
  margin-top:12px;
  font-weight:400;
  color:var(--muted)
}
.detail-section .button {
  margin-top:10px;
  font-size:.8125rem
}
.detail-section select+.button {
  margin-top:0
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:10px 13px;
  border-radius:7px;
  font-size:.875rem;
  font-weight:550;
  border:1px solid transparent;
  line-height:1.4;
  text-decoration:none
}
.button.primary {
  background:var(--lime);
  color:#344325;
  border-color:#cbdf9f
}
.button.secondary {
  background:#fff;
  border-color:#dfe5da;
  color:#526249
}
.button svg {
  width:16px;
  height:16px
}
.full {
  width:100%
}
.text-button {
  padding:8px 0;
  background:none;
  border:0;
  color:#5f7c40;
  font-size:.75rem;
  display:inline-flex;
  align-items:center;
  gap:5px
}
.text-button svg {
  width:14px;
  height:14px
}
.helper {
  font-size:.6875rem;
  line-height:1.6;
  color:#8d9486;
  margin-top:9px
}
.contact-facts {
  margin:0 20px;
  padding:16px 0;
  border-top:1px solid var(--line);
  font-size:.75rem
}
.contact-facts>div {
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  margin:9px 0
}
.contact-facts dt {
  color:var(--muted)
}
.contact-facts dd {
  margin:0;
  color:#57674d
}
.conversion-confirmed {
  display:flex;
  align-items:center;
  gap:8px;
  background:#f0f6e7;
  border-radius:8px;
  padding:10px;
  color:#527440
}
.conversion-confirmed strong {
  font-size:.75rem;
  display:block
}
.conversion-confirmed span {
  font-size:.625rem;
  line-height:1.5;
  display:block;
  margin-top:4px
}
.linked-channels {
  padding:10px 14px;
  display:flex;
  align-items:center;
  gap:8px;
  background:#f6f7f2;
  font-size:.625rem;
  color:var(--muted);
  flex-wrap:wrap
}
.linked-channels span {
  margin-right:auto
}
.linked-channels button {
  font-size:.75rem;
  padding:5px 7px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:6px
}
.linked-channels button.active {
  border-color:#94ac70;
  color:#527338
}
.footer {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:13px 26px 18px;
  color:#92998c;
  font-size:.625rem
}
.metrics-surface,.followup-surface {
  margin:0 30px 20px
}
.kpi-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
  margin-bottom:22px
}
.kpi {
  background:#fff;
  padding:21px;
  border:1px solid var(--line);
  border-radius:12px;
  text-align:left;
  min-width:0
}
.kpi:hover {
  box-shadow:0 4px 16px #2337270c
}
.kpi.highlight {
  background:var(--ink);
  color:#fff;
  border-color:var(--ink)
}
.kpi-label {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:6px;
  font-size:.8125rem;
  color:var(--muted)
}
.highlight .kpi-label {
  color:#cfdbcd
}
.kpi-label svg {
  width:18px
}
.kpi>strong {
  display:block;
  font-size:2.5rem;
  font-weight:550;
  margin:19px 0 16px;
  letter-spacing:-1.5px
}
.highlight>strong {
  color:var(--lime)
}
.kpi-sub {
  font-size:.6875rem;
  color:#839077;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}
.kpi-sub svg {
  width:15px
}
.highlight .kpi-sub {
  color:#b5c5ae
}
.analytics-grid {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:22px
}
.analytics-card {
  padding:25px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px
}
.section-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px
}
.section-title h2 {
  font-size:1rem
}
.section-title p {
  font-size:.8125rem;
  color:var(--muted);
  margin-top:7px;
  line-height:1.6
}
.journey {
  margin:32px 0
}
.journey-row {
  display:flex;
  align-items:center;
  gap:16px;
  margin:21px 0;
  font-size:.8125rem
}
.journey-row>span {
  width:108px;
  color:#6e7b67
}
.journey-row>strong {
  width:24px;
  text-align:right;
  font-weight:550
}
.bar-track {
  height:10px;
  background:#f1f4ed;
  border-radius:4px;
  overflow:hidden;
  flex:1
}
.bar {
  height:100%;
  border-radius:4px;
  min-width:0;
  background:#b6ca98
}
.bar.total {
  background:#456447
}
.bar.won {
  background:var(--lime)
}
.bar.open {
  background:#c4d5ae
}
.bar.lost {
  background:#dddcd3
}
.bar.ig {
  background:#c991b7
}
.bar.wa {
  background:#8bc49b
}
.chart-note {
  font-size:.75rem;
  color:#8a9382;
  line-height:1.6
}
.channel-result {
  margin:25px 0
}
.channel-result>div:first-child {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px
}
.channel-result>div>strong {
  font-size:1.25rem;
  font-weight:550
}
.channel-result p {
  font-size:.75rem;
  color:#8a9382;
  margin-top:8px
}
.results-table {
  margin-top:22px
}
.table-scroll {
  overflow-x:auto;
  margin-top:20px
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  white-space:nowrap
}
th {
  font-size:.75rem;
  color:#88927e;
  font-weight:500;
  padding:13px 12px;
  background:#f8faf5
}
td {
  padding:12px;
  border-bottom:1px solid #edf0e8;
  font-size:.875rem;
  color:#68785b
}
.table-person {
  display:flex;
  align-items:center;
  gap:10px;
  color:#3d4d33
}
.table-person .avatar {
  width:29px;
  height:29px;
  font-size:.625rem
}
.table-open {
  display:grid;
  place-items:center;
  background:#f4f7ee;
  border:0;
  border-radius:6px;
  width:30px;
  height:30px;
  color:#738d55
}
.metric-definition {
  font-size:.75rem;
  color:#8a9382;
  margin-top:16px
}
.followup-surface {
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:25px;
  min-height:450px
}
.task-list {
  margin-top:27px
}
.task-card {
  border-top:1px solid var(--line);
  display:flex;
  gap:22px;
  align-items:center;
  padding:22px 0
}
.task-person {
  width:220px;
  display:flex;
  gap:11px;
  align-items:center;
  flex-shrink:0
}
.task-person h3 {
  font-size:.875rem;
  margin-bottom:6px
}
.task-description {
  flex:1;
  min-width:0
}
.task-description strong {
  font-size:.875rem;
  font-weight:500;
  overflow-wrap:anywhere
}
.due {
  display:flex;
  align-items:center;
  gap:5px;
  font-size:.75rem;
  color:#7b885e;
  margin-top:10px
}
.due svg {
  width:14px;
  height:14px
}
.due.overdue {
  color:#a07137
}
.task-actions {
  display:flex;
  gap:10px
}
.task-actions .button {
  font-size:.75rem
}
.complete-task {
  border:1px solid #dce6cc;
  background:#f5f9ed;
  color:#76944c;
  border-radius:7px;
  width:37px;
  display:grid;
  place-items:center
}
.empty {
  text-align:center;
  padding:45px 20px;
  color:#7c896c;
  font-size:.875rem;
  line-height:1.7
}
.empty p {
  font-size:.8125rem;
  margin:9px 0 18px
}
.roomy {
  padding:80px 20px
}
.empty>svg {
  height:35px;
  width:35px;
  margin-bottom:15px
}
.toast {
  position:fixed;
  bottom:26px;
  left:50%;
  transform:translate(-50%,20px);
  opacity:0;
  pointer-events:none;
  z-index:20;
  background:#253828;
  color:#f5f9ef;
  padding:14px 20px;
  border-radius:10px;
  font-size:.875rem;
  box-shadow:0 5px 25px #1d301a25;
  max-width:calc(100% - 32px);
  transition:opacity .15s,transform .15s
}
.toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}
dialog {
  border:1px solid var(--line);
  border-radius:16px;
  max-width:440px;
  padding:28px;
  color:var(--ink);
  box-shadow:0 20px 80px #0002
}
dialog::backdrop {
  background:#10201b66
}
dialog h2 {
  font-size:1.25rem
}
dialog p {
  font-size:1rem;
  line-height:1.65;
  color:var(--muted);
  margin:15px 0 24px
}
.dialog-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px
}
.muted {
  color:var(--muted);
  font-size:.75rem;
  display:block;
  margin-top:9px
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
@media(min-width:1500px) {
  .inbox-layout {
    grid-template-columns:320px minmax(360px,1fr) 315px
  }
  .sidebar {
    width:220px
  }
  .main {
    margin-left:220px;
    width:calc(100% - 220px)
  }
  .page-heading {
    padding:32px
  }
  .conversation-title strong {
    font-size:.875rem
  }
  .bubble {
    font-size:1rem
  }
}
@media(max-width:1200px) {
  .sidebar {
    width:175px;
    padding-left:10px;
    padding-right:10px
  }
  .main {
    margin-left:175px;
    width:calc(100% - 175px)
  }
  .brand {
    gap:8px;
    font-size:1.1rem;
    padding:0 5px
  }
  .brand-logo {
    width:42px;
    height:42px
  }
  .nav-item {
    gap:8px;
    padding:12px 8px
  }
  .inbox-layout {
    grid-template-columns:235px minmax(260px,1fr) 245px;
    margin:0 16px
  }
  .page-heading,.topbar {
    padding-left:22px;
    padding-right:22px
  }
  .detail-section,.contact-facts {
    margin-left:15px;
    margin-right:15px
  }
  .conversation {
    padding-left:11px;
    padding-right:11px;
    gap:8px
  }
  .filter-label {
    display:block
  }
  .filter-label select {
    display:block;
    width:100%;
    max-width:none;
    margin-top:5px
  }
  .task-card {
    flex-wrap:wrap
  }
  .task-actions {
    margin-left:auto
  }
  .kpi {
    padding:17px
  }
  .kpi>strong {
    font-size:2rem
  }
  .analytics-grid {
    gap:16px
  }
  .analytics-card {
    padding:20px
  }
  .metrics-surface,.followup-surface {
    margin-left:22px;
    margin-right:22px
  }
}
@media(max-width:1020px) {
  .sidebar {
    width:72px;
    padding:22px 8px
  }
  .brand {
    padding:0;
    justify-content:center
  }
  .brand>div,.workspace-label,.nav-item span,.nav-item b,.sidebar-bottom p,.human-label,.profile,.reset {
    display:none
  }
  .nav-item {
    justify-content:center;
    padding:15px 0;
    margin-top:8px
  }
  .sidebar nav {
    margin-top:35px
  }
  .main {
    margin-left:72px;
    width:calc(100% - 72px)
  }
  .inbox-layout {
    grid-template-columns:230px minmax(245px,1fr) 245px
  }
  .nav-item {
    position:relative
  }
  .nav-item svg {
    width:23px;
    height:23px
  }
  .kpi-grid {
    gap:10px
  }
  .heading-stat {
    display:none
  }
}
@media(max-width:860px) {
  .inbox-layout {
    grid-template-columns:235px minmax(0,1fr);
    height:auto;
    min-height:0;
    overflow:visible
  }
  .conversation-column {
    max-height:650px;
    grid-row:1 / 3
  }
  .chat-column {
    height:650px;
    border-radius:0 14px 0 0;
    overflow:hidden
  }
  .detail-column {
    grid-column:2;
    border-left:0;
    border-top:1px solid var(--line);
    border-radius:0 0 14px 0
  }
  .contact-summary {
    display:none
  }
  .detail-heading {
    padding:18px
  }
  .contact-facts {
    display:flex;
    justify-content:space-between;
    gap:12px
  }
  .contact-facts>div {
    display:block
  }
  .contact-facts dd {
    margin-top:7px
  }
  .kpi-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .analytics-grid {
    grid-template-columns:1fr
  }
  .footer {
    flex-wrap:wrap
  }
  .page-heading h1 {
    font-size:1.375rem
  }
  .task-card {
    gap:18px
  }
  .task-person {
    width:auto;
    min-width:190px
  }
  .task-description {
    min-width:200px
  }
  .sidebar-bottom {
    padding:0
  }
  .sidebar-bottom .reset {
    display:flex;
    font-size:0;
    justify-content:center;
    margin:0 0 12px
  }
  .sidebar-bottom .reset svg {
    width:21px;
    height:21px
  }
  .breadcrumb {
    font-size:.75rem
  }
}
@media(max-width:600px) {
  .sidebar {
    position:sticky;
    top:0;
    width:100%;
    height:64px;
    flex-direction:row;
    align-items:center;
    padding:8px 14px
  }
  .sidebar .brand {
    margin-right:auto
  }
  .brand-logo {
    width:38px;
    height:38px
  }
  .sidebar nav {
    display:flex;
    margin:0;
    gap:7px
  }
  .nav-item {
    margin:0;
    padding:9px 12px
  }
  .sidebar-bottom {
    margin:0 0 0 8px
  }
  .sidebar-bottom .reset {
    margin:0;
    padding:8px
  }
  .main {
    margin:0;
    width:100%
  }
  #app {
    display:block
  }
  .topbar {
    padding:10px 16px;
    height:auto;
    min-height:52px
  }
  .breadcrumb {
    font-size:.625rem
  }
  .breadcrumb span {
    margin:0 4px
  }
  .demo-badge {
    font-size:.625rem;
    padding:6px 8px
  }
  .page-heading {
    padding:23px 16px
  }
  .eyebrow {
    font-size:.625rem
  }
  .page-heading p {
    font-size:.8125rem;
    line-height:1.6
  }
  .inbox-layout {
    display:flex;
    flex-direction:column;
    margin:0 12px
  }
  .conversation-column {
    max-height:365px;
    border-right:0
  }
  .conversation-list {
    max-height:180px;
    min-height:140px
  }
  .list-heading {
    padding:16px
  }
  .search {
    margin-bottom:8px
  }
  .channel-filters button {
    padding-bottom:9px
  }
  .filter-label {
    display:flex
  }
  .filter-label select {
    width:auto;
    margin:0
  }
  .conversation {
    padding:12px 16px
  }
  .chat-column {
    height:560px;
    flex-shrink:0;
    border-top:1px solid var(--line);
    border-radius:0
  }
  .detail-column {
    border-radius:0 0 14px 14px
  }
  .contact-facts {
    justify-content:flex-start;
    gap:40px
  }
  .detail-section {
    margin:0 18px
  }
  .kpi-grid {
    gap:10px
  }
  .kpi {
    padding:17px
  }
  .kpi-label {
    font-size:.75rem
  }
  .kpi>strong {
    font-size:1.9rem
  }
  .metrics-surface,.followup-surface {
    margin:0 12px 20px
  }
  .analytics-card {
    padding:18px
  }
  .section-title {
    align-items:flex-start;
    flex-wrap:wrap
  }
  .journey-row {
    gap:10px
  }
  .journey-row>span {
    width:105px;
    font-size:.75rem
  }
  .followup-surface {
    padding:18px
  }
  .task-card {
    display:block
  }
  .task-description {
    margin:18px 0
  }
  .task-actions {
    justify-content:flex-end
  }
  .footer {
    font-size:.625rem;
    padding:14px
  }
  .chat-header {
    padding:15px
  }
  .messages {
    padding:0 16px 20px
  }
  .bubble {
    font-size:1rem
  }
  .toast {
    width:max-content;
    font-size:.8125rem
  }
  dialog {
    margin:auto 16px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important
  }
}
/* Readability: task content stays at 14–16 px;
only supporting metadata is smaller. */
.bubble, #message-input {
  font-size: 1rem;
}
.conversation-title strong, .detail-section label, .detail-section input, .detail-section textarea, .detail-section select, .detail-section .button, .search input, .channel-filters button, .filter-label, .filter-label select, .kpi-label, .journey-row, .task-actions .button {
  font-size: .875rem;
}
.preview, .status, .conversation-title > span, .conversation-meta small, .list-heading p, .channel, .contact-summary p, .contact-facts, .helper, .message-time, .composer-wrap > p, .date-divider span, .text-button, .conversion-confirmed strong, .conversion-confirmed span, .footer, .eyebrow, .workspace-label, .brand > div > span, .detail-heading > span, .linked-channels, .kpi-sub, .breadcrumb, .demo-badge {
  font-size: .75rem;
}
