@font-face {
  font-family: Questrial;
  src: url('./fonts/Questrial.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url('./fonts/Fraunces.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('./fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('./fonts/DMSans.ttf') format('truetype');
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('./fonts/Manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url('./fonts/Lora.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('./fonts/PlayfairDisplay.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}
:root {
  font:
    14px/1.45 Questrial,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: hsl(34 16% 12%);
  background: #fff;
  --paper: #fff;
  --line: hsl(38 22% 86%);
  --muted-ink: hsl(36 10% 40%);
  --green: hsl(150 58% 30%);
  --dark: hsl(34 18% 10%);
  --light: hsl(146 38% 92%);
  --space: clamp(18px, 3.3vw, 48px);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)),
input:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)),
select:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)),
textarea:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)) {
  font: inherit;
}
button:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)),
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--dark);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
button:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)):hover,
.button:hover {
  background: #edf3ed;
}
button:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)):disabled {
  opacity: 0.63;
  cursor: wait;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover {
  background: hsl(150 62% 22%);
}
.secondary {
  background: #f7faf7;
}
.quiet {
  background: transparent;
  border-color: transparent;
  color: var(--green);
}
a {
  color: var(--green);
}
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
svg {
  flex: none;
  vertical-align: middle;
}
img {
  object-fit: contain;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.3rem, 5vw, 3.45rem);
  font-weight: 735;
}
h2 {
  font-size: 1.4rem;
}
h3 {
  font-size: 1.05rem;
}
p,
small {
  color: var(--muted-ink);
}
small {
  font-size: 0.81rem;
}
[hidden] {
  display: none !important;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: fixed;
  z-index: 10;
  margin: 8px;
  padding: 10px 15px;
  background: white;
}
.layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 29px;
  background: var(--dark);
  color: #f5faf1;
  padding: 28px 15px 17px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.57rem;
  font-weight: 760;
  color: inherit;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
