:root {
  --pine: #183f36;
  --green: #2d6655;
  --lime: #dcefaa;
  --paper: #f8f9f5;
  --ink: #203d35;
  --muted: #66756e;
  --line: #dfe6dd;
  --surface: #fff;
  --blue: var(--green);
  --blue2: var(--pine);
  --shadow: 0 14px 40px #173e3508;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  margin: 0;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #659d75;
  outline-offset: 4px;
}
input:focus,
textarea:focus {
  outline: 2px solid #5e9479;
  outline-offset: 2px;
}
input,
textarea {
  max-width: 100%;
  border: 1px solid #cfdcd2;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
label {
  font-size: 13px;
  font-weight: 600;
}
button {
  color: inherit;
}
.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: absolute;
  top: -80px;
  left: 16px;
  background: var(--pine);
  color: #fff;
  padding: 14px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  background: #f8f9f5eb;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e4e8df;
  position: sticky;
  top: 0;
  z-index: 30;
}
.site-nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1.8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  background: var(--pine);
  color: var(--lime);
  font-size: 30px;
  font-weight: 400;
  border-radius: 11px;
  width: 39px;
  height: 39px;
  letter-spacing: -3px;
  padding-right: 3px;
  flex-shrink: 0;
}
.brand-period {
  color: var(--green);
  margin-left: -8px;
}
.site-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 550;
}
.site-links > a:not(.button):hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-links .sign-in {
  margin-left: 28px;
}
.button,
.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 52px;
  padding: 15px 23px;
  background: var(--pine);
  color: #fff;
  border: 1px solid var(--pine);
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover,
.ui-btn:hover {
  background: #2d5c4d;
  transform: translateY(-1px);
}
.button span {
  font-size: 19px;
  font-weight: 400;
}
.button.compact {
  min-height: 44px;
  padding: 11px 17px;
  gap: 18px;
  font-size: 12px;
}
.button.outline {
  background: transparent;
  color: var(--pine);
  border-color: #c9d6cd;
}
.button.outline:hover {
  background: #eff4e8;
}
.button.lime {
  background: var(--lime);
  color: var(--pine);
  border-color: var(--lime);
}
.menu-toggle {
  display: none;
}
.hero-new {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 65px;
  padding-block: 86px 88px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  line-height: 1.7;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #508c59;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-copy h1 {
  font-size: clamp(42px, 4.5vw, 66px);
  line-height: 1.09;
  letter-spacing: -3.1px;
  font-weight: 520;
  margin: 23px 0;
}
.hero-copy h1 em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  color: #4f7059;
  letter-spacing: -2.5px;
}
.hero-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 440px;
  margin: 24px 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}
