* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #f7f8fc;
  color: #252a41;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: #6550b4;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #9e8be4;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  color: #252a41;
}
h1 {
  font-family: Sora, Inter, sans-serif;
  font-size: 29px;
  line-height: 1.3;
  letter-spacing: -1px;
  font-weight: 600;
}
h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 16px;
}
.hidden {
  display: none !important;
}
[hidden] {
  display: none !important;
}
.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;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  background: #fff;
  padding: 12px;
  z-index: 100;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.eyebrow {
  display: block;
  color: #878b9d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Sora, Inter, sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #292c43;
  text-decoration: none !important;
  position: relative;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.brand > span {
  color: #7e61ce;
  margin-left: -9px;
}
.brand > small {
  position: absolute;
  top: 37px;
  left: 47px;
  font:
    700 12px Inter,
    sans-serif;
  letter-spacing: 2px;
  color: #aaadbb;
}
.auth-wrap {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 100vh;
}
.auth-story {
  background: #f0edf9;
  padding: 48px 12%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-story:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -230px;
  top: 30%;
  border: 65px solid #e6dff6;
  border-radius: 50%;
  pointer-events: none;
}
.auth-story-copy {
  margin: auto 0;
  padding: 80px 0;
  z-index: 1;
}
.auth-story-copy .eyebrow {
  color: #8c79a7;
  margin-bottom: 24px;
}
.auth-story h1 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -2px;
  line-height: 1.2;
}
.auth-story-copy > p {
  color: #877894;
  font-size: 16px;
  line-height: 1.9;
  max-width: 350px;
  margin: 25px 0 33px;
}
.auth-story ul {
  padding-left: 18px;
  color: #897299;
  font-size: 13px;
  line-height: 3;
}
.auth-story li::marker {
  color: #bba3d2;
}
.auth-story > small {
  font-size: 12px;
  color: #ac9eb8;
}
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 34px;
  background: #fff;
}
.auth-card {
  width: 100%;
  max-width: 390px;
}
.auth-mobile-brand {
  display: none;
}
.auth-card > h2 {
  font-family: Sora, Inter, sans-serif;
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: -0.7px;
  margin-top: 13px;
}
.auth-subtitle {
  color: #8a8fa3;
  font-size: 13px;
  margin: 10px 0 28px;
}
.tabs {
  display: flex;
  background: #f5f4fa;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 24px;
  gap: 4px;
}
.tabs button {
  flex: 1;
  background: none;
  border: 0;
  border-radius: 7px;
  padding: 11px;
  color: #8a8b9b;
  font-size: 13px;
  font-weight: 500;
}
.tabs button.active {
  background: #fff;
  color: #785db5;
  box-shadow: 0 2px 6px #2921460b;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #72778d;
  margin: 20px 0 8px;
}
input,
textarea,
select {
  width: 100%;
  background: #fff;
  border: 1px solid #e1e4ef;
  color: #4e546b;
  border-radius: 8px;
  padding: 12px 13px;
  transition: border-color 0.15s;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #b2b5c3;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #ad99d8;
  box-shadow: 0 0 0 3px #f5f1fb;
}
textarea {
  resize: vertical;
  min-height: 240px;
  line-height: 1.9;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #7c5bc4;
  border: 1px solid #7c5bc4;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 18px;
  min-height: 43px;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  background: #6848af;
  box-shadow: 0 4px 10px #7c5bc415;
}
.auth-card .btn {
  width: 100%;
  margin-top: 26px;
}
.btn.compact {
  width: auto;
  min-height: 39px;
  padding: 9px 14px;
  font-size: 12px;
}
.btn.danger {
  background: #fff;
  border-color: #e7c4d0;
  color: #b36983;
  box-shadow: none;
}
.btn.danger:hover {
  background: #fff3f7;
}
.err,
.ok-msg {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.err:empty,
.ok-msg:empty {
  display: none;
}
.err,
.ok-msg.error {
  color: #b7647c;
}
.ok-msg {
  color: #5e9a84;
}
.legal {
  text-align: center;
  font-size: 12px;
  color: #a3a5b5;
  line-height: 1.9;
  margin-top: 22px;
}
.legal a {
  color: #9983b0;
}
.back-home {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #a6a9ba;
  margin-top: 29px;
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 244px;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  background: #fff;
  border-right: 1px solid #e8eaf2;
  padding: 29px 20px 22px;
  display: flex;
  flex-direction: column;
}
.sidebar > .brand {
  margin: 0 10px 43px;
}
.workspace-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 11px;
  background: #fcfcfe;
  border: 1px solid #ececf4;
  border-radius: 10px;
  margin-bottom: 28px;
  min-width: 0;
}
.business-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  background: #eee8f8;
  color: #a38dc3;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}