.sidebar .wordmark {
  margin-left: 7px;
}
.wordmark small,
.workspace small {
  display: block;
  letter-spacing: 0;
  color: hsl(38 12% 80%);
  margin-top: 6px;
  font-weight: 450;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
}
.workspace {
  padding: 0 7px;
}
.workspace > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.avatar {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3ebe2;
  color: #315140;
  font-size: 0.78rem;
  font-weight: 720;
}
.sidebar .avatar {
  background: hsl(33 14% 19%);
  color: #e4f0dd;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.sidebar nav a {
  color: hsl(40 30% 96%);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.sidebar nav a:hover {
  background: hsl(33 14% 19%);
}
.sidebar nav a[aria-current] {
  background: var(--green);
  color: white;
  font-weight: 700;
}
.layout > main {
  padding: 0 var(--space) var(--space);
  min-width: 0;
}
.page-header {
  min-height: 124px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding: 26px 0 24px;
}
.page-header p {
  margin-top: 7px;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.filters {
  display: flex;
  gap: 6px;
  padding: 14px 13px;
  border-bottom: 1px solid var(--line);
}
.pill {
  min-height: 31px;
  padding: 5px 12px;
  background: transparent;
  font-size: 0.83rem;
  border-color: transparent;
}
.pill.active {
  background: var(--light);
  color: var(--green);
}
.conversation-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.outgoing small {
  text-align: right;
}
.composer-footer {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
  flex-wrap: wrap;
}
.composer-footer span {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-ink);
}
.empty {
  padding: 23px;
  color: var(--muted-ink);
}
.center {
  align-self: center;
  text-align: center;
}
label:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)) {
  display: grid;
  gap: 5px;
  font-size: 0.92rem;
  font-weight: 650;
}
input:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)),
select:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)),
textarea:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)) {
  border: 1px solid hsl(38 18% 82%);
  border-radius: 7px;
  background: white;
  color: #162c20;
  padding: 9px 10px;
  width: 100%;
  min-width: 0;
}
textarea:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)) {
  resize: vertical;
}
form:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)) {
  display: grid;
  gap: 13px;
  align-items: start;
}
form:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)) > button {
  justify-self: start;
}
.switch-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  cursor: pointer;
}
.switch {
  appearance: none;
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: background-color 200ms;
}
.switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: hsl(40 38% 94%);
  box-shadow: 0 1px 3px #241c1640;
  transition: transform 200ms;
}
.switch:checked {
  background: var(--green);
}
.switch:checked::after {
  transform: translateX(100%);
}
@media (prefers-reduced-motion: reduce) {
  .switch,
  .switch::after {
    transition: none;
  }
}
.error {
  color: #8d2424;
}
.table-scroll {
  overflow-x: auto;
}
table:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)) {
  border-collapse: collapse;
  width: 100%;
}
th:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)),
td:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)) {
  border-top: 1px solid var(--line);
  text-align: left;
  padding: 10px 14px;
}
th:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)) {
  color: var(--muted-ink);
  font-size: 0.8rem;
}
.badge {
  display: inline-flex;
  vertical-align: middle;
  border-radius: 20px;
  padding: 3px 9px;
  background: #edf1ee;
  color: #42564b;
  font-weight: 640;
  letter-spacing: 0;
  font-size: 0.76rem;
  white-space: nowrap;
}
.badge.good {
  background: #e5efd9;
  color: #2c5629;
}
.badge.pending {
  background: #fff0cd;
  color: #754518;
}
.tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.tabs a {
  white-space: nowrap;
  padding: 8px 9px 12px;
  text-decoration: none;
  color: var(--muted-ink);
}
.tabs a[aria-current] {
  border-bottom: 2px solid var(--green);
  color: var(--green);
  font-weight: 730;
}
.settings-content {
  padding: 18px 0;
}
.settings-panel {
  padding: 19px;
}
.settings-panel h2 {
  margin-bottom: 13px;
}
.settings-panel p {
  margin-bottom: 10px;
}
.settings-panel hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}
.settings-panel small {
  display: block;
}
.copy-value {
  margin: 9px 0;
}
.copy-value span {
  display: flex;
  gap: 6px;
}
.copy-value input {
  font:
    0.82rem ui-monospace,
    monospace;
}
.form-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.entry {
  width: min(100% - 34px, 760px);
  margin: 34px auto;
}
.entry .wordmark {
  color: var(--green);
}
.entry .wordmark span {
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: 0;
}
.auth-panel {
  max-width: 440px;
  margin: 30px auto;
}
.auth-panel h1,
.install-guide h1 {
  margin-block: 8px 12px;
}
.auth-panel form {
  margin: 20px 0 12px;
}
.install-guide {
  margin: 24px auto;
}
.steps {
  padding-left: 25px;
}
.steps li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.steps h2 {
  margin-bottom: 7px;
}
code,
pre {
  background: var(--light);
  padding: 2px 4px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
pre {
  padding: 10px 13px;
}
dialog {
  width: min(510px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  inset: 0;
  overflow: auto;
  background: var(--paper);
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
}
dialog::backdrop {
  background: rgb(0 0 0 / 64%);
}
.dialog-inner {
  padding: 24px;
}
.dialog-inner h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.welcome {
  text-align: center;
}
.welcome img {
  display: block;
  margin-inline: auto;
  width: 96px;
  height: 150px;
  object-fit: contain;
}
.dialog-inner:has(.welcome) h2 {
  text-align: center;
}
.welcome p {
  margin: 10px 0;
}
.welcome-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
#notice {
  display: none;
  z-index: 5;
  position: fixed;
  bottom: 18px;
  right: 18px;
  max-width: min(420px, calc(100% - 36px));
  border-radius: 9px;
  padding: 12px 16px;
  background: var(--dark);
  color: white;
}
#notice.shown,
#notice.error-notice {
  display: block;
}
#notice.error-notice {
  background: #762c2c;
}
@media (max-width: 860px) {
  .layout {
    grid-template-columns: 175px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 10px;
  }
}
@media (max-width: 670px) {
  .layout {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    gap: 10px;
    padding: 14px 12px 10px;
  }
  .sidebar .wordmark {
    margin-left: 0;
  }
  .sidebar nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
  }
  .sidebar nav a {
    justify-content: center;
    padding: 8px 2px;
    gap: 4px;
    font-size: clamp(0.72rem, 3vw, 0.92rem);
  }
  .sidebar nav svg {
    width: 15px;
  }
  .workspace {
    display: none;
  }
  .page-header {
    min-height: 99px;
    align-items: start;
  }
  .conversation-head {
    padding: 8px 12px;
  }
  .tabs {
    flex-wrap: wrap;
    gap: 3px 8px;
  }
  .tabs a {
    padding: 7px 4px;
  }
}
@media (max-width: 380px) {
  .page-header {
    flex-wrap: wrap;
  }
  .conversation-head .secondary {
    font-size: 0.8rem;
    padding: 6px;
  }
}