.play-icon {
  border: 1px solid #cdd8ce;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
}
.hero-note {
  color: #7a877f;
  font-size: 11px;
  margin-top: 17px;
}
.hero-tags {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  font-size: 10px;
  color: #5a7064;
}
.hero-visual {
  position: relative;
  padding: 14px 12px 0;
  isolation: isolate;
  min-width: 0;
}
.visual-orbit {
  position: absolute;
  z-index: -1;
  inset: -20px -30px 45px;
  border: 1px solid #d3dfc5;
  border-radius: 50%;
  transform: rotate(-25deg);
  background: radial-gradient(ellipse, #e9efdc 0, transparent 72%);
}
.preview-window {
  background: #fff;
  border: 1px solid #d9e2d6;
  border-radius: 16px;
  box-shadow: 0 22px 65px #203d3510;
  overflow: hidden;
  position: relative;
}
.preview-toolbar {
  display: flex;
  justify-content: space-between;
  padding: 16px 22px;
  background: #f1f4ec;
  align-items: center;
  border-bottom: 1px solid #e3e9de;
}
.mini-wordmark {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.7px;
}
.preview-label {
  font-size: 8px;
  letter-spacing: 1px;
  color: #7b887e;
}
.preview-business {
  padding: 20px 23px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #edf0e9;
}
.business-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #e8eee0;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 22px;
}
.preview-business strong {
  font-size: 13px;
}
.preview-business div > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #6e8274;
  margin-top: 5px;
}
.preview-ellipsis {
  margin-left: auto;
  font-size: 23px;
}
.preview-chat {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.preview-message {
  font-size: 12px;
  line-height: 1.65;
  border-radius: 12px;
  padding: 12px 15px;
  max-width: 85%;
}
.preview-message.assistant {
  background: #f2f5ee;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}
.preview-message.visitor {
  background: var(--pine);
  color: #fff;
  border-bottom-right-radius: 3px;
  align-self: flex-end;
}
.approved-note {
  font-size: 9px;
  color: #66806a;
  margin-top: -6px;
}
.handoff-note {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dce7cd;
  border-radius: 8px;
  padding: 12px;
  background: #f9fbee;
  margin-top: 3px;
}
.handoff-note strong {
  font-size: 10px;
  display: block;
}
.handoff-note div > span {
  display: block;
  font-size: 8px;
  color: #6e7e68;
  margin-top: 4px;
}
.handoff-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  background: #e4eecf;
  border-radius: 6px;
  font-size: 18px;
}
.pill-soft {
  margin-left: auto;
  font-size: 8px;
  white-space: nowrap;
  color: #537047;
}
.preview-composer {
  margin: 0 22px 20px;
  border: 1px solid #e2e7dd;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 10px;
  color: #9aa497;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.preview-composer span {
  background: var(--pine);
  color: white;
  padding: 4px 8px;
  border-radius: 5px;
}
.floating-note {
  position: relative;
  margin: -3px -27px 0 40px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #dce4d5;
  border-radius: 11px;
  box-shadow: 0 12px 25px #203d350b;
  transform: translateY(-4px);
}
.mail-icon {
  background: #edf3e0;
  padding: 10px;
  border-radius: 9px;
  font-size: 19px;
}
.floating-note strong {
  display: block;
  font-size: 11px;
}
.floating-note div > span {
  display: block;
  font-size: 9px;
  color: #7a8777;
  margin-top: 5px;
}
.floating-note > .live-dot {
  margin-left: auto;
}
.visual-caption {
  text-align: center;
  font-size: 10px;
  color: #7e8c7c;
  margin-top: 14px;
}
.benefit-band {
  border-block: 1px solid var(--line);
  background: #f0f3e9;
}
.benefit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-block: 27px;
}
.benefit-row > span {
  font-size: 11px;
  color: #75816f;
  line-height: 1.8;
}
.benefit-row strong {
  color: var(--ink);
  font-weight: 550;
}
.benefit-row > div {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 12px;
}
.feature-icon {
  width: 37px;
  height: 37px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d5dfcc;
  border-radius: 9px;
  font-size: 17px;
  color: var(--green);
  flex-shrink: 0;
}
.section-space {
  padding-block: 86px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 37px;
}
.section-heading h2,
.faq-section h2 {
  font-size: 42px;
  line-height: 1.13;
  letter-spacing: -1.8px;
  font-weight: 500;
  margin: 17px 0 0;
}
.section-heading > p {
  max-width: 350px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 3px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 27px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feature-top .feature-icon {
  background: #f0f4e9;
  font-size: 11px;
  border: 0;
}
.tiny-label {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #8a9688;
}
.feature-card h3 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.65px;
  font-weight: 550;
  margin: 26px 0 13px;
}
.feature-card > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  min-height: 68px;
}
.feature-detail {
  border-top: 1px solid #edf0e8;
  padding-top: 17px;
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-size: 9px;
  color: #7a887b;
}
.status-tag {
  color: #436a42;
}
.demo-section {
  background: #edf2e9;
  border-block: 1px solid #e0e7d9;
}
.demo-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 38px;
  align-items: start;
}
.demo-guide {
  padding: 6px 8px 0 0;
}
.small-label {
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 650;
  color: #74816e;
}
.prompt-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 22px;
}
.prompt-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8faf5;
  border: 1px solid #d9e2d2;
  border-radius: 9px;
  font-size: 12px;
  padding: 15px 17px;
  text-align: left;
}
.prompt-list button:hover {
  background: #e2eccf;
  border-color: #b7c8aa;
}
.sample-rules {
  border-top: 1px solid #d2ddca;
  padding-top: 17px;
}
.sample-rules summary {
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sample-fields {
  padding-top: 15px;
  display: grid;
  gap: 8px;
}
.sample-fields label {
  font-size: 11px;
}
.sample-fields input,
.sample-fields textarea {
  width: 100%;
  font-size: 12px;
  min-height: 40px;
}
.sample-fields textarea {
  min-height: 70px;
}
.demo-disclaimer {
  font-size: 10px;
  line-height: 1.8;
  color: #7a8776;
  margin-top: 21px;
  max-width: 250px;
}
.demo-chat {
  border: 1px solid #d9e2d1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px #29452d08;
  overflow: hidden;
}
.demo-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid #e9eee3;
}
.demo-chat-head .logo-mark {
  width: 33px;
  height: 33px;
  font-size: 24px;
  border-radius: 8px;
}
.demo-chat-head strong {
  font-size: 13px;
  display: block;
}
.demo-chat-head div > span {
  font-size: 10px;
  color: #84907e;
  display: block;
  margin-top: 4px;
}
.demo-badge {
  margin-left: auto;
  background: #eef3e6;
  border-radius: 5px;
  font-size: 8px;
  padding: 5px 8px;
  letter-spacing: 0.8px;
  color: #5c7751;
}
.messages {
  height: 320px;
  overflow: auto;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bubble {
  max-width: 85%;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.bubble.agent {
  align-self: flex-start;
  background: #f1f5eb;
  border-bottom-left-radius: 2px;
}
.bubble.customer {
  align-self: flex-end;
  background: var(--pine);
  color: #fff;
  border-bottom-right-radius: 2px;
}
.meta {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 4px;
  opacity: 0.7;
}
.demo-suggestions {
  padding: 0 25px 10px;
  font-size: 9px;
  color: #84907e;
}
.composer {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding: 15px 20px;
  border-top: 1px solid #e7ecdf;
}
.composer textarea {
  flex: 1;
  min-width: 0;
  resize: none;
  min-height: 44px;
  max-height: 120px;
  border-color: #e1e8d9;
  font-size: 12px;
}
.composer .button {
  min-width: 85px;
}
.section-heading.centered {
  display: block;
  text-align: center;
}
.centered .eyebrow {
  justify-content: center;
}
.centered p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 17px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 57px;
}
.plan-card {
  border: 1px solid #d9e2d5;
  background: #fff;
  border-radius: 13px;
  padding: 28px;
  position: relative;
}
.plan-card h3 {
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.8px;
  margin: 12px 0;
}
.plan-card > p {
  font-size: 12px;
  line-height: 1.8;
  min-height: 44px;
  color: var(--muted);
}
.plan-price {
  font-size: 47px;
  letter-spacing: -2.5px;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 23px 0;
}
.plan-price span {
  font-size: 11px;
  letter-spacing: 0;
  color: #83907b;
}
.plan-card .button {
  width: 100%;
  justify-content: space-between;
  font-size: 12px;
  min-height: 45px;
}
.plan-card ul {
  padding: 23px 0 0;
  list-style: none;
  border-top: 1px solid #e5ebdf;
  margin-top: 23px;
  display: grid;
  gap: 14px;
}
.plan-card li {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #667763;
}
.plan-card li:before {
  content: '✓';
  color: var(--green);
  font-size: 12px;
}
.recommended {
  border-color: #83a46b;
  background: #f8fbee;
}
.plan-ribbon {
  position: absolute;
  top: -25px;
  left: -1px;
  right: -1px;
  height: 30px;
  background: var(--pine);
  color: #e5f0cd;
  border-radius: 12px 12px 0 0;
  font-size: 8px;
  text-align: center;
  letter-spacing: 1.5px;
  padding: 8px;
}
.pricing-footnote {
  text-align: center;
  font-size: 11px;
  color: #83907b;
  margin-top: 27px;
}
.pricing-footnote a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--green);
}
.faq-section {
  padding-bottom: 82px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
}
.faq-section .text-link {
  margin-top: 23px;
}
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 21px 0;
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  padding-right: 40px;
}
.closing-card {
  border-radius: 16px;
  background: var(--pine);
  color: #f4f7eb;
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.closing-card .eyebrow {
  color: #b9cda6;
  font-size: 8px;
}
.closing-card h2 {
  font-size: 44px;
  letter-spacing: -1.8px;
  line-height: 1.1;
  font-weight: 450;
  margin: 15px 0;
}
.closing-card p {
  color: #afc4b4;
  font-size: 13px;
}
.closing-card .button {
  position: relative;
  z-index: 1;
}
.closing-decoration {
  position: absolute;
  font-size: 280px;
  color: #ffffff06;
  right: 130px;
  top: -40px;
  pointer-events: none;
}
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 25px;
  padding-block: 52px 28px;
}
.site-footer .wordmark {
  font-size: 24px;
}
.site-footer .logo-mark {
  width: 31px;
  height: 31px;
  font-size: 24px;
}
.site-footer p,
.copyright {
  font-size: 10px;
  color: #8b9685;
  margin: 12px 0 0;
}
.site-footer nav {
  display: flex;
  gap: 23px;
  font-size: 11px;
  color: #65765f;
}
.copyright {
  grid-column: 1/-1;
  border-top: 1px solid #e5eadf;
  padding-top: 20px;
  margin-top: 6px;
}
/* The customer workspace uses the same palette and controls as the public site. */
body.customer-page {
  --bg: var(--paper);
  --blue: var(--green);
  --blue2: var(--pine);
  background: var(--paper);
  color: var(--ink);
}
.customer-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--pine);
  letter-spacing: -1.2px;
  font-weight: 750;
}
.customer-page .brand:before {
  content: '→';
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: 9px;
  background: var(--pine);
  color: var(--lime);
  border-radius: 9px;
  font-size: 25px;
  font-weight: 400;
}
.customer-page .brand span {
  color: var(--pine);
}
.customer-page .btn,
.customer-page button:not(.nav button):not(.mobile-nav button):not(.smallbtn) {
  border-radius: 9px;
}
.customer-page .btn.primary,
.customer-page button.primary {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}
.customer-page .btn.primary:hover {
  background: #2b5a4c;
}
.customer-page .card {
  border-color: var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 30px #183f3504;
}
.customer-page .eyebrow {
  background: #edf2e3;
  border-color: #dce6cf;
  color: var(--green);
  font-size: 9px;
}
.customer-page input,
.customer-page textarea {
  border-color: #cedbcf;
  background: #fcfdf9;
  border-radius: 8px;
}
.customer-page h1,
.customer-page h2 {
  color: var(--pine);
  font-weight: 550;
}
.account-page .top {
  height: 88px;
  border-bottom: 1px solid var(--line);
}
.account-page .main {
  grid-template-columns: 1fr 0.85fr;
  gap: 90px;
  padding-block: 65px;
  min-height: calc(100vh - 88px);
}
.account-page .copy h1 {
  font-size: 62px;
  line-height: 1.08;
  letter-spacing: -2.8px;
  font-weight: 500;
  max-width: 480px;
}
.account-page .copy p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 415px;
}
.account-page .card {
  padding: 33px;
  background: #fff;
}
.account-page .card h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
}
.account-page .card .sub {
  font-size: 12px;
  line-height: 1.8;
}
.account-page .points {
  gap: 17px;
  padding-top: 7px;
}
.account-page .point {
  font-size: 12px;
  line-height: 1.7;
}
.account-page .dot {
  background: #88a45c;
}
.account-page .security {
  color: #7f8d76;
}
.account-page .mini .btn {
  background: #f0f4e8;
  border-color: #dce5d1;
  color: var(--pine);
  font-size: 11px;
}
.account-page .help {
  background: #f3f6ed;
  color: #6d7a65;
  border-radius: 9px;
  padding: 14px;
  font-size: 11px;
  line-height: 1.9;
}
.account-page .security {
  font-size: 9px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 65px !important;
}
.password-toggle {
  position: absolute;
  right: 8px;
  top: 10px;
  min-height: 34px;
  background: transparent;
  border: 0;
  font-size: 11px;
  color: var(--green);
}
.account-page .copy .account-note {
  margin-top: 33px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #eaf0df;
  border-radius: 12px;
  padding: 18px;
  font-size: 11px;
  max-width: 380px;
}
.account-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--pine);
}
.dashboard-page .app {
  grid-template-columns: 230px minmax(0, 1fr);
}
.dashboard-page .sidebar {
  background: #fff;
  color: var(--ink);
  border-right: 1px solid var(--line);
  padding: 27px 17px;
}
.dashboard-page .sidebar .brand {
  padding: 0 7px 42px;
  font-size: 24px;
}
.dashboard-page .nav {
  gap: 7px;
}
.dashboard-page .nav button {
  color: #768575;
  border-radius: 8px;
  padding: 13px 14px;
  font-weight: 500;
  display: flex;
  gap: 12px;
  align-items: center;
}
.dashboard-page .nav button:before {
  font-size: 17px;
  content: '▦';
  width: 19px;
  text-align: center;
  opacity: 0.8;
}
.dashboard-page .nav button[data-view='leads']:before {
  content: '☷';
}
.dashboard-page .nav button[data-view='conversations']:before {
  content: '◫';
}
.dashboard-page .nav button[data-view='rules']:before {
  content: '☷';
}
.dashboard-page .nav button[data-view='widget']:before {
  content: '◇';
}
.dashboard-page .nav button[data-view='billing']:before {
  content: '▤';
}
.dashboard-page .nav button.active {
  background: #eaf1df;
  color: var(--pine);
  font-weight: 650;
}
.dashboard-page .nav button:hover {
  background: #f1f5e9;
  color: var(--pine);
}
.dashboard-page .sidebar-foot {
  border-color: var(--line);
  color: #809078;
  line-height: 1.9;
  font-size: 10px;
}
.sidebar-help {
  background: #f1f5e9;
  padding: 16px;
  border-radius: 11px;
  margin-top: auto;
  margin-bottom: 25px;
  font-size: 11px;
  color: #6b7d61;
}
.sidebar-help strong {
  display: block;
  color: var(--pine);
  margin-bottom: 8px;
}
.sidebar-help a {
  display: inline-block;
  margin-top: 10px;
  color: var(--green);
  font-weight: 600;
}
.dashboard-page .sidebar-foot {
  margin-top: 0;
}
.dashboard-page .topbar {
  background: #ffffffb8;
  backdrop-filter: blur(12px);
  border-color: var(--line);
  padding-inline: 35px;
  min-height: 82px;
}
.dashboard-page .business-title strong {
  font-weight: 650;
  font-size: 15px;
}
.dashboard-page .business-title span {
  font-size: 10px;
  color: #899480;
}
.dashboard-page .content {
  width: calc(100% - 70px);
  padding-top: 28px;
}
.dashboard-page .pagehead {
  margin: 24px 0;
}
.dashboard-page .pagehead h1 {
  font-size: 34px;
  letter-spacing: -1.3px;
  font-weight: 500;
}
.dashboard-page .pagehead p {
  font-size: 12px;
  color: #7c8a73;
}
.dashboard-page .stat {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  border-radius: 12px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.dashboard-page .stat:after {
  content: '→';
  position: absolute;
  right: 18px;
  top: 17px;
  font-size: 19px;
  color: #8ba36f;
}
.dashboard-page .stat:nth-child(2) {
  background: #eff4e7;
}
.dashboard-page .stat:nth-child(3) {
  background: #f5f2e6;
}
.dashboard-page .stat:nth-child(4) {
  background: #edf2ee;
}
.dashboard-page .stat label {
  font-size: 10px;
  font-weight: 550;
  color: #6b7b62;
}
.dashboard-page .stat strong {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1.4px;
  color: var(--pine);
  margin-top: 13px;
}
.dashboard-page .stat span {
  font-size: 9px;
  color: #8c977f;
}
.dashboard-page .card h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
}
.dashboard-page .card-sub {
  font-size: 11px;
  color: #85917c;
}
.dashboard-page .smallbtn {
  border-color: #d5dfcb;
  border-radius: 8px;
  background: #fff;
  color: var(--pine);
  padding: 9px 13px;
  font-size: 11px;
}
.dashboard-page .mobile-nav {
  background: #fff;
  border-color: var(--line);
}
.dashboard-page .mobile-nav button.active {
  background: #eaf1df;
  color: var(--pine);
}
.dashboard-page table th {
  background: #f6f8f1;
  color: #819075;
  font-size: 9px;
  letter-spacing: 0.6px;
}
.dashboard-page table td {
  border-color: #edf0e8;
  font-size: 12px;
}
.dashboard-page .empty {
  background: #f9fbf4;
  border: 1px dashed #d2dfc5;
  border-radius: 10px;
  color: #859078;
  font-size: 12px;
  padding: 28px;
}
.dashboard-page .statusline {
  font-size: 10px;
}
.dashboard-page #emailAlertStatus {
  font-size: 10px;
  color: #809174;
  line-height: 1.7;
  margin: 12px 0;
}
.dashboard-page .workspace-empty {
  border: 1px solid var(--line);
  background: white;
  border-radius: 15px;
  margin: 40px;
}
.dashboard-page .workspace-empty h1 {
  font-size: 30px;
  letter-spacing: -1px;
}
.dashboard-page .loading {
  background: var(--paper);
}
.dashboard-page .loader {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 14px;
}
.dashboard-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.dashboard-search input {
  width: min(100%, 420px);
  font-size: 12px;
  min-height: 43px;
  background: #fff;
}
.dashboard-search span {
  font-size: 10px;
  color: var(--muted);
}
.dashboard-page .table-wrap {
  overflow-x: auto;
}
.setup-page main {
  width: min(950px, calc(100% - 48px));
  margin: 36px auto 75px;
  padding: 0;
}
.setup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.setup-top .brand {
  font-size: 23px;
}
.setup-top > a:last-child {
  font-size: 12px;
  color: var(--green);
}
.setup-title {
  margin: 45px 0 28px;
}
.setup-title .eyebrow {
  padding: 0;
  background: transparent;
  border: 0;
}
.setup-title h1 {
  font-size: 43px;
  letter-spacing: -1.8px;
  line-height: 1.15;
  margin: 13px 0;
}
.setup-title p {
  color: var(--muted);
  font-size: 14px;
  max-width: 600px;
  line-height: 1.8;
}
.setup-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: white;
  border-radius: 11px;
  padding: 18px 23px;
  gap: 15px;
  margin: 25px 0;
}
.setup-progress > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #89937d;
}
.setup-progress b {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eff3e8;
  font-size: 10px;
  color: #78915e;
}
.setup-progress .complete b {
  background: var(--pine);
  color: var(--lime);
}
.setup-progress .complete {
  color: var(--pine);
}
.setup-page .card {
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
  margin: 24px 0;
}
.setup-page .card h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.7px;
  margin-top: 0;
}
.setup-page .grid {
  gap: 19px;
}
.setup-page label {
  font-size: 12px;
}
.setup-page input,
.setup-page textarea {
  font-size: 13px;
  line-height: 1.6;
  padding: 11px 13px;
  margin-top: 8px;
}
.setup-page button {
  font-size: 12px;
  background: var(--pine);
  padding: 13px 18px;
  min-height: 43px;
  margin: 5px 7px 5px 0;
  border: 1px solid var(--pine);
  color: white;
}
.setup-page #stress,
.setup-page #copy {
  background: #f1f5e9;
  color: var(--pine);
  border-color: #d5e0c9;
}
.setup-page #status {
  font-size: 12px;
  color: #5e7356;
  padding: 14px 17px;
  border: 1px solid #dce5d2;
  background: #f1f5e9;
  border-radius: 9px;
  line-height: 1.8;
  white-space: pre-wrap;
}
.setup-page small {
  font-size: 11px;
  color: #839077;
  line-height: 1.7;
}
.setup-page pre {
  background: #172f29;
  color: #d4e7b7;
  border-radius: 10px;
  font-size: 11px;
  padding: 20px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.setup-page #installState {
  font-size: 12px;
  color: var(--green);
}
.install-step + .install-step {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.install-step h3 {
  font-size: 16px;
}
.setup-page .install-step select {
  width: 100%;
  padding: 12px;
  margin: 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}
.install-step ol {
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.8;
}
.install-step li + li {
  margin-top: 8px;
}
.setup-page .install-note,
.setup-page #copyStatus,
.setup-page #developerCopyStatus {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.install-website-link {
  display: inline-block;
  padding: 12px 0;
  font-weight: 600;
}
.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.setup-page .install-actions button {
  margin: 0;
}
.setup-page #developerMessage {
  min-height: 190px;
  font-size: 12px;
}
.install-options {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin: 18px 0;
  background: #fafcf6;
}
.install-options summary {
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.install-options p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.install-options code {
  font-size: 11px;
  background: #e8efdd;
  padding: 2px 5px;
  border-radius: 3px;
}
.setup-page .form-section-title {
  grid-column: 1/-1;
  margin: 15px 0 0;
  border-top: 1px solid #e9eee1;
  padding-top: 24px;
  color: var(--pine);
  font-size: 15px;
  font-weight: 550;
}
.setup-page .form-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
@media (min-width: 1500px) {
  .hero-new {
    padding-block: 105px;
  }
  .hero-copy h1 {
    font-size: 70px;
  }
}
@media (max-width: 1050px) {
  .site-links {
    gap: 19px;
  }
  .site-links .sign-in {
    margin-left: 0;
  }
  .hero-new {
    gap: 32px;
  }
  .container {
    width: calc(100% - 56px);
  }
  .hero-copy h1 {
    font-size: 52px;
  }
  .hero-tags {
    gap: 10px;
    font-size: 9px;
  }
  .benefit-row {
    gap: 20px;
  }
  .benefit-row > div {
    font-size: 10px;
  }
  .section-heading h2,
  .faq-section h2 {
    font-size: 36px;
  }
  .feature-card {
    padding: 22px;
  }
  .feature-card h3 {
    font-size: 21px;
  }
  .feature-detail {
    display: grid;
  }
  .account-page .main {
    gap: 45px;
  }
  .account-page .copy h1 {
    font-size: 52px;
  }
  .dashboard-page .content {
    width: calc(100% - 40px);
  }
  .dashboard-page .topbar {
    padding-inline: 20px;
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 40px);
  }
  .site-nav {
    height: 72px;
  }
  .wordmark {
    font-size: 25px;
  }
  .logo-mark {
    width: 34px;
    height: 34px;
    font-size: 26px;
  }
  .menu-toggle {
    display: flex;
    gap: 10px;
    align-items: center;
    background: transparent;
    border: 1px solid #d5dfcb;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 12px;
  }
  .site-links {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 25px #203d350a;
    gap: 20px;
    align-items: stretch;
  }
  .site-links.open {
    display: flex;
    flex-direction: column;
  }
  .site-links > a {
    padding: 7px 4px;
  }
  .site-links .button {
    padding: 12px;
  }
  .hero-new {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 50px 55px;
  }
  .hero-copy {
    max-width: 580px;
  }
  .hero-copy h1 {
    font-size: 61px;
    letter-spacing: -2.7px;
  }
  .hero-description {
    max-width: 480px;
  }
  .hero-visual {
    max-width: 490px;
    width: 100%;
    justify-self: center;
    padding-inline: 10px;
  }
  .visual-orbit {
    inset: 0 0 40px;
  }
  .floating-note {
    margin-right: -7px;
  }
  .hero-tags {
    font-size: 10px;
    gap: 20px;
  }
  .benefit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding-block: 24px;
  }
  .benefit-row > div {
    font-size: 11px;
  }
  .section-space {
    padding-block: 58px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 25px;
  }
  .section-heading > p {
    max-width: 270px;
    font-size: 12px;
  }
  .feature-grid {
    gap: 12px;
  }
  .feature-card {
    padding: 20px 17px;
  }
  .feature-card h3 {
    font-size: 19px;
  }
  .feature-card > p {
    font-size: 11px;
  }
  .tiny-label {
    font-size: 6px;
  }
  .demo-layout {
    gap: 24px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .demo-chat-head {
    padding: 16px;
  }
  .demo-badge {
    display: none;
  }
  .messages {
    padding: 18px;
  }
  .bubble {
    max-width: 93%;
    font-size: 12px;
  }
  .composer {
    padding: 12px;
    gap: 7px;
  }
  .composer .button {
    min-width: 65px;
    padding: 12px;
    gap: 8px;
  }
  .pricing-grid {
    gap: 12px;
  }
  .plan-card {
    padding: 22px 18px;
  }
  .plan-card > p {
    min-height: 65px;
    font-size: 11px;
  }
  .plan-card li {
    font-size: 10px;
  }
  .plan-price {
    font-size: 39px;
  }
  .faq-section {
    gap: 40px;
  }
  .closing-card {
    padding: 37px 30px;
  }
  .closing-card h2 {
    font-size: 36px;
  }
  .site-footer nav {
    gap: 15px;
  }
  .account-page .main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 35px;
    max-width: 600px;
  }
  .account-page .copy h1 {
    font-size: 43px;
    max-width: 480px;
  }
  .account-page .copy p {
    max-width: 500px;
  }
  .account-page .points,
  .account-page .account-note {
    display: none !important;
  }
  .account-page .top {
    height: 72px;
  }
  .dashboard-page .app {
    grid-template-columns: 1fr;
  }
  .dashboard-page .sidebar {
    display: none;
  }
  .dashboard-page .mobile-nav {
    display: flex;
    overflow-x: auto;
    gap: 5px;
    padding: 12px 17px;
    position: sticky;
    top: 0;
    z-index: 5;
  }
  .dashboard-page .mobile-nav button {
    white-space: nowrap;
    padding: 11px 12px;
  }
  .dashboard-page .topbar {
    padding-inline: 20px;
  }
  .dashboard-page .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-page .content {
    width: calc(100% - 36px);
    padding-top: 14px;
  }
  .dashboard-page .pagehead h1 {
    font-size: 29px;
  }
  .dashboard-page .layout2 {
    grid-template-columns: 1fr;
  }
  .setup-page .setup-title h1 {
    font-size: 36px;
  }
}
@media (max-width: 550px) {
  .hero-copy h1 {
    font-size: 45px;
    letter-spacing: -2.2px;
  }
  .hero-copy h1 em {
    letter-spacing: -1.6px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    gap: 20px;
  }
  .button {
    font-size: 12px;
    gap: 20px;
    padding: 14px 18px;
    min-height: 49px;
  }
  .text-link {
    font-size: 11px;
  }
  .hero-note {
    font-size: 9px;
  }
  .hero-tags {
    gap: 14px;
    font-size: 9px;
    margin-top: 24px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .hero-new {
    padding-top: 37px;
  }
  .preview-message {
    font-size: 11px;
  }
  .preview-chat {
    padding: 18px;
  }
  .preview-label {
    font-size: 6px;
  }
  .floating-note {
    margin-left: 15px;
    padding: 12px;
  }
  .floating-note strong {
    font-size: 10px;
  }
  .floating-note div > span {
    font-size: 8px;
  }
  .visual-caption {
    font-size: 9px;
  }
  .benefit-row {
    column-gap: 12px;
  }
  .benefit-row > span {
    font-size: 9px;
  }
  .benefit-row > div {
    font-size: 9px;
    gap: 8px;
  }
  .benefit-row .feature-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .section-heading {
    display: block;
    margin-bottom: 25px;
  }
  .section-heading > p {
    margin-top: 20px;
    max-width: 100%;
  }
  .section-heading h2,
  .faq-section h2 {
    font-size: 33px;
    letter-spacing: -1.2px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature-card {
    padding: 25px;
  }
  .feature-card h3 {
    font-size: 25px;
    margin-top: 20px;
  }
  .feature-card > p {
    font-size: 13px;
    min-height: 0;
  }
  .tiny-label {
    font-size: 8px;
  }
  .feature-detail {
    display: flex;
    font-size: 10px;
  }
  .demo-layout {
    grid-template-columns: 1fr;
  }
  .prompt-list {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-block: 12px 16px;
  }
  .prompt-list button {
    font-size: 10px;
    padding: 12px;
  }
  .sample-rules summary {
    font-size: 11px;
  }
  .demo-disclaimer {
    max-width: 100%;
    margin-block: 13px 0;
  }
  .messages {
    height: 300px;
  }
  .demo-chat-head strong {
    font-size: 12px;
  }
  .demo-chat-head div > span {
    font-size: 9px;
  }
  .demo-badge {
    display: block;
    font-size: 6px;
  }
  .demo-suggestions {
    font-size: 8px;
    padding-inline: 18px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
  }
  .plan-card {
    padding: 27px;
  }
  .plan-card > p {
    min-height: 0;
    font-size: 12px;
  }
  .plan-price {
    font-size: 47px;
  }
  .plan-card li {
    font-size: 12px;
  }
  .plan-card .button {
    min-height: 46px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 48px;
  }
  .faq-list summary {
    font-size: 12px;
  }
  .closing-card {
    display: block;
    padding: 32px 26px;
  }
  .closing-card h2 {
    font-size: 35px;
  }
  .closing-card .button {
    margin-top: 17px;
  }
  .closing-card .eyebrow {
    font-size: 7px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 36px;
  }
  .site-footer nav {
    flex-wrap: wrap;
    gap: 20px;
    font-size: 11px;
  }
  .account-page .copy h1 {
    font-size: 38px;
  }
  .account-page .card {
    padding: 25px;
  }
  .account-page .back {
    font-size: 10px;
  }
  .dashboard-page .stat {
    padding: 18px;
  }
  .dashboard-page .stat strong {
    font-size: 31px;
  }
  .dashboard-page .stat:after {
    right: 12px;
    top: 12px;
  }
  .dashboard-page .stat label {
    font-size: 9px;
  }
  .dashboard-page .topbar .smallbtn:first-child {
    display: inline-flex;
  }
  .dashboard-page .top-actions {
    gap: 6px;
  }
  .dashboard-page .smallbtn {
    padding: 8px;
    font-size: 9px;
  }
  .dashboard-search span {
    display: none;
  }
  .dashboard-page .workspace-empty {
    margin: 20px;
    padding: 25px;
  }
  .dashboard-page .workspace-empty h1 {
    font-size: 25px;
  }
  .setup-page main {
    width: calc(100% - 32px);
    margin-top: 16px;
  }
  .setup-page .setup-title {
    margin-top: 33px;
  }
  .setup-page .setup-title h1 {
    font-size: 32px;
  }
  .setup-title p {
    font-size: 12px;
  }
  .setup-progress {
    padding: 14px 12px;
    gap: 8px;
  }
  .setup-progress > div {
    font-size: 9px;
    gap: 6px;
  }
  .setup-progress b {
    width: 23px;
    height: 23px;
  }
  .setup-page .card {
    padding: 23px 19px;
  }
  .setup-page .grid {
    grid-template-columns: 1fr;
  }
  .setup-page .card h2 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.setup-page .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.setup-page label {
  display: block;
}
.setup-page .setup-field {
  min-width: 0;
}
.setup-page .field-example {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.setup-page input,
.setup-page textarea {
  width: 100%;
}
.setup-page #testResults {
  font-size: 11px;
  line-height: 1.9;
  color: var(--green);
  margin-top: 12px;
}
.setup-page .card > p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.dashboard-page .sidebar-help {
  line-height: 1.8;
}
.account-page .btn.primary {
  box-shadow: none;
}
.account-page label {
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
  font-size: 12px;
}
.dashboard-page .pill.blue,
.dashboard-page .notice.blue {
  background: #edf3e6;
  color: #527445;
  border-color: #d4e3c6;
}
.dashboard-page .pill.green {
  background: #e6f0df;
  color: #3d6b40;
}
.dashboard-page .tablewrap {
  overflow-x: auto;
}
.dashboard-page .nav button.active:after {
  content: '';
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: #71924e;
}
.customer-page .field input:focus,
.customer-page .field textarea:focus,
.account-page input:focus {
  border-color: #81a06b;
  box-shadow: 0 0 0 3px #edf4df;
  outline: none;
}
@media (max-width: 550px) {
  .setup-page .grid {
    grid-template-columns: 1fr;
  }
}

.centered > p {
  max-width: none;
  margin: 17px auto 0;
}
.dashboard-page .dashboard-search label {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 11px;
}
.dashboard-page .dashboard-search input[type='checkbox'] {
  width: 15px;
  min-height: 15px;
  accent-color: var(--pine);
}
@media (max-width: 800px) {
  .visual-orbit {
    transform: none;
  }
}

.visual-orbit {
  transform: none;
  inset: -12px -12px 42px;
}
@media (max-width: 800px) {
  .visual-orbit {
    inset: 0 0 40px;
  }
}
.dashboard-page .card {
  min-width: 0;
}
.dashboard-page .layout2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 800px) {
  .dashboard-page .layout2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 550px) {
  #overviewLeads table {
    min-width: 0;
  }
  #overviewLeads th:nth-child(n + 3),
  #overviewLeads td:nth-child(n + 3) {
    display: none;
  }
  #overviewLeads .namecell {
    max-width: 190px;
    overflow-wrap: anywhere;
  }
  .dashboard-page .pagehead {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .dashboard-page .business-title span {
    display: block;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.logo-mark,
.customer-page .brand:before {
  font-size: 0 !important;
  color: transparent !important;
  background: #183f36
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dcefaa' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18 18 6M6 6h12v12'/%3E%3C/svg%3E")
    center/68% no-repeat;
}
.customer-page .brand:before {
  content: '';
}
.hero-actions .button span {
  font-family: Arial, sans-serif;
}
.dashboard-page #overviewLeads table {
  min-width: 0;
}
.dashboard-page #overviewLeads th:nth-child(3),
.dashboard-page #overviewLeads td:nth-child(3) {
  display: none;
}
.dashboard-page #overviewLeads .namecell {
  max-width: 220px;
  overflow-wrap: anywhere;
}
.dashboard-page #overviewLeads td {
  white-space: normal;
}
.dashboard-page #overviewLeads td:last-child {
  font-size: 10px;
}
.dashboard-page select {
  width: 100%;
  border: 1px solid #cedbcf;
  background: #fcfdf9;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  color: var(--pine);
}
#calendarStatus {
  font-size: 12px;
  color: var(--green);
  line-height: 1.8;
  margin: 0 0 18px;
  white-space: pre-wrap;
}
.booking-subhead {
  font-size: 15px;
  margin: 26px 0 12px;
}
.booking-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 12px;
}
.booking-service-row label {
  display: grid;
  gap: 7px;
  font-size: 11px;
}
.booking-service-row input {
  width: 100%;
  font-size: 12px;
}
.booking-service-row button {
  min-height: 43px;
}
.booking-hour-row {
  display: grid;
  grid-template-columns: 140px 130px 14px 130px;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.booking-hour-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.booking-hour-row input[type='time'] {
  width: 100%;
  font-size: 12px;
  padding: 9px;
}
.booking-enable {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 12px;
  font-size: 13px;
}
.booking-enable input,
.booking-hour-row input[type='checkbox'] {
  accent-color: var(--pine);
  width: 16px;
  height: 16px;
}
.dashboard-page .nav button[data-view='calendar']:before {
  content: '▦';
}
@media (max-width: 550px) {
  .booking-service-row {
    grid-template-columns: minmax(0, 1fr) 75px;
    gap: 9px;
  }
  .booking-service-row button {
    grid-column: 1/-1;
    justify-self: start;
    min-height: 30px;
  }
  .booking-hour-row {
    grid-template-columns: 95px minmax(0, 1fr) 10px minmax(0, 1fr);
    gap: 7px;
  }
  .booking-hour-row input[type='time'] {
    font-size: 11px;
    padding: 7px 4px;
  }
  .booking-enable {
    font-size: 12px;
  }
}
.outcome-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 140px 150px auto;
  gap: 14px;
  align-items: end;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.outcome-row small,
.human-message small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
}
.outcome-row label,
#serviceRequestForm label,
#inboxReply label {
  display: grid;
  gap: 8px;
  font-size: 12px;
}
.outcome-row input,
.outcome-row select,
#serviceRequestForm select,
#serviceRequestForm textarea,
#inboxReply textarea {
  width: 100%;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}
