:root {
  --ink: #172e2b;
  --muted: #72807c;
  --accent: #16786c;
  --accent-hover: #105e54;
  --bg: #f6f7f3;
  --line: #e3e8e1;
  --soft: #edf4ee;
  --white: #fff;
  --danger: #a33e36;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin-bottom: 12px;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
h3 {
  font-size: 16px;
  margin-bottom: 7px;
}
p {
  color: var(--muted);
}
small {
  font-size: 12px;
}
hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 11px 17px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: background 0.15s;
}
.button:hover {
  background: var(--accent-hover);
  text-decoration: none;
}
.button-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.button-secondary:hover {
  background: var(--soft);
}
.button-danger {
  color: var(--danger);
  background: #fff7f5;
  border-color: #ead2ce;
}
.button-danger:hover {
  background: #fbe9e5;
}
.button-small {
  font-size: 12px;
  padding: 7px 11px;
}
.button-large {
  padding: 15px 23px;
  font-size: 14px;
}
.button-full {
  width: 100%;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.text-link {
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin: 8px 0;
}
.text-button {
  border: 0;
  background: none;
  padding: 8px 0;
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--accent);
  margin-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.8px;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: white;
  background: var(--accent);
  border-radius: 10px;
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
}
.brand-dot {
  font-size: 9px;
  padding: 3px 5px;
  letter-spacing: 0.5px;
  border: 1px solid #77978c;
  border-radius: 4px;
}
.brand-light {
  color: #eff4ec;
}
.brand-light .brand-mark {
  background: #d9e8a9;
  color: #1a3832;
}
.status-dot {
  height: 7px;
  width: 7px;
  background: #42b28c;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.status-dot.paused {
  background: #c1a064;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  border-radius: 5px;
  padding: 4px 8px;
  color: #36745c;
  background: #edf5ed;
  white-space: nowrap;
}
.badge-won,
.badge-qualified {
  background: #e2f3e9;
  color: #24714d;
}
.badge-lost,
.badge-spam {
  background: #f8eae6;
  color: #9b5046;
}
.badge-contacted,
.badge-proposal {
  background: #edf0fb;
  color: #5a65a2;
}
.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;
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.public-header {
  max-width: 1240px;
  margin: auto;
  padding: 25px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.public-header nav {
  display: flex;
  gap: 30px;
}
.public-header nav a,
.login-link {
  font-size: 13px;
  color: var(--ink);
}
.hero {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  padding: 85px 35px 100px;
  align-items: center;
}
.hero h1 {
  font-size: 64px;
  letter-spacing: -3.5px;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 25px;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--accent);
}
.hero-copy > p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 470px;
  margin-bottom: 32px;
}
.hero-footnote {
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
}
.hero-visual {
  position: relative;
  padding: 25px 30px 5px;
  background: #e9eddf;
  border-radius: 26px;
  min-height: 455px;
  background-image: radial-gradient(#b8c6b3 0.7px, transparent 0.7px);
  background-size: 14px 14px;
}
.visual-label {
  font-size: 9px;
  text-align: center;
  letter-spacing: 1.7px;
  font-weight: 650;
  margin: 0 0 22px;
  color: #607565;
}
.showcase-chat {
  max-width: 365px;
  background: #fff;
  border: 1px solid #dce3d9;
  border-radius: 17px;
  margin: auto;
  box-shadow: 0 20px 50px #2b46251a;
  overflow: hidden;
  transform: rotate(-2deg);
}
.chat-demo-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px;
  border-bottom: 1px solid var(--line);
}
.chat-demo-header > span:last-child {
  margin-left: auto;
}
.chat-demo-header small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.assistant-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 23px;
}
.chat-demo-body {
  padding: 20px 18px;
}
.bubble {
  font-size: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  max-width: 88%;
  margin-bottom: 14px;
  line-height: 1.65;
}
.bubble.assistant {
  background: #f1f4ee;
}
.bubble.user {
  background: var(--accent);
  color: white;
  margin-left: auto;
}
.demo-request {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f9f4;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.demo-request strong,
.demo-request small {
  display: block;
  font-size: 10px;
}
.demo-request small {
  color: var(--muted);
  margin-top: 2px;
}
.check-icon {
  background: #ddebc9;
  border-radius: 50%;
  padding: 3px 7px;
  color: #326b45;
}
.demo-input {
  border-top: 1px solid var(--line);
  padding: 15px 18px;
  font-size: 12px;
  color: #9ba59b;
  display: flex;
  justify-content: space-between;
}
.demo-input span {
  color: #fff;
  background: var(--accent);
  border-radius: 5px;
  padding: 0 7px;
}
.floating-note {
  position: absolute;
  bottom: 7px;
  right: -19px;
  background: #fff;
  box-shadow: 0 9px 30px #34452e1a;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-radius: 10px;
  transform: rotate(2deg);
}
.floating-note > span {
  font-size: 24px;
  color: var(--accent);
}
.floating-note strong,
.floating-note small {
  display: block;
  font-size: 11px;
}
.floating-note small {
  font-size: 9px;
  color: var(--muted);
}
.example-label {
  font-size: 9px;
  text-align: center;
  margin: 16px 0 8px;
}
.features-section {
  background: #fff;
  padding: 70px 35px 85px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-heading,
.feature-grid {
  max-width: 1170px;
  margin: auto;
}
.section-heading h2,
.how-section h2,
.plans-section h2 {
  font-size: 37px;
  line-height: 1.2;
  letter-spacing: -1.3px;
  font-weight: 600;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 45px;
}
.feature-grid article {
  padding-right: 20px;
}
.feature-grid p {
  font-size: 13px;
  line-height: 1.8;
}
.feature-icon {
  display: inline-flex;
  width: 43px;
  height: 43px;
  background: var(--soft);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  border: 1px solid #dde7d8;
  border-radius: 11px;
  font-size: 25px;
  margin-bottom: 19px;
}
.how-section {
  max-width: 1170px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  padding: 90px 0;
}
.how-section > div > p {
  max-width: 350px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  display: flex;
  gap: 25px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.steps li > span {
  font-family: Georgia, serif;
  font-size: 30px;
  color: #91a888;
}
.steps p {
  margin: 0;
  font-size: 13px;
}
.plans-section {
  background: #173b33;
  color: white;
  text-align: center;
  padding: 75px 25px;
}
.plans-section .eyebrow {
  color: #c7ddaa;
}
.plans-section p {
  max-width: 580px;
  margin: 20px auto 28px;
  color: #b4c6bb;
}
.plans-section .button {
  background: #d7e6ab;
  border-color: #d7e6ab;
  color: #173b33;
}
.public-footer {
  max-width: 1240px;
  margin: auto;
  padding: 30px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.public-footer > span {
  font-size: 11px;
  color: var(--muted);
}
.public-footer > div {
  display: flex;
  gap: 20px;
  font-size: 12px;
}
.app-layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 242px;
  background: #17332e;
  color: #dae5dc;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 26px 18px 14px;
  display: flex;
  flex-direction: column;
  z-index: 30;
  overflow-y: auto;
}
.sidebar .brand {
  font-size: 18px;
  gap: 7px;
  margin: 0 6px 28px;
}
.workspace-label {
  color: #7f9a8f;
  font-size: 8px;
  letter-spacing: 1.7px;
  font-weight: 650;
  margin: 21px 12px 10px;
}
.sidebar .workspace-label:first-of-type {
  margin-top: 0;
}
.sidebar select {
  background: #23433a;
  color: #edf2e9;
  border-color: #3a5449;
  font-size: 12px;
  padding: 11px;
  margin-bottom: 16px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #a8bdb1;
  font-size: 12px;
  border-radius: 7px;
  padding: 10px 12px;
  margin-bottom: 3px;
}
.nav-link span {
  font-size: 17px;
  width: 20px;
  text-align: center;
  font-weight: 400;
}
.nav-link.active {
  background: #dce9bd;
  color: #264234;
  font-weight: 600;
}
.nav-link:hover {
  background: #2b493e;
  color: #fff;
  text-decoration: none;
}
.nav-link.active:hover {
  background: #dce9bd;
  color: #264234;
}
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 24px 5px 4px;
}
.sidebar-footer strong {
  font-size: 11px;
  display: block;
  max-width: 115px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-footer small {
  color: #91ab9c;
  display: block;
  font-size: 10px;
}
.sidebar-footer form {
  margin-left: auto;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #41634c;
  color: #e7eecf;
  font-size: 12px;
}
.avatar-light {
  background: #edf1e3;
  color: #657d49;
  height: 35px;
  width: 35px;
}
.logout {
  background: none;
  border: 0;
  color: #a8bdb1;
  font-size: 20px;
}
.main-area {
  margin-left: 242px;
  min-width: 0;
  width: calc(100% - 242px);
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 36px;
  background: #fff;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
}
.breadcrumb span {
  padding: 0 10px;
  color: #b8c2b5;
}
.topbar-right {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.topbar-right .button {
  margin-left: 14px;
}
.menu-toggle {
  display: none;
}
.page-content {
  padding: 38px 36px 55px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 11px;
}
.page-heading p {
  margin: 0;
  font-size: 13px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 23px;
  min-width: 0;
  overflow: hidden;
}
.panel-padded {
  padding: 25px;
}
.panel-padded > h2 {
  margin-bottom: 17px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 24px;
  border-bottom: 1px solid #edf0e9;
}
.panel-heading h2 {
  font-size: 16px;
  margin-bottom: 3px;
}
.panel-heading p {
  font-size: 11px;
  margin: 0;
}
.panel-heading > a {
  font-size: 11px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin: 22px 0;
}
.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
}
.metric-card > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #64716b;
}
.metric-card > div > span {
  color: #8f9d85;
}
.metric-card > strong {
  display: block;
  font-size: 34px;
  font-weight: 550;
  letter-spacing: -1.5px;
  margin: 11px 0 3px;
  line-height: 1.2;
}
.metric-card > small {
  font-size: 10px;
  color: var(--muted);
}
.compact-metrics .metric-card {
  background: transparent;
}
.compact-metrics strong {
  font-size: 25px;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
  align-items: start;
}
.detail-grid,
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, 1fr);
  gap: 25px;
  align-items: start;
}
.settings-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr);
  max-width: 1150px;
}
.empty-state {
  text-align: center;
  padding: 48px 25px;
}
.empty-state > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #f0f4e9;
  color: #829575;
  border-radius: 13px;
  font-size: 26px;
  margin-bottom: 17px;
}
.empty-state h3 {
  font-size: 14px;
  font-weight: 550;
}
.empty-state p {
  font-size: 12px;
  max-width: 310px;
  margin: 0 auto 10px;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 23px;
  border-bottom: 1px solid #edf0e9;
  color: var(--ink);
}
.activity-row:hover {
  background: #fafbf7;
  text-decoration: none;
}
.activity-row > div {
  min-width: 0;
  flex: 1;
}
.activity-row strong {
  display: block;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.notice {
  padding: 15px 18px;
  border: 1px solid #cfe1ce;
  border-radius: 8px;
  background: #edf5e9;
  font-size: 12px;
  color: #486642;
  margin-bottom: 23px;
  line-height: 1.7;
}
.notice-error {
  color: #9a4437;
  border-color: #e6c9c1;
  background: #fcf1ec;
}
.notice-subtle {
  background: #eff2e9;
  border-color: #e3e8da;
  color: #76806c;
  font-size: 11px;
}
.filter-bar {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px 23px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.page-content > .filter-bar {
  padding: 0;
  border: 0;
  justify-content: flex-start;
}
.filter-bar label {
  font-size: 10px;
  gap: 4px;
}
.filter-bar input,
.filter-bar select {
  font-size: 12px;
  min-height: 38px;
  padding: 9px 11px;
}
.filter-bar .search-field {
  min-width: 200px;
  flex: 1;
}
.filter-bar .muted {
  font-size: 11px;
  align-self: center;
  margin-left: auto;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  padding: 12px 22px;
  background: #fafbf7;
  font-size: 9px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #7a877b;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 17px 22px;
  border-bottom: 1px solid #edf0e9;
  color: #65716c;
  vertical-align: middle;
}
td strong,
.table-primary {
  color: var(--ink);
  font-weight: 600;
}
td small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
  max-width: 300px;
  overflow-wrap: anywhere;
}
td .button-row {
  flex-wrap: nowrap;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 23px;
  font-size: 11px;
  color: var(--muted);
}
.pagination > div {
  display: flex;
  gap: 8px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 550;
}
label small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dbe2d7;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  padding: 10px 12px;
  font-size: 13px;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #a0aaa0;
  font-weight: 400;
}
textarea {
  resize: vertical;
  line-height: 1.65;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  outline: 2px solid #16786c1a;
  outline-offset: 0;
}
input[type='checkbox'] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
input[type='color'] {
  height: 43px;
  padding: 4px;
  max-width: 120px;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.align-start {
  align-self: flex-start;
}
.form-footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 10px;
}
.switch-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 12px 0;
}
.switch-row > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.switch-row input {
  appearance: none;
  width: 42px;
  height: 24px;
  background: #c3cbbc;
  border-radius: 20px;
  position: relative;
  padding: 0;
  border: 0;
}
.switch-row input:before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.15s;
}
.switch-row input:checked {
  background: var(--accent);
}
.switch-row input:checked:before {
  transform: translateX(18px);
}
.checkbox-label {
  flex-direction: row;
  align-items: center;
  font-weight: 400;
  gap: 10px;
}
.tip-card {
  background: #eaf0df;
  border: 1px solid #dce6cd;
  border-radius: 11px;
  padding: 28px;
}
.tip-card h2 {
  font-size: 21px;
  max-width: 240px;
}
.tip-card p {
  font-size: 12px;
  color: #768168;
  line-height: 1.8;
}
.code-input {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  background: #f7f9f3;
  margin: 12px 0;
}
details {
  font-size: 12px;
  margin-top: 15px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details > p {
  margin-top: 12px;
}
.panel-padded > small {
  display: block;
  margin: 16px 0;
}
.back-link {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.details-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 11px;
  margin: 20px 0;
}
.details-list dt {
  color: var(--muted);
}
.details-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.note-list article {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 18px;
}
.note-list article > div {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.note-list small {
  font-size: 10px;
  color: var(--muted);
}
.note-list p {
  font-size: 12px;
  margin: 10px 0 0;
}
.danger-zone {
  border-color: #e8dad3;
}
.danger-zone summary {
  color: #995b4b;
}
.transcript {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.transcript-message {
  border-radius: 10px;
  padding: 16px 19px;
  background: #f1f5ed;
  max-width: 88%;
  align-self: flex-start;
}
.transcript-message.user {
  margin-left: auto;
  background: #e9f0eb;
  align-self: flex-end;
}
.transcript-message > div {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.transcript-message strong {
  font-size: 11px;
}
.transcript-message time {
  font-size: 9px;
  color: var(--muted);
}
.transcript-message p {
  font-size: 12px;
  margin: 7px 0 0;
  color: #52645b;
}
.linked-record {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.request-card {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.request-card > strong {
  display: block;
  margin-bottom: 7px;
}
.command-card {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.command-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.command-card p {
  font-size: 12px;
}
.step-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 10px;
}
.builder-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  background: #fafbf7;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.builder-row .form-grid {
  gap: 10px;
}
.builder-row input,
.builder-row select {
  font-size: 11px;
  padding: 8px;
}
.builder-row label {
  font-size: 10px;
}
.builder-row-header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
}
.builder-row .text-button {
  padding: 0;
}
.workflow-preview {
  padding: 15px;
  background: var(--soft);
  margin-top: 12px;
  white-space: pre-wrap;
  font-size: 12px;
}
.narrow-panel {
  max-width: 750px;
}
.test-history {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}
.error-text {
  color: var(--danger);
}
.app-footer {
  padding: 20px 36px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #99a391;
  display: flex;
  justify-content: space-between;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 45% 55%;
}
.auth-story {
  background: #183e33;
  padding: 40px 55px;
  color: #eef4e5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-story > div {
  padding: 70px 0 20px;
}
.auth-story .eyebrow {
  color: #b4c89d;
  font-size: 9px;
}
.auth-story h1 {
  font-size: 48px;
  letter-spacing: -2px;
  font-weight: 500;
}
.auth-story p {
  color: #a7bdb0;
  max-width: 350px;
  font-size: 14px;
  line-height: 1.8;
}
.auth-story > small {
  color: #87a18e;
  font-size: 10px;
}
.auth-art {
  height: 210px;
  font-size: 140px;
  font-weight: 200;
  color: #b7d394;
  position: relative;
  line-height: 1;
}
.auth-art span {
  position: absolute;
  right: 20px;
  top: 35px;
  color: #6e9470;
  font-size: 150px;
}
.auth-art i {
  position: absolute;
  right: 65px;
  top: 95px;
  font-size: 70px;
  font-style: normal;
}
.auth-main {
  padding: 40px 65px;
  display: flex;
  flex-direction: column;
}
.auth-card {
  max-width: 390px;
  width: 100%;
  margin: auto;
}
.auth-card h1 {
  font-size: 32px;
}
.auth-card > .muted {
  font-size: 13px;
  margin-bottom: 30px;
}
.auth-card .eyebrow {
  font-size: 9px;
}
.auth-switch {
  text-align: center;
  font-size: 12px;
  margin: 25px 0;
}
.auth-switch a {
  font-weight: 600;
}
.legal-note {
  font-size: 10px;
  text-align: center;
}
.onboarding-wrap {
  max-width: 640px;
  margin: 45px auto;
  padding: 0 25px;
}
.onboarding-wrap > .brand {
  justify-content: center;
  margin-bottom: 35px;
}
.onboarding-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 13px;
}
.onboarding-card > .muted {
  font-size: 13px;
  margin-bottom: 30px;
}
.legal-page {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 25px;
}
.menu-toggle {
  background: none;
  border: 0;
  font-size: 20px;
  color: var(--ink);
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 220px;
  }
  .main-area {
    margin-left: 220px;
    width: calc(100% - 220px);
  }
  .page-content {
    padding: 30px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .metric-card {
    padding: 16px;
  }
  .metric-card > strong {
    font-size: 29px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero {
    gap: 35px;
  }
  .how-section {
    padding: 70px 35px;
    gap: 60px;
  }
  .detail-grid,
  .settings-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr);
  }
  .two-column {
    gap: 18px;
  }
  .panel-padded {
    padding: 21px;
  }
  .auth-story {
    padding: 35px;
  }
  .auth-main {
    padding: 35px 45px;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 205px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-area {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-column,
  .detail-grid,
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading > .button {
    font-size: 11px;
  }
  .hero {
    padding-top: 55px;
    padding-bottom: 70px;
    gap: 25px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-visual {
    padding: 20px 15px;
    min-height: 0;
  }
  .floating-note {
    right: 0;
    bottom: -15px;
  }
  .public-header nav {
    gap: 16px;
  }
  .hero .button-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .auth-story h1 {
    font-size: 39px;
  }
  .auth-main {
    padding: 30px;
  }
  .auth-art span {
    right: 0;
  }
  .auth-art i {
    right: 45px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    width: 242px;
    transition: transform 0.2s;
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .main-area {
    margin-left: 0;
    width: 100%;
  }
  .menu-toggle {
    display: block;
  }
  .topbar {
    height: 65px;
    padding: 0 18px;
  }
  .breadcrumb {
    margin-right: auto;
    font-size: 10px;
  }
  .breadcrumb span {
    padding: 0 5px;
  }
  .topbar-right > .button {
    display: none;
  }
  .topbar-right {
    font-size: 9px;
  }
  .page-content {
    padding: 27px 18px 40px;
  }
  h1 {
    font-size: 28px;
  }
  .page-heading {
    flex-wrap: wrap;
    gap: 15px;
  }
  .page-heading > div {
    flex: 1;
    min-width: 230px;
  }
  .metric-grid {
    gap: 10px;
  }
  .metric-card > small {
    font-size: 9px;
  }
  .panel-heading {
    padding: 18px;
  }
  .activity-row {
    padding: 15px 18px;
  }
  .filter-bar {
    padding: 15px;
  }
  .filter-bar .search-field {
    min-width: 100%;
    width: 100%;
  }
  .public-header {
    padding: 20px;
    gap: 15px;
  }
  .public-header .brand {
    font-size: 17px;
  }
  .public-header nav {
    display: none;
  }
  .public-header .button {
    font-size: 11px;
    padding: 9px;
  }
  .public-header .login-link {
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 25px 70px;
    gap: 45px;
  }
  .hero h1 {
    font-size: 48px;
    letter-spacing: -2.5px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero .button-row {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .hero-visual {
    max-width: 440px;
    width: 100%;
    margin: auto;
    padding: 23px 20px 15px;
  }
  .hero-footnote {
    font-size: 10px;
  }
  .section-heading h2,
  .how-section h2,
  .plans-section h2 {
    font-size: 30px;
  }
  .features-section {
    padding: 50px 25px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }
  .feature-grid article {
    padding: 0;
  }
  .feature-icon {
    margin-bottom: 13px;
  }
  .feature-grid p {
    margin-bottom: 0;
  }
  .how-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 50px 25px;
  }
  .public-footer {
    flex-wrap: wrap;
    padding: 25px;
  }
  .public-footer > span {
    display: none;
  }
  .public-footer .brand {
    font-size: 17px;
  }
  .public-footer > div {
    font-size: 10px;
    gap: 13px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-main {
    padding: 25px;
    min-height: 100vh;
  }
  .auth-card {
    margin: 40px auto;
  }
  .onboarding-card {
    padding: 25px;
  }
  .onboarding-wrap {
    margin: 30px auto;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .builder-row .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel-padded {
    padding: 20px;
  }
  .app-footer {
    padding: 20px;
  }
  .topbar-right {
    max-width: 100px;
  }
  .transcript {
    padding: 18px;
  }
  .transcript-message {
    max-width: 95%;
  }
  .auth-card h1 {
    font-size: 30px;
  }
  .filter-bar .muted {
    margin-left: 0;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .metric-card {
    padding: 17px;
  }
  .metric-card > div {
    font-size: 10px;
  }
  .metric-card > strong {
    font-size: 29px;
  }
  .eyebrow {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.knowledge-edit {
  margin-top: 15px;
  min-width: 260px;
  max-width: 600px;
}
.knowledge-edit textarea {
  min-width: 260px;
}