/* Chrome and form treatments from the current Seedly CRM demo. */
:root {
  --crm-heading: Fraunces, Georgia, serif;
  --space: clamp(18px, 3.55vw, 57px);
}
h1,
h2,
h3 {
  font-family: var(--crm-heading);
  letter-spacing: -0.025em;
}
h1 {
  font-size: 23px;
  font-weight: 650;
}
h2 {
  font-size: 17px;
  font-weight: 640;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
button:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)),
.button {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 550;
}
input:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)),
select:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)),
textarea:not(:where(.native-workspace *, [data-radix-popper-content-wrapper] *)) {
  padding: 6px 10px;
  border-radius: 6px;
}
.layout {
  grid-template-columns: 208px minmax(0, 1fr);
}
.sidebar {
  background: var(--dark);
  align-self: start;
  gap: 0;
  padding: 0 12px 14px;
  border-right: 1px solid hsl(33 14% 19%);
  overflow-y: auto;
}
.sidebar .wordmark {
  font-family: var(--crm-heading);
  font-size: 20px;
  align-self: center;
  height: 63px;
  margin: 0;
  color: #f8f3e7;
  gap: 10px;
}
.brand-dot {
  color: #52a57d;
}
.workspace {
  display: block;
  margin: 8px 0 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--paper);
  color: hsl(34 16% 12%);
  min-height: 28px;
}
.sidebar-search {
  display: flex;
  justify-content: flex-start;
  min-height: 28px;
  width: 100%;
  padding: 3px 8px;
  gap: 7px;
  color: var(--muted-ink);
}
.sidebar-search svg {
  width: 15px;
  height: 15px;
}
.sidebar-search kbd {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 4px;
  font-size: 10px;
}
.sidebar nav {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  margin-top: 24px;
  gap: 3px;
}
.sidebar nav a[href="#settings"] {
  margin-top: auto;
}
.sidebar nav a {
  font-family: var(--crm-heading);
  gap: 11px;
  padding: 9px 12px;
  color: #c9bdad;
}
.sidebar nav a[aria-current] {
  background: #e9eee4;
  color: #20291e;
  font-weight: 620;
}
.sidebar nav a[aria-current] svg {
  color: var(--green);
}
.work-area {
  min-width: 0;
}
.work-area > main {
  min-width: 0;
  padding: 0 var(--space) 34px;
}
.crm-topbar {
  position: sticky;
  z-index: 4;
  top: 0;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.crm-topbar .tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  gap: 1px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 1px 2px #20150d08;
}
.crm-topbar .tabs a {
  padding: 6px 13px;
  font: 400 13px/1.4 var(--crm-heading);
  border: 0;
  border-radius: 5px;
  color: hsl(34 16% 12%);
}
.crm-topbar .tabs a:hover {
  background: hsl(40 30% 93%);
}
.crm-topbar .tabs a[aria-current] {
  color: #fff;
  background: var(--dark);
}
.mobile-menu {
  display: none;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}