#inboxReply textarea,
#serviceRequestNotes {
  min-height: 110px;
}
#inboxReply,
#serviceRequestForm {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.inbox-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.human-message {
  border-left: 3px solid var(--green);
}
#inboxMessages {
  max-height: 550px;
  overflow: auto;
  margin: 18px 0;
}
#resultMetrics {
  margin-bottom: 24px;
}
#outcomeList {
  max-height: 650px;
  overflow: auto;
}
.view[data-panel='results'] > .card {
  margin-bottom: 22px;
}
#resultMetrics strong {
  font-size: clamp(20px, 2.7vw, 34px);
}
@media (max-width: 800px) {
  .outcome-row {
    grid-template-columns: 1fr 1fr;
  }
  .outcome-row > div {
    grid-column: 1/-1;
  }
  .outcome-row button {
    grid-column: 1/-1;
  }
}

/* Compact inbox: list and conversation share one workspace. */
.dashboard-page .attention-shortcut {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  border: 1px solid #dce4d6;
  background: #eef3e7;
  color: var(--pine);
  padding: 14px 18px;
  border-radius: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 20px;
}
.dashboard-page .attention-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.dashboard-page .attention-heading h2 {
  font-size: 18px;
  margin: 0;
}
.attention-heading h2 span {
  color: var(--muted);
  font-size: 14px;
}
.dashboard-page .attention-heading .text-link {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.dashboard-page #alerts {
  gap: 0;
  margin-bottom: 24px;
}
.dashboard-page #alerts:empty {
  display: none;
}
.attention-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.attention-chat {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 1.5fr) auto;
  gap: 16px;
  align-items: center;
  flex: 1;
  min-width: 0;
  text-align: left;
  padding: 12px 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}
