@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@500;600;650;700;750;800&display=swap");
:root {
  --green: #216b53;
  --green-deep: #164b3c;
  --green-soft: #edf5ef;
  --ink: #1b3430;
  --muted: #73807b;
  --line: #e5eae5;
  --paper: #f6f8f5;
  --white: #fff;
  --sidebar: #102e2a;
  --sidebar-width: 250px;
  --shadow: 0 4px 20px #16372c05;
  --radius: 16px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px/1.5 "DM Sans",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.16s,
    box-shadow 0.16s,
    transform 0.16s,
    color 0.16s;
}
button:not(:disabled):active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #79b99b;
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: #5c9f7c;
  box-shadow: 0 0 0 3px #39896512;
}
h1,
h2,
h3 {
  font-family: Manrope, "DM Sans", sans-serif;
  line-height: 1.35;
  color: var(--ink);
}
h1 {
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1.05px;
  margin: 7px 0 9px;
}
h1:focus {
  outline: 0;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.45px;
  font-weight: 750;
  margin: 0;
}
h3 {
  font-size: 15px;
  letter-spacing: -0.2px;
}
p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
small {
  font-size: 13px;
}
.icon {
  flex-shrink: 0;
  vertical-align: middle;
  display: inline-block;
}
.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 2px 3px #153e2610;
  border: 1px solid var(--green);
}
.primary:not(:disabled):hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  box-shadow: 0 3px 9px #17463219;
}
.secondary {
  background: #fff;
  border: 1px solid #dce4dd;
  color: #3d554a;
}
.secondary:not(:disabled):hover {
  background: #f6f9f4;
  border-color: #bdcfc0;
}
.danger {
  background: #fff3ef;
  color: #a44131;
  border: 1px solid #f1ded7;
  font-size: 14px;
}
.danger:hover {
  background: #fae8e1;
}
.danger-solid {
  background: #b54835;
  color: #fff;
}
.icon-button {
  width: 36px;
  height: 36px;
  padding: 7px;
  flex-shrink: 0;
  background: transparent;
  color: #76887e;
  border-radius: 8px;
}
.icon-button:hover {
  background: #f0f4ed;
  color: var(--green);
}
.link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--green);
  background: none;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 650;
}
.link:hover {
  color: #133f30;
}
.full-width {
  width: 100%;
}
.button-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9px;
  padding: 11px 17px;
  font-weight: 600;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 200;
  background: var(--green);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
[hidden] {
  display: none !important;
}
#sidebar {
  width: var(--sidebar-width);
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: var(--sidebar);
  color: #d6e2da;
  padding: 31px 20px 21px;
  overflow-y: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  padding: 0 8px;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  color: #c1e8b3;
  width: 37px;
  display: grid;
  place-items: center;
}
.brand-name {
  font:
    750 26px/1.05 Manrope,
    sans-serif;
  letter-spacing: -1px;
}
.brand-name small {
  display: block;
  font:
    500 8px/1.6 "DM Sans",
    sans-serif;
  letter-spacing: 2.6px;
  color: #9db8a9;
  margin: 7px 0 0 1px;
}
.workspace {
  margin: 36px 0 31px;
  border: 1px solid #ffffff18;
  border-radius: 11px;
  background: #ffffff05;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 8px 12px 12px;
  min-height: 64px;
}
.workspace-icon {
  width: 29px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #bbd7c4;
  flex-shrink: 0;
}
.workspace-select {
  min-width: 0;
  flex: 1;
}
.workspace-select > span {
  display: block;
  color: #8fae9e;
  font-size: 11px;
  letter-spacing: 0.2px;
}
.workspace select {
  background: transparent !important;
  border: 0 !important;
  padding: 1px 17px 0 0 !important;
  margin: 0 !important;
  color: #f2f6ef !important;
  font-size: 13px;
  font-weight: 550;
  box-shadow: none !important;
  min-height: 22px;
  cursor: pointer;
}
.workspace select option {
  color: #1b3430;
  background: white;
}
.workspace-add {
  width: 26px;
  height: 28px;
  color: #b0c7ba;
  padding: 4px;
}
.workspace-add:hover {
  background: #ffffff0d;
  color: #fff;
}
.workspace-skeleton {
  color: #93b2a0;
  font-size: 14px;
  padding: 3px;
}
.nav-label {
  color: #749987;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.35px;
  padding: 0 12px;
  margin-bottom: 12px;
}
#sidebar nav {
  display: grid;
  gap: 5px;
}
#sidebar nav button {
  background: transparent;
  color: #a9c2b4;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 8px;
  min-height: 45px;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}
#sidebar nav button:hover {
  background: #ffffff06;
  color: #eef7ea;
}
#sidebar nav button.active {
  background: #d5eace14;
  color: #e7f8de;
}
#sidebar nav button.active > .icon {
  color: #b6df9e;
}
.nav-text {
  flex: 1;
}
.nav-count {
  font-size: 12px;
  background: #ffffff0d;
  color: #c7e0bd;
  min-width: 21px;
  height: 20px;
  border-radius: 5px;
  text-align: center;
  display: grid;
  place-items: center;
}
.aside-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.plan {
  border: 1px solid #7daa6d2b;
  border-radius: 11px;
  background: linear-gradient(140deg, #88a46c10, #ffffff02);
  padding: 17px 14px;
}
.plan-symbol {
  color: #bbdf9c;
  font-size: 23px;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}
.plan strong {
  font-size: 13px;
  color: #e0eadb;
  font-weight: 600;
  display: block;
}
.plan p {
  font-size: 12px;
  color: #8faf9d;
  line-height: 1.7;
  margin: 8px 0 14px;
}
.plan button {
  padding: 0;
  width: 100%;
  color: #c2e2af;
  justify-content: space-between;
  font-size: 12px;
  background: none;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #ffffff10;
  margin-top: 23px;
  padding: 21px 0 0;
}
.profile-avatar {
  width: 31px;
  height: 31px;
  background: #3e5c4c;
  border: 1px solid #718d6740;
  border-radius: 9px;
  color: #d1e6c5;
  display: grid;
  place-items: center;
  font: 650 12px Manrope;
  flex-shrink: 0;
}
.profile-info {
  min-width: 0;
  flex: 1;
}
.profile-info > span {
  font-size: 12px;
  color: #cddbd1;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 145px;
}
.profile-info small {
  font-size: 11px;
  color: #779987;
  display: block;
  margin-top: 3px;
}
.profile-logout {
  color: #90ac9a;
  display: grid;
  place-items: center;
  padding: 3px;
}
.profile-logout:hover {
  color: #e8f4df;
}
.app-main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: #fcfdfacc;
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  z-index: 30;
  gap: 16px;
}
.breadcrumb {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
  font-size: 13px;
  color: #8b9790;
}
.breadcrumb-company {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumb-separator {
  color: #c7cfc7;
}
.breadcrumb b {
  font-weight: 550;
  color: #405749;
  white-space: nowrap;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.help-button {
  padding: 6px 0;
  background: none;
  color: #7a877e;
  font-size: 13px;
  font-weight: 500;
}
.help-button:hover {
  color: var(--green);
}
.demo {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #f1f4eb;
  color: #6d7e59;
  border: 1px solid #e6ebdd;
  border-radius: 30px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
}
.demo.is-ready {
  background: #eaf5ee;
  color: #34734d;
}
.status-dot {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
}
.header-avatar {
  background: #e8eee2;
  border: 1px solid #dfe7d8;
  color: #658254;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 650;
  border-radius: 50%;
}
#menu-toggle {
  display: none;
}
.sidebar-backdrop {
  display: none;
}
#content {
  padding: 35px 38px 46px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  flex: 1;
  outline: 0;
}
.page-loading {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}
.page-kicker,
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.55px;
  color: #84927e;
  line-height: 1.6;
}
.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 29px;
}
.title-row p {
  font-size: 14px;
}
.title-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.title-actions .secondary {
  font-size: 13px;
  padding: 10px 12px;
}
.title-actions .primary {
  font-size: 13px;
  padding: 10px 15px;
}
.app-footer {
  padding: 19px 38px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: #9aa69c;
}
.footer-dot {
  margin: 0 6px;
  color: #b8c2b7;
}
.footer-note {
  color: #a7b0a5;
}
.hero {
  border: 1px solid #e1e9d5;
  border-radius: 17px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, #edf3e4, #f2f6e8 65%, #e8f0dc);
  display: flex;
  min-height: 270px;
  margin-bottom: 24px;
}
.hero-copy {
  padding: 32px 30px;
  position: relative;
  z-index: 1;
  flex: 1;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 1.15px;
  color: #748e60;
  font-weight: 650;
}
.hero h2 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.3;
  color: #294b35;
  margin: 14px 0 12px;
  font-weight: 750;
}
.hero-copy p {
  font-size: 13px;
  color: #7d8b73;
  max-width: 335px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}