.account-menu {
  position: relative;
}
.account-menu summary {
  list-style: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  background: var(--green);
  color: #fff;
}
.account-menu summary::-webkit-details-marker {
  display: none;
}
.account-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 172px;
  display: grid;
  gap: 3px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 12px;
  background: var(--paper);
  box-shadow: 0 6px 14px #20150d14;
}
.account-popover a,
.account-popover button {
  margin-top: 5px;
}
.page-header {
  min-height: auto;
  align-items: center;
  padding: 30px 0 0;
}
.page-header p {
  margin-top: 6px;
}
.page-header:has(> .settings-header-actions) {
  flex-wrap: wrap;
}
.settings-header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.settings-content {
  padding: 16px 0;
}
.panel {
  border-radius: 8px;
  box-shadow: 0 5px 14px #20150d0d;
}
.settings-panel {
  padding: 18px 20px;
}
.settings-panel > h2:first-child {
  margin: -18px -20px 18px;
  padding: 12px 20px;
  min-height: 43px;
  border-radius: 7px 7px 0 0;
  background: var(--dark);
  color: #f7f3ea;
  font-size: 13px;
  letter-spacing: 0;
}
.settings-panel > h2 .badge {
  margin-left: 6px;
}
.settings-panel h2 + form {
  margin-top: 1px;
}
.setup-connections {
  list-style: none;
  margin: 0;
  padding: 0;
}
.setup-connections li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-block: 14px;
}
.setup-connections li:first-child {
  padding-top: 0;
}
.setup-connections li:last-child {
  padding-bottom: 0;
}
.setup-connections li + li {
  border-top: 1px solid var(--line);
}
.setup-connections h3 {
  font:
    650 14px/1.4 Questrial,
    sans-serif;
  letter-spacing: 0;
}
.setup-connections h3 .badge {
  margin-left: 5px;
}
.setup-connections p {
  margin: 3px 0 0;
}
.connection-webhooks input {
  min-width: 0;
}
.search-result {
  display: flex;
  justify-content: space-between;
  width: 100%;
  white-space: normal;
  text-align: left;
}
#workspace-results {
  margin-top: 8px;
}
.work-area > .page-inbox {
  padding: 0;
}
.filters {
  padding: 2px;
  margin-top: 10px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.pill.active {
  background: var(--dark);
  color: #fff;
}
[data-sprout-focus] {
  border-radius: 7px;
  outline: 2px solid var(--green);
  outline-offset: 5px;
  scroll-margin-top: 85px;
}
.sprout-dock {
  --sprout-top: calc(76px + env(safe-area-inset-top));
  --sprout-gutter: 18px;
  --sprout-right: max(var(--sprout-gutter), env(safe-area-inset-right));
  --sprout-bottom: max(12px, env(safe-area-inset-bottom));
  --sprout-face-width: 62px;
  position: fixed;
  right: var(--sprout-right);
  bottom: var(--sprout-bottom);
  z-index: 11;
  pointer-events: none;
}
.sprout-character {
  display: block;
  min-height: 0;
  padding: 0;
  border: none;
  background: transparent !important;
  cursor: pointer;
  pointer-events: auto;
}
.sprout-face {
  display: block;
  position: relative;
  width: var(--sprout-face-width);
  aspect-ratio: 504 / 844;
  filter: drop-shadow(0 4px 6px #20150d29);
  transition: transform 0.2s ease;
}
.sprout-face img,
.sprout-mouth {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.coach-closed .sprout-character:hover .sprout-face {
  transform: translateY(-4px);
}
.sprout-mouth,
.sprout-mouth g {
  visibility: hidden;
}
.is-speaking .sprout-mouth {
  visibility: visible;
}
.is-speaking .sprout-mouth-closed {
  animation: sprout-closed 0.55s steps(1) infinite;
}
.is-speaking .sprout-mouth-mid {
  animation: sprout-mid 0.55s steps(1) infinite;
}
.is-speaking .sprout-mouth-open {
  animation: sprout-open 0.55s steps(1) infinite;
}
@keyframes sprout-closed {
  0%,
  88% {
    visibility: visible;
  }
  20% {
    visibility: hidden;
  }
}
@keyframes sprout-mid {
  0%,
  58% {
    visibility: hidden;
  }
  20%,
  72% {
    visibility: visible;
  }
  36%,
  88% {
    visibility: hidden;
  }
}
@keyframes sprout-open {
  0%,
  58% {
    visibility: hidden;
  }
  36% {
    visibility: visible;
  }
}
.speech-bubble {
  position: fixed;
  top: var(--sprout-top);
  right: var(--sprout-right);
  display: flex;
  flex-direction: column;
  width: min(
    600px,
    calc(100vw - var(--sprout-right) - max(var(--sprout-gutter), env(safe-area-inset-left)))
  );
  max-height: min(
    750px,
    calc(
      100dvh - var(--sprout-top) - var(--sprout-bottom) - var(--sprout-face-width) * 844 / 504 -
        12px
    )
  );
  padding: 18px 20px;
  border: 1px solid hsl(34 14% 16%);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 12px 32px #20150d26;
  pointer-events: auto;
}
.coach-header,
.guide-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: space-between;
}
.coach-header {
  color: var(--muted-ink);
  font-size: 13px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.coach-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.coach-header .coach-grip {
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.coach-header .coach-grip:active {
  cursor: grabbing;
}
.coach-grip svg {
  width: 14px;
  height: 14px;
}
.coach-header strong,
.coach-header span {
  display: block;
}
.coach-header strong {
  color: var(--dark);
}
.coach-header button {
  padding: 2px 6px;
  min-height: 22px;
  font-size: 12px;
}
.coach-content {
  overflow: auto;
  scrollbar-width: thin;
  padding: 3px 4px;
  margin-inline: -4px;
}
.coach-content h2 {
  font-size: 21px;
}
.coach-content h2:focus {
  outline: none;
}
.guide-say {
  margin-top: 7px;
  color: hsl(34 16% 12%);
}
.guide-tasks {
  padding-left: 17px;
  margin: 7px 0;
}
.guide-tasks li {
  margin: 4px 0;
}
.guide-external,
.guide-test-actions,
.guide-next-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.guide-external,
.guide-test-actions {
  margin: 10px 0;
}
.guide-external .button {
  white-space: normal;
  text-align: left;
}
.guide-controls {
  margin-top: 12px;
}
.guide-next-actions {
  justify-content: flex-end;
}
.guide-unsaved {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-size: 13px;
}
.guide-unsaved .guide-test-actions {
  margin: 5px 0 0;
}
.guide-screenshot {
  margin: 14px 0 0;
}
.guide-screenshot img {
  display: block;
  width: 100%;
  max-height: 43dvh;
  object-fit: contain;
  object-position: left center;
}
.guide-readiness {
  margin-block: 8px;
  font-size: 0.82rem;
}
.guide-readiness .guide-connection {
  display: grid;
  gap: 2px;
  margin: 0 0 5px;
}
.guide-readiness summary {
  color: var(--green);
  cursor: pointer;
}
.guide-readiness ul {
  display: grid;
  list-style: none;
  padding: 0;
}
.guide-readiness li {
  border-top: 1px solid var(--line);
  padding: 7px 0;
}
.guide-readiness li > span {
  margin-left: 8px;
  color: var(--muted-ink);
}
.guide-readiness li > p {
  margin: 2px 0;
}
.guide-screenshot figcaption {
  margin-top: 5px;
  color: var(--muted-ink);
  font-size: 12px;
}
.agent-permission-summary {
  margin: 12px 0;
  padding-inline-start: 20px;
}
.agent-permission-details summary {
  cursor: pointer;
  font-size: 13px;
}
.agent-permission-details .switch-label {
  margin-top: 8px;
}
@media (max-width: 760px) {
  .coach-header .coach-grip {
    min-height: 36px;
  }
  .layout {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .menu-open .sidebar {
    display: flex;
    position: fixed;
    z-index: 10;
    inset: 55px auto 0 0;
    width: 208px;
    height: calc(100dvh - 55px);
    box-shadow: 6px 0 16px #20150d32;
  }
  .crm-topbar {
    height: 55px;
    padding: 0 8px;
  }
  .crm-topbar .tabs {
    flex: 1;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .crm-topbar .tabs a {
    padding: 6px 8px;
    font-size: 12px;
  }
  .mobile-menu {
    display: inline-flex;
    min-width: 32px;
    padding: 4px;
  }
  .sprout-dock {
    --sprout-top: calc(63px + env(safe-area-inset-top));
    --sprout-gutter: 8px;
    --sprout-bottom: max(8px, env(safe-area-inset-bottom));
    --sprout-face-width: 44px;
  }
  .speech-bubble h2 {
    font-size: 16px;
  }
  .speech-bubble {
    max-height: min(
      63dvh,
      calc(
        100dvh - var(--sprout-top) - var(--sprout-bottom) - var(--sprout-face-width) * 844 / 504 -
          12px
      )
    );
  }
}
@media (prefers-reduced-motion: reduce) {
  .sprout-mouth,
  .sprout-mouth g {
    animation: none !important;
    visibility: hidden !important;
  }
  .sprout-face {
    transition: none !important;
  }
}

/* Seedly list, inbox, and board primitives. */
.module-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.active-pipeline {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 12px;
}
.page-header h1 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-header h1 svg {
  width: 18px;
  height: 18px;
  color: var(--muted-ink);
}
.page-contacts,
.page-pipeline {
  --space: clamp(16px, 2.2vw, 32px);
}
.page-contacts .page-header,
.page-pipeline .page-header {
  border: 0;
  padding-bottom: 11px;
}
.icon-action {
  min-width: 30px;
  min-height: 30px;
  padding: 4px;
}
.icon-action svg {
  width: 16px;
  height: 16px;
}
.stage-count {
  background: #ffffff22;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 11px;
}
.conversation-head {
  padding: 9px 15px;
}
.conversation-head .avatar {
  width: 31px;
  height: 31px;
}
.composer-footer button svg {
  width: 15px;
  height: 15px;
}
.contact-notes {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 6px;
}
.contact-pane-empty {
  display: grid;
  place-items: center;
  text-align: center;
}
.contact-pane-empty > div {
  padding: 18px;
}
.contact-pane-empty svg {
  width: 27px;
  height: 27px;
  color: var(--muted-ink);
}
.contact-pane-empty h2 {
  margin: 12px 0 5px;
}
@media (max-width: 760px) {
  .module-tabs {
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .active-pipeline {
    font-size: 12px;
  }
}