.attention-chat b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
.attention-chat small {
  display: block;
  color: #8a5b25;
  font-size: 11px;
  margin-top: 4px;
}
.attention-preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}
.attention-open {
  font-size: 12px;
  color: var(--pine);
  font-weight: 700;
}
.attention-dismiss {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  min-height: 44px;
  padding: 8px;
}
.inbox-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  height: clamp(480px, 72dvh, 840px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px #173e3210;
}
.inbox-list-pane {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.inbox-list-tools {
  padding: 18px 16px 10px;
  border-bottom: 1px solid var(--line);
}
.dashboard-page #conversationSearch {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafbf7;
  color: var(--ink);
}
.inbox-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.inbox-filters button,
.attention-filter span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: white;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  color: var(--muted);
}
.inbox-filters button[aria-pressed='true'],
.attention-filter input:checked + span {
  background: var(--pine);
  border-color: var(--pine);
  color: white;
}
.attention-filter {
  position: relative;
  cursor: pointer;
}
.attention-filter input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.attention-filter input:focus-visible + span {
  outline: 3px solid #b9d6a1;
  outline-offset: 2px;
}
.attention-filter b {
  font-size: 10px;
  border-radius: 10px;
  padding: 2px 5px;
  background: #a6bba52e;
}
#conversationCount {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 2px 0;
}
#conversationList {
  overflow: auto;
  min-height: 0;
  overscroll-behavior: contain;
}
.conversation-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  padding: 17px 14px;
  border: 0;
  border-bottom: 1px solid #edf0e9;
  text-align: left;
  cursor: pointer;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.conversation-row:hover {
  background: #f5f7ef;
}
.conversation-row.selected {
  background: #eef3e7;
  box-shadow: inset 3px 0 var(--pine);
}
.conversation-row:focus-visible {
  outline: 3px solid #86a87b;
  outline-offset: -3px;
}
.conversation-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eaf0e4;
  color: var(--pine);
  font-size: 13px;
  font-weight: 700;
}
.conversation-copy {
  display: block;
  flex: 1;
  min-width: 0;
}
.conversation-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: space-between;
}
.conversation-top b {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.conversation-top time {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.conversation-preview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.conversation-label {
  display: inline-block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.conversation-label.attention {
  color: #965c1e;
  font-weight: 750;
}
.conversation-label.attention:before {
  content: '●';
  font-size: 8px;
  margin-right: 5px;
}
.conversation-chevron {
  color: #94a18f;
  align-self: center;
  font-size: 20px;
}
.inbox-thread {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fbfcf8;
  position: relative;
}
.inbox-empty,
.inbox-loading {
  margin: auto;
  padding: 30px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.inbox-empty > span {
  display: block;
  font-size: 32px;
  color: var(--pine);
  margin-bottom: 12px;
}
.inbox-empty h2 {
  font-size: 19px;
  color: var(--pine);
  margin-bottom: 8px;
}
.inbox-thread-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: white;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.inbox-person {
  min-width: 0;
  flex: 1;
}
.inbox-person h2 {
  font-size: 16px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inbox-person p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 5px 0 0;
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.inbox-person a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inbox-back {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--pine);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 22px;
  cursor: pointer;
  flex-shrink: 0;
}
.inbox-options {
  position: relative;
}
.inbox-options summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}
.inbox-options summary::-webkit-details-marker {
  display: none;
}
.inbox-options .inbox-actions {
  position: absolute;
  top: 44px;
  right: 0;
  z-index: 3;
  margin: 0;
  padding: 6px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 28px #183e3220;
}
.inbox-actions button {
  padding: 13px 12px;
  border: 0;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.inbox-actions button:hover {
  background: #f2f5ec;
}
.inbox-actions button:disabled {
  opacity: 0.4;
  cursor: default;
}
.inbox-actions [data-inbox='close'] {
  color: #a34a37;
}
#inboxMode {
  flex-shrink: 0;
  background: #f0f4e9;
  color: #4a6549;
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
  padding: 9px 22px;
  border-bottom: 1px solid #e6ecdf;
}
.dashboard-page #inboxMessages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 24px 22px;
}
.inbox-bubble {
  max-width: 88%;
  border: 1px solid #e3e8dc;
  background: white;
  border-radius: 14px 14px 14px 3px;
  padding: 12px 14px;
  align-self: flex-start;
  overflow-wrap: anywhere;
}
.inbox-bubble p {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0 0;
}
.inbox-bubble-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 9px;
  color: var(--muted);
}
.inbox-bubble-meta b {
  font-size: 10px;
}
.inbox-bubble-meta time {
  white-space: nowrap;
}
.inbox-bubble.assistant {
  background: #eef2e7;
  border-color: #eef2e7;
  align-self: flex-end;
  border-radius: 14px 14px 3px 14px;
}
.inbox-bubble.team {
  background: var(--pine);
  border-color: var(--pine);
  color: white;
  align-self: flex-end;
  border-radius: 14px 14px 3px 14px;
}
.inbox-bubble.team .inbox-bubble-meta {
  color: #e0eadc;
}
.inbox-composer {
  flex-shrink: 0;
  background: white;
  padding: 15px 20px 10px;
  border-top: 1px solid var(--line);
}
.dashboard-page #inboxReply {
  margin: 0;
  display: block;
}
.inbox-compose-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.dashboard-page #inboxReplyText {
  resize: none;
  min-height: 52px;
  max-height: 150px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 10px;
  padding: 12px;
  flex: 1;
}
.inbox-compose-row .btn {
  flex-shrink: 0;
  min-height: 48px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.inbox-compose-row .btn:disabled {
  opacity: 0.45;
  cursor: default;
}
#inboxReplyHint,
#inboxStatus {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  margin: 7px 0 0;
}
#inboxStatus:empty {
  display: none;
}
.dashboard-page #threadDetail [hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .attention-chat {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 10px;
  }
  .attention-preview {
    grid-column: 1;
    grid-row: 2;
  }
  .attention-open {
    grid-column: 2;
    grid-row: 1/3;
  }
  .attention-dismiss {
    font-size: 10px;
    padding: 4px;
  }
  .attention-heading .text-link {
    font-size: 11px;
  }
  .dashboard-page .attention-heading h2 {
    font-size: 17px;
  }
  .inbox-layout {
    display: block;
    height: auto;
    min-height: 300px;
    border-radius: 13px;
  }
  .inbox-list-pane {
    border-right: 0;
  }
  .inbox-list-tools {
    padding: 15px;
  }
  .conversation-row {
    padding: 17px 15px;
  }
  .conversation-top b {
    font-size: 14px;
  }
  .conversation-preview {
    font-size: 13px;
  }
  .conversation-label {
    font-size: 11px;
  }
  .conversation-top time {
    font-size: 11px;
  }
  .conversation-avatar {
    width: 37px;
    height: 37px;
  }
  .inbox-layout:not(.thread-open) .inbox-thread {
    display: none;
  }
  .inbox-pagehead {
    margin-bottom: 18px !important;
  }
  .inbox-pagehead h1 {
    font-size: 28px !important;
  }
  body.chat-open {
    overflow: hidden;
  }
  .inbox-layout.thread-open .inbox-thread {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 100;
    top: var(--inbox-top, 0px);
    bottom: auto;
    height: var(--inbox-height, 100dvh);
    width: 100%;
    border: 0;
    border-radius: 0;
    padding-top: env(safe-area-inset-top);
  }
  .inbox-thread-head {
    padding: 12px 14px;
    gap: 10px;
  }
  .inbox-back {
    display: block;
  }
  .inbox-person h2 {
    font-size: 15px;
  }
  .inbox-person p {
    font-size: 11px;
  }
  .dashboard-page #inboxMessages {
    padding: 18px 14px;
    gap: 14px;
  }
  .inbox-bubble {
    max-width: 94%;
    padding: 11px 13px;
  }
  .inbox-bubble p {
    font-size: 14px;
  }
  #inboxMode {
    padding: 9px 16px;
    font-size: 11px;
  }
  .inbox-composer {
    padding: 12px 12px max(12px, env(safe-area-inset-bottom));
  }
  .dashboard-page #inboxReplyText {
    font-size: 16px;
  }
  .inbox-compose-row {
    gap: 8px;
  }
  .inbox-compose-row .btn {
    min-height: 48px;
    padding: 11px 13px;
    font-size: 12px;
  }
  .inbox-bubble-meta {
    gap: 8px;
  }
  #inboxReplyHint,
  #inboxStatus {
    font-size: 11px;
  }
  .inbox-layout.thread-open .inbox-list-pane {
    visibility: hidden;
  }
}