.hero-actions .primary {
  font-size: 13px;
  padding: 10px 13px;
  background: #315f43;
  border-color: #315f43;
}
.hero-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #688354;
  background: transparent;
  padding: 5px 0;
}
.hero-art {
  width: 40%;
  min-width: 310px;
  position: relative;
  display: block;
  overflow: hidden;
}
.art-orbit {
  position: absolute;
  border: 1px solid #cdddbb;
  border-radius: 50%;
  width: 205px;
  height: 205px;
  top: 29px;
  left: 30px;
}
.orbit-two {
  width: 285px;
  height: 285px;
  top: -11px;
  left: -10px;
  border-style: dashed;
  opacity: 0.6;
}
.art-core {
  position: absolute;
  top: 105px;
  left: 122px;
  background: #436c43;
  color: #e2f2c9;
  width: 70px;
  height: 70px;
  border-radius: 21px;
  display: grid;
  place-items: center;
  box-shadow: 0 9px 23px #42613324;
  transform: rotate(-8deg);
}
.art-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffffeb;
  border: 1px solid #fff;
  border-radius: 11px;
  padding: 12px 15px;
  box-shadow: 0 8px 21px #5768450a;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: #50633e;
}
.art-chip > span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f0f5e9;
  display: grid;
  place-items: center;
  color: #829a64;
}
.art-chip small {
  display: block;
  font-size: 10px;
  color: #9aa78b;
  font-weight: 400;
  margin-top: 3px;
}
.knowledge-chip {
  top: 37px;
  left: 0;
  transform: rotate(-3deg);
}
.agent-chip {
  top: 121px;
  left: 180px;
  transform: rotate(3deg);
}
.channel-chip {
  top: 201px;
  left: 25px;
  transform: rotate(-2deg);
}
.knowledge-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a3c582;
  margin-left: 5px;
}
.art-spark {
  position: absolute;
  color: #93af6b;
  font-size: 23px;
}
.spark-one {
  top: 48px;
  left: 263px;
}
.spark-two {
  top: 212px;
  left: 245px;
  font-size: 30px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 31px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 19px 20px;
  box-shadow: var(--shadow);
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #89988b;
  font-size: 12px;
}
.stat-top .icon {
  color: #92a18f;
}
.stat strong {
  display: block;
  font:
    750 29px/1.4 Manrope,
    sans-serif;
  letter-spacing: -0.8px;
  margin: 12px 0 5px;
  color: #294938;
}
.stat strong.stat-text {
  font-size: 22px;
  line-height: 1.85;
  letter-spacing: -0.6px;
}
.stat small {
  font-size: 11px;
  color: #9ba69c;
  line-height: 1.5;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.section-title h2 {
  font-size: 17px;
}
.section-title p {
  font-size: 12px;
  margin-top: 5px;
}
.agents-section-title {
  margin-top: 4px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel {
  padding: 26px;
}
.agent-card {
  padding: 22px;
  min-width: 0;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    border-color 0.18s;
}
.agent-card:hover {
  transform: translateY(-2px);
  border-color: #d1decf;
  box-shadow: 0 8px 22px #284e2a07;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.agent-avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #edf3e6;
  color: #708c53;
  flex-shrink: 0;
}
.agent-avatar.sales {
  background: #f8efe0;
  color: #bc9451;
}
.agent-avatar.internal {
  background: #eaf0f7;
  color: #7a98b3;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: start;
  white-space: nowrap;
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 20px;
  background: #f1f4ee;
  color: #8a9b7c;
  font-weight: 500;
  line-height: 1.4;
}
.badge-green {
  background: #edf6ef;
  color: #4f8c63;
}
.badge-neutral {
  background: #f3f4ef;
  color: #89967e;
}
.badge-amber {
  background: #fbf4e8;
  color: #aa8b52;
}
.agent-card h3 {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.4px;
  line-height: 1.4;
  margin: 17px 0 3px;
  overflow-wrap: anywhere;
}
.agent-role {
  font-size: 12px;
  color: #93a08f;
}
.agent-description {
  font-size: 12px;
  color: #8a978c;
  line-height: 1.7;
  margin: 12px 0 0;
  min-height: 51px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.agent-meta {
  display: flex;
  gap: 17px;
  font-size: 11px;
  color: #8c9a8a;
  margin: 15px 0 12px;
}
.agent-meta > span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #82937d;
  background: #fafbf8;
  border: 1px solid #e9eee4;
  border-radius: 5px;
  padding: 4px 7px;
  line-height: 1.4;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #eef0e9;
  padding-top: 14px;
}
.card-bottom button {
  font-size: 12px;
  background: transparent;
  color: #81937b;
  padding: 3px 0;
  gap: 5px;
}
.card-bottom .card-test {
  color: #477347;
  font-weight: 650;
}
.card-bottom button:hover {
  color: var(--green-deep);
}
.empty-card {
  border: 1px dashed #cedcc5;
  box-shadow: none;
  background: #f3f7ee;
  border-radius: var(--radius);
  min-height: 287px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.empty-card:hover {
  background: #edf4e5;
  border-color: #aabf9a;
}
.add-agent-symbol {
  background: #e8f0de;
  width: 45px;
  height: 45px;
  border-radius: 13px;
  color: #88a56d;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}
.empty-card h3 {
  font-size: 14px;
  font-weight: 650;
  margin: 0 0 8px;
  color: #5b7350;
}
.empty-card p {
  font-size: 12px;
  color: #99a68d;
  line-height: 1.9;
  font-weight: 400;
}
.empty-card-link {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #73905d;
  margin-top: 18px;
}
.no-results {
  display: block;
}
.list-toolbar {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 25px;
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 13px;
  max-width: 390px;
  flex: 1;
  color: #a0aea0;
}
.search-field input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  min-height: 42px;
  padding: 10px 0 !important;
  font-size: 13px !important;
}
.filter-select select {
  margin: 0;
  background: white;
  font-size: 13px;
  min-width: 150px;
  min-height: 44px;
}
.result-count {
  margin-left: auto;
  font-size: 12px;
  color: #9aa598;
  white-space: nowrap;
}
.onboarding {
  margin-top: 26px;
  padding: 24px 25px;
}
.onboarding .section-title {
  margin-bottom: 15px;
}
.onboarding h2 {
  font-size: 15px;
  margin-top: 5px;
}
.progress-label {
  font-size: 11px;
  color: #92a184;
  white-space: nowrap;
}
.progress-track {
  height: 4px;
  background: #edf1e6;
  overflow: hidden;
  border-radius: 5px;
}
.progress-track > span {
  height: 100%;
  background: #90b37a;
  display: block;
  border-radius: 5px;
  transition: width 0.3s;
}
.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 21px;
}
.onboarding-step {
  padding: 0;
  background: none;
  border-radius: 0;
  text-align: left;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 9px;
}
.step-number {
  width: 23px;
  height: 23px;
  background: #f2f5ec;
  border: 1px solid #e9eee1;
  border-radius: 7px;
  color: #a0ae92;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}
.onboarding-step.complete .step-number {
  color: #71965b;
  background: #edf4e4;
}
.onboarding-step strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
  margin: 2px 0 5px;
  color: #607451;
}
.onboarding-step small {
  font-size: 10px;
  font-weight: 400;
  color: #a4ad9c;
  line-height: 1.6;
  display: block;
}
.onboarding-step > .icon {
  margin-top: 4px;
  color: #b2beaa;
  width: 12px;
}
.onboarding-step:hover strong {
  color: var(--green);
}
label {
  font-size: 14px;
  font-weight: 550;
  color: #4c6253;
}
input:not([type="checkbox"]):not([type="color"]),
textarea,
select {
  width: 100%;
  border: 1px solid #dfe6dc;
  border-radius: 8px;
  padding: 11px 12px;
  margin-top: 7px;
  background: #fbfcf9;
  color: var(--ink);
  font-size: 14px;
  min-height: 42px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: #adb7a7;
  font-size: 13px;
}
select {
  cursor: pointer;
}
textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.8;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
input[type="color"] {
  padding: 4px;
  border: 1px solid var(--line);
  height: 36px;
  width: 64px;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}
input:disabled {
  color: #a1ad9b;
  background: #f5f7f1 !important;
}
form > label {
  display: block;
  margin: 18px 0 8px;
}
label > small {
  display: block;
  font-size: 12px;
  color: #9ba793;
  font-weight: 400;
  margin-top: 7px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.form-row label {
  display: block;
}
.panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 24px;
}
.panel-heading h2 {
  font-size: 15px;
  margin: 1px 0 5px;
}
.panel-heading p {
  font-size: 12px;
  line-height: 1.7;
}
.panel-icon {
  width: 36px;
  height: 36px;
  background: #f0f5e9;
  border: 1px solid #e6eddc;
  color: #8fa474;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.empty-state {
  padding: 65px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.empty-icon {
  width: 68px;
  height: 68px;
  background: #f1f6e8;
  border: 1px solid #e6eedb;
  border-radius: 20px;
  color: #8ea777;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.empty-state h3 {
  font-size: 18px;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
  color: #45603e;
}
.empty-state p {
  max-width: 370px;
  font-size: 14px;
  color: #93a088;
  line-height: 1.8;
}
.empty-state button,
.empty-state a {
  margin-top: 23px;
  font-size: 13px;
}
.context-selector {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 22px;
}
.context-selector-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: #8ca46f;
  border-radius: 9px;
  background: #f1f6e8;
}
.context-selector label {
  min-width: 0;
  max-width: 300px;
  font-size: 11px;
  color: #9aa78f;
  flex: 1;
}
.context-selector select {
  margin: 0;
  padding: 2px 20px 0 0;
  border: 0;
  min-height: 22px;
  box-shadow: none;
  background: transparent;
  color: #516a44;
  font-size: 14px;
  font-weight: 600;
}
.context-selector > .badge {
  margin-left: auto;
  align-self: center;
}
.knowledge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 21px;
  align-items: start;
}
.knowledge-editor textarea {
  background: #fcfdf9;
  min-height: 332px;
  line-height: 1.9;
  padding: 18px;
}
.editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.editor-footer small {
  font-size: 11px;
  color: #a1ac97;
}
.editor-footer .primary {
  font-size: 13px;
  padding: 10px 13px;
}
.inline-status {
  font-size: 12px;
  margin-top: 12px;
  color: #70945e;
  min-height: 16px;
}
.inline-status[data-kind="pending"] {
  color: #ad985f;
}
.inline-status[data-kind="error"] {
  color: #ad5846;
}
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px dashed #d6e1c9;
  border-radius: 12px;
  background: #f8faf3;
  padding: 26px 12px;
  cursor: pointer;
  text-align: center;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.upload-zone:hover,
.upload-zone.drag-over {
  background: #eff5e4;
  border-color: #a8c38e;
}
.upload-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #9ab57c;
  background: #edf3e3;
  border-radius: 11px;
  margin-bottom: 5px;
}
.upload-zone strong {
  font-size: 13px;
  font-weight: 600;
  color: #728963;
}
.upload-zone > span:not(.upload-icon) {
  font-size: 12px;
  font-weight: 400;
  color: #a5ae99;
}
.upload-zone b {
  font-weight: 500;
  color: #86a06f;
}
.upload-zone small {
  font-size: 10px;
  color: #b2bba7;
  font-weight: 400;
}
.source-list {
  margin-top: 19px;
}
.file-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 0;
  border-bottom: 1px solid #eff2e9;
  min-width: 0;
}
.file-row:last-child {
  border-bottom: 0;
}
.file-icon {
  width: 33px;
  height: 37px;
  background: #f2f6e9;
  border: 1px solid #e6eddc;
  border-radius: 8px;
  color: #97aa7e;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.file-info {
  min-width: 0;
  flex: 1;
}
.file-info strong {
  font-size: 13px;
  font-weight: 550;
  color: #5c7350;
  display: block;
  overflow-wrap: anywhere;
}
.file-info small {
  font-size: 11px;
  color: #a6b09a;
  display: block;
  margin-top: 4px;
}
.file-remove {
  width: 26px;
  height: 26px;
  color: #b2bcaa;
}
.file-remove:hover {
  color: #a75a47;
  background: #fff4ef;
}
details {
  font-size: 13px;
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
summary::-webkit-details-marker {
  display: none;
}
.file-info summary {
  display: inline-block;
  color: #8fa778;
  font-size: 11px;
  margin-top: 7px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
pre {
  background: #f7f9f1;
  border: 1px solid #eaf0df;
  border-radius: 8px;
  padding: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow: auto;
  max-height: 210px;
  font:
    10px/1.8 "DM Sans",
    sans-serif;
  color: #8a9a7b;
}
.tip-box {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #f7f9f1;
  border: 1px solid #eaf0e0;
  border-radius: 10px;
  padding: 14px 15px;
  margin-top: 18px;
  color: #9caf80;
}
.tip-box .icon {
  margin-top: 2px;
}
.tip-box p {
  font-size: 12px;
  color: #97a787;
  line-height: 1.8;
}
.subtle-empty {
  font-size: 12px;
  color: #aab49f;
  text-align: center;
  padding: 20px 5px;
}
.conversation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(255px, 1fr);
  gap: 22px;
  align-items: start;
}
.conversation-panel {
  padding: 0;
  overflow: hidden;
}
.conversation-header {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 21px 24px;
  border-bottom: 1px solid #edf1e6;
}
.conversation-header h2 {
  font-size: 14px;
  margin-bottom: 4px;
}
.conversation-header > .icon-button {
  margin-left: auto;
}
.conversation-header .agent-avatar {
  width: 39px;
  height: 39px;
}
.conversation-presence {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #a1ac96;
}
.conversation-presence .ready {
  color: #84aa6a;
}
.conversation-tools {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 11px 24px;
  border-bottom: 1px solid #f0f3e9;
  background: #fdfefb;
}
.conversation-tools select {
  margin: 0;
  background: white;
  border-color: #e9eee1;
  min-height: 33px;
  padding: 6px 10px;
  font-size: 12px;
  max-width: 260px;
}
.history-toggle {
  margin-left: auto;
  background: none;
  color: #96a784;
  font-size: 11px;
  white-space: nowrap;
  padding: 6px 0;
}
.history-list:empty {
  display: none;
}
.history-list {
  padding: 12px 24px;
  border-bottom: 1px solid #eef1e7;
  max-height: 240px;
  overflow: auto;
  background: #fafcf5;
}
.history-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid #e7ecdf;
  border-radius: 7px;
  padding: 10px 12px;
  color: #7c926a;
  text-align: left;
  margin: 7px 0;
  font-size: 12px;
  font-weight: 400;
}
.history-item:hover {
  background: #eff5e5;
}
.history-item small {
  font-size: 10px;
  flex-shrink: 0;
  color: #a3b092;
}
.chat {
  min-height: 365px;
  max-height: 510px;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  background: #fff;
}
.chat-welcome {
  margin: auto;
  text-align: center;
  max-width: 340px;
  align-self: center;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.chat-welcome-mark {
  width: 67px;
  height: 67px;
  background: linear-gradient(145deg, #f0f6e5, #f7faef);
  border: 1px solid #e6eedb;
  border-radius: 22px;
  color: #98b27c;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.chat-welcome h3 {
  font-size: 17px;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
  color: #59754a;
}
.chat-welcome p {
  font-size: 13px;
  color: #9aa88e;
  line-height: 1.9;
  max-width: 290px;
}
.chat-welcome .secondary {
  font-size: 12px;
  margin-top: 23px;
  padding: 10px 12px;
}
.suggested-questions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}
.suggested-questions button {
  font-size: 11px;
  border: 1px solid #e7efdb;
  background: #fcfdf8;
  color: #95a87d;
  padding: 8px 10px;
}
.message-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 93%;
  align-self: flex-start;
}
.message-row.from-user {
  align-self: flex-end;
  justify-content: flex-end;
}
.message-avatar {
  width: 27px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #90ad71;
  background: #f0f5e6;
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}
.bubble {
  background: #f0f5e8;
  border: 1px solid #e9efdf;
  border-radius: 0 13px 13px 13px;
  padding: 13px 16px;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 90%;
  align-self: flex-start;
  color: #7a9066;
}
.message-row .bubble {
  max-width: 100%;
}
.bubble.user {
  border-radius: 13px 0 13px 13px;
  background: #356d4d;
  border-color: #356d4d;
  color: #f4f7ec;
  align-self: flex-end;
}
.chat-form {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 14px 21px 10px;
  border-top: 1px solid #eff2e7;
  background: #fff;
}
.chat-form input {
  margin: 0;
  background: #fafcf5;
  border: 1px solid #e9efde;
  border-radius: 9px;
  min-height: 42px;
  padding: 11px 12px;
  font-size: 13px;
  flex: 1;
  min-width: 0;
}
.chat-form input::placeholder {
  font-size: 12px;
  color: #a8b79a;
}
.send-button {
  width: 41px;
  height: 41px;
  padding: 9px;
  flex-shrink: 0;
}
.composer-note {
  font-size: 10px;
  color: #b0bba5;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  padding: 0 15px 17px;
}
.conversation-context {
  position: static;
  inset: auto;
  width: auto;
  background: none;
  padding: 0;
  display: block;
}
.conversation-context .panel {
  padding: 23px 22px;
}
.conversation-context .panel-heading {
  margin-bottom: 24px;
  gap: 9px;
}
.conversation-context .panel-heading h2 {
  font-size: 14px;
}
.conversation-context .panel-heading p {
  font-size: 11px;
}
.conversation-context .panel-icon {
  width: 31px;
  height: 31px;
}
.agent-facts {
  margin: 0;
}
.agent-facts > div {
  margin: 0 0 21px;
}
.agent-facts dt {
  font-size: 11px;
  color: #a4b197;
  margin-bottom: 7px;
}
.agent-facts dd {
  font-size: 13px;
  color: #768e62;
  margin: 0;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.agent-context {
  border-top: 1px solid #edf1e3;
  padding: 15px 0;
  color: #899f74;
}
.agent-context summary {
  font-size: 12px;
}
.agent-context p {
  margin-top: 12px;
  font-size: 12px;
  color: #a0af90;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.conversation-context .full-width {
  font-size: 12px;
  margin-top: 7px;
}
.form-error,
#chat-error {
  color: #a95745;
  font-size: 13px;
  padding: 0 23px;
  margin: 8px 0;
}
.typing-row {
  display: flex;
  gap: 9px;
  align-items: center;
  align-self: flex-start;
}
.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px;
  background: #f0f5e6;
  border-radius: 0 12px 12px 12px;
}
.typing-dots i {
  height: 4px;
  width: 4px;
  background: #a1b789;
  border-radius: 50%;
  animation: typing 1.3s infinite;
}
.typing-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
.spinner {
  width: 19px;
  height: 19px;
  border: 2px solid #a4bea34d;
  border-top-color: #8fac79;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
.primary .spinner {
  border-color: #ffffff55;
  border-top-color: #fff;
  width: 16px;
  height: 16px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes typing {
  0%,
  70%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.settings-layout .panel {
  padding: 26px;
}
.settings-layout form {
  margin-top: 8px;
}
.settings-layout form > label {
  margin: 0 0 19px;
}
.settings-layout form .primary {
  font-size: 13px;
}
.settings-row {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.settings-row h3 {
  font-size: 13px;
  margin: 0 0 6px;
  color: #657b57;
}
.settings-row p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 260px;
}
.settings-row button {
  font-size: 12px;
  white-space: nowrap;
  padding: 9px 11px;
}
.settings-divider {
  display: block;
  border: 0;
  border-top: 1px solid #edf1e6;
  margin: 25px 0;
}
.ai-readiness {
  border: 1px solid #edf1e2;
  background: #f9fbf4;
  border-radius: 11px;
  padding: 18px;
  margin-bottom: 20px;
}
.ai-readiness h3 {
  font-size: 14px;
  color: #71895f;
  margin: 14px 0 8px;
}
.ai-readiness p {
  font-size: 12px;
  color: #a1b090;
  line-height: 1.9;
}
.usage-box {
  border: 1px solid #e9efdf;
  border-radius: 9px;
  padding: 16px;
  background: #fff;
  font-size: 13px;
  color: #8fa47b;
  line-height: 1.9;
}
.settings-footnote {
  font-size: 11px;
  color: #a8b59c;
  line-height: 1.9;
  display: block;
  margin-top: 14px;
}
.account-panel {
  grid-column: 1/-1;
}
.account-facts {
  display: flex;
  gap: 70px;
  margin-bottom: 16px;
}
.account-facts small {
  font-size: 11px;
  color: #a5b299;
  display: block;
}
.account-facts strong {
  font-size: 13px;
  color: #788f63;
  font-weight: 550;
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.account-panel .settings-row p {
  max-width: none;
}
.import-details {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #eff2e7;
}
.import-details summary {
  font-size: 12px;
  color: #9aae84;
  justify-content: flex-start;
}
.import-details p {
  font-size: 12px;
  margin: 13px 0;
}
.import-details .secondary {
  font-size: 12px;
}
.channel-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 25px;
}
.channel-card {
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  min-width: 0;
}
.channel-card.selected {
  border-color: #d5e2c9;
  background: #fafff7;
}
.channel-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #edf5e3;
  color: #8cac6c;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.whatsapp-logo {
  background: #f4f6ef;
  color: #a4b295;
}
.channel-card h3 {
  font-size: 14px;
  color: #698653;
  margin: 0 0 4px;
}
.channel-card p {
  font-size: 11px;
  color: #a5b296;
}
.channel-card > .badge {
  margin-left: auto;
  align-self: center;
}
.channel-config-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
}
.widget-config-panel > h2 {
  font-size: 15px;
  margin-bottom: 21px;
}
.widget-config-panel > label {
  display: block;
  font-size: 12px;
  color: #93a47f;
  margin-bottom: 23px;
}
.widget-config-panel > label select {
  margin-top: 8px;
}
.widget-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.widget-form-grid label {
  display: block;
  font-size: 12px;
  color: #839b6c;
  margin: 12px 0 18px;
}
.widget-form-grid label textarea {
  font-size: 13px;
}
.widget-form-grid .guided-note {
  font-size: 11px;
}
.color-field input[type="color"] {
  display: block;
  margin-top: 7px;
}
.switch-field {
  display: flex !important;
  gap: 8px;
  align-items: center;
  padding: 12px 10px;
  background: #f9fbf4;
  border: 1px solid #edf1e3;
  border-radius: 8px;
}
.switch-field input {
  margin: 0;
}
.widget-config-panel .primary {
  font-size: 13px;
}
.widget-config-panel #widget-save-status {
  color: #88a369;
  font-size: 12px;
  margin-top: 12px;
}
.widget-config-panel > p {
  font-size: 12px;
}
.widget-config-panel > h3 {
  font-size: 14px;
  color: #8da575;
}
.widget-config-panel .guided-note {
  font-size: 11px;
  line-height: 1.8;
  color: #a6b598;
}
.install-code-panel:not(:empty) {
  margin-top: 22px;
  border: 1px solid #e8efdc;
  border-radius: 11px;
  background: #f9fcf2;
  padding: 20px;
}
.install-code-panel > hr {
  display: none;
}
.install-code-panel h3 {
  font-size: 14px;
  color: #829d68;
  margin: 0 0 9px;
}
.install-code-panel p {
  font-size: 11px;
  color: #a1b28e;
  line-height: 1.9;
}
.widget-code {
  font:
    10px/1.9 ui-monospace,
    monospace;
  background: white;
  min-height: 95px;
  resize: vertical;
  color: #8fa676;
  margin: 12px 0 !important;
  overflow-wrap: anywhere;
}
.install-code-panel button {
  font-size: 12px;
}
.preview-caption {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.preview-caption > span {
  font-size: 10px;
  letter-spacing: 1.1px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a2b18f;
}
.preview-caption small {
  font-size: 10px;
  color: #b4bea8;
}
.widget-preview-card {
  border: 1px solid #e0e8d4;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 30px #7590520b;
}
.preview-chat-head {
  background: var(--widget-accent, #22694d);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: white;
}
.preview-chat-head > span:first-child {
  width: 33px;
  height: 33px;
  background: #ffffff15;
  display: grid;
  place-items: center;
  border-radius: 9px;
}
.preview-chat-head strong {
  font-size: 14px;
  font-weight: 600;
  display: block;
}
.preview-chat-head small {
  display: block;
  font-size: 10px;
  opacity: 0.7;
  margin-top: 4px;
}
.preview-online {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b9d69e;
  margin-left: auto;
  align-self: flex-start;
  margin-top: 5px;
}
.preview-chat-body {
  padding: 20px;
  min-height: 260px;
  background: linear-gradient(#fdfefb, #fff);
  display: flex;
  flex-direction: column;
}
.preview-day {
  font-size: 10px;
  text-align: center;
  color: #b6c0a9;
  display: block;
  margin-bottom: 24px;
}
.preview-bubble {
  border: 1px solid #eaf0df;
  border-radius: 0 12px 12px 12px;
  background: #f4f8ed;
  color: #8ca174;
  padding: 14px;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.preview-caption-note {
  margin-top: auto;
  padding: 30px 10px 0;
  font-size: 11px;
  color: #adbda0;
  text-align: center;
  line-height: 1.8;
}
.preview-composer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 19px;
  border-top: 1px solid #eef2e7;
  color: #acbd9b;
  font-size: 11px;
}
.preview-composer > .icon {
  color: var(--widget-accent, #22694d);
}
.preview-powered {
  padding: 9px;
  text-align: center;
  border-top: 1px solid #f2f5eb;
  font-size: 10px;
  color: #c0cbb3;
}
.preview-powered b {
  color: #9caf89;
  font-weight: 600;
}
.ticket-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.ticket-toolbar > small {
  font-size: 11px;
  color: #a6b697;
}
.segmented-control {
  display: flex;
  gap: 3px;
  border: 1px solid #e5ecda;
  border-radius: 9px;
  background: #edf2e5;
  padding: 4px;
}
.segmented-control button {
  background: none;
  color: #9aad84;
  padding: 8px 11px;
  font-size: 12px;
  border-radius: 6px;
  gap: 7px;
  font-weight: 500;
}
.segmented-control button.active {
  background: white;
  color: #6d8c52;
  box-shadow: 0 1px 4px #44652c0b;
}
.segmented-control button > span {
  font-size: 10px;
  background: #edf3e5;
  padding: 1px 5px;
  border-radius: 4px;
  color: #97ad7f;
}
.ticket {
  padding: 23px 0;
  border-bottom: 1px solid #eef3e4;
}
.ticket:last-of-type {
  border-bottom: 0;
}
.ticket:first-child {
  padding-top: 0;
}
.ticket-bar {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}
.ticket-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #f0f6e6;
  color: #9eb983;
  border: 1px solid #e4edd8;
  font: 600 13px Manrope;
  border-radius: 10px;
  flex-shrink: 0;
}
.ticket h3 {
  font-size: 13px;
  margin: 0;
  color: #738f5b;
}
.ticket-bar > .badge {
  margin-left: auto;
  align-self: center;
}
.ticket p {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #99ac86;
  margin: 8px 0;
}
.ticket p b {
  font-weight: 500;
  color: #819c6c;
}
.ticket > small {
  font-size: 11px;
  color: #b1bfa0;
}
.small-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.ticket .secondary {
  font-size: 12px;
  padding: 9px 11px;
}
.filter-empty .empty-state {
  padding: 55px 20px;
}
dialog {
  border: 1px solid #e3e9db;
  border-radius: 18px;
  padding: 31px 33px;
  width: min(630px, 94vw);
  max-height: 91dvh;
  overflow: auto;
  color: var(--ink);
  box-shadow: 0 25px 100px #0b281e24;
  background: #fff;
}
dialog::backdrop {
  background: #102d2770;
  backdrop-filter: blur(5px);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}
.modal-icon {
  background: #f0f5e6;
  color: #89a76e;
  width: 47px;
  height: 47px;
  border: 1px solid #e5edd9;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 27px;
}
.modal-head .icon-button {
  color: #a1b08f;
  background: #f9fbf4;
  width: 31px;
  height: 31px;
}
.modal-head .icon-button:hover {
  background: #eff5e5;
}
dialog h2 {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.8px;
  line-height: 1.4;
  margin: 7px 0 10px;
}
dialog .eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
}
.modal-description {
  font-size: 13px;
  color: #9aa88b;
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 24px;
}
dialog form > label {
  font-size: 13px;
  margin-top: 18px;
  color: #7c9567;
}
dialog form p {
  font-size: 13px;
}
.channel-field {
  padding: 0;
  border: 0;
  margin: 23px 0;
}
.channel-field legend {
  font-size: 13px;
  font-weight: 550;
  color: #7c9567;
  margin-bottom: 10px;
}
.channel-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.channel-choices label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e3ecd8;
  padding: 14px;
  border-radius: 9px;
  cursor: pointer;
  background: #fff;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.channel-choices label:has(input:checked) {
  background: #f6faef;
  border-color: #b6cda3;
}
.channel-choices strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  color: #81986b;
}
.channel-choices small {
  display: block;
  font-size: 11px;
  color: #a5b597;
  margin-top: 4px;
}
.channel-choices input {
  margin: 0;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #edf1e5;
  padding-top: 23px;
  margin-top: 26px;
}
.modal-actions button {
  font-size: 13px;
}
.modal-actions .danger {
  margin-right: auto;
  font-size: 12px;
}
.form-row label {
  font-size: 13px;
  color: #7c9567;
}
#form-error,
#company-error {
  color: #b66550;
  font-size: 13px;
  margin-top: 12px;
}
#company-dialog .modal-icon {
  margin-bottom: 23px;
}
#confirm-dialog {
  width: min(430px, 94vw);
}
#confirm-dialog h2 {
  margin-top: 20px;
  font-size: 22px;
}
.warning-icon {
  background: #fff4eb;
  color: #c99367;
  border-color: #f5e5d5;
  font-size: 25px;
  font-weight: 500;
}
#confirm-description {
  margin-bottom: 12px;
}
.guide-close {
  position: absolute;
  top: 21px;
  right: 22px;
  color: #a3b590;
  background: #f8fbf2;
}
#guided-dialog {
  width: min(640px, 94vw);
  padding: 33px;
}
.guided-steps {
  display: flex;
  gap: 0;
  margin: 25px 0 27px;
}
.guided-steps .guide-step {
  flex: 1;
  display: flex;
  gap: 7px;
  align-items: center;
  position: relative;
  color: #b4c0a7;
  padding: 0 8px 17px 0;
  border-bottom: 2px solid #edf2e3;
  font-size: 11px;
  background: none;
  height: auto;
  border-radius: 0;
}
.guide-step i {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid #e8eedf;
  border-radius: 50%;
  font-style: normal;
  font-size: 11px;
  background: #fbfdf6;
}
.guide-step b {
  font-weight: 500;
}
.guided-steps .guide-step.current {
  color: #7b9b5d;
  border-color: #a8c187;
}
.guide-step.current i {
  background: #edf5df;
  color: #84a465;
  border-color: #d6e5bf;
}
.guided-steps .guide-step.complete {
  color: #9bb583;
  border-color: #c3d6a6;
}
.guide-stage {
  font-size: 10px !important;
  letter-spacing: 1.8px;
  color: #a5b791 !important;
  margin-bottom: 8px !important;
}
.guided-preview {
  min-height: 255px;
  font-size: 13px;
}
.guided-note {
  font-size: 12px;
  color: #a3b493;
  line-height: 1.9;
}
.help-step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid #eef2e7;
}
.help-step:last-child {
  border: 0;
}
.help-step > span {
  background: #f3f8e9;
  border: 1px solid #e7efda;
  display: grid;
  place-items: center;
  color: #9ab57b;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}
.help-step strong {
  font-size: 13px;
  font-weight: 600;
  color: #7a9661;
  display: block;
  margin: 3px 0 6px;
}
.help-step p {
  font-size: 12px;
  color: #acba9c;
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 28px;
  z-index: 120;
  background: #204c37;
  color: #eaf1e1;
  border: 1px solid #4e765344;
  padding: 14px 20px;
  border-radius: 11px;
  box-shadow: 0 8px 35px #1737221c;
  font-size: 14px;
  max-width: min(420px, calc(100vw - 34px));
  display: none;
  line-height: 1.7;
  animation: toast-in 0.2s ease-out;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100dvh;
  background: #fff;
}
.auth-story {
  background: #123a31;
  color: #e6efd9;
  padding: 37px 45px 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
}
.auth-brand {
  padding: 0;
}
.auth-story-content {
  margin: auto 0;
  padding: 65px 10px 40px;
}
.auth-story-eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #85a585;
  font-weight: 500;
}
.auth-story h2 {
  font-size: 36px;
  line-height: 1.3;
  letter-spacing: -1.4px;
  color: #f0f5e6;
  margin: 17px 0 18px;
  font-weight: 650;
}
.auth-story h2 em {
  font-style: normal;
  color: #b6d298;
}
.auth-story-content > p {
  font-size: 13px;
  color: #93b094;
  max-width: 350px;
  line-height: 1.95;
}
.auth-illustration {
  height: 275px;
  max-width: 430px;
  margin: 25px 0 15px;
  position: relative;
}
.auth-art-ring {
  width: 190px;
  height: 190px;
  position: absolute;
  border: 1px solid #b9d69c1c;
  border-radius: 50%;
  left: 90px;
  top: 40px;
}
.auth-art-ring.ring-two {
  width: 260px;
  height: 260px;
  left: 55px;
  top: 5px;
  border-style: dashed;
  border-color: #b9d69c11;
}
.auth-art-core {
  position: absolute;
  left: 163px;
  top: 103px;
  width: 64px;
  height: 64px;
  border: 1px solid #b4d09748;
  color: #c9e4ae;
  background: #345b3b;
  border-radius: 20px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px #071f191c;
  transform: rotate(-8deg);
}
.auth-art-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #294e37;
  border: 1px solid #c1dc9b26;
  border-radius: 11px;
  padding: 13px 17px;
  box-shadow: 0 8px 20px #0a211512;
  color: #d1e6b8;
  font-size: 13px;
  white-space: nowrap;
}
.auth-art-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #9fc07815;
  border-radius: 9px;
  color: #bed895;
}
.auth-art-card small {
  display: block;
  font-size: 10px;
  color: #8aab7b;
  margin-top: 4px;
}
.auth-art-knowledge {
  left: 0;
  top: 25px;
  transform: rotate(-4deg);
}
.auth-art-knowledge i {
  height: 5px;
  width: 5px;
  background: #b5d68f;
  border-radius: 50%;
  margin-left: 13px;
}
.auth-art-agent {
  left: 218px;
  top: 151px;
  transform: rotate(3deg);
}
.auth-art-bubble {
  background: #ddecc3;
  position: absolute;
  left: 20px;
  top: 211px;
  color: #55723d;
  padding: 13px 17px;
  border-radius: 0 11px 11px 11px;
  font-size: 13px;
  box-shadow: 0 9px 30px #0a271419;
}
.auth-art-bubble span {
  margin-left: 15px;
  color: #8bad5f;
}
.auth-art-star {
  position: absolute;
  left: 341px;
  top: 34px;
  font-size: 38px;
  color: #acc88a;
  opacity: 0.6;
}
.auth-story-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 11px;
  color: #9ebc8f;
  line-height: 1.5;
  padding-top: 20px;
  border-top: 1px solid #d3e4ae13;
  max-width: 410px;
}
.auth-story-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 10px;
  color: #63846b;
  padding: 15px 0 0;
}
.auth-story-footer > span:last-child {
  letter-spacing: 1.4px;
  font-size: 7px;
}
.auth-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 100dvh;
  padding: 45px 45px 23px;
  background: #fcfdf9;
}
.auth-card {
  width: 100%;
  max-width: 365px;
  margin: auto 0;
  padding: 40px 0;
  background: transparent;
  border: 0;
}
.auth-welcome-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #e5eed8;
  background: #f0f6e5;
  color: #99b979;
  border-radius: 13px;
  margin-bottom: 23px;
}
.auth-card > .eyebrow {
  font-size: 10px;
  color: #9daf94;
  letter-spacing: 1.4px;
}
.auth-card h1 {
  font-size: 28px;
  letter-spacing: -1px;
  color: #345237;
  margin: 9px 0 11px;
}
.auth-card > p {
  font-size: 13px;
  line-height: 1.8;
  color: #9ba98f;
}
.auth-card form {
  margin-top: 29px;
}
.auth-card label {
  font-size: 13px;
  color: #778f63;
  display: block;
  margin: 18px 0 8px;
  font-weight: 550;
}
.auth-card input {
  min-height: 45px;
  font-size: 14px;
  background: #fff;
  border-color: #e3ebd9;
  border-radius: 8px;
  padding: 12px;
}
.auth-card input::placeholder {
  color: #b5c0aa;
  font-size: 13px;
}
.input-icon-wrap {
  position: relative;
}
.input-icon-wrap input {
  padding-left: 40px !important;
}
.input-icon {
  position: absolute;
  left: 13px;
  top: 21px;
  color: #a9bb96;
  display: grid;
  place-items: center;
}
.password-toggle {
  background: transparent;
  position: absolute;
  right: 7px;
  top: 13px;
  padding: 8px;
  color: #adbd9b;
  min-height: 30px;
  min-width: 30px;
}
.password-toggle:hover {
  color: #7a9b5e;
  background: #f7faef;
}
.auth-card input[name="password"] {
  padding-right: 43px;
}
.auth-help {
  font-size: 11px;
  color: #aab99b;
  line-height: 1.8;
}
.auth-card label small {
  font-size: 11px;
  line-height: 1.8;
  color: #aab99b;
  font-weight: 400;
}
.auth-card .primary {
  width: 100%;
  font-size: 13px;
  min-height: 44px;
  margin-top: 19px;
  background: #3a704c;
  border-color: #3a704c;
}
.auth-card .primary:hover {
  background: #2c5b3c;
}
#auth-error {
  font-size: 12px;
  color: #b56b53;
  line-height: 1.8;
  margin-top: 12px;
}
.auth-toggle-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 23px;
}
.auth-toggle-row > span {
  font-size: 12px;
  color: #acb99c;
}
.auth-toggle-row .link {
  font-size: 12px;
  color: #829f66;
}
.registration-note {
  margin-top: 18px !important;
  text-align: center;
  font-size: 11px !important;
  color: #aebba0 !important;
}
.auth-security {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 27px;
  padding-top: 25px;
  border-top: 1px solid #eaf0e0;
  color: #b3c29d;
}
.auth-security p {
  font-size: 10px;
  color: #b0bd9f;
  line-height: 1.9;
}
.auth-entry-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: #b7c1ac;
  margin-top: 30px;
}
.auth-mobile-brand {
  display: none;
}
@media (min-width: 1600px) {
  :root {
    --sidebar-width: 270px;
  }
  #content {
    padding-top: 42px;
  }
  .hero {
    min-height: 300px;
  }
  .hero-copy {
    padding: 37px 36px;
  }
  .hero h2 {
    font-size: 35px;
  }
  .hero-art {
    margin-right: 20px;
  }
  .auth-story {
    padding-left: 65px;
    padding-right: 65px;
  }
  .auth-story-content {
    padding-left: 20px;
  }
  .auth-story h2 {
    font-size: 43px;
  }
  .auth-illustration {
    margin-top: 40px;
  }
  .auth-card {
    max-width: 400px;
  }
  .auth-card h1 {
    font-size: 31px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar-width: 230px;
  }
  #content {
    padding: 29px 27px 35px;
  }
  .topbar {
    padding: 0 27px;
  }
  .hero-art {
    min-width: 280px;
    width: 38%;
    transform: scale(0.9);
    transform-origin: right center;
  }
  .hero-copy {
    padding: 28px 24px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .hero-actions {
    gap: 13px;
  }
  .hero-link {
    font-size: 11px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 17px;
  }
  .grid {
    gap: 14px;
  }
  .agent-card {
    padding: 19px;
  }
  .title-row h1 {
    font-size: 26px;
  }
  .title-actions {
    gap: 7px;
  }
  .title-actions .secondary {
    font-size: 12px;
  }
  .onboarding-steps {
    gap: 12px;
  }
  .conversation-layout {
    grid-template-columns: minmax(0, 1.6fr) 260px;
    gap: 18px;
  }
  .conversation-context .panel {
    padding: 19px 17px;
  }
  .settings-layout {
    gap: 18px;
  }
  .settings-row {
    flex-wrap: wrap;
  }
  .knowledge-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 18px;
  }
  .channel-config-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(235px, 1fr);
    gap: 18px;
  }
  .widget-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .auth-story {
    padding: 32px;
  }
  .auth-story-content {
    padding: 45px 0 30px;
  }
  .auth-story h2 {
    font-size: 31px;
  }
  .auth-art-agent {
    left: 170px;
  }
  .auth-art-star {
    left: 290px;
  }
  .auth-entry {
    padding: 35px;
  }
  .auth-story-footer > span:last-child {
    display: none;
  }
}
@media (max-width: 1000px) {
  :root {
    --sidebar-width: 215px;
  }
  #sidebar {
    padding: 26px 14px 20px;
  }
  .brand {
    padding: 0 6px;
    gap: 7px;
  }
  .brand-name {
    font-size: 24px;
  }
  .nav-label {
    font-size: 7px;
    padding-left: 10px;
  }
  #sidebar nav button {
    padding: 11px 10px;
    gap: 9px;
    font-size: 13px;
  }
  .workspace {
    padding-left: 6px;
    gap: 6px;
  }
  .workspace-icon {
    width: 25px;
  }
  .profile-info > span {
    max-width: 118px;
  }
  .plan {
    padding: 15px 12px;
  }
  .hero-art {
    display: none;
  }
  .hero-copy {
    padding: 29px;
  }
  .hero-copy p {
    max-width: 480px;
  }
  .hero {
    min-height: auto;
  }
  .hero h2 {
    font-size: 28px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-link {
    font-size: 12px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .title-row {
    gap: 15px;
    align-items: flex-start;
  }
  .title-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .title-actions .secondary {
    font-size: 11px;
  }
  .title-row h1 {
    font-size: 25px;
    line-height: 1.4;
  }
  .topbar-actions {
    gap: 13px;
  }
  .help-button {
    display: none;
  }
  .breadcrumb-company {
    max-width: 140px;
  }
  .onboarding-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .conversation-layout {
    grid-template-columns: 1fr;
  }
  .conversation-context {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
  }
  .conversation-context .tip-box {
    margin-top: 0;
  }
  .knowledge-layout {
    grid-template-columns: 1fr;
  }
  .knowledge-editor textarea {
    min-height: 270px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .account-panel {
    grid-column: auto;
  }
  .settings-row {
    flex-wrap: nowrap;
  }
  .channel-config-layout {
    grid-template-columns: 1fr;
  }
  .widget-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .widget-preview {
    max-width: 400px;
    margin: 7px auto 0;
    width: 100%;
  }
  .channel-card {
    padding: 17px;
    gap: 10px;
  }
  .channel-card p {
    display: none;
  }
  .channel-card h3 {
    font-size: 13px;
  }
  .auth-story h2 {
    font-size: 27px;
  }
  .auth-art-card {
    padding: 11px 12px;
    font-size: 12px;
  }
  .auth-art-knowledge {
    left: -10px;
  }
  .auth-art-agent {
    left: 120px;
    top: 150px;
  }
  .auth-art-core {
    left: 118px;
  }
  .auth-art-ring {
    left: 49px;
  }
  .auth-art-ring.ring-two {
    left: 14px;
  }
  .auth-art-star {
    left: 242px;
  }
  .auth-art-bubble {
    left: 0;
  }
  .auth-story-content > p {
    font-size: 12px;
  }
  .auth-entry {
    padding: 25px;
  }
  .auth-story-features {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar-width: 260px;
  }
  #sidebar {
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    width: var(--sidebar-width);
    padding: 29px 20px 21px;
    box-shadow: 15px 0 50px #0c2b2025;
  }
  .nav-open #sidebar {
    transform: translateX(0);
  }
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: #112f255c;
    backdrop-filter: blur(3px);
    border-radius: 0;
    padding: 0;
    width: 100%;
    height: 100%;
  }
  .nav-open .sidebar-backdrop {
    display: block;
  }
  .nav-open {
    overflow: hidden;
  }
  .brand-name {
    font-size: 26px;
  }
  .workspace {
    padding: 12px 8px 12px 12px;
    margin: 31px 0 27px;
  }
  .workspace-icon {
    width: 29px;
  }
  .nav-label {
    font-size: 10px;
  }
  .profile-info > span {
    max-width: 145px;
  }
  #sidebar nav button {
    padding: 12px 13px;
    font-size: 14px;
    gap: 12px;
  }
  .aside-bottom {
    padding-top: 32px;
  }
  .app-main {
    margin-left: 0;
  }
  .topbar {
    height: 66px;
    padding: 0 17px;
    gap: 10px;
  }
  .breadcrumb {
    gap: 9px;
    font-size: 12px;
  }
  .breadcrumb-company,
  .breadcrumb-separator {
    display: none;
  }
  #menu-toggle {
    display: inline-flex;
    width: 31px;
    padding: 4px;
    color: #557644;
  }
  .topbar-actions {
    gap: 10px;
  }
  .demo {
    font-size: 10px;
    padding: 5px 8px;
  }
  .demo > .icon {
    display: none;
  }
  .header-avatar {
    height: 27px;
    width: 27px;
    font-size: 12px;
  }
  #content {
    padding: 26px 18px 33px;
  }
  .title-row {
    display: block;
    margin-bottom: 25px;
  }
  .title-row h1 {
    font-size: 26px;
    margin: 7px 0 9px;
    line-height: 1.3;
    letter-spacing: -0.9px;
  }
  .page-kicker {
    font-size: 10px;
    letter-spacing: 1.4px;
  }
  .title-row p {
    font-size: 13px;
    line-height: 1.7;
  }
  .title-actions {
    flex-direction: row;
    align-items: center;
    margin-top: 18px;
    gap: 9px;
  }
  .title-actions .primary {
    font-size: 13px;
    padding: 10px 13px;
    order: -1;
  }
  .title-actions .secondary {
    font-size: 12px;
    padding: 10px 12px;
  }
  .hero {
    border-radius: 14px;
    margin-bottom: 19px;
  }
  .hero-copy {
    padding: 25px 22px;
  }
  .hero-pill {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .hero h2 {
    font-size: 26px;
    margin: 13px 0 12px;
  }
  .hero-copy p {
    font-size: 12px;
    line-height: 1.9;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 20px;
  }
  .hero-actions .primary {
    font-size: 12px;
    padding: 10px 12px;
  }
  .hero-link {
    font-size: 11px;
  }
  .stats {
    gap: 11px;
    margin-bottom: 27px;
  }
  .stat {
    padding: 15px;
    border-radius: 11px;
  }
  .stat-top {
    font-size: 11px;
    gap: 6px;
  }
  .stat-top .icon {
    width: 16px;
  }
  .stat strong {
    font-size: 27px;
    margin: 10px 0 3px;
  }
  .stat strong.stat-text {
    font-size: 20px;
    line-height: 1.9;
  }
  .stat small {
    font-size: 10px;
  }
  .section-title {
    gap: 15px;
    margin-bottom: 16px;
  }
  .section-title h2 {
    font-size: 16px;
  }
  .section-title p {
    font-size: 11px;
    line-height: 1.8;
  }
  .section-title .link {
    font-size: 12px;
    white-space: nowrap;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .agent-card {
    padding: 23px;
  }
  .agent-card h3 {
    font-size: 16px;
  }
  .agent-description {
    font-size: 13px;
    min-height: auto;
    max-width: 90%;
    margin-top: 13px;
  }
  .agent-role {
    font-size: 12px;
  }
  .agent-meta {
    margin-top: 18px;
    font-size: 12px;
    gap: 20px;
  }
  .tag {
    font-size: 11px;
    padding: 5px 8px;
  }
  .card-bottom button {
    font-size: 13px;
  }
  .empty-card {
    min-height: 240px;
  }
  .empty-card h3 {
    font-size: 13px;
  }
  .empty-card p {
    font-size: 13px;
  }
  .empty-card-link {
    font-size: 13px;
  }
  .onboarding {
    padding: 23px 20px;
    margin-top: 23px;
  }
  .onboarding .section-title {
    align-items: flex-start;
  }
  .onboarding h2 {
    font-size: 15px;
  }
  .onboarding .eyebrow {
    font-size: 10px;
  }
  .progress-label {
    font-size: 10px;
  }
  .onboarding-steps {
    grid-template-columns: 1fr;
    gap: 19px;
    margin-top: 23px;
  }
  .onboarding-step strong {
    font-size: 13px;
  }
  .onboarding-step small {
    font-size: 12px;
  }
  .step-number {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .onboarding-step > .icon {
    margin-left: auto;
  }
  .onboarding-step {
    gap: 12px;
  }
  .list-toolbar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .search-field {
    max-width: none;
    flex-basis: 100%;
  }
  .search-field input {
    font-size: 14px !important;
  }
  .filter-select {
    flex: 1;
  }
  .filter-select select {
    width: 100%;
    font-size: 13px;
    min-height: 40px;
  }
  .result-count {
    font-size: 12px;
  }
  .panel {
    padding: 23px 20px;
    border-radius: 13px;
  }
  .panel-heading {
    gap: 11px;
    margin-bottom: 23px;
  }
  .panel-heading h2 {
    font-size: 15px;
  }
  .panel-heading p {
    font-size: 12px;
  }
  .context-selector {
    padding: 14px;
    gap: 9px;
  }
  .context-selector label {
    font-size: 11px;
  }
  .context-selector select {
    font-size: 14px;
  }
  .knowledge-layout {
    gap: 18px;
  }
  .knowledge-editor textarea {
    min-height: 280px;
  }
  .editor-footer {
    flex-wrap: wrap;
  }
  .editor-footer small {
    font-size: 11px;
  }
  .editor-footer .primary {
    font-size: 12px;
    margin-left: auto;
  }
  .upload-zone {
    padding: 27px 15px;
  }
  .upload-zone strong {
    font-size: 14px;
  }
  .upload-zone small {
    font-size: 11px;
  }
  .upload-zone > span:not(.upload-icon) {
    font-size: 13px;
  }
  .tip-box p {
    font-size: 12px;
  }
  .file-info strong {
    font-size: 14px;
  }
  .file-info small {
    font-size: 12px;
  }
  .file-info summary {
    font-size: 12px;
  }
  .conversation-layout {
    gap: 18px;
  }
  .conversation-context {
    grid-template-columns: 1fr;
  }
  .conversation-context > .tip-box {
    display: none;
  }
  .conversation-header {
    padding: 18px 19px;
    gap: 11px;
  }
  .conversation-header h2 {
    font-size: 13px;
  }
  .conversation-presence {
    font-size: 11px;
  }
  .conversation-tools {
    padding: 11px 17px;
    gap: 10px;
  }
  .conversation-tools select {
    max-width: 65%;
    font-size: 12px;
    min-height: 34px;
  }
  .history-toggle {
    font-size: 12px;
  }
  .chat {
    min-height: 340px;
    padding: 23px 18px;
    max-height: 430px;
  }
  .chat-welcome h3 {
    font-size: 17px;
  }
  .chat-welcome p {
    font-size: 13px;
  }
  .chat-welcome .secondary {
    font-size: 12px;
  }
  .bubble {
    font-size: 14px;
    max-width: 94%;
    padding: 12px 14px;
  }
  .message-row {
    max-width: 98%;
    gap: 7px;
  }
  .message-avatar {
    width: 23px;
    height: 26px;
  }
  .chat-form {
    padding: 13px 15px 9px;
  }
  .chat-form input {
    font-size: 14px;
    min-height: 43px;
  }
  .composer-note {
    font-size: 10px;
    line-height: 1.8;
    text-align: center;
    padding: 0 16px 16px;
  }
  .conversation-context .panel {
    padding: 22px;
  }
  .conversation-context .panel-heading h2 {
    font-size: 14px;
  }
  .agent-facts dt {
    font-size: 12px;
  }
  .agent-facts dd {
    font-size: 14px;
  }
  .agent-context summary {
    font-size: 13px;
  }
  .agent-context p {
    font-size: 13px;
  }
  .settings-layout {
    gap: 19px;
  }
  .settings-layout .panel {
    padding: 23px 20px;
  }
  .settings-row {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }
  .settings-row h3 {
    font-size: 14px;
  }
  .settings-row p {
    font-size: 13px;
    max-width: none;
  }
  .settings-row button {
    font-size: 13px;
  }
  .account-facts {
    flex-direction: column;
    gap: 17px;
  }
  .account-facts small {
    font-size: 12px;
  }
  .account-facts strong {
    font-size: 14px;
  }
  .settings-footnote {
    font-size: 12px;
  }
  .ai-readiness h3 {
    font-size: 13px;
  }
  .ai-readiness p {
    font-size: 13px;
  }
  .usage-box {
    font-size: 13px;
  }
  .channel-overview {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .channel-card {
    padding: 18px;
    gap: 13px;
  }
  .channel-card h3 {
    font-size: 13px;
  }
  .channel-card p {
    font-size: 12px;
    display: block;
  }
  .channel-logo {
    width: 39px;
    height: 39px;
  }
  .widget-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .widget-form-grid label {
    font-size: 13px;
  }
  .widget-config-panel > h2 {
    font-size: 16px;
  }
  .widget-config-panel > label {
    font-size: 13px;
  }
  .widget-config-panel .primary {
    font-size: 13px;
  }
  .widget-preview {
    max-width: 340px;
    margin-top: 5px;
  }
  .widget-preview .tip-box {
    margin-bottom: 0;
  }
  .preview-caption > span {
    font-size: 11px;
  }
  .preview-caption small {
    font-size: 11px;
  }
  .ticket-toolbar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .segmented-control {
    max-width: 100%;
    width: 100%;
  }
  .segmented-control button {
    flex: 1;
    font-size: 12px;
    padding: 9px;
  }
  .segmented-control button > span {
    font-size: 11px;
  }
  .ticket-toolbar > small {
    font-size: 11px;
  }
  .ticket p {
    font-size: 14px;
  }
  .ticket h3 {
    font-size: 13px;
  }
  .ticket > small {
    font-size: 12px;
  }
  .ticket .secondary {
    font-size: 13px;
  }
  .app-footer {
    font-size: 11px;
    padding: 19px;
  }
  .footer-note {
    display: none;
  }
  dialog {
    padding: 26px 23px;
    border-radius: 16px;
    width: calc(100vw - 26px);
    max-height: 92dvh;
  }
  dialog h2 {
    font-size: 23px;
  }
  .modal-description {
    font-size: 13px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }
  .channel-choices {
    gap: 10px;
  }
  .channel-choices label {
    padding: 12px 10px;
    gap: 8px;
  }
  .channel-choices strong {
    font-size: 13px;
  }
  .channel-choices small {
    font-size: 10px;
  }
  .modal-actions {
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 23px;
    padding-top: 20px;
  }
  .modal-actions .danger {
    flex-basis: 100%;
    margin-right: 0;
    justify-content: flex-start;
    background: transparent;
    border: 0;
    padding-left: 0;
    font-size: 13px;
    order: 2;
  }
  .modal-actions button {
    font-size: 13px;
  }
  .guided-steps .guide-step {
    font-size: 11px;
    gap: 6px;
  }
  .guide-step i {
    width: 21px;
    height: 21px;
  }
  #guided-dialog {
    padding: 28px 22px;
  }
  .guide-close {
    right: 16px;
    top: 16px;
  }
  .guide-stage {
    font-size: 10px !important;
  }
  .guided-preview {
    font-size: 14px;
  }
  .help-step strong {
    font-size: 14px;
  }
  .help-step p {
    font-size: 13px;
  }
  #toast {
    bottom: 18px;
    right: 17px;
    font-size: 14px;
  }
  .auth-page {
    display: block;
    min-height: 100dvh;
  }
  .auth-story {
    display: none;
  }
  .auth-entry {
    padding: 25px 25px 20px;
    min-height: 100dvh;
    background: #f9fbf5;
  }
  .auth-mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    color: #3c653d;
    font: 750 23px Manrope;
    letter-spacing: -0.8px;
  }
  .auth-mobile-mark {
    display: grid;
    place-items: center;
    color: #83a868;
  }
  .auth-card {
    max-width: 400px;
    padding: 38px 0 30px;
    margin: auto 0;
  }
  .auth-card h1 {
    font-size: 28px;
  }
  .auth-welcome-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
  }
  .auth-card > .eyebrow {
    font-size: 10px;
  }
  .auth-card > p {
    font-size: 14px;
  }
  .auth-card form {
    margin-top: 27px;
  }
  .auth-card label {
    font-size: 14px;
    margin-top: 19px;
  }
  .auth-card input {
    min-height: 47px;
    font-size: 15px;
  }
  .auth-card input::placeholder {
    font-size: 14px;
  }
  .auth-card .primary {
    min-height: 47px;
    font-size: 14px;
  }
  .auth-toggle-row > span,
  .auth-toggle-row .link {
    font-size: 13px;
  }
  .auth-security p {
    font-size: 11px;
  }
  .auth-card .registration-note {
    font-size: 12px !important;
  }
  .auth-entry-footer {
    font-size: 10px;
  }
  .auth-entry-footer > span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
