@font-face {
  font-family: Inter;
  src: url("/static/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --green: #008d45;
  --green-dark: #006e36;
  --green-bright: #00a859;
  --green-soft: #eaf6ed;
  --ink: #24372e;
  --muted: #7b8881;
  --border: #e6ebe7;
  --surface: #fff;
  --bg: #f5f7f5;
  --radius: 10px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 13px;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #55b97a;
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #008d452c;
  border-color: var(--green);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -1px;
  margin-bottom: 7px;
}
h2 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
h3 {
  font-size: 13px;
  margin-bottom: 8px;
}
p {
  line-height: 1.65;
}
small {
  font-size: 11px;
}
.icon {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-block;
  fill: currentColor;
  vertical-align: middle;
}
.icon-button {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  padding: 6px;
  color: #7c8a81;
}
.icon-button:hover {
  background: #edf3ee;
  color: var(--green);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 15px;
  font-weight: 550;
  font-size: 12px;
  white-space: nowrap;
  min-height: 37px;
  transition: background 0.15s;
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.button.primary:hover {
  background: var(--green-dark);
}
.button.secondary {
  background: #fff;
  border-color: #dfe6e0;
  color: #526158;
}
.button.secondary:hover {
  background: #f5f8f5;
  border-color: #bfcfc3;
}
.button.quiet {
  background: transparent;
  color: var(--green);
  padding: 8px;
}
.button.danger {
  color: #b05245;
  border-color: #eedcd7;
  background: white;
}
.button.small {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 11px;
}
.eyebrow,
.overline {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: var(--green);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  font-size: 36px;
  letter-spacing: -3px;
  line-height: 1;
  font-weight: 850;
  color: var(--green);
  position: relative;
  padding-right: 9px;
}
.brand-mark > span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #82c435;
  border-radius: 50%;
  right: 0;
  top: 3px;
}
.brand-name {
  font-size: 17px;
  letter-spacing: -0.6px;
  font-weight: 550;
}
.brand-name > span {
  display: block;
  font-size: 7px;
  letter-spacing: 2.6px;
  color: #8a978e;
  margin-top: 5px;
}
.avatar {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.3px;
  color: #42885b;
  background: #eaf4e9;
  flex: none;
}
.avatar.tone-1 {
  background: #eef0fc;
  color: #7378a5;
}
.avatar.tone-2 {
  background: #fbf0e2;
  color: #ae8a51;
}
.avatar.tone-3 {
  background: #eaf3f6;
  color: #588894;
}
.avatar.tone-4 {
  background: #f7eaf0;
  color: #a36f89;
}
.avatar.small-avatar {
  height: 31px;
  width: 31px;
  font-size: 10px;
  border-radius: 50%;
}
.online-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #00a859;
  flex: none;
}
.online-dot.offline {
  background: #dbac54;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: white;
}
.login-brand {
  background: #f0f6ef;
  padding: 45px 9%;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e3ebdf;
}
.login-brand > .brand {
  margin-bottom: 70px;
}
.login-story {
  max-width: 480px;
  margin: auto 0;
}
.login-story h1 {
  font-size: 39px;
  line-height: 1.2;
  margin-top: 18px;
  letter-spacing: -1.7px;
  font-weight: 620;
}
.login-story > p {
  color: #74816f;
  font-size: 14px;
  line-height: 1.9;
}
.login-brand > small {
  font-size: 10px;
  color: #8b9987;
  margin-top: 60px;
}
.login-illustration {
  margin-top: 35px;
  padding: 22px;
  background: #ffffffb0;
  border: 1px solid #dfe9d9;
  border-radius: 14px;
  max-width: 410px;
}
.illustration-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #70936a;
  margin-bottom: 23px;
}
.illustration-line {
  display: flex;
  gap: 12px;
  align-items: center;
}
.illustration-line > div {
  flex: 1;
}
.illustration-line b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.illustration-line div > span {
  font-size: 11px;
  color: #7b8977;
}
.channel-label {
  font-size: 10px;
  background: #e3f1e0;
  border-radius: 4px;
  color: var(--green);
  padding: 4px 6px;
}
.illustration-reply {
  margin: 19px 0 19px 60px;
  background: #e2f0df;
  border-radius: 9px 9px 0 9px;
  padding: 15px;
  font-size: 11px;
  color: #4b7842;
  display: flex;
  gap: 8px;
  align-items: center;
}
.illustration-reply .icon {
  width: 14px;
  height: 14px;
}
.illustration-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #94a28e;
  border-top: 1px solid #e7ede3;
  padding-top: 15px;
}
.login-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
}
.login-panel form {
  width: 100%;
  max-width: 340px;
}
.login-panel h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin-top: 14px;
  margin-bottom: 7px;
}
.login-panel form > p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 30px;
}
.login-panel label {
  display: block;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 550;
}
.input-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dfe6de;
  border-radius: 7px;
  padding: 0 12px;
  margin-bottom: 21px;
  background: white;
}
.input-icon .icon {
  width: 16px;
  height: 16px;
  color: #98a397;
}
.input-icon input {
  border: 0;
  min-height: 43px;
  width: 100%;
  outline: 0;
  background: transparent;
  padding: 10px 0;
}
.input-icon:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 2px #008d4510;
}
.input-icon input:focus {
  outline: 0;
}
.input-icon .icon-button {
  margin-right: -7px;
}
.login-submit {
  width: 100%;
  justify-content: space-between;
  padding: 12px 15px;
}
.login-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #8d9c8b;
  font-size: 10px;
  margin-top: 20px;
}
.login-security .icon {
  width: 13px;
  height: 13px;
}
.login-help {
  margin-top: 65px;
  font-size: 10px;
  color: #a0aaa0;
  max-width: 340px;
  text-align: center;
}
.form-error {
  font-size: 12px !important;
  color: #b35d4c !important;
  margin: 12px 0 !important;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 226px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 29px 14px 0;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.sidebar > .brand {
  padding: 0 13px;
  margin-bottom: 30px;
}
.workspace-switch {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 9px;
  margin: 0 3px 28px;
  text-align: left;
}
.workspace-initials {
  background: #f0f4ef;
  border: 1px solid #e6ebe3;
  color: #6b8065;
  font-size: 10px;
  font-weight: 600;
  padding: 8px;
  border-radius: 6px;
}
.workspace-switch > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.workspace-switch b {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.workspace-switch small {
  display: block;
  font-size: 8px;
  color: #92a08e;
  margin-top: 4px;
}
.workspace-switch .icon {
  width: 11px;
  height: 11px;
  color: #9daa98;
}
.nav-label {
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 1.3px;
  color: #a2aca1;
  padding: 0 14px;
  margin-bottom: 12px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar nav > a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 41px;
  padding: 10px 13px;
  font-size: 11px;
  color: #778174;
  border-radius: 7px;
}
.sidebar nav > a .icon {
  width: 16px;
  height: 16px;
  color: #879181;
}
.sidebar nav > a:hover {
  background: #f7f9f5;
  color: #335b35;
}
.sidebar nav > a.active {
  background: #eaf5e9;
  color: #21813b;
  font-weight: 600;
}
.sidebar nav > a.active .icon {
  color: #36954a;
}
.nav-count {
  margin-left: auto;
  color: #fff;
  background: #218c42;
  font-size: 9px;
  min-width: 19px;
  padding: 3px 5px;
  border-radius: 4px;
  text-align: center;
}
.nav-count.subtle {
  background: #f0f3ed;
  color: #84927c;
}
.management-label {
  margin-top: 30px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-status {
  border: 1px solid #e4eade;
  background: #fafcf7;
  border-radius: 7px;
  padding: 11px 9px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  color: #839278;
  margin: 0 4px 18px;
}
.sidebar-status .online-dot {
  width: 5px;
  height: 5px;
}
.sidebar-status a {
  margin-left: auto;
}
.sidebar-status .icon {
  width: 11px;
  height: 11px;
}
.user-card {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #edf0e9;
  margin: 0 -14px;
  padding: 17px 17px;
}
.user-card .avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  font-size: 10px;
  background: #f0f2e9;
  color: #7a8a62;
}
.user-card > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.user-card b {
  display: block;
  font-size: 10px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}
.user-card small {
  display: block;
  font-size: 9px;
  color: #9aa491;
  margin-top: 3px;
}
.user-card .icon {
  width: 15px;
  height: 15px;
}
.app-main {
  margin-left: 226px;
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 31px;
  border-bottom: 1px solid var(--border);
  background: white;
  gap: 12px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #a0aa9b;
}
.breadcrumb b {
  font-weight: 500;
  color: #60735b;
}
.breadcrumb > .icon {
  height: 10px;
  width: 10px;
  color: #b4bfb0;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 13px;
}
.topbar-right > .icon-button .icon {
  width: 15px;
  height: 15px;
}
.mode-badge {
  font-size: 9px;
  border: 1px solid #e8e0c5;
  border-radius: 4px;
  color: #9c8c61;
  background: #fffcf4;
  padding: 5px 8px;
}
.topbar-divider {
  height: 20px;
  width: 1px;
  background: #e9ede7;
}
#main {
  padding: 28px 30px 22px;
  flex: 1;
  min-width: 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}
.page-kicker {
  display: none;
}
.page-heading p {
  font-size: 11px;
  color: #909b8b;
  margin: 0;
  line-height: 1.5;
}
.page-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.app-footer {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e6ebe3;
  padding: 13px 30px;
  font-size: 8px;
  color: #a5aea0;
}
.app-footer > span:first-child {
  font-weight: 600;
  color: #8c9b84;
}
.app-footer > span:last-child {
  margin-left: auto;
}
.inbox-layout {
  display: grid;
  grid-template-columns: 285px minmax(300px, 1fr) 254px;
  border: 1px solid #dfe7dc;
  border-radius: 9px;
  background: white;
  height: calc(100vh - 221px);
  min-height: 530px;
  overflow: hidden;
}
.conversation-list {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 17px 13px;
}
.list-heading h2 {
  font-size: 12px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.count-pill {
  font-size: 9px;
  font-weight: 500;
  color: #7f8d76;
  background: #f0f4ed;
  padding: 3px 6px;
  border-radius: 4px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  background: #f7f9f5;
  border: 1px solid #e8ede3;
  border-radius: 6px;
}
.search-box .icon {
  height: 13px;
  width: 13px;
  color: #98a58c;
}
.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10px;
  color: #53664c;
  padding: 0;
}
.search-box input:focus {
  outline: none;
}
.list-search {
  margin: 0 15px 14px;
}
.filter-tabs {
  display: flex;
  gap: 4px;
  padding: 0 15px 13px;
  border-bottom: 1px solid var(--border);
}
.filter-tab {
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 9px;
  color: #99a38f;
  padding: 7px 9px;
}
.filter-tab.active {
  background: #eef6e9;
  color: #54863b;
  font-weight: 550;
}
.contact-scroll {
  overflow: auto;
  flex: 1;
}
.contact-row {
  background: white;
  border: 0;
  border-bottom: 1px solid #f0f3ec;
  width: 100%;
  padding: 17px 14px;
  display: flex;
  gap: 10px;
  text-align: left;
  position: relative;
}
.contact-row:hover {
  background: #fafcf7;
}
.contact-row.active {
  background: #f0f7eb;
}
.contact-row.active:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--green);
}
.contact-row .avatar {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  font-size: 10px;
}
.contact-copy {
  min-width: 0;
  flex: 1;
}
.contact-row-title {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
  margin-bottom: 7px;
}
.contact-row-title b {
  font-size: 10px;
  font-weight: 600;
  color: #4b6040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-row-title time {
  font-size: 8px;
  color: #a1ab96;
  white-space: nowrap;
}
.contact-preview {
  font-size: 9px;
  color: #94a186;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}
.contact-tags {
  display: flex;
  gap: 5px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  padding: 3px 6px;
  background: #f0f4eb;
  color: #7f916b;
  border-radius: 4px;
  white-space: nowrap;
}
.pill.green {
  background: #e8f4e7;
  color: #5c9147;
}
.pill.amber {
  background: #fcf3e1;
  color: #b29658;
}
.pill.blue {
  background: #eaf0f8;
  color: #7892b0;
}
.pill.red {
  background: #faeeea;
  color: #b98172;
}
.pill.neutral {
  background: #f0f2ee;
  color: #92a08a;
}
.pill.outline {
  border: 1px solid #e3e9db;
  background: white;
}
.conversation-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #fbfcf9;
}
.conversation-header {
  background: white;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 16px 20px;
  min-height: 76px;
}
.conversation-header .avatar {
  width: 35px;
  height: 35px;
  font-size: 10px;
}
.conversation-header h2 {
  font-size: 12px;
  margin-bottom: 4px;
  color: #4c643f;
}
.conversation-header p {
  font-size: 9px;
  margin: 0;
  color: #98a38e;
}
.conversation-header .header-buttons {
  margin-left: auto;
  display: flex;
  gap: 5px;
}
.header-buttons .icon {
  width: 14px;
  height: 14px;
}
.header-buttons .button {
  font-size: 9px;
  min-height: 28px;
  padding: 6px 8px;
}
.routing-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #f4f8ee;
  color: #92a27c;
  font-size: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid #eaf0e2;
}
.routing-banner .icon {
  height: 11px;
  width: 11px;
}
.messages {
  flex: 1;
  overflow: auto;
  padding: 19px 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  scroll-behavior: smooth;
}
.date-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 8px;
  color: #a5af99;
  margin: 0 0 5px;
  justify-content: center;
}
.date-divider:before,
.date-divider:after {
  content: "";
  height: 1px;
  background: #e9eee1;
  width: 45px;
}
.message-wrap {
  max-width: 86%;
  align-self: flex-start;
  min-width: 140px;
}
.message-wrap.out {
  align-self: flex-end;
}
.message-context {
  font-size: 8px;
  color: #9eaa90;
  margin: 0 2px 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.message-context .icon {
  width: 9px;
  height: 9px;
}
.message-wrap.out .message-context {
  justify-content: flex-end;
}
.message-bubble {
  background: #fff;
  border: 1px solid #e5ebdd;
  border-radius: 0 8px 8px 8px;
  padding: 12px 14px;
  color: #718063;
  font-size: 11px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message-wrap.out .message-bubble {
  background: #eaf5e4;
  border-color: #e0ecd9;
  border-radius: 8px 0 8px 8px;
  color: #59764b;
}
.message-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: #a1b08e;
  font-size: 8px;
  margin-top: 6px;
}
.message-meta .icon {
  width: 12px;
  height: 12px;
}
.message-status-error {
  padding: 8px 0;
  font-size: 9px;
  color: #b08c59;
  line-height: 1.5;
}
.message-action {
  border: 0;
  background: transparent;
  padding: 4px 0;
  color: var(--green);
  font-size: 9px;
}
.composer-area {
  border-top: 1px solid #e5ebde;
  background: white;
  padding: 13px 17px 10px;
}
.composer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #8e9f7f;
  font-size: 8px;
}
.composer-toolbar > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.composer-toolbar .icon {
  width: 10px;
  height: 10px;
}
.composer-toolbar button {
  font-size: 9px;
}
.composer-box {
  border: 1px solid #e2e8d9;
  border-radius: 7px;
  padding: 11px 12px;
  background: #fff;
}
.composer-box textarea {
  border: 0;
  outline: 0;
  resize: vertical;
  min-height: 49px;
  max-height: 160px;
  width: 100%;
  background: transparent;
  font-size: 11px;
  color: #586c4a;
  line-height: 1.5;
}
.composer-box textarea:focus {
  outline: 0;
}
.composer-box textarea::placeholder {
  color: #b2bba7;
}
.composer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}
.composer-hint {
  color: #b3bda9;
  font-size: 8px;
}
.composer-bottom .button {
  font-size: 10px;
  min-height: 30px;
  padding: 7px 12px;
}
.composer-bottom .icon {
  width: 12px;
  height: 12px;
}
.composer-footnote {
  text-align: center;
  font-size: 7px;
  color: #b3bfa7;
  margin-top: 8px;
}
.details-pane {
  border-left: 1px solid var(--border);
  overflow: auto;
  background: #fff;
}
.details-heading {
  padding: 20px 17px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.details-heading h3 {
  font-size: 10px;
  font-weight: 600;
  margin: 0;
  color: #61754e;
}
.details-heading .icon {
  width: 13px;
  height: 13px;
}
.profile-card {
  text-align: center;
  padding: 0 17px 21px;
  border-bottom: 1px solid #edf1e8;
}
.profile-card .avatar {
  width: 54px;
  height: 54px;
  font-size: 17px;
  border-radius: 16px;
  margin-bottom: 12px;
}
.profile-card h2 {
  font-size: 12px;
  color: #586d48;
  margin-bottom: 4px;
}
.profile-card p {
  font-size: 9px;
  color: #9da88e;
  margin-bottom: 11px;
}
.profile-card .pill {
  font-size: 8px;
}
.details-section {
  padding: 17px;
  border-bottom: 1px solid #edf1e8;
}
.details-section h3 {
  font-size: 9px;
  color: #6e805d;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.detail-row {
  display: flex;
  gap: 8px;
  margin-bottom: 13px;
  align-items: center;
  color: #849675;
  font-size: 9px;
  overflow-wrap: anywhere;
}
.detail-row .icon {
  color: #a9b89b;
  width: 12px;
  height: 12px;
}
.detail-row:last-child {
  margin-bottom: 0;
}
.detail-label {
  font-size: 8px;
  color: #a7b49b;
  margin-bottom: 5px;
}
.detail-value {
  font-size: 10px;
  color: #718460;
  margin-bottom: 13px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.detail-value:last-child {
  margin-bottom: 0;
}
.detail-value .avatar {
  height: 20px;
  width: 20px;
  font-size: 7px;
  border-radius: 50%;
}
.tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.note-input {
  width: 100%;
  resize: vertical;
  min-height: 66px;
  background: #fafcf7;
  border: 1px solid #e8eddf;
  border-radius: 6px;
  padding: 9px;
  font-size: 9px;
  color: #718460;
  line-height: 1.5;
}
.note-input::placeholder {
  color: #b0bca2;
}
.note {
  border-left: 2px solid #e2ebd8;
  padding-left: 8px;
  margin-bottom: 12px;
  font-size: 9px;
  color: #7d8e6b;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.note small {
  display: block;
  color: #b2bca7;
  font-size: 7px;
  margin-top: 5px;
}
.note-save {
  margin-top: 8px;
  width: 100%;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 45px 25px;
  color: #a2ae95;
  min-height: 200px;
  flex: 1;
}
.empty-icon {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  background: #f0f6eb;
  color: #8bab71;
  border: 1px solid #e7eedf;
  border-radius: 15px;
  margin-bottom: 17px;
}
.empty-icon .icon {
  width: 24px;
  height: 24px;
}
.empty-state h3 {
  font-size: 13px;
  font-weight: 550;
  color: #6f835d;
  margin-bottom: 6px;
}
.empty-state p {
  font-size: 10px;
  max-width: 265px;
  line-height: 1.7;
  margin-bottom: 15px;
}
.empty-state .button {
  font-size: 10px;
}
.empty-state.compact {
  padding: 25px 14px;
  min-height: 150px;
}
.empty-state.compact h3 {
  font-size: 11px;
}
.empty-state.compact p {
  font-size: 9px;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
}
.card-heading {
  padding: 19px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0e8;
  gap: 15px;
}
.card-heading h2 {
  font-size: 12px;
  margin: 0;
}
.card-heading p {
  font-size: 9px;
  color: #a2ac99;
  margin: 5px 0 0;
}
.card-heading .button {
  font-size: 10px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 19px 20px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94a086;
  font-size: 10px;
  margin-bottom: 14px;
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 7px;
  background: #f1f6eb;
  color: #8fad75;
}
.stat-icon .icon {
  height: 14px;
  width: 14px;
}
.stat-number {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 600;
  color: #4b673a;
  margin-bottom: 9px;
}
.stat-foot {
  font-size: 9px;
  color: #a5b095;
  display: flex;
  gap: 5px;
  align-items: center;
}
.stat-foot .icon {
  width: 11px;
  height: 11px;
  color: #69a34d;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.chart-content {
  padding: 22px;
}
.chart-legend {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  font-size: 8px;
  color: #93a182;
  margin-bottom: 18px;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend-square {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #7dbb6b;
}
.legend-square.pale {
  background: #d5e8ca;
}
.activity-chart {
  width: 100%;
  height: 190px;
  display: block;
  overflow: visible;
}
.activity-chart text {
  font-family: inherit;
  font-size: 9px;
  fill: #a7b397;
}
.activity-chart .chart-grid {
  stroke: #edf1e7;
  stroke-dasharray: 3 4;
}
.activity-chart .chart-in {
  fill: #7cbb6b;
}
.activity-chart .chart-out {
  fill: #d4e7c9;
}
.stage-summary {
  padding: 7px 21px 19px;
}
.stage-summary-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f3ea;
  font-size: 10px;
  color: #869775;
}
.stage-summary-row:last-child {
  border: 0;
}
.stage-summary-row > b {
  margin-left: auto;
  font-size: 11px;
  color: #647e4e;
}
.stage-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #93b67a;
}
.stage-dot.qualified {
  background: #9dbac7;
}
.stage-dot.proposal {
  background: #c9b27c;
}
.stage-dot.negotiation {
  background: #afa0c0;
}
.stage-dot.won {
  background: #5c9d5d;
}
.stage-dot.lost {
  background: #c89787;
}
.dashboard-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.mini-list {
  padding: 4px 19px;
}
.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #f0f3eb;
  font-size: 10px;
}
.mini-row:last-child {
  border: 0;
}
.mini-row > div {
  min-width: 0;
  flex: 1;
}
.mini-row b {
  font-weight: 550;
  font-size: 10px;
  display: block;
  color: #6d825a;
}
.mini-row p {
  margin: 5px 0 0;
  font-size: 9px;
  color: #a4af97;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-row > time {
  font-size: 8px;
  color: #a5b295;
}
.mini-row .avatar {
  width: 29px;
  height: 29px;
  font-size: 9px;
  border-radius: 9px;
}
.mini-row.clickable {
  cursor: pointer;
}
.mini-row.clickable:hover {
  background: #fcfdf9;
}
.table-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.table-toolbar .search-box {
  width: 260px;
  background: white;
}
.table-toolbar .toolbar-count {
  margin-left: auto;
  font-size: 9px;
  color: #a5b397;
}
.compact-select {
  border: 1px solid #e2e8d9;
  background: white;
  padding: 8px 10px;
  border-radius: 6px;
  color: #879975;
  font-size: 10px;
  min-height: 33px;
  max-width: 190px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: 10px;
}
thead {
  background: #fafcf7;
  color: #99a68c;
}
th {
  font-weight: 500;
  padding: 13px 18px;
  font-size: 9px;
  border-bottom: 1px solid #e9eee1;
}
td {
  padding: 16px 18px;
  border-bottom: 1px solid #eef2e7;
  color: #8a9d76;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fcfdf9;
}
.table-person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.table-person .avatar {
  height: 31px;
  width: 31px;
  font-size: 9px;
  border-radius: 9px;
}
.table-person b {
  display: block;
  color: #687f54;
  font-weight: 550;
  font-size: 10px;
}
.table-person small {
  display: block;
  font-size: 8px;
  color: #a5b196;
  margin-top: 4px;
}
.text-link {
  background: none;
  border: 0;
  color: var(--green);
  padding: 0;
  text-align: left;
  font-size: inherit;
}
.text-link:hover {
  text-decoration: underline;
}
.table-footer {
  padding: 13px 18px;
  border-top: 1px solid #e9eee1;
  font-size: 9px;
  color: #a2af95;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pipeline-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.pipeline-toolbar .search-box {
  width: 240px;
  background: #fff;
}
.pipeline-toolbar > span {
  margin-left: auto;
  font-size: 9px;
  color: #9eac90;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(210px, 1fr));
  gap: 15px;
  overflow: auto;
  padding-bottom: 16px;
  min-height: 480px;
}
.kanban-column {
  background: #eef2e9;
  border: 1px solid #e5ebdc;
  border-radius: 8px;
  min-height: 440px;
}
.kanban-heading {
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 550;
  color: #7b8c69;
}
.kanban-heading .count-pill {
  margin-left: auto;
  background: #e5ecdd;
}
.kanban-total {
  font-size: 10px;
  color: #a1af91;
  padding: 0 15px 13px;
  border-bottom: 1px solid #e2e9d8;
}
.kanban-cards {
  padding: 10px;
  min-height: 150px;
}
.deal-card {
  display: block;
  width: 100%;
  background: white;
  border: 1px solid #e0e7d7;
  border-radius: 7px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: grab;
  box-shadow: 0 1px 1px #334d2204;
  text-align: left;
}
.deal-card:focus-visible {
  outline-offset: 0;
}
.deal-card h3 {
  font-size: 11px;
  font-weight: 600;
  color: #72895d;
  margin: 0 0 6px;
}
.deal-card > p {
  font-size: 9px;
  color: #a7b497;
  margin: 0 0 15px;
}
.deal-card .deal-value {
  font-size: 12px;
  color: #789463;
  font-weight: 600;
  margin: 0 0 13px;
}
.deal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f4e9;
  padding-top: 10px;
}
.deal-footer .avatar {
  width: 23px;
  height: 23px;
  font-size: 7px;
  border-radius: 50%;
}
.deal-footer > span {
  font-size: 8px;
  color: #b2bea0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.deal-footer .icon {
  width: 10px;
  height: 10px;
}
.kanban-empty {
  padding: 25px 13px;
  text-align: center;
  font-size: 9px;
  color: #b0bda0;
  line-height: 1.7;
}
.kanban-column.drag-over {
  background: #e4efda;
  border-color: #8fc36c;
}
.task-tabs {
  display: flex;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
}
.task-tabs button {
  background: none;
  border: 0;
  padding: 16px 0;
  color: #9cab8e;
  font-size: 10px;
  border-bottom: 2px solid transparent;
}
.task-tabs button.active {
  border-color: var(--green);
  color: var(--green);
  font-weight: 550;
}
.task-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 21px;
  border-bottom: 1px solid #edf1e6;
}
.task-row:last-child {
  border: 0;
}
.task-check {
  width: 18px;
  height: 18px;
  border: 1px solid #d6dfcc;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 2px;
  flex: none;
}
.task-check.done {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.task-check .icon {
  width: 12px;
  height: 12px;
}
.task-body {
  flex: 1;
  min-width: 0;
}
.task-body b {
  font-size: 11px;
  font-weight: 500;
  color: #74875f;
  display: block;
}
.task-row.completed .task-body b {
  text-decoration: line-through;
  color: #abb69a;
}
.task-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  color: #a6b397;
  margin-top: 7px;
}
.task-meta .icon {
  width: 10px;
  height: 10px;
}
.task-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.task-meta .overdue {
  color: #ba9b64;
}
.connection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.connection-card {
  padding: 25px;
}
.connection-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 26px;
}
.connection-logo {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--green);
  background: #edf6e7;
}
.connection-logo .icon {
  width: 25px;
  height: 25px;
}
.connection-card-top h2 {
  font-size: 14px;
  margin-bottom: 5px;
  color: #6b8654;
}
.connection-card-top p {
  font-size: 10px;
  color: #a0ae8e;
  margin: 0;
}
.connection-card-top .pill {
  margin-left: auto;
}
.connection-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-top: 1px solid #edf2e5;
  padding-top: 20px;
}
.connection-info label {
  font-size: 9px;
  color: #a6b497;
  display: block;
  margin-bottom: 7px;
}
.connection-info b {
  font-size: 11px;
  font-weight: 500;
  color: #82996b;
}
.connection-note {
  border-top: 1px solid #edf2e5;
  margin-top: 22px;
  padding-top: 16px;
  font-size: 9px;
  color: #a4b292;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.7;
}
.connection-note .icon {
  width: 13px;
  height: 13px;
  flex: none;
}
.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: #f0f6e9;
  border: 1px solid #e2ecd7;
  border-radius: 8px;
  margin-bottom: 22px;
  color: #92a57a;
  font-size: 10px;
  line-height: 1.8;
}
.info-banner > .icon {
  color: #86aa65;
  width: 17px;
  height: 17px;
  margin-top: 1px;
}
.info-banner b {
  color: #749654;
  font-weight: 550;
}
.info-banner p {
  margin: 4px 0 0;
  font-size: 10px;
}
.settings-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 22px;
}
.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.settings-nav button {
  padding: 13px 15px;
  border: 0;
  background: transparent;
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  color: #99a88b;
  font-size: 11px;
  border-radius: 6px;
}
.settings-nav button.active {
  background: #eaf3e0;
  color: #6f954d;
  font-weight: 550;
}
.settings-nav .icon {
  width: 15px;
  height: 15px;
}
.settings-body {
  padding: 25px;
}
.settings-body h2 {
  font-size: 14px;
  color: #71895b;
}
.settings-body > p {
  font-size: 10px;
  color: #a4b494;
  margin-bottom: 25px;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid #edf2e4;
}
.settings-row:last-child {
  border: 0;
}
.settings-row b {
  font-size: 11px;
  font-weight: 500;
  color: #7d9566;
  display: block;
  margin-bottom: 6px;
}
.settings-row p {
  font-size: 9px;
  color: #acb99c;
  margin: 0;
  max-width: 400px;
}
.settings-row > span {
  font-size: 10px;
  color: #8ba172;
  text-align: right;
}
.reply-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.reply-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 205px;
}
.reply-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 17px;
}
.reply-card-header .stat-icon {
  background: #f1f6e9;
}
.reply-card h3 {
  font-size: 12px;
  color: #7c9462;
}
.reply-card > p {
  font-size: 10px;
  line-height: 1.8;
  color: #a2b08f;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  flex: 1;
}
.reply-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #edf1e3;
  padding-top: 12px;
  margin-top: 12px;
  font-size: 9px;
  color: #b2bea1;
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.metric-list {
  padding: 8px 21px 15px;
}
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #f0f3e8;
  font-size: 10px;
  color: #95a581;
}
.metric-row:last-child {
  border: 0;
}
.metric-row b {
  font-size: 12px;
  font-weight: 550;
  color: #7a9560;
}
.report-footnote {
  font-size: 9px;
  color: #abb89b;
  padding: 13px 0;
  line-height: 1.7;
}
.modal {
  padding: 0;
  border: 1px solid #e0e9d8;
  border-radius: 12px;
  width: 480px;
  max-width: calc(100vw - 30px);
  color: var(--ink);
  box-shadow: 0 24px 90px #1c361d26;
  max-height: 90vh;
  overflow: auto;
}
.modal::backdrop {
  background: #162c2350;
  backdrop-filter: blur(2px);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 25px 19px;
  border-bottom: 1px solid #e9eee2;
}
.modal-header h2 {
  font-size: 20px;
  margin: 8px 0 0;
  color: #4d6d3d;
}
.modal-header .eyebrow {
  font-size: 8px;
}
.modal-content {
  padding: 22px 25px 9px;
}
.form-field {
  margin-bottom: 17px;
}
.form-field > label {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  color: #81976c;
  font-weight: 550;
}
.form-field > input,
.form-field > textarea,
.form-field > select {
  width: 100%;
  border: 1px solid #dfe8d6;
  border-radius: 6px;
  background: white;
  padding: 11px;
  font-size: 11px;
  color: #6e8858;
  min-height: 38px;
}
.form-field > textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}
.form-field small {
  display: block;
  font-size: 9px;
  color: #a7b799;
  line-height: 1.6;
  margin-top: 7px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 17px 25px;
  border-top: 1px solid #e9eee2;
  background: #fbfdf8;
}
.modal .form-error {
  padding: 0 25px;
}
.modal-content .info-banner {
  font-size: 10px;
  margin-bottom: 18px;
}
.saved-reply-choice {
  display: block;
  text-align: left;
  width: 100%;
  border: 1px solid #e3eada;
  padding: 14px;
  border-radius: 7px;
  background: #fff;
  margin-bottom: 10px;
}
.saved-reply-choice:hover {
  background: #f6faef;
}
.saved-reply-choice b {
  display: block;
  font-size: 11px;
  color: #78905e;
  margin-bottom: 7px;
}
.saved-reply-choice p {
  margin: 0;
  font-size: 10px;
  color: #a1b18c;
  white-space: pre-wrap;
  line-height: 1.6;
}
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 100;
  background: #fff;
  border: 1px solid #dce8d2;
  border-radius: 9px;
  padding: 12px 12px 12px 17px;
  box-shadow: 0 8px 35px #253b2015;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  font-size: 11px;
  color: #6c8b53;
}
.toast > .icon {
  color: var(--green);
  width: 17px;
  height: 17px;
}
.toast.error {
  border-color: #ecdac8;
  color: #ad8a67;
}
.toast.error > .icon {
  color: #ad8a67;
}
.toast .icon-button {
  width: 25px;
  height: 25px;
}
.toast .icon-button .icon {
  width: 12px;
  height: 12px;
}
.mobile-only {
  display: none;
}
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  background: #173d2855;
  z-index: 29;
}
.detail-back {
  display: none;
}
.loading-panel {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: #a5b499;
  font-size: 11px;
}
.loading-panel .icon {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.reduced-note {
  font-size: 9px;
  color: #a5b599;
  line-height: 1.7;
  padding: 14px 20px;
}
.reduced-note a {
  color: var(--green);
}
.check-inline {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #90a17c;
}
.reply-request-label {
  font-size: 9px;
  color: #9aae83;
  line-height: 1.7;
}
.demo-control {
  margin-top: 17px;
}
.danger-note {
  background: #fcf5ea;
  border-color: #eee2cd;
  color: #aa9065;
}
.connection-actions {
  padding-top: 18px;
  display: flex;
  gap: 8px;
}
.task-filter-count {
  font-size: 8px;
  border-radius: 4px;
  background: #edf2e6;
  padding: 2px 5px;
  margin-left: 6px;
}
.contact-count-note {
  font-size: 9px;
  color: #a5b799;
}
.view-inbox .page-heading {
  margin-bottom: 23px;
}
.pipeline-card-stage {
  display: flex;
  width: 100%;
  gap: 8px;
  align-items: center;
}
.date-input {
  color-scheme: light;
}
.empty-inbox {
  min-height: 380px;
}
.list-footer {
  padding: 10px 15px;
  border-top: 1px solid #edf1e7;
  font-size: 8px;
  color: #b0bba1;
}
.data-limit {
  font-size: 8px;
  color: #a6b594;
}
.status-open {
  color: #74985b;
}
.status-closed {
  color: #a1af93;
}
.contact-list-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.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;
}
/* Green brand accents stay saturated; text uses darker, readable neutrals. */
.contact-row-title b,
.conversation-header h2,
.profile-card h2,
.details-heading h3,
.details-section h3,
.stat-number,
.mini-row b,
.table-person b,
.deal-card h3,
.settings-body h2,
.settings-row b,
.reply-card h3 {
  color: #344e3a;
}
.page-heading p,
.contact-preview,
.contact-row-title time,
.conversation-header p,
.detail-row,
.detail-value,
.message-bubble,
.task-body b,
.settings-row p,
.settings-row > span,
.reply-card > p,
td,
.metric-row,
.profile-card p,
.stage-summary-row {
  color: #72816f;
}
.message-wrap.out .message-bubble {
  color: #365d37;
}
.message-context,
.message-meta,
.composer-hint,
.composer-footnote,
.contact-tags,
.detail-label,
.note,
.note small,
.stat-foot,
.table-footer,
.task-meta,
.connection-info label,
.connection-info b,
.connection-note,
.login-help,
.chart-legend {
  color: #7d8d76;
}
.page-kicker,
.management-label,
.nav-label {
  color: #929f8b;
}
.pill.green {
  color: #338143;
}
.pill.amber {
  color: #9e7b30;
}
.pill.blue {
  color: #587a9a;
}
.pill.red {
  color: #a46b59;
}
.pill.neutral {
  color: #7b8973;
}
.conversation-pane {
  background: #f8faf6;
}
.message-bubble {
  border-color: #e5eade;
}
.message-wrap.out .message-bubble {
  background: #e8f3e3;
}
.composer-toolbar,
.routing-banner {
  color: #778e65;
}
.filter-tab {
  color: #829475;
}
.filter-tab.active {
  color: #38752e;
}
.detail-row .icon {
  color: #8fa181;
}
.settings-row p,
.empty-state p,
.contact-count-note,
.task-meta,
.stat-foot,
.stat-top,
.table-toolbar .toolbar-count,
.mini-row p,
.reply-card-footer {
  color: #819279;
}
@media (min-width: 1600px) {
  #main {
    padding: 33px 38px;
  }
  .inbox-layout {
    grid-template-columns: 320px minmax(400px, 1fr) 280px;
  }
  .messages {
    padding: 25px 35px;
  }
  .message-bubble {
    font-size: 12px;
  }
  .contact-row-title b {
    font-size: 11px;
  }
  .contact-preview {
    font-size: 10px;
  }
  .page-heading p {
    font-size: 12px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 205px;
  }
  .app-main {
    margin-left: 205px;
  }
  #main {
    padding: 24px 21px;
  }
  .topbar {
    padding: 0 22px;
  }
  .inbox-layout {
    grid-template-columns: 255px minmax(280px, 1fr);
  }
  .details-pane {
    display: none;
  }
  .details-pane.open {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 290px;
    z-index: 40;
    box-shadow: -10px 0 40px #1b371f15;
  }
  .detail-back {
    display: inline-flex;
  }
  .reply-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-number {
    font-size: 26px;
  }
  .dashboard-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}