/* Results show bookings automatically; outcome controls open only when needed. */
.results-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.results-card-heading h2 {
  margin: 0 0 7px;
}
.results-card-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.auto-badge {
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
  color: var(--pine);
  background: #edf3e5;
  border-radius: 20px;
  padding: 7px 10px;
}
.results-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}
.results-tabs button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  font: inherit;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.results-tabs button[aria-pressed='true'] {
  background: var(--pine);
  color: white;
  border-color: var(--pine);
}
.scheduled-card > .text-link {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 8px 0;
  font: inherit;
  font-size: 12px;
  color: var(--pine);
}
#scheduledStatus {
  font-size: 11px;
}
#scheduledAppointments {
  max-height: 420px;
  overflow: auto;
}
.scheduled-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.scheduled-row > div {
  min-width: 0;
}
.scheduled-row b {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.scheduled-row p {
  font-size: 12px;
  line-height: 1.5;
  margin: 6px 0;
  color: var(--ink);
}
.scheduled-row small {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.results-footnote {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin: 15px 0 0;
}
.outcome-toolbar {
  display: flex;
  gap: 10px;
}
.outcome-toolbar input,
.outcome-toolbar select {
  min-height: 44px;
  min-width: 0;
  font: inherit;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  background: #fafbf7;
  color: var(--ink);
}
.outcome-toolbar input {
  flex: 1;
}
.outcome-toolbar select {
  width: 140px;
}
.outcome-list-info {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  color: var(--muted);
  font-size: 11px;
}
.outcome-list-info label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.outcome-list-info input {
  width: 16px;
  height: 16px;
  accent-color: var(--pine);
}
.dashboard-page #outcomeList {
  max-height: 480px;
  overflow: auto;
}
.outcome-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: white;
  text-align: left;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.outcome-item:hover {
  background: #f7f9f2;
}
.outcome-item:disabled {
  cursor: default;
}
.outcome-person {
  flex: 1;
  min-width: 0;
}
.outcome-person b {
  font-size: 14px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.outcome-person small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.outcome-badge {
  display: inline-block;
  flex-shrink: 0;
  padding: 6px 9px;
  border-radius: 15px;
  background: #f0f2ec;
  color: #61715c;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.outcome-badge.won {
  background: #e8f2df;
  color: #355e31;
}
.outcome-badge.lost {
  background: #f5ebe6;
  color: #8b5845;
}
#outcomeEditor {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
  color: var(--ink);
  background: white;
  box-shadow: 0 20px 80px #173e3233;
}
#outcomeEditor::backdrop {
  background: #102c2680;
}
#outcomeEditor:not([open]) {
  display: none;
}
.outcome-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.outcome-editor-head h2 {
  font-size: 20px;
  margin: 0;
}
.outcome-editor-head button {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 50%;
  font-size: 23px;
  color: var(--ink);
  cursor: pointer;
}
#outcomeEditorName {
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
  margin: 15px 0 6px;
}
#outcomeCurrentStatus {
  font-size: 12px;
  margin: 0 0 22px;
}
.outcome-choices {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
  border: 0;
}
.outcome-choices legend {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 9px;
}
.outcome-choices label {
  flex: 1;
  position: relative;
}
.outcome-choices input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.outcome-choices span {
  display: block;
  text-align: center;
  padding: 13px 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}