.workspace-identity > div {
  min-width: 0;
}
.workspace-identity b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.workspace-identity div > span {
  display: block;
  font-size: 12px;
  color: #a6aabc;
  margin-top: 2px;
}
.nav-label {
  font-size: 12px;
  color: #b2b3c0;
  font-weight: 700;
  letter-spacing: 1.6px;
  margin: 0 12px 12px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 13px 12px;
  color: #8b8da2;
  font-size: 12px;
  min-height: 44px;
  white-space: nowrap;
}
.nav button:hover {
  background: #f8f6fc;
  color: #9c81ba;
}
.nav button.active {
  background: #f2edfb;
  color: #997cbb;
  font-weight: 600;
}
.nav-icon {
  color: #baa4d3;
  font-size: 18px;
  line-height: 1;
  width: 18px;
  text-align: center;
}
.nav-count {
  margin-left: auto;
  min-width: 20px;
  text-align: center;
  background: #e9dff8;
  border-radius: 5px;
  font-size: 12px;
  color: #a78dc0;
  padding: 1px 4px;
}
.nav-dot {
  width: 5px;
  height: 5px;
  background: #7cb397;
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-tip {
  background: #fcfafe;
  border: 1px solid #eee8f6;
  border-radius: 10px;
  padding: 16px;
}
.sidebar-tip > span {
  display: block;
  color: #c0a8d9;
  font-size: 22px;
  margin-bottom: 8px;
}
.sidebar-tip b {
  display: block;
  font-size: 12px;
  color: #9e83ae;
}
.sidebar-tip p {
  font-size: 12px;
  line-height: 1.9;
  color: #b6a4bf;
  margin: 8px 0 13px;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  color: #a18ab6;
  font-size: 12px;
  font-weight: 600;
}
.text-button:hover {
  color: #7c5a98;
}
.sidebar-bottom > a {
  display: block;
  font-size: 12px;
  color: #b0adbd;
  margin: 24px 10px 10px;
}
.sidebar-bottom > small {
  font-size: 12px;
  color: #c0bdcb;
  margin: 0 10px;
}
.main-shell {
  margin-left: 244px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 77px;
  background: #fff;
  border-bottom: 1px solid #e8eaf2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 36px;
}
.hdr-left,
.hdr-right {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.breadcrumb {
  font-size: 12px;
  color: #acafbf;
  white-space: nowrap;
}
.breadcrumb > i {
  font-style: normal;
  color: #d1d2dd;
  margin: 0 13px;
}
.breadcrumb > b {
  font-size: 12px;
  color: #8c91a6;
  font-weight: 500;
}
.hdr-right #user-email {
  font-size: 12px !important;
  color: #a0a5b7 !important;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.biz-select {
  max-width: 180px;
  padding: 8px 10px;
  font-size: 12px;
  background: #fdfcfe;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #e5e4ee;
  border-radius: 7px;
  color: #a19ab2;
  font-size: 12px;
  padding: 8px 11px;
  min-height: 34px;
}
.link-btn:hover {
  background: #fcfafe;
  border-color: #d9c7e7;
  color: #a084b6;
}
.mobile-menu {
  display: none;
}
main {
  max-width: 1500px;
  margin: auto;
  padding: 35px 36px 20px;
  min-width: 0;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 27px;
}
.page-heading .eyebrow {
  font-size: 12px;
  margin-bottom: 9px;
}
.page-heading p {
  font-size: 12px;
  color: #a0a5b8;
  margin-top: 9px;
}
.status-pill {
  font-size: 12px;
  white-space: nowrap;
  color: #77a18e;
  background: #f0f8f3;
  border: 1px solid #e2efe7;
  border-radius: 20px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status-pill:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-pill.off {
  background: #f1f2f8;
  border-color: #e8e9f2;
  color: #b4b7c9;
}
.setup-card {
  border: 1px solid #e6deef;
  border-radius: 12px;
  background: linear-gradient(105deg, #f6f1fc, #fdfbff);
  padding: 20px 22px;
  margin-bottom: 24px;
}
.setup-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.setup-heading .eyebrow {
  font-size: 12px;
  color: #b69bc4;
  margin-bottom: 4px;
}
.setup-heading h2 {
  font-size: 14px;
  color: #a180b1;
  font-weight: 600;
}
.setup-heading > span {
  font-size: 12px;
  color: #bea4cb;
}
.setup-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.setup-step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #eee5f7;
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  color: #b49ac4;
  font-size: 12px;
  min-width: 0;
}
.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f4edf9;
  color: #ccb8dc;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.setup-step.done .step-num {
  color: #9cbea9;
  background: #f0f7f1;
}
.setup-step > span:nth-child(2) {
  flex: 1;
}
.setup-step small {
  display: block;
  font-size: 12px;
  color: #c9b8d2;
  margin-top: 2px;
}
.step-arrow {
  font-size: 14px;
  color: #d6c6e0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}
.stat {
  padding: 19px;
  background: #fff;
  border: 1px solid #e8eaf3;
  border-radius: 11px;
  min-height: 103px;
  position: relative;
}
.stat .l {
  font-size: 12px;
  color: #aeb2c5;
  margin-bottom: 9px;
}
.stat .n {
  font-family: Sora, Inter, sans-serif;
  font-size: 25px;
  letter-spacing: -0.7px;
  font-weight: 500;
  color: #8c92ad;
  line-height: 1.3;
}
.stat .stat-icon {
  position: absolute;
  right: 17px;
  top: 18px;
  font-size: 19px;
  color: #c2b4d9;
}
.stat-caption {
  font-size: 12px;
  color: #c4c7d6;
  margin-top: 4px;
}
.stats-error {
  grid-column: 1/-1;
  background: #fff;
  border: 1px solid #e8eaf3;
  border-radius: 10px;
  padding: 18px;
  font-size: 12px;
  color: #b1aec3;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 238px;
  gap: 22px;
  align-items: start;
}
.panel-card {
  background: #fff;
  border: 1px solid #e7e9f2;
  border-radius: 12px;
  padding: 25px;
  min-width: 0;
  box-shadow: 0 2px 6px #29213a02;
}
.card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f0eef6;
  padding-bottom: 21px;
  margin-bottom: 1px;
}
.card-heading h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #8d82a0;
}
.card-heading p {
  font-size: 12px;
  color: #bab4c9;
  margin-top: 4px;
}
.card-symbol {
  width: 35px;
  height: 35px;
  background: #faf5fd;
  color: #c4a7d8;
  border: 1px solid #f0e8f7;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.card-heading > .link-btn {
  margin-left: auto;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.panel-card label {
  font-size: 12px;
  margin-top: 22px;
  color: #9d94b1;
}
.panel-card input,
.panel-card textarea {
  font-size: 13px;
  color: #8f849f;
  border-color: #ebe5f2;
}
.panel-card input::placeholder,
.panel-card textarea::placeholder {
  color: #c7bcd3;
}
.hint {
  font-size: 12px;
  color: #b7aec8;
  line-height: 1.9;
  margin-top: 8px;
}
.hint b {
  font-weight: 500;
  color: #a899bb;
}
.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fcfafe;
  border: 1px solid #f0e8f7;
  border-radius: 9px;
  padding: 15px;
  margin-top: 22px;
}
.switch-row b {
  font-size: 12px;
  color: #a993b9;
  font-weight: 600;
}
.switch-row small {
  font-size: 12px;
  color: #c5b6d2;
  display: block;
  margin-top: 3px;
}
.switch {
  position: relative;
  width: 35px;
  height: 20px;
  flex-shrink: 0;
  margin: 0 !important;
}
.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  padding: 0;
  margin: 0;
  z-index: 1;
  cursor: pointer;
}
.slider {
  position: absolute;
  inset: 0;
  background: #e1d9ed;
  border-radius: 20px;
  pointer-events: none;
}
.slider:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #29213b16;
  transition: transform 0.15s;
}
.switch input:checked + .slider {
  background: #b99ad3;
}
.switch input:checked + .slider:before {
  transform: translateX(15px);
}
.switch input:focus-visible + .slider {
  outline: 3px solid #b39bd7;
  outline-offset: 3px;
}
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f1ecf7;
  padding-top: 18px;
  margin-top: 22px;
}
.form-footer .hint {
  font-size: 12px;
  margin: 0;
}
.support-column {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.tip-card {
  border: 1px solid #e7dbef;
  background: #f8f2fc;
  border-radius: 11px;
  padding: 23px 20px;
}
.tip-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #f0e4f9;
  color: #c9a4dd;
  font-size: 24px;
  margin-bottom: 17px;
}
.tip-card h3 {
  font-size: 14px;
  color: #b28cbe;
  font-weight: 600;
}
.tip-card p {
  font-size: 12px;
  line-height: 1.9;
  color: #c2a6cb;
  margin: 11px 0;
}
.tip-card ul {
  font-size: 12px;
  color: #c7afd1;
  padding-left: 15px;
  line-height: 2.2;
  margin: 15px 0 20px;
}
.tip-card li::marker {
  color: #d7bcdf;
}
.mini-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 8px;
  color: #ccbbd7;
}
.mini-note > p {
  font-size: 12px;
  line-height: 1.9;
  color: #bdb2ca;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #cac3d6;
  margin-top: 34px;
}
.test-panel {
  max-width: 1000px;
}
.test-panel > .hint {
  margin: 16px 0 !important;
}
.test-chat {
  height: 390px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: #fcf9fe;
  border: 1px solid #efe5f6;
  border-radius: 10px;
  padding: 24px;
  overflow: auto;
  margin: 20px 0 16px;
}
.chat-input {
  display: flex;
  gap: 10px;
  min-width: 0;
}
.chat-input input {
  flex: 1;
  min-width: 0;
  border-color: #eadff2;
  background: #fffdff;
  padding: 12px 14px;
  font-size: 13px;
}
.chat-input button {
  border: 0;
  background: #a47bc3;
  color: #fff;
  border-radius: 8px;
  min-width: 43px;
  min-height: 43px;
  font-size: 20px;
  flex-shrink: 0;
}
.chat-input button:hover {
  background: #8a5dac;
}
.section-intro {
  margin-bottom: 23px;
}
.section-intro h2 {
  font-size: 17px;
  color: #92839e;
}
.section-intro p {
  font-size: 12px;
  color: #b5a9c1;
  margin-top: 8px;
}
.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.channel {
  border: 1px solid #e9dff1;
  border-radius: 12px;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.channel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  margin-bottom: 23px;
}
.channel .ico {
  width: 43px;
  height: 43px;
  border-radius: 11px;
  background: #faf3fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.channel .nm b {
  font-size: 14px;
  font-weight: 600;
  color: #a28db2;
}
.channel .nm small {
  display: block;
  font-size: 12px;
  color: #c0aecf;
  margin-top: 7px;
  min-height: 35px;
  overflow-wrap: anywhere;
}
.channel .acts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  border-top: 1px solid #f3eaf8;
  margin-top: 24px;
  padding-top: 17px;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 9px;
  border: 1px solid #eee4f6;
  background: #fcf9ff;
  color: #c0a8d2;
  border-radius: 6px;
  text-align: center;
  max-width: 100%;
  white-space: normal;
}
.badge.on {
  background: #f2f8f1;
  color: #aac3a5;
  border-color: #e9f1e5;
}
.badge.act {
  background: #a780c6;
  color: #fff;
  border-color: #a780c6;
  padding: 8px 11px;
  cursor: pointer;
}
.badge.ghost {
  background: #fff;
  border-color: #eadbf4;
  color: #b098c2;
  cursor: pointer;
}
.badge.ghost:hover {
  color: #9475a7;
  background: #fdf8ff;
}
.badge.disabled {
  color: #baa9cb;
}
.channels-hint,
#channels-hint {
  font-size: 12px;
  line-height: 1.9;
  color: #b9a5ca;
}
#admin-tokens {
  margin-top: 24px !important;
}
#admin-tokens .section-title {
  font-size: 14px;
  color: #b194c1;
}
.fb-picker {
  padding: 22px;
  border-radius: 12px;
  border: 1px solid #dec6ec;
  background: #fcf6ff;
  margin-bottom: 21px;
}
.fb-picker h3 {
  font-size: 15px;
  margin-bottom: 12px;
  color: #b494c4;
}
.fb-page {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e9d9f3;
  border-radius: 8px;
  text-align: left;
  padding: 14px;
  margin-top: 8px;
  color: #b69ac9;
}
.fb-page b {
  display: block;
  font-size: 12px;
}
.fb-page small {
  display: block;
  font-size: 12px;
  color: #ccb5dc;
}
.fb-page .page-arrow {
  margin-left: auto;
}
.inbox-card {
  padding: 0;
  overflow: hidden;
}
.inbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 23px 25px;
  border-bottom: 1px solid #eee3f5;
}
.inbox-toolbar h2 {
  font-size: 16px;
  color: #a78dbb;
}
.inbox-toolbar p {
  font-size: 12px;
  color: #c1acd3;
  margin-top: 5px;
}
.conv-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  min-height: 540px;
}
.conv-list-panel {
  background: #fffdff;
  border-right: 1px solid #eee1f6;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.conv-search {
  width: calc(100% - 32px);
  margin: 16px;
  font-size: 12px;
  padding: 11px 12px;
  background: #fff;
  border-color: #eddef5;
}
.conv-list {
  min-height: 260px;
  max-height: 510px;
  overflow: auto;
  flex: 1;
}
.conv-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 17px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #f5ecfa;
  background: none;
  position: relative;
  min-width: 0;
  color: #b49ac8;
}
.conv-item:hover {
  background: #fcf6ff;
}
.conv-item.active {
  background: #f8efff;
}
.conv-item.active:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #d3ace9;
}
.conv-avatar {
  width: 31px;
  height: 31px;
  background: #f6eafd;
  border-radius: 9px;
  color: #c5a1dc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}
.conv-content {
  flex: 1;
  min-width: 0;
}
.conv-item .plat {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: #bea0d2;
}
.conv-item .when {
  font-size: 12px;
  color: #d1bbdf;
  white-space: nowrap;
  font-weight: 400;
}
.conv-item .recipient {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #d3bbdf;
  margin-top: 3px;
}
.conv-item .prev {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #c9b1d8;
  margin-top: 7px;
}
.conv-item .paused {
  display: inline-block;
  font-size: 12px;
  color: #cfb287;
  background: #fcf5eb;
  border-radius: 3px;
  padding: 1px 4px;
  margin-top: 6px;
}
.list-footnote {
  font-size: 12px;
  color: #d0b9df;
  padding: 11px 17px;
  border-top: 1px solid #f4e9fa;
}
.conv-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fcf8ff;
}
.conv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #f0e2f8;
}
.conv-head .who {
  font-size: 12px;
  color: #c0a1d4;
  overflow-wrap: anywhere;
}
.conv-head .who b {
  display: block;
  font-size: 12px;
  color: #b494c9;
}
.conv-head .who small {
  display: block;
  font-size: 12px;
  color: #d4bae4;
  margin-top: 3px;
}
.conv-head .badge {
  font-size: 12px;
}
.conv-view {
  height: 390px;
  min-height: 300px;
  padding: 24px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  padding: 25px;
  margin: auto;
  text-align: center;
  max-width: 310px;
  font-size: 12px;
  color: #cbb0db;
  line-height: 1.8;
}
.empty .empty-symbol {
  font-size: 27px;
  color: #d7b8e9;
  background: #f7edfe;
  border-radius: 13px;
  padding: 5px 15px;
}
.empty strong {
  font-size: 14px;
  font-weight: 500;
  color: #b99acc;
}
.empty p {
  font-size: 12px;
  color: #d0b7df;
}
.empty .link-btn {
  margin-top: 5px;
}
.older-messages {
  border: 0;
  border-bottom: 1px solid #f2e1fa;
  background: #fbf2ff;
  color: #c3a1d7;
  font-size: 12px;
  padding: 9px;
}
.conv-pane > .chat-input {
  padding: 14px 19px 0;
  background: #fff;
  border-top: 1px solid #f2e1fa;
}
.reply-context {
  padding: 7px 19px 16px;
  background: #fff;
  font-size: 12px;
  color: #d0b1e1;
}
.msg {
  max-width: 84%;
  padding: 11px 14px;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  flex-shrink: 0;
  min-width: 70px;
}
.msg.user {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #f0e0f8;
  color: #b79aca;
  border-bottom-left-radius: 3px;
}
.msg.assistant {
  align-self: flex-end;
  background: #f5e7ff;
  border: 1px solid #ecd7f8;
  color: #bf9bd7;
  border-bottom-right-radius: 3px;
}
.msg.human {
  align-self: flex-end;
  background: #f0f6f5;
  border: 1px solid #e7efee;
  color: #aac6c2;
  border-bottom-right-radius: 3px;
}
.msg .tag {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.7px;
  color: #d0b0e2;
  margin-bottom: 3px;
}
.msg.human .tag {
  color: #bbd2cd;
}
.message-meta {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font-size: 12px;
  color: #d8b9ea;
  margin-top: 4px;
}
.msg.user .message-meta {
  color: #ddc6ea;
}
.msg.typing {
  font-style: italic;
  color: #d2b1e2;
}
.msg.pending {
  border-style: dashed;
}
.msg.failed {
  background: #fff4f7;
  border-color: #edc8d7;
  color: #cb98ad;
}
.delivery-failed {
  color: #c893a9 !important;
}
.delivery-pending {
  color: #ccb68d !important;
}
.test-chat .msg.user {
  align-self: flex-end;
  background: #f5e7ff;
  color: #bd9bd4;
}
.test-chat .msg.assistant {
  align-self: flex-start;
  background: #fff;
  color: #b79aca;
}
.settings-card {
  max-width: 900px;
}
.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #b399c3;
}
.settings-card .grid2 {
  max-width: 700px;
}
.settings-card hr {
  border: 0;
  border-top: 1px solid #f2e3fa;
}
.notice {
  background: #fffaf3;
  border: 1px solid #f0e3cb;
  color: #c4a67b;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 22px;
  font-size: 13px;
}
.notifications {
  position: fixed;
  right: 25px;
  bottom: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(390px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  background: #fff;
  border: 1px solid #e8d4f3;
  border-radius: 10px;
  color: #b29ac7;
  padding: 14px 18px;
  box-shadow: 0 8px 28px #6f2e9412;
  font-size: 12px;
  pointer-events: auto;
}
.toast.err {
  border-color: #edccda;
  color: #c89caf;
}
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: #40304d33;
  border: 0;
  z-index: 25;
}
.admin-label {
  font-size: 12px;
  background: #f9efff;
  color: #c2a0d5;
  padding: 3px 5px;
  border-radius: 4px;
}
.skeleton {
  color: #ded1e7 !important;
}
/* Functional text keeps a strong contrast; the lavender palette is reserved for surfaces. */
label,
.panel-card label {
  color: #54596e;
}
.hint,
.hint b {
  color: #74798e;
}
.sidebar-tip b,
.tip-card h3 {
  color: #746180;
}
.sidebar-tip p,
.tip-card p,
.tip-card ul {
  color: #82738f;
}
.text-button {
  color: #79638f;
}
.card-heading h2,
.section-intro h2,
.section-title {
  color: #4f465b;
}
.card-heading p,
.section-intro p {
  color: #8b8296;
}
.page-heading p {
  color: #868b9e;
}
.panel-card input,
.panel-card textarea {
  color: #53576b;
}
.switch-row b {
  color: #6b607b;
}
.switch-row small {
  color: #8c829d;
}
.setup-heading h2 {
  color: #887096;
}
.setup-step {
  color: #8d779c;
}
.setup-step small {
  color: #a996b4;
}
.stat .l {
  color: #858b9f;
}
.stat .n {
  color: #646d87;
}
.stat-caption {
  color: #9da4b9;
}
.channel .nm b {
  color: #74617f;
}
.channel .nm small {
  color: #95829f;
}
.badge.on {
  color: #5d8a66;
}
.badge.off,
.badge.disabled {
  color: #9b86ad;
}
.badge.ghost {
  color: #9279a4;
}
.conv-item .plat {
  color: #8d709f;
}
.conv-item .prev {
  color: #a18cad;
}
.conv-item .recipient {
  color: #a68eb5;
}
.conv-item .when,
.list-footnote {
  color: #b19ac0;
}
.inbox-toolbar h2 {
  color: #7d638f;
}
.inbox-toolbar p {
  color: #9e87ad;
}
.conv-head .who b {
  color: #89649d;
}
.conv-head .who,
.conv-head .who small {
  color: #a080b3;
}
.msg.user,
.test-chat .msg.assistant {
  color: #806b8e;
}
.msg.assistant,
.test-chat .msg.user {
  color: #9472a8;
}
.msg.human {
  color: #779894;
}
.msg .tag {
  color: #b097bf;
}
.message-meta {
  color: #bca4ca;
}
.reply-context {
  color: #b19ac0;
}
.empty strong {
  color: #a484b7;
}
.empty p {
  color: #b49cc2;
}
.legal {
  color: #9699aa;
}
.auth-story-copy > p {
  color: #81718e;
}
@media (max-width: 1200px) {
  .sidebar {
    width: 220px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .main-shell {
    margin-left: 220px;
  }
  .topbar {
    padding: 0 26px;
  }
  main {
    padding: 30px 26px 20px;
  }
  .section-grid {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 17px;
  }
  .channels-grid {
    gap: 12px;
  }
  .channel {
    padding: 20px;
  }
  .hdr-right #user-email {
    max-width: 125px;
  }
  .conv-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .setup-steps {
    gap: 8px;
  }
  .setup-step {
    padding: 10px;
    font-size: 12px;
  }
  .setup-step small {
    font-size: 12px;
  }
  .stat {
    padding: 17px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
}
@media (max-width: 1050px) {
  .section-grid {
    grid-template-columns: 1fr;
  }
  .support-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .tip-card {
    padding: 20px;
  }
  .tip-icon {
    display: none;
  }
  .mini-note {
    padding: 20px 10px;
  }
  .stats {
    gap: 10px;
  }
  .stat .stat-icon {
    display: none;
  }
  .hdr-right #user-email {
    display: none;
  }
  .setup-steps {
    grid-template-columns: 1fr;
  }
  .setup-step {
    padding: 10px 13px;
  }
  .setup-step small {
    display: inline;
    margin-left: 7px;
  }
  .channels-grid {
    grid-template-columns: 1fr;
  }
  .channel {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 15px;
    align-items: center;
  }
  .channel-top {
    display: contents;
  }
  .channel .ico {
    grid-column: 1;
    grid-row: 1;
  }
  .channel-top > .badge {
    grid-column: 3;
    grid-row: 1;
  }
  .channel .nm {
    grid-column: 2;
    grid-row: 1;
  }
  .channel .nm small {
    min-height: 0;
  }
  .channel .acts {
    grid-column: 2/4;
    margin: 0;
    padding-top: 13px;
  }
  .conv-layout {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .test-panel .card-heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 800px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 244px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-shell {
    margin-left: 0;
  }
  .mobile-menu {
    display: flex;
  }
  .topbar {
    height: 68px;
    padding: 0 22px;
  }
  main {
    padding: 27px 22px 20px;
  }
  .auth-story {
    padding: 36px 9%;
  }
  .auth-wrap {
    grid-template-columns: 42% 58%;
  }
  .auth-story h1 {
    font-size: 36px;
  }
  .auth-story-copy > p {
    font-size: 13px;
  }
  .auth-story ul {
    font-size: 12px;
  }
  .auth-story .eyebrow {
    font-size: 12px;
  }
  .auth-main {
    padding: 36px 25px;
  }
  .auth-card > h2 {
    font-size: 22px;
  }
  .setup-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .setup-step {
    flex-wrap: wrap;
    padding: 11px 10px;
    gap: 7px;
  }
  .setup-step small {
    display: block;
    margin-left: 0;
  }
  .step-arrow {
    display: none;
  }
  .conv-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .auth-wrap {
    display: block;
  }
  .auth-story {
    display: none;
  }
  .auth-main {
    padding: 34px 24px;
    min-height: 100vh;
  }
  .auth-card {
    max-width: 390px;
  }
  .auth-mobile-brand {
    display: flex;
    margin-bottom: 35px;
    font-size: 25px;
  }
  .auth-card > .eyebrow {
    font-size: 12px;
  }
  .auth-card > h2 {
    font-size: 23px;
  }
  .topbar {
    padding: 0 16px;
    gap: 8px;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .breadcrumb > i {
    margin: 0 7px;
  }
  .breadcrumb > b {
    display: none;
  }
  .biz-select {
    max-width: 145px;
    font-size: 12px;
  }
  .hdr-right .link-btn {
    padding: 7px 9px;
    font-size: 12px;
  }
  main {
    padding: 24px 16px 18px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 23px;
    letter-spacing: -0.8px;
  }
  .page-heading .eyebrow {
    font-size: 12px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 230px;
  }
  .status-pill {
    font-size: 12px;
    padding: 6px 7px;
    margin-top: 20px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
  }
  .stat {
    min-height: 95px;
    padding: 15px 16px;
  }
  .stat .stat-icon {
    display: block;
    right: 14px;
    top: 15px;
  }
  .stat .n {
    font-size: 23px;
  }
  .stat .l {
    font-size: 12px;
  }
  .setup-card {
    padding: 16px;
    margin-bottom: 19px;
  }
  .setup-steps {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .setup-step {
    flex-wrap: nowrap;
    padding: 10px 11px;
    font-size: 12px;
  }
  .setup-step small {
    display: inline;
    margin-left: 7px;
    font-size: 12px;
  }
  .step-arrow {
    display: block;
  }
  .setup-heading h2 {
    font-size: 13px;
  }
  .setup-heading > span {
    font-size: 12px;
  }
  .panel-card {
    padding: 21px 18px;
  }
  .card-heading {
    gap: 10px;
    padding-bottom: 17px;
  }
  .card-heading h2 {
    font-size: 15px;
  }
  .card-heading p {
    font-size: 12px;
  }
  .card-symbol {
    width: 31px;
    height: 31px;
  }
  .grid2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel-card label {
    font-size: 12px;
    margin-top: 20px;
  }
  .panel-card input,
  .panel-card textarea {
    font-size: 13px;
    padding: 12px;
  }
  .switch-row {
    padding: 13px;
    margin-top: 19px;
  }
  .switch-row small {
    font-size: 12px;
    max-width: 210px;
  }
  .form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    padding-top: 16px;
    margin-top: 19px;
  }
  .form-footer .btn {
    width: 100%;
    min-height: 42px;
    font-size: 12px;
  }
  .form-footer .hint {
    text-align: center;
    font-size: 12px;
  }
  .support-column {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .mini-note {
    padding: 0 6px;
  }
  .tip-card h3 {
    font-size: 15px;
  }
  .tip-card p,
  .tip-card ul {
    font-size: 12px;
  }
  .tip-card .text-button {
    font-size: 12px;
  }
  .channel {
    padding: 20px;
    gap: 14px;
  }
  .channel .nm b {
    font-size: 14px;
  }
  .channel .nm small {
    font-size: 12px;
  }
  .channel .acts {
    padding-top: 12px;
  }
  .inbox-card {
    padding: 0;
  }
  .inbox-toolbar {
    padding: 19px 17px;
  }
  .inbox-toolbar h2 {
    font-size: 14px;
  }
  .inbox-toolbar p {
    font-size: 12px;
    max-width: 210px;
  }
  .conv-layout {
    display: flex;
    flex-direction: column;
  }
  .conv-list-panel {
    border-right: 0;
    border-bottom: 1px solid #f0dff9;
  }
  .conv-list {
    min-height: 80px;
    max-height: 225px;
  }
  .conv-search {
    margin: 13px 14px;
    width: calc(100% - 28px);
    font-size: 12px;
  }
  .conv-item {
    padding: 14px 17px;
  }
  .conv-item .plat {
    font-size: 12px;
  }
  .conv-item .prev {
    font-size: 12px;
  }
  .conv-item .recipient {
    font-size: 12px;
  }
  .conv-pane {
    min-height: 360px;
  }
  .conv-view {
    height: 360px;
    min-height: 300px;
    flex: none;
    padding: 21px 17px;
  }
  .conv-head {
    padding: 15px 17px;
  }
  .conv-head .who b {
    font-size: 12px;
  }
  .conv-pane > .chat-input {
    padding: 14px 16px 0;
  }
  .reply-context {
    padding: 7px 16px 15px;
    font-size: 12px;
  }
  .chat-input {
    gap: 8px;
  }
  .chat-input input {
    font-size: 13px;
    padding: 12px;
  }
  .chat-input button {
    min-width: 42px;
  }
  .msg {
    font-size: 13px;
    max-width: 89%;
  }
  .message-meta {
    font-size: 12px;
  }
  .test-chat {
    height: 330px;
    padding: 18px;
  }
  .test-panel .card-heading > .link-btn {
    margin-left: 41px;
  }
  .workspace-footer {
    font-size: 12px;
    margin-top: 26px;
  }
  .notifications {
    right: 16px;
    bottom: 16px;
  }
  .toast {
    font-size: 13px;
  }
}
/* Keep every functional label readable on the pale surfaces. */
.eyebrow,
.nav-label,
.breadcrumb,
.sidebar-bottom > a,
.sidebar-bottom > small,
.workspace-footer {
  color: #73788c;
}
.workspace-identity div > span {
  color: #7a8092;
}
.nav button {
  color: #686e83;
}
.nav button.active {
  color: #70528e;
}
.nav-icon {
  color: #9e87b5;
}
.nav-count {
  color: #806399;
}
.sidebar-tip b,
.tip-card h3 {
  color: #675574;
}
.sidebar-tip p,
.tip-card p,
.tip-card ul,
.mini-note p {
  color: #756681;
}
.text-button {
  color: #705484;
}
.hdr-right #user-email {
  color: #71778d !important;
}
.breadcrumb > b {
  color: #677087;
}
.link-btn {
  color: #72607f;
}
.page-heading p {
  color: #72798e;
}
.status-pill {
  color: #39715a;
}
.status-pill.off {
  color: #74798f;
}
.setup-heading .eyebrow,
.setup-heading > span {
  color: #887294;
}
.setup-heading h2,
.setup-step {
  color: #725880;
}
.setup-step small {
  color: #8a739b;
}
.step-num {
  color: #8d75a1;
}
.setup-step.done .step-num {
  color: #56806a;
}
.stat .l {
  color: #727b91;
}
.stat .n {
  color: #4a556f;
}
.stat-caption {
  color: #7e879e;
}
.card-heading h2,
.section-intro h2,
.section-title {
  color: #51435f;
}
.card-heading p,
.section-intro p {
  color: #80738c;
}
.panel-card label {
  color: #5d526e;
}
.panel-card input,
.panel-card textarea {
  color: #54475f;
}
.panel-card input::placeholder,
.panel-card textarea::placeholder,
input::placeholder {
  color: #8c8099;
}
.hint,
.hint b {
  color: #7a6c89;
}
.switch-row b {
  color: #695776;
}
.switch-row small {
  color: #897396;
}
.switch input:checked + .slider {
  background: #9270ad;
}
.form-footer .hint {
  color: #8a7998;
}
.channel .nm b {
  color: #665071;
}
.channel .nm small {
  color: #887196;
}
.badge.on {
  color: #4c7554;
}
.badge.off,
.badge.disabled {
  color: #8b759c;
}
.badge.ghost {
  color: #82608f;
}
.badge.act,
.chat-input button {
  background: #805a9e;
  border-color: #805a9e;
}
.channels-hint,
#channels-hint {
  color: #8b749b;
}
.fb-picker h3 {
  color: #835e97;
}
.fb-page {
  color: #916ba5;
}
.fb-page small {
  color: #a082b2;
}
.inbox-toolbar h2 {
  color: #725283;
}
.inbox-toolbar p {
  color: #8c709f;
}
.conv-item .plat {
  color: #80608f;
}
.conv-item .prev {
  color: #8c749b;
}
.conv-item .recipient,
.conv-item .when,
.list-footnote {
  color: #9980a9;
}
.conv-head .who b {
  color: #765087;
}
.conv-head .who,
.conv-head .who small {
  color: #9270a3;
}
.msg.user,
.test-chat .msg.assistant {
  color: #70567f;
}
.msg.assistant,
.test-chat .msg.user {
  color: #795589;
}
.msg.human {
  color: #527e78;
}
.msg .tag {
  color: #9977ad;
}
.msg.human .tag {
  color: #739e93;
}
.message-meta,
.msg.user .message-meta {
  color: #9c7caf;
}
.reply-context {
  color: #a086af;
}
.empty {
  color: #a386b6;
}
.empty strong {
  color: #9470a8;
}
.empty p {
  color: #a88cbc;
}
.older-messages {
  color: #9f78b8;
}
.legal {
  color: #7f8499;
}
.legal a {
  color: #7b5f8e;
}
.back-home {
  color: #8b809c;
}
.auth-story-copy > p {
  color: #71607e;
}
.auth-story ul {
  color: #7e628d;
}
.auth-story > small {
  color: #917a9f;
}
.auth-subtitle {
  color: #7d8499;
}
.toast {
  color: #7b5d8f;
}
.toast.err,
.err,
.ok-msg.error {
  color: #a25270;
}
.notice {
  color: #927042;
}
.delivery-failed {
  color: #b15c7a !important;
}
.delivery-pending {
  color: #9d7b43 !important;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #9090a3;
  font-size: 12px;
}
.auth-divider span {
  height: 1px;
  background: #eee8f4;
  flex: 1;
}
.attention-summary {
  border: 1px solid #ecd9b7;
  background: #fff9ed;
  color: #805b22;
  padding: 12px 17px;
  font-size: 12px;
  border-radius: 9px;
  margin: -6px 0 24px;
}
.needs-human {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #805714;
  background: #fff2d8;
  border: 1px solid #f0d7a9;
  border-radius: 4px;
  padding: 2px 5px;
  margin-top: 7px;
}
.handoff-notice {
  background: #fff5e2;
  color: #805a20;
  padding: 11px 19px;
  border-bottom: 1px solid #f0ddba;
  font-size: 12px;
  line-height: 1.8;
}
.google-link-box {
  border-top: 1px solid #eee6f4;
  padding-top: 25px;
  margin-top: 27px;
}
.google-link-box .hint {
  margin: 10px 0 15px;
}
.page-heading p,
.stat .l {
  color: #687187;
}
.stat-caption {
  color: #70798f;
}
.setup-heading .eyebrow,
.setup-heading > span,
.setup-step small {
  color: #7b668c;
}
.badge.off,
.badge.disabled {
  color: #796286;
}
.badge.ghost {
  color: #72547f;
}
.channel .nm small,
.section-intro p,
.card-heading p,
.hint,
.hint b {
  color: #786485;
}
.form-footer .hint {
  color: #7a6488;
}
.conv-item .prev,
.conv-item .recipient,
.conv-item .when,
.list-footnote {
  color: #7c628d;
}
.conv-head .who,
.conv-head .who small {
  color: #7d5c8f;
}
.msg.assistant,
.test-chat .msg.user {
  color: #72507f;
}
.msg .tag,
.message-meta,
.msg.user .message-meta {
  color: #80608e;
}
.reply-context,
.older-messages {
  color: #88659a;
}
.empty strong {
  color: #886198;
}
.empty p {
  color: #8c6a9b;
}
.channels-hint,
#channels-hint {
  color: #7c638b;
}
.mini-note p {
  color: #7d6a8b;
}
.fb-page small {
  color: #8c6b9c;
}
.auth-subtitle {
  color: #6e778d;
}
.auth-story > small {
  color: #7f668e;
}
.back-home {
  color: #7f6c8f;
}
.legal {
  color: #737c91;
}
@media (max-width: 800px) {
  .sidebar {
    visibility: hidden;
  }
  .sidebar.open {
    visibility: visible;
  }
  body.menu-open {
    overflow: hidden;
  }
}
@media (max-width: 600px) {
  .topbar .breadcrumb {
    display: none;
  }
  .hdr-left {
    flex: 0;
  }
  .hdr-right {
    margin-left: auto;
  }
  .biz-select {
    max-width: 175px;
  }
  .page-heading h1 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
/* Shared SelooAI palette and readable workspace controls. */
body {
  background: #f6f8fc;
  color: #182c49;
}
h1,
h2,
h3 {
  color: #182c49;
}
a {
  color: #2d50c2;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline-color: #6581ff;
}
.brand {
  color: #182c49;
  gap: 7px;
}
.brand > .wordmark {
  color: #182c49;
  margin-left: 0;
  font-weight: 600;
  letter-spacing: -1.5px;
}
.brand .wordmark > span {
  font-weight: 400;
}
.brand .wordmark > b {
  color: #355dfe;
  font-weight: 600;
}
.auth-story {
  background: #edf2ff;
}
.auth-story:after {
  border-color: #e0e8ff;
}
.auth-story-copy .eyebrow {
  color: #506ca8;
}
.auth-story-copy > p,
.auth-story ul {
  color: #5d708e;
}
.auth-story > small {
  color: #647893;
}
.auth-subtitle,
.legal,
.back-home {
  color: #66748b;
}
.legal a {
  color: #3155b3;
}
.tabs {
  background: #f0f3fa;
}
.tabs button.active {
  color: #2c51ce;
}
.btn {
  background: #355dfe;
  border-color: #355dfe;
}
.btn:hover {
  background: #2343c3;
  border-color: #2343c3;
  box-shadow: 0 4px 12px #355dfe20;
}
.btn.danger {
  background: #fff;
  border-color: #e7c4d0;
  color: #a74665;
}
.btn.danger:hover {
  background: #fff3f7;
  border-color: #d5a2b4;
}
.nav button.active {
  background: #eaf0ff;
  color: #2d50b9;
}
.nav button:hover {
  background: #f1f5ff;
}
.business-avatar {
  background: #eaf0ff;
  color: #4768bc;
}
.workspace-identity,
.sidebar-tip {
  background: #f7f9ff;
  border-color: #e0e7f5;
}
.sidebar-tip b,
.sidebar-tip p {
  color: #576f94;
}
.card-symbol {
  background: #edf2ff;
  color: #5274d1;
  border-color: #dfe7fc;
}
.link-btn,
.text-button {
  color: #3f5f9e;
}
.card-heading p,
.hint,
.section-intro p,
.page-heading > div > p {
  color: #68768e;
}
.msg.assistant {
  background: #eef3ff;
  border-color: #dce5f8;
  color: #375587;
}
.conv-item.active {
  background: #edf2ff;
  border-color: #a9bfef;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #7796f1;
  box-shadow: 0 0 0 3px #355dfe12;
}
input::placeholder,
textarea::placeholder {
  color: #78869c;
}
.entry-context {
  font-size: 12px;
  line-height: 1.8;
  padding: 12px 14px;
  background: #edf3ff;
  border: 1px solid #d8e4fc;
  color: #3d5f9b;
  border-radius: 8px;
  margin-bottom: 20px;
}
.subscription-summary {
  padding: 25px 0 20px;
}
.subscription-summary > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.subscription-summary strong {
  font:
    600 25px Sora,
    Inter,
    sans-serif;
  letter-spacing: -0.6px;
}
.subscription-summary p {
  font-size: 12px;
  color: #61748e;
  margin-top: 12px;
}
.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 20px 0;
}
.usage-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid #dce5f3;
  background: #f8faff;
  border-radius: 9px;
}
.usage-card > span {
  display: block;
  color: #536b8e;
  font-size: 12px;
}
.usage-card strong {
  display: block;
  font:
    600 27px/1.4 Sora,
    Inter,
    sans-serif;
  margin: 10px 0;
  color: #254473;
}
.usage-card strong small {
  font:
    400 12px Inter,
    sans-serif;
  color: #72829c;
}
.usage-card p {
  font-size: 12px;
  line-height: 1.8;
  color: #637692;
}
.usage-meter {
  height: 5px;
  overflow: hidden;
  border-radius: 9px;
  background: #e1e9f8;
  margin: 13px 0;
}
.usage-meter > i {
  display: block;
  height: 100%;
  background: #4b71ed;
  border-radius: 9px;
}
.subscription-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #e2e8f2;
  padding-top: 22px;
  margin-top: 22px;
}
.subscription-help p {
  font-size: 12px;
  color: #687b95;
}
.subscription-help .btn {
  flex-shrink: 0;
}
.signup-preferences {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid #e0e7f3;
  border-radius: 8px;
  background: #fafbff;
}
.signup-preferences summary {
  cursor: pointer;
  color: #4c6592;
  font-size: 12px;
}
.signup-preferences[open] summary {
  margin-bottom: 12px;
}
.signup-preferences label {
  margin-top: 12px;
}
@media (max-width: 780px) {
  .usage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .usage-card {
    padding: 16px;
  }
  .usage-card strong {
    font-size: 23px;
  }
  .subscription-help {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .subscription-help .btn {
    width: 100%;
  }
  .brand {
    font-size: 25px;
  }
  .subscription-summary > div {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .usage-grid {
    grid-template-columns: 1fr;
  }
  .auth-card .entry-context {
    font-size: 12px;
  }
  .usage-card p {
    font-size: 12px;
  }
  .subscription-summary p {
    font-size: 12px;
  }
  .subscription-summary .status-pill {
    margin-top: 0;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
}

/* Final workspace palette: blue actions, ink content and explicit status colors. */
:root {
  --panel-ink: #182c49;
  --panel-muted: #52647d;
  --panel-blue: #355dfe;
  --panel-blue-dark: #2343c3;
  --panel-snow: #f6f8fc;
  --panel-line: #dce4ef;
  --panel-success: #13634e;
  --panel-warning: #805714;
  --panel-danger: #a0384c;
}
body {
  background: var(--panel-snow);
  color: var(--panel-ink);
  font-size: 15px;
}
a {
  color: var(--panel-blue-dark);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--panel-blue);
  outline-offset: 3px;
}
h1,
h2,
h3,
label,
.panel-card label,
.workspace-identity b,
.page-heading h1,
.card-heading h2,
.section-intro h2,
.section-title,
.channel .nm b,
.conv-item .plat,
.conv-head .who b,
.empty strong,
.switch-row b,
.setup-heading h2,
.setup-step,
#admin-tokens .section-title {
  color: var(--panel-ink);
}
.eyebrow,
.nav-label,
.breadcrumb,
.breadcrumb > b,
.workspace-identity div > span,
.sidebar-bottom > a,
.sidebar-bottom > small,
.workspace-footer,
.page-heading p,
.stat .l,
.stat-caption,
.card-heading p,
.section-intro p,
.hint,
.hint b,
.form-footer .hint,
.switch-row small,
.setup-step small,
.setup-heading > span,
.channel .nm small,
.channels-hint,
#channels-hint,
.conv-item .recipient,
.conv-item .prev,
.conv-item .when,
.list-footnote,
.conv-head .who,
.conv-head .who small,
.reply-context,
.empty,
.empty p,
.mini-note,
.mini-note p,
.auth-subtitle,
.legal,
.back-home,
.auth-divider,
.subscription-summary p,
.subscription-help p,
.usage-card p,
.usage-card strong small {
  color: var(--panel-muted);
}
.hdr-right #user-email {
  color: var(--panel-muted) !important;
  font-size: 13px !important;
}
.breadcrumb > i {
  color: #647892;
}
.nav-label,
.eyebrow {
  letter-spacing: 1px;
}
.nav button {
  color: #435872;
  font-size: 14px;
}
.nav button.active {
  color: var(--panel-blue-dark);
  background: #eaf0ff;
}
.nav button:hover {
  color: var(--panel-blue-dark);
  background: #f0f4ff;
}
.nav-icon,
.sidebar-tip > span,
.tip-icon,
.stat .stat-icon {
  color: #5470ad;
}
.nav-count,
.admin-label {
  background: #eaf0ff;
  color: var(--panel-blue-dark);
}
.nav-dot {
  background: var(--panel-success);
}
.sidebar,
.topbar,
.workspace-identity,
.panel-card,
.stat,
.channel,
.channel .acts,
.inbox-toolbar,
.conv-list-panel,
.conv-head,
.conv-pane > .chat-input,
.reply-context,
.google-link-box {
  border-color: var(--panel-line);
}
.sidebar-tip,
.tip-card,
.setup-card,
.switch-row {
  background: #f3f6fd;
  border-color: #d7e1f3;
}
.sidebar-tip b,
.tip-card h3 {
  color: var(--panel-ink);
}
.sidebar-tip p,
.tip-card p,
.tip-card ul {
  color: var(--panel-muted);
}
.tip-card li::marker,
.auth-story li::marker {
  color: var(--panel-blue);
}
.setup-heading .eyebrow,
.setup-heading > span {
  color: var(--panel-blue-dark);
}
.setup-step {
  background: #fff;
  border-color: #d9e3f3;
  font-size: 13px;
}
.setup-step small {
  line-height: 1.65;
}
.step-num {
  color: var(--panel-blue-dark);
  background: #eaf0ff;
}
.step-arrow {
  color: #5a7299;
}
.setup-step.done .step-num {
  color: var(--panel-success);
  background: #e7f4ee;
}
.stat .n {
  color: var(--panel-ink);
  font-weight: 600;
}
.stat-caption {
  line-height: 1.6;
}
.card-symbol,
.business-avatar,
.conv-avatar,
.channel .ico,
.empty .empty-symbol {
  color: #3456a3;
  background: #eaf0ff;
  border-color: #d9e4fb;
}
.panel-card label,
label {
  font-size: 13px;
}
.panel-card input,
.panel-card textarea,
input,
textarea,
select {
  color: var(--panel-ink);
  border-color: #8192ab;
}
.panel-card input::placeholder,
.panel-card textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: #5f7089;
  opacity: 1;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--panel-blue);
  box-shadow: 0 0 0 3px #355dfe15;
}
.switch-row b {
  font-size: 14px;
}
.switch-row small {
  font-size: 13px;
  line-height: 1.7;
}
.slider {
  background: #7b8ba4;
}
.switch input:checked + .slider {
  background: var(--panel-blue);
}
.switch input:focus-visible + .slider {
  outline: 3px solid var(--panel-blue);
  outline-offset: 4px;
}
.btn,
.badge.act,
.chat-input button {
  color: #fff;
  background: var(--panel-blue);
  border-color: var(--panel-blue);
}
.btn,
.link-btn,
.text-button {
  font-size: 13px;
}
.btn:hover,
.badge.act:hover,
.chat-input button:hover {
  color: #fff;
  background: var(--panel-blue-dark);
  border-color: var(--panel-blue-dark);
}
.btn.danger {
  background: #fff;
  border-color: #cf9aa8;
  color: var(--panel-danger);
}
.btn.danger:hover {
  background: #fff0f3;
  color: #8b2639;
  border-color: #b87585;
}
.link-btn,
.text-button,
.legal a {
  color: var(--panel-blue-dark);
}
.link-btn {
  border-color: #bbc9df;
  background: #fff;
}
.link-btn:hover,
.text-button:hover {
  color: var(--panel-blue-dark);
  background: #edf2ff;
  border-color: #9fb6ee;
}
.tabs button {
  color: var(--panel-muted);
}
.tabs button.active {
  color: var(--panel-blue-dark);
}
.badge,
.badge.off,
.badge.disabled {
  color: #4d607b;
  background: #f0f3f8;
  border-color: #dce3ed;
}
.badge.on,
.status-pill {
  color: var(--panel-success);
  background: #e9f5ef;
  border-color: #c8e4d6;
}
.status-pill.off {
  color: #4d607b;
  background: #edf1f7;
  border-color: #d8e1ee;
}
.badge.ghost {
  background: #fff;
  color: var(--panel-blue-dark);
  border-color: #b8c9eb;
}
.badge.ghost:hover {
  color: var(--panel-blue-dark);
  background: #edf2ff;
}
.channel .nm small {
  min-height: 40px;
  line-height: 1.7;
}
.fb-picker {
  background: #f2f6ff;
  border-color: #d1def5;
}
.fb-picker h3,
.fb-page {
  color: var(--panel-ink);
}
.fb-page {
  border-color: #d8e2f1;
}
.fb-page small {
  color: var(--panel-muted);
}
.inbox-toolbar h2 {
  color: var(--panel-ink);
}
.inbox-toolbar p {
  color: var(--panel-muted);
  font-size: 13px;
}
.conv-pane,
.test-chat {
  background: #f6f8fc;
  border-color: var(--panel-line);
}
.conv-list-panel {
  background: #fff;
}
.conv-search,
.chat-input input {
  border-color: #8192ab;
  background: #fff;
}
.conv-item {
  color: var(--panel-ink);
  border-color: #e5ebf3;
}
.conv-item:hover {
  background: #f2f6ff;
}
.conv-item.active {
  background: #eaf0ff;
}
.conv-item.active::before {
  background: var(--panel-blue);
}
.conv-item .plat {
  font-size: 13px;
}
.conv-item .prev {
  font-size: 13px;
}
.conv-item .when,
.conv-item .recipient {
  line-height: 1.6;
}
.conv-item .paused,
.needs-human,
.attention-summary,
.handoff-notice,
.notice {
  color: var(--panel-warning);
  background: #fff5e2;
  border-color: #e9d4ab;
}
.older-messages {
  background: #edf3ff;
  border-color: #d7e3fa;
  color: var(--panel-blue-dark);
  min-height: 44px;
}
.msg {
  font-size: 14px;
  line-height: 1.75;
}
.msg.user,
.test-chat .msg.assistant {
  background: #fff;
  color: #304763;
  border-color: #dce4ef;
}
.msg.assistant,
.test-chat .msg.user {
  background: #eaf0ff;
  color: #294c85;
  border-color: #d3dffa;
}
.msg.human {
  background: #eaf5f0;
  color: #205e4a;
  border-color: #cde3d8;
}
.msg .tag {
  color: #456084;
  letter-spacing: 0.3px;
}
.msg.human .tag {
  color: #28624e;
}
.message-meta,
.msg.user .message-meta {
  color: #4d627e;
  font-size: 12px;
}
.msg.typing {
  color: var(--panel-muted);
}
.msg.failed {
  background: #fff1f4;
  border-color: #dca9b6;
  color: var(--panel-danger);
}
.delivery-failed {
  color: var(--panel-danger) !important;
}
.delivery-pending {
  color: var(--panel-warning) !important;
}
.toast {
  color: var(--panel-ink);
  border-color: #d4deed;
  box-shadow: 0 8px 28px #182c4912;
}
.toast.err,
.err,
.ok-msg.error {
  color: var(--panel-danger);
  border-color: #dca9b6;
}
.ok-msg {
  color: var(--panel-success);
}
.skeleton {
  color: #52647d !important;
}
.auth-story-copy > p,
.auth-story ul,
.auth-story > small {
  color: var(--panel-muted);
}
.auth-subtitle,
.legal,
.back-home {
  line-height: 1.8;
}
.brand > small {
  color: var(--panel-muted);
  font-size: 12px;
  letter-spacing: 1px;
}
.auth-story-copy .eyebrow {
  color: #3456a3;
}
.tip-icon {
  background: #e6edff;
  border-color: #d4e0fa;
}
.usage-card > span {
  color: var(--panel-muted);
}
.sidebar-backdrop {
  background: #182c4966;
}
@media (max-width: 800px) {
  .setup-steps {
    grid-template-columns: 1fr;
  }
  .setup-step {
    padding: 12px;
  }
}
@media (max-width: 600px) {
  .page-heading {
    flex-wrap: wrap;
  }
  .setup-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .status-pill {
    margin-top: 0;
  }
  .card-heading p,
  .page-heading p,
  .tip-card p,
  .tip-card ul,
  .form-footer .hint,
  .reply-context {
    font-size: 13px;
  }
  .channel .nm small {
    min-height: 0;
  }
  .biz-select {
    min-height: 44px;
  }
  .topbar .link-btn {
    min-height: 44px;
  }
}

#page-subtitle {
  color: #52647d;
}