@media (max-width: 980px) {
  .sidebar {
    width: 185px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .app-main {
    margin-left: 185px;
  }
  .sidebar nav > a {
    font-size: 10px;
    gap: 9px;
    padding-left: 10px;
  }
  .sidebar > .brand {
    padding-left: 10px;
  }
  .brand-name {
    font-size: 15px;
  }
  .brand-mark {
    font-size: 33px;
  }
  .workspace-switch {
    padding: 10px 6px;
    gap: 6px;
  }
  .workspace-switch small {
    font-size: 7px;
  }
  .user-card {
    margin-left: -10px;
    margin-right: -10px;
    padding: 16px 12px;
  }
  .nav-label {
    font-size: 7px;
  }
  .inbox-layout {
    grid-template-columns: 235px minmax(260px, 1fr);
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .page-actions .button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid,
  .dashboard-bottom {
    grid-template-columns: 1fr;
  }
  .settings-layout {
    grid-template-columns: 150px 1fr;
  }
  .connection-grid {
    gap: 13px;
  }
  .connection-card {
    padding: 20px;
  }
  .topbar-right {
    gap: 7px;
  }
  .mode-badge {
    font-size: 8px;
  }
  .contact-row {
    padding: 15px 11px;
  }
  .contact-row .avatar {
    width: 31px;
    height: 31px;
  }
  .message-wrap {
    max-width: 94%;
  }
  .composer-hint {
    display: none;
  }
}
@media (max-width: 760px) {
  .mobile-only {
    display: inline-flex;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 226px;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .app-main {
    margin-left: 0;
  }
  .topbar {
    height: 57px;
    padding: 0 16px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 7px;
  }
  .breadcrumb > span:first-of-type {
    display: none;
  }
  .topbar-divider {
    display: none;
  }
  #main {
    padding: 22px 16px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 19px;
    gap: 10px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 260px;
  }
  .page-actions {
    gap: 5px;
  }
  .page-actions .button {
    font-size: 9px;
    min-height: 32px;
  }
  .page-actions .button .icon {
    height: 12px;
    width: 12px;
  }
  .inbox-layout {
    height: calc(100dvh - 212px);
    min-height: 480px;
    grid-template-columns: 245px 1fr;
  }
  .conversation-header {
    padding: 15px 12px;
  }
  .messages {
    padding: 18px 14px;
  }
  .composer-area {
    padding: 12px;
  }
  .header-buttons .button {
    font-size: 8px;
  }
  .app-footer {
    font-size: 7px;
    padding: 11px 16px;
  }
  .app-footer > span:nth-child(2) {
    display: none;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-nav {
    flex-direction: row;
    overflow: auto;
    gap: 4px;
  }
  .settings-nav button {
    white-space: nowrap;
    font-size: 10px;
    padding: 10px;
  }
  .connection-grid {
    grid-template-columns: 1fr;
  }
  .report-grid {
    grid-template-columns: 1fr;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .login-brand {
    display: none;
  }
  .login-panel {
    padding: 45px 25px;
    min-height: 100dvh;
  }
  .login-panel:before {
    content: "rci conversas";
    color: var(--green);
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -1px;
    margin-bottom: 55px;
  }
  .login-panel .eyebrow {
    font-size: 9px;
  }
  .reply-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-actions > .button.secondary .icon {
    display: none;
  }
  .dashboard-grid {
    gap: 15px;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-top {
    font-size: 9px;
  }
  .chart-content {
    padding: 20px 16px;
  }
  .task-row {
    padding: 16px;
  }
  .kanban {
    grid-template-columns: repeat(6, 225px);
  }
}
@media (max-width: 580px) {
  .inbox-layout {
    display: flex;
    position: relative;
    min-height: 470px;
    height: calc(100dvh - 210px);
  }
  .conversation-list {
    width: 100%;
    border-right: 0;
    flex: none;
  }
  .conversation-pane {
    display: none;
    width: 100%;
    flex: none;
  }
  .inbox-layout.has-selection .conversation-list {
    display: none;
  }
  .inbox-layout.has-selection .conversation-pane {
    display: flex;
  }
  .conversation-header .mobile-only {
    display: inline-flex;
  }
  .conversation-header .header-buttons .button {
    display: none;
  }
  .conversation-header {
    gap: 8px;
  }
  .conversation-header .avatar {
    width: 30px;
    height: 30px;
    font-size: 9px;
  }
  .conversation-header h2 {
    font-size: 11px;
  }
  .page-actions .button.secondary {
    padding: 8px;
  }
  .page-actions .button.secondary > span:not(.icon) {
    display: none;
  }
  .page-heading h1 {
    font-size: 22px;
  }
  .page-heading p {
    max-width: 215px;
    font-size: 9px;
  }
  .mode-badge {
    display: none;
  }
  .reply-grid {
    grid-template-columns: 1fr;
  }
  .stat-number {
    font-size: 25px;
  }
  .stat-top {
    gap: 5px;
  }
  .stat-icon {
    width: 25px;
    height: 25px;
  }
  .stat-card {
    padding: 15px 14px;
  }
  .stats-grid {
    gap: 10px;
  }
  .task-meta {
    flex-wrap: wrap;
    gap: 6px;
  }
  .table-toolbar .search-box {
    width: 100%;
  }
  .table-toolbar .toolbar-count {
    width: 100%;
    margin-left: 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .settings-row {
    align-items: flex-start;
    gap: 10px;
  }
  .settings-row > span {
    max-width: 130px;
    overflow-wrap: anywhere;
    font-size: 9px;
  }
  .settings-body {
    padding: 20px;
  }
  .toast {
    right: 13px;
    left: 13px;
    bottom: 15px;
    max-width: none;
  }
  .breadcrumb {
    gap: 6px;
  }
  .pipeline-toolbar .search-box {
    width: 180px;
  }
  .pipeline-toolbar > span {
    font-size: 8px;
  }
  .connection-card {
    padding: 21px;
  }
  .page-actions .button.primary {
    font-size: 9px;
  }
  .contact-row {
    padding: 17px;
  }
  .contact-row-title b {
    font-size: 12px;
  }
  .contact-preview {
    font-size: 10px;
  }
  .contact-row .avatar {
    width: 38px;
    height: 38px;
    font-size: 11px;
  }
  .contact-row-title time {
    font-size: 9px;
  }
  .filter-tab {
    font-size: 10px;
  }
  .message-bubble {
    font-size: 12px;
  }
  .composer-box textarea {
    font-size: 12px;
  }
  .routing-banner {
    font-size: 8px;
  }
  .contact-tags .pill {
    font-size: 9px;
  }
  .list-heading h2 {
    font-size: 13px;
  }
  .list-search input {
    font-size: 11px;
  }
  .contact-scroll {
    min-height: 200px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Compact CRM density with readable labels and message text. */
:root {
  --green: #008344;
  --muted: #6f7d71;
}
.sidebar nav > a {
  font-size: 12px;
}
.nav-label {
  font-size: 9px;
}
.workspace-switch b {
  font-size: 12px;
}
.workspace-switch small {
  font-size: 9px;
}
.user-card b {
  font-size: 11px;
}
.user-card small {
  font-size: 10px;
}
.sidebar-status {
  font-size: 10px;
}
.breadcrumb {
  font-size: 11px;
}
.page-heading p {
  font-size: 12px;
}
.page-actions .button {
  font-size: 12px;
}
.app-footer {
  font-size: 9px;
}
.list-heading h2 {
  font-size: 13px;
}
.search-box input {
  font-size: 11px;
}
.filter-tab {
  font-size: 10px;
}
.contact-row-title b {
  font-size: 12px;
}
.contact-preview {
  font-size: 11px;
}
.contact-row-title time {
  font-size: 9px;
}
.pill {
  font-size: 9px;
}
.contact-row .avatar {
  font-size: 11px;
}
.conversation-header h2 {
  font-size: 13px;
}
.conversation-header p {
  font-size: 10px;
}
.routing-banner {
  font-size: 9px;
}
.message-context {
  font-size: 9px;
}
.message-bubble {
  font-size: 13px;
}
.message-meta {
  font-size: 9px;
}
.date-divider {
  font-size: 9px;
}
.composer-box textarea {
  font-size: 12px;
}
.composer-toolbar {
  font-size: 9px;
}
.composer-bottom .button {
  font-size: 11px;
}
.composer-footnote {
  font-size: 8px;
}
.details-heading h3,
.details-section h3 {
  font-size: 10px;
}
.profile-card h2 {
  font-size: 13px;
}
.profile-card p {
  font-size: 10px;
}
.detail-row {
  font-size: 10px;
}
.detail-label {
  font-size: 9px;
}
.detail-value {
  font-size: 11px;
}
.note-input {
  font-size: 10px;
}
.note {
  font-size: 10px;
}
.note small {
  font-size: 8px;
}
.stat-top {
  font-size: 11px;
}
.stat-foot {
  font-size: 10px;
}
.card-heading h2 {
  font-size: 13px;
}
.card-heading p {
  font-size: 10px;
}
.mini-row b {
  font-size: 11px;
}
.mini-row p {
  font-size: 10px;
}
.stage-summary-row {
  font-size: 11px;
}
table {
  font-size: 11px;
}
th {
  font-size: 10px;
}
.table-person b {
  font-size: 12px;
}
.table-person small {
  font-size: 10px;
}
.table-footer {
  font-size: 10px;
}
.compact-select {
  font-size: 11px;
}
.deal-card h3 {
  font-size: 12px;
}
.deal-card > p {
  font-size: 10px;
}
.deal-card .deal-value {
  font-size: 13px;
}
.deal-footer > span {
  font-size: 9px;
}
.task-body b {
  font-size: 12px;
}
.task-meta {
  font-size: 10px;
}
.task-tabs button {
  font-size: 11px;
}
.connection-card-top h2 {
  font-size: 15px;
}
.connection-card-top p {
  font-size: 11px;
}
.connection-info label {
  font-size: 10px;
}
.connection-info b {
  font-size: 12px;
}
.connection-note {
  font-size: 10px;
}
.settings-row b {
  font-size: 12px;
}
.settings-row p {
  font-size: 11px;
}
.settings-row > span {
  font-size: 11px;
}
.reply-card h3 {
  font-size: 13px;
}
.reply-card > p {
  font-size: 12px;
}
.metric-row {
  font-size: 11px;
}
.form-field > label {
  font-size: 11px;
}
.form-field > input,
.form-field > textarea,
.form-field > select {
  font-size: 12px;
}
.modal-content .reply-request-label {
  font-size: 11px;
}
.empty-state p {
  font-size: 11px;
}
.empty-state.compact p {
  font-size: 10px;
}
.empty-state h3 {
  font-size: 14px;
}
.empty-state.compact h3 {
  font-size: 12px;
}
.mode-badge {
  font-size: 10px;
}
.info-banner,
.info-banner p {
  font-size: 11px;
}
.reduced-note {
  font-size: 11px;
}
.connection-note,
.detail-label,
.message-context,
.stat-foot,
.task-meta,
.mini-row p,
.composer-toolbar,
.routing-banner,
.settings-row p,
.contact-preview,
.contact-row-title time,
.conversation-header p,
.detail-row,
.detail-value,
.metric-row,
.profile-card p,
.stage-summary-row,
.table-footer,
.reply-card > p {
  color: #64745f;
}
.message-meta,
.composer-footnote,
.note small,
.stat-top,
.card-heading p,
.chart-legend,
.contact-count-note {
  color: #74806b;
}
.login-panel form > p,
.login-help {
  color: #6d7a6c;
}
.login-panel label {
  font-size: 12px;
}
.login-panel form > p {
  font-size: 13px;
}
.login-help {
  font-size: 11px;
}
.login-security {
  font-size: 11px;
}
.page-heading p {
  color: #778571;
}
.sidebar nav > a {
  color: #697763;
}
.sidebar nav > a.active {
  color: #197333;
}
.contact-tags .pill {
  font-size: 9px;
}
@media (max-width: 980px) {
  .sidebar nav > a {
    font-size: 11px;
  }
  .workspace-switch b {
    font-size: 10px;
  }
  .workspace-switch small {
    font-size: 8px;
  }
  .page-actions .button {
    font-size: 10px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .contact-row-title b {
    font-size: 11px;
  }
  .contact-preview {
    font-size: 10px;
  }
  .message-bubble {
    font-size: 12px;
  }
  .routing-banner {
    font-size: 8px;
  }
  .mode-badge {
    font-size: 9px;
  }
}
@media (max-width: 580px) {
  .page-heading p {
    font-size: 10px;
  }
  .page-actions .button {
    font-size: 9px;
  }
  .contact-row-title b {
    font-size: 12px;
  }
  .contact-preview {
    font-size: 11px;
  }
  .message-bubble {
    font-size: 13px;
  }
  .conversation-header h2 {
    font-size: 12px;
  }
  .composer-box textarea {
    font-size: 13px;
  }
  .info-banner,
  .info-banner p {
    font-size: 10px;
  }
}
.inbox-department-filter {
  margin: 0 15px 12px;
  max-width: none;
  width: calc(100% - 30px);
  font-size: 10px;
}
.team-settings {
  min-width: 0;
  align-self: start;
}
.team-settings table {
  white-space: normal;
}
.team-settings td {
  min-width: 90px;
}
.team-settings .table-person {
  min-width: 180px;
}
.department-memberships {
  border: 1px solid #dfe8d6;
  border-radius: 7px;
  padding: 13px;
  margin: 0 0 18px;
}
.department-memberships legend {
  font-size: 11px;
  color: #64745f;
  padding: 0 6px;
}
.membership-option {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  padding: 7px 2px;
  color: #4c6447;
}
.membership-option input {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
}
.settings-nav {
  align-self: start;
}
.sidebar {
  overflow-y: auto;
}
.ai-tabs {
  overflow: auto;
  gap: 22px;
}
.ai-tabs button {
  white-space: nowrap;
}
.ai-content {
  padding: 24px;
}
.ai-settings {
  max-width: 850px;
}
.ai-settings > h2,
.ai-section-heading h2,
.ai-test-form h2 {
  font-size: 16px;
  margin-bottom: 8px;
}
.ai-intro {
  font-size: 11px;
  color: #75846e;
  line-height: 1.8;
  margin: 0 0 20px;
}
.ai-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid #e6eddf;
  margin-bottom: 15px;
}
.ai-toggle b {
  display: block;
  font-size: 12px;
  color: #3a593e;
  font-weight: 550;
}
.ai-toggle small {
  display: block;
  font-size: 10px;
  color: #7c8c72;
  margin-top: 7px;
  line-height: 1.7;
}
.ai-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  cursor: pointer;
}
.ai-principles {
  margin-top: 25px;
}
.ai-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.ai-section-heading .ai-intro {
  margin: 0;
}
.ai-section-heading h3 {
  font-size: 13px;
  margin-bottom: 7px;
}
.ai-source {
  padding: 22px;
}
.ai-source-count {
  font-size: 17px;
  font-weight: 550;
  color: #4d7240;
  margin: 20px 0 10px;
}
.ai-source-link {
  font-size: 10px;
  overflow-wrap: anywhere;
  display: block;
  line-height: 1.7;
  max-width: 100%;
}
.ai-test-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.ai-test-result {
  background: #f6faf1;
  border: 1px solid #e3ebd9;
  border-radius: 9px;
  padding: 22px;
  min-height: 320px;
}
.ai-answer .pill {
  margin-bottom: 15px;
}
.ai-answer-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.9;
  color: #496840;
}
.ai-answer-reason {
  font-size: 10px;
  color: #8a9c7b;
  line-height: 1.7;
  padding: 13px 0;
  border-top: 1px solid #e1e9d7;
  margin-top: 18px;
}
.ai-answer h3 {
  font-size: 11px;
  margin-top: 18px;
  color: #627d52;
}
.ai-job {
  padding: 19px 21px;
  margin-top: 15px;
}
.ai-job .ai-section-heading {
  margin-bottom: 11px;
}
.ai-job small {
  font-size: 10px;
  color: #8b9d7a;
}
.ai-job > .button {
  margin-top: 10px;
}
.ai-content table {
  white-space: normal;
  font-size: 11px;
}
.ai-content table td {
  min-width: 100px;
  max-width: 330px;
  vertical-align: top;
  line-height: 1.7;
}
.ai-content table td:first-child {
  min-width: 190px;
}
.composer-assist-actions {
  display: flex;
  gap: 7px;
}
.composer-assist-actions .button {
  font-size: 9px;
  padding: 5px;
}
.ai-contact-note {
  font-size: 9px;
  color: #849875;
  line-height: 1.7;
  margin: 12px 0 0;
}
#conversationAI h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
#conversationAI .pill {
  font-size: 8px;
}
.ai-test-form .form-field textarea {
  min-height: 160px;
}
.ai-source .ai-section-heading {
  flex-wrap: wrap;
}
.ai-content .reply-card > p {
  max-height: 200px;
  overflow: auto;
}
@media (max-width: 980px) {
  .ai-test-layout {
    grid-template-columns: 1fr;
  }
  .ai-content {
    padding: 20px;
  }
  .ai-tabs {
    gap: 17px;
  }
  .composer-assist-actions {
    gap: 2px;
  }
  .composer-assist-actions .button {
    font-size: 8px;
  }
  .composer-assist-actions .icon {
    display: none;
  }
  .ai-section-heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 580px) {
  .ai-content {
    padding: 17px;
  }
  .ai-tabs {
    gap: 16px;
  }
  .ai-toggle small {
    font-size: 10px;
  }
  .composer-assist-actions .button {
    font-size: 9px;
  }
  .ai-section-heading .button {
    font-size: 10px;
  }
  .ai-test-result {
    padding: 17px;
  }
  .ai-answer-text {
    font-size: 12px;
  }
  .ai-content .connection-grid {
    display: block;
  }
  .ai-source {
    margin-bottom: 15px;
  }
}