.outcome-choices input:checked + span {
  background: var(--pine);
  color: white;
  border-color: var(--pine);
}
.outcome-choices input:focus-visible + span {
  outline: 3px solid #b9d6a1;
  outline-offset: 2px;
}
#outcomeValueField {
  display: grid;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
}
#outcomeValueField[hidden] {
  display: none !important;
}
#outcomeValueField input {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  font: inherit;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
#outcomeValueField small {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--muted);
}
#outcomeEditorStatus {
  font-size: 12px;
  color: #a14632;
  line-height: 1.5;
}
.outcome-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.outcome-editor-actions .btn {
  min-height: 44px;
}
.outcome-editor-actions .btn:disabled {
  opacity: 0.5;
}
.rules-form .field label {
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 750;
}
.rules-form h2 {
  font-size: 20px;
}
.rules-form .field-help {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.rule-example {
  font-size: 12px;
  margin-top: 8px;
}
.rule-example summary {
  color: var(--pine);
  cursor: pointer;
  min-height: 30px;
  padding: 5px 0;
}
.rule-example p {
  margin: 6px 0 0;
  padding: 12px 14px;
  background: #f2f5eb;
  border-radius: 9px;
  color: #466143;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.rules-form #tone,
.rules-form #greeting {
  min-height: 80px;
  line-height: 1.6;
}
.rules-form textarea {
  line-height: 1.6;
}
@media (max-width: 600px) {
  .results-card-heading h2 {
    font-size: 20px;
  }
  .results-card-heading p {
    font-size: 12px;
  }
  .scheduled-row {
    gap: 9px;
  }
  .scheduled-row p {
    font-size: 12px;
  }
  .outcome-item {
    padding: 18px 0;
    gap: 8px;
  }
  .outcome-person b {
    font-size: 13px;
  }
  .outcome-badge {
    font-size: 10px;
    padding: 6px 8px;
  }
  .outcome-toolbar {
    gap: 7px;
  }
  .outcome-toolbar select {
    width: 120px;
    font-size: 12px;
    padding: 10px 7px;
  }
  .outcome-toolbar input {
    font-size: 13px;
    padding: 10px;
  }
  .outcome-list-info {
    font-size: 10px;
  }
  .outcome-list-info label {
    font-size: 10px;
  }
  #outcomeEditor {
    position: fixed;
    top: auto;
    bottom: calc(100dvh - var(--inbox-height, 100dvh) - var(--inbox-top, 0px));
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    max-height: calc(var(--inbox-height, 100dvh) - 24px);
    margin: 0;
    border-radius: 20px 20px 0 0;
    padding: 23px 20px max(23px, env(safe-area-inset-bottom));
  }
  .outcome-editor-actions .btn {
    flex: 1;
  }
  .rules-form .field-help {
    font-size: 12px;
  }
}
.scheduled-card .text-link[hidden] {
  display: none !important;
}
.tracking-help {
  font-size: 11px;
  margin-top: 12px;
  color: var(--muted);
}
.tracking-help summary {
  color: var(--pine);
  cursor: pointer;
  min-height: 30px;
  padding: 7px 0;
}
.tracking-help p {
  font-size: 11px;
  line-height: 1.6;
  margin: 5px 0 10px;
}