/* Readable secondary text throughout the workspace. */
.title-row p,
.section-title p,
.agent-role,
.agent-description,
.agent-meta,
.stat-top,
.stat small,
.empty-card p,
.empty-state p,
.tip-box p,
.panel-heading p,
.subtle-empty,
.context-selector label,
.editor-footer small,
.upload-zone > small,
.upload-zone > span:not(.upload-icon),
.file-info small,
.chat-welcome p,
.composer-note,
.settings-footnote,
.account-facts small,
.ai-readiness p,
.channel-card p,
.preview-day,
.preview-caption-note,
.preview-composer,
.auth-card > p,
.auth-help,
.auth-security p,
.auth-toggle-row > span,
.registration-note,
.preview-caption small,
.guided-note,
.help-step p {
  color: #6b7b64 !important;
}
.badge-neutral {
  color: #6e7d61;
}
.badge-green {
  color: #477650;
}
.badge-amber {
  color: #937138;
}
.agent-facts dt,
.agent-context p,
.account-facts strong,
.ticket p,
.widget-form-grid label,
.modal-description,
dialog form > label,
label > small,
.channel-choices small {
  color: #6c805e;
}
.ticket p b {
  color: #526b45;
}
.workspace-select > span {
  font-size: 10px;
}
.nav-label {
  font-size: 9px;
}
.auth-story-content > p {
  color: #b0c6a6;
}
.auth-story-features {
  color: #bfd1ac;
}
.modal-actions .danger-solid {
  color: #fff;
}
.guide-step b {
  font-weight: 550;
}
.title-row + .small-actions {
  display: none;
}
@media (max-width: 760px) {
  input:not([type="checkbox"]):not([type="color"]),
  select,
  textarea {
    font-size: 16px;
  }
  .context-selector select,
  .conversation-tools select {
    font-size: 13px;
  }
  .search-field input {
    font-size: 14px !important;
  }
  .auth-card input {
    font-size: 16px;
  }
  .hero-pill {
    font-size: 9px;
  }
  .title-actions {
    flex-wrap: wrap;
  }
  .auth-entry-footer {
    font-size: 10px;
  }
}
