:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #252b29;
  background: #f6f7f8;
  font-synthesis: none;
  --green: #c4ef91;
  --ink: #202624;
  --muted: #88908d;
  --border: #e8ebe9;
  --accent: #63854a;
  --shadow: 0 8px 30px #1d30240a;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
}
body.modal-open {
  overflow: hidden;
}
body {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #a0ca76;
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #aacd8b;
  outline-offset: 1px;
}
.icon {
  height: 19px;
  width: 19px;
  flex: none;
  vertical-align: middle;
}
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
}
.sidebar {
  background: #1c2220;
  color: #9ba49f;
  display: flex;
  flex-direction: column;
  padding: 30px 17px 16px;
  position: fixed;
  width: 222px;
  height: 100dvh;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f7faf5;
  padding: 0 10px 32px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 34px;
  background: var(--green);
  border-radius: 10px;
  color: #293b1e;
}
.brand-mark .icon {
  width: 24px;
  height: 24px;
}
.brand em {
  font-style: normal;
  color: #bdd68b;
  font-size: 10px;
  letter-spacing: 0.1px;
  background: #33412c;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 1px;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #3a403c;
  border-radius: 9px;
  padding: 11px;
  margin: 0 4px 29px;
  color: #edf1ec;
}
.store-mark {
  background: #394632;
  color: #c5deaa;
  border-radius: 7px;
  padding: 7px;
  display: flex;
}
.workspace strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.workspace small {
  display: block;
  color: #909b93;
  font-size: 10px;
}
.workspace > .icon {
  margin-left: auto;
  width: 13px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  padding: 0 14px;
  margin: 0 0 12px;
  color: #68756c;
  font-weight: 600;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  border-radius: 7px;
  padding: 11px 12px;
  margin: 4px 0;
  text-align: left;
  font-size: 12px;
  transition: 0.15s;
}
.nav-item:hover {
  color: #e2eadf;
  background: #252e27;
}
.nav-item.active {
  color: #d9f2bd;
  background: #34422c;
}
.nav-item .icon {
  width: 17px;
  height: 17px;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  background: #485b39;
  color: #e0f2cc;
  padding: 0 6px;
  border-radius: 4px;
}
.nav-separator {
  border-top: 1px solid #303731;
  margin: 24px 12px;
}
.sidebar-bottom {
  margin-top: auto;
}
.system-note {
  margin: 24px 7px 20px;
  padding: 14px 12px;
  border: 1px solid #364031;
  border-radius: 9px;
  background: linear-gradient(130deg, #2b3527, #242c25);
  font-size: 10px;
  color: #98aa8e;
}
.system-note b {
  font-size: 11px;
  display: flex;
  gap: 8px;
  color: #dce6d3;
  margin-bottom: 7px;
  font-weight: 500;
}
.system-note b .icon {
  width: 15px;
  height: 15px;
  color: #c4e69d;
}
.system-note a {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: #c9dfa9;
}
.profile {
  border-top: 1px solid #343b35;
  padding: 18px 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e6e8df;
  color: #495847;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 11px;
  flex: none;
}
.profile .avatar {
  background: #e4e5c6;
  color: #4d5841;
}
.profile strong {
  display: block;
  color: #e1e7df;
  font-size: 11px;
  font-weight: 500;
}
.profile small {
  font-size: 10px;
}
.profile > .icon {
  margin-left: auto;
  width: 15px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  background: #fff;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #939a95;
  font-size: 11px;
}
.breadcrumbs .icon {
  width: 13px;
  color: #afb5af;
}
.breadcrumbs b {
  color: #333d36;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 19px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #88b576;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.system-status {
  font-size: 10px;
  color: #75856b;
  display: flex;
  gap: 6px;
  align-items: center;
}
.top-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}
.icon-btn {
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: 6px;
  color: #737d76;
}
.icon-btn:hover {
  background: #f0f3ed;
}
.icon-btn .icon {
  width: 18px;
  height: 18px;
}
.top-actions .avatar {
  height: 29px;
  width: 29px;
  font-size: 9px;
}
.content {
  padding: 30px 34px 24px;
  max-width: 1900px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 16px;
}
h1 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 610;
  letter-spacing: -0.9px;
  margin: 0 0 8px;
}
.page-heading p {
  margin: 0;
  color: #889089;
  font-size: 11px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 35px;
  padding: 8px 12px;
  border: 1px solid #e0e5df;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 500;
  background: white;
  white-space: nowrap;
}
.btn:hover {
  background: #f4f7f1;
  border-color: #cbd5c3;
}
.btn .icon {
  width: 15px;
  height: 15px;
}
.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: #27331e;
}
.btn-primary:hover {
  background: #b3e37c;
  border-color: #b3e37c;
}
.btn-dark {
  background: #263228;
  color: #edf3e8;
  border-color: #263228;
}
.btn-dark:hover {
  background: #3d4f34;
}
.btn-plain {
  background: transparent;
  border-color: transparent;
  color: #85907f;
}
.date-label {
  font-size: 10px;
  color: #929a92;
  display: flex;
  align-items: center;
  gap: 7px;
}
.date-label .icon {
  width: 14px;
  height: 14px;
}
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 27px;
}
.metric {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px 14px;
  min-height: 108px;
}
.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #858e85;
  font-size: 10px;
}
.metric-top > .icon {
  height: 17px;
  width: 17px;
  color: #8d9789;
}
.metric-value {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 9px;
}
.metric-value strong {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -1px;
}
.metric-value small {
  color: #8c9687;
  font-size: 10px;
}
.metric-label {
  margin-top: 5px;
  color: #9ba197;
  font-size: 9px;
}
.metric-highlight {
  background: #f1f7e9;
  border-color: #e3ecd8;
}
.mini-tag {
  font-size: 9px;
  color: #678052;
  background: #eef5e7;
  border-radius: 4px;
  padding: 3px 6px;
  letter-spacing: 0;
  font-weight: 400;
}
.metric-highlight .mini-tag {
  background: #e2edcf;
}
.queue-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  gap: 12px;
}
.filter-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filter-tab {
  font-size: 11px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #929b92;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-tab.active {
  background: white;
  border-color: #e3e8df;
  color: #35412f;
  box-shadow: 0 1px 2px #00000004;
}
.filter-tab span {
  font-size: 9px;
  color: #929c8b;
  background: #ebeee7;
  padding: 0 5px;
  border-radius: 4px;
}
.filter-tab.active span {
  background: #e4efd8;
  color: #6c8655;
}
.search-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  background: white;
  min-width: 200px;
}
.search-wrap > .icon {
  width: 14px;
  height: 14px;
  color: #97a08f;
}
.search-wrap input {
  border: 0;
  outline: none;
  width: 100%;
  font-size: 10px;
  color: #55624d;
  min-width: 50px;
}
.search-wrap input:focus {
  outline: none;
}
.search-wrap kbd {
  font: 9px inherit;
  white-space: nowrap;
  color: #a5ac9d;
}
.toolbar-right {
  display: flex;
  gap: 8px;
  align-items: center;
}
.toolbar-right .btn {
  min-height: 32px;
}
.workbench {
  border: 1px solid #e2e7df;
  border-radius: 11px;
  background: white;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  overflow: hidden;
  min-height: 670px;
  height: calc(100dvh - 330px);
  box-shadow: 0 2px 3px #19361a02;
}
.ticket-list {
  border-right: 1px solid var(--border);
  background: #fdfefd;
  min-width: 0;
  overflow-y: auto;
}
.list-heading {
  padding: 17px 17px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eef0eb;
  color: #727f69;
  font-size: 10px;
}
.list-heading b {
  font-weight: 450;
}
.list-heading > .icon {
  width: 13px;
  height: 13px;
}
.ticket-item {
  padding: 17px 17px 16px;
  position: relative;
  border-bottom: 1px solid #edf0ea;
  width: 100%;
  display: block;
  text-align: left;
  transition: 0.15s;
}
.ticket-item:hover {
  background: #f5f8f0;
}
.ticket-item.selected {
  background: #f1f6e9;
}
.ticket-item.selected:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #9cbd75;
}
.ticket-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}
.ticket-item .avatar {
  height: 27px;
  width: 27px;
  font-size: 8px;
  background: #edede3;
}
.ticket-name {
  font-size: 10px;
  font-weight: 550;
}
.ticket-time {
  font-size: 9px;
  color: #9aa18f;
  margin-left: auto;
}
.ticket-subject {
  font-size: 11px;
  font-weight: 550;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticket-snippet {
  font-size: 10px;
  color: #969f8e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 11px;
}
.ticket-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  background: #f2f4ef;
  color: #929b89;
  font-size: 9px;
  font-weight: 400;
  white-space: nowrap;
}
.badge .icon {
  width: 11px;
  height: 11px;
}
.badge-review {
  background: #e9f0e1;
  color: #799359;
}
.badge-manual,
.badge-escalated {
  background: #faf1df;
  color: #b09050;
}
.badge-approved {
  background: #e6f3eb;
  color: #548363;
}
.badge-new {
  background: #edf0f5;
  color: #7e8ca3;
}
.badge-processing {
  background: #f1ebf7;
  color: #9c7bb5;
}
.ticket-channel {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #abb1a2;
  font-size: 9px;
}
.ticket-channel .icon {
  width: 12px;
  height: 12px;
}
.ticket-detail {
  min-width: 0;
  overflow-y: auto;
}
.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  gap: 10px;
}
.ticket-id {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 10px;
  color: #969e8d;
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-top-right {
  display: flex;
  gap: 8px;
  align-items: center;
}
.priority-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #d4a06b;
  display: inline-block;
}
.priority {
  font-size: 9px;
  color: #a99778;
  display: flex;
  align-items: center;
  gap: 5px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 224px;
}
.conversation {
  padding: 22px;
  min-width: 0;
}
.ticket-title {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 550;
  letter-spacing: -0.35px;
  margin: 0 0 12px;
}
.category-line {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 23px;
}
.category-tag {
  font-size: 9px;
  color: #88957c;
  border: 1px solid #e7ebdf;
  border-radius: 4px;
  padding: 3px 6px;
}
.message-card {
  border: 1px solid #e5e9e0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 23px;
}
.message-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}
.message-head .avatar {
  width: 29px;
  height: 29px;
  font-size: 9px;
  background: #efeee4;
}
.message-head strong {
  font-size: 10px;
  font-weight: 550;
  display: block;
}
.message-head small {
  font-size: 9px;
  color: #a3aa9b;
}
.message-head .message-time {
  margin-left: auto;
  font-size: 9px;
  color: #9ca593;
  align-self: start;
  padding-top: 3px;
}
.message-card p {
  font-size: 11px;
  color: #6a7561;
  line-height: 1.9;
  margin: 0;
}
.ai-panel {
  border: 1px solid #dce6ce;
  border-radius: 9px;
  overflow: hidden;
}
.ai-heading {
  padding: 13px 14px;
  background: #f4f8ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.ai-heading-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 550;
  color: #52673e;
}
.ai-heading-title .icon {
  color: #8aa66a;
  width: 16px;
}
.ai-heading .badge {
  background: #e5eed7;
  color: #879c6b;
  font-size: 8px;
}
.detail-tabs {
  display: flex;
  border-bottom: 1px solid #e8ecdf;
  padding: 0 13px;
  gap: 18px;
}
.detail-tab {
  padding: 11px 0;
  font-size: 10px;
  color: #9aa38d;
  position: relative;
}
.detail-tab.active {
  color: #5f7547;
}
.detail-tab.active:after {
  content: '';
  height: 2px;
  background: #8ba963;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.detail-tab span {
  font-size: 8px;
  background: #ecf0e5;
  border-radius: 3px;
  padding: 1px 4px;
  margin-left: 3px;
  color: #879770;
}
.draft-body {
  padding: 15px;
}
.verified-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #809764;
  margin-bottom: 13px;
}
.verified-note .icon {
  height: 12px;
  width: 12px;
}
.draft-text {
  width: 100%;
  resize: vertical;
  min-height: 260px;
  max-height: 650px;
  border: 0;
  outline: none !important;
  line-height: 1.95;
  font-size: 12px;
  color: #65705a;
  background: transparent;
  padding: 0;
}
.draft-text:focus {
  box-shadow: 0 0 0 1px #d3dfc5;
  border-radius: 4px;
}
.draft-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #a2ac96;
  margin: 12px 0 3px;
  gap: 8px;
}
.draft-footer > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.draft-footer .icon {
  width: 12px;
  height: 12px;
}
.sources-inline {
  padding: 11px 14px;
  border-top: 1px solid #e6eddc;
  background: #fbfcf8;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: #a0aa93;
  font-size: 8px;
}
.source-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border: 1px solid #e3e8d9;
  border-radius: 4px;
  font-size: 8px;
  color: #879774;
  background: white;
}
.source-chip .icon {
  width: 10px;
  height: 10px;
}
.source-chip:hover {
  background: #edf3e5;
}
.review-actions {
  display: flex;
  gap: 8px;
  margin-top: 17px;
  flex-wrap: wrap;
}
.review-actions .btn {
  font-size: 10px;
  padding: 8px 11px;
  min-height: 33px;
}
.review-actions .btn-primary {
  flex: 1;
}
.review-caption {
  font-size: 8px;
  color: #acb3a1;
  text-align: center;
  margin: 10px 0 0;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.review-caption .icon {
  width: 10px;
  height: 10px;
}
.context-panel {
  border-left: 1px solid var(--border);
  background: #fdfefb;
  padding: 21px 16px;
}
.context-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 550;
  margin: 0 0 16px;
  color: #727d65;
}
.context-heading .icon {
  width: 14px;
  height: 14px;
  color: #89947b;
}
.context-section {
  margin-bottom: 25px;
  padding-bottom: 22px;
  border-bottom: 1px solid #edf0e7;
}
.order-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 9px;
}
.order-title .icon {
  height: 13px;
  width: 13px;
  color: #9faa90;
}
.order-product {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0 19px;
}
.product-icon {
  background: #efefdf;
  width: 38px;
  height: 42px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #a8aa8a;
}
.product-icon .icon {
  width: 23px;
  height: 23px;
}
.order-product b {
  font-size: 9px;
  font-weight: 500;
  display: block;
}
.order-product small {
  font-size: 8px;
  color: #a5ad99;
}
.kv {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
  font-size: 9px;
  color: #9ba58d;
}
.kv strong {
  font-weight: 450;
  color: #778267;
  text-align: right;
  overflow-wrap: anywhere;
}
.context-customer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.context-customer .avatar {
  width: 28px;
  height: 28px;
  font-size: 8px;
}
.context-customer strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
}
.context-customer small {
  font-size: 8px;
  color: #9ca68f;
  overflow-wrap: anywhere;
}
.context-note {
  font-size: 9px;
  line-height: 1.8;
  color: #9ca68f;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-item {
  font-size: 9px;
  color: #82946c;
  display: flex;
  align-items: start;
  gap: 6px;
}
.check-item .icon {
  width: 13px;
  height: 13px;
  color: #8ca776;
}
.check-item.failed {
  color: #b4976d;
}
.check-item.failed .icon {
  color: #c7a06c;
}
.trace-link {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 8px;
  color: #a6af99;
  margin-top: 17px;
  overflow: hidden;
}
.trace-link .icon {
  width: 12px;
}
.trace-link code {
  font-size: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bottom-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  font-size: 9px;
  color: #a2aa99;
}
.bottom-line span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.bottom-line .icon {
  height: 11px;
  width: 11px;
}
.bottom-line kbd {
  font-family: inherit;
  border: 1px solid #e0e5d9;
  padding: 0 3px;
  border-radius: 3px;
}
.demo-banner {
  padding: 7px 34px;
  border-bottom: 1px solid #e3e8d8;
  background: #f3f7e9;
  font-size: 10px;
  color: #869772;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.demo-banner span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-banner .icon {
  width: 13px;
  height: 13px;
}
.empty {
  padding: 35px 20px;
  color: #97a18c;
  text-align: center;
  font-size: 11px;
}
.empty > .icon {
  display: block;
  margin: 0 auto 12px;
  width: 29px;
  height: 29px;
  color: #9eae8b;
}
.empty strong {
  font-size: 13px;
  color: #687c54;
  display: block;
  margin-bottom: 8px;
}
.empty .btn {
  margin-top: 12px;
}
.waiting-illustration {
  width: 76px;
  height: 76px;
  background: #f1f6e9;
  border: 1px solid #e4ecd9;
  display: grid;
  place-items: center;
  border-radius: 20px;
  margin: 15px auto 20px;
  transform: rotate(-6deg);
}
.waiting-illustration .icon {
  height: 34px;
  width: 34px;
  color: #92aa76;
}
.manual-box {
  padding: 20px;
  color: #947d58;
  background: #fdfaf4;
  font-size: 11px;
  line-height: 1.85;
}
.manual-box > .icon {
  height: 23px;
  width: 23px;
  margin-bottom: 10px;
}
.manual-box b {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}
.manual-box p {
  margin: 0;
}
.manual-box .btn {
  margin-top: 14px;
}
.completed-box {
  padding: 13px 15px;
  border: 1px solid #dbe7d3;
  background: #f2f7ec;
  border-radius: 7px;
  font-size: 11px;
  color: #718c56;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 15px;
}
.source-card {
  padding: 13px;
  border: 1px solid #e5eada;
  border-radius: 7px;
  margin-bottom: 9px;
  cursor: pointer;
}
.source-card:hover {
  background: #f5f8ef;
}
.source-card h4 {
  font-size: 11px;
  font-weight: 500;
  margin: 0 0 7px;
}
.source-card p {
  font-size: 10px;
  color: #8f9c80;
  line-height: 1.8;
  margin: 0;
}
.source-meta {
  display: flex;
  gap: 7px;
  font-size: 8px;
  color: #a3ad97;
  margin-top: 9px;
}
.workflow-node {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0e5;
  align-items: center;
  font-size: 10px;
  color: #79886b;
}
.workflow-node .icon {
  width: 15px;
  height: 15px;
  color: #8eaa70;
}
.workflow-node small {
  font-size: 9px;
  color: #9ea992;
}
.code-block {
  background: #f4f6f0;
  border: 1px solid #e3e9da;
  padding: 14px;
  border-radius: 7px;
  font-family: ui-monospace, monospace;
  color: #7d8e6b;
  font-size: 10px;
  line-height: 1.8;
  overflow: auto;
  white-space: pre-wrap;
}
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 23px;
  margin-bottom: 18px;
}
.panel h2 {
  font-size: 15px;
  font-weight: 550;
  margin: 0 0 6px;
  letter-spacing: -0.25px;
}
.panel > p {
  font-size: 11px;
  color: #8e9985;
  margin: 0 0 20px;
}
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.document-card {
  background: white;
  border: 1px solid var(--border);
  padding: 21px;
  border-radius: 9px;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 195px;
}
.document-card:hover {
  border-color: #bdd29f;
  background: #fdfefb;
}
.document-icon {
  background: #edf4e4;
  border-radius: 8px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: #8fa773;
  margin-bottom: 16px;
}
.document-icon .icon {
  width: 18px;
  height: 18px;
}
.document-card h3 {
  font-size: 12px;
  margin: 0 0 8px;
  font-weight: 550;
}
.document-card p {
  font-size: 10px;
  color: #919c86;
  line-height: 1.8;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.document-card .source-meta {
  margin-top: auto;
  padding-top: 15px;
}
.info-strip {
  background: #f0f5e7;
  border: 1px solid #e2e9d6;
  padding: 13px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 11px;
  color: #80926a;
  display: flex;
  gap: 10px;
  align-items: center;
}
.info-strip .icon {
  width: 17px;
  height: 17px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
}
.data-table th {
  font-size: 9px;
  color: #9ba58f;
  font-weight: 450;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: #fcfdf9;
}
.data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #f0f2eb;
  color: #77856a;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table code {
  font-size: 9px;
  color: #9aa58d;
}
.data-table .btn {
  min-height: 26px;
  font-size: 9px;
  padding: 4px 7px;
}
.table-scroll {
  overflow: auto;
}
.quality-score {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0 24px;
}
.score-ring {
  width: 106px;
  height: 106px;
  border: 7px solid #d5e9bb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #687f4f;
}
.score-ring b {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 500;
}
.score-ring small {
  font-size: 8px;
  color: #91a080;
}
.quality-score h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 8px;
}
.quality-score p {
  font-size: 10px;
  color: #96a087;
  line-height: 1.9;
  margin: 0;
}
.bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 32px;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
  font-size: 10px;
  color: #899879;
}
.bar-track {
  height: 8px;
  background: #f0f3e9;
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: #bbd798;
  border-radius: 3px;
}
.bar-row b {
  font-weight: 500;
  color: #6b8055;
  text-align: right;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #edf0e7;
  gap: 20px;
}
.setting-row:last-child {
  border-bottom: 0;
}
.setting-row h3 {
  font-size: 11px;
  font-weight: 550;
  margin: 0 0 4px;
}
.setting-row p {
  font-size: 10px;
  color: #97a08d;
  margin: 0;
}
.setting-row code {
  font-size: 10px;
  color: #889b74;
  background: #f3f6ec;
  border-radius: 4px;
  padding: 5px 9px;
}
.notice-card {
  display: flex;
  align-items: start;
  gap: 12px;
  background: #f7f9f2;
  border: 1px solid #e6ebdc;
  border-radius: 8px;
  padding: 15px;
  font-size: 11px;
  color: #8c9b79;
  line-height: 1.9;
  margin-top: 15px;
}
.notice-card .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #18211980;
  backdrop-filter: blur(3px);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.modal {
  width: 540px;
  max-width: 100%;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 30px 100px #0003;
  max-height: 90dvh;
  overflow: auto;
  padding: 26px;
}
.modal.wide {
  width: 700px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.modal h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  font-weight: 550;
  margin: 0;
}
.modal > p {
  color: #94a086;
  font-size: 11px;
  margin: 0 0 23px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
  font-size: 10px;
  color: #7d8c6a;
}
.field input,
.field textarea,
.field select {
  border: 1px solid #dfe7d6;
  border-radius: 6px;
  padding: 10px;
  background: #fcfdf9;
  color: #526443;
  width: 100%;
  font-size: 11px;
}
.field textarea {
  min-height: 125px;
  resize: vertical;
}
.modal-actions {
  display: flex;
  justify-content: end;
  gap: 9px;
  margin-top: 22px;
}
.modal-prose {
  font-size: 12px;
  color: #7d8e69;
  line-height: 2;
}
.modal-prose .badge {
  margin-right: 6px;
}
.doc-fact {
  padding: 11px 13px;
  background: #f4f8ed;
  border-left: 2px solid #b7d194;
  margin: 10px 0;
  font-size: 11px;
}
.modal .source-meta {
  margin-bottom: 17px;
}
.toast {
  background: #243222;
  color: #eff7e7;
  border: 1px solid #46573b;
  border-radius: 8px;
  padding: 12px 17px;
  box-shadow: 0 8px 35px #24322222;
  font-size: 12px;
  margin-top: 9px;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.error {
  background: #534331;
  border-color: #7e6649;
}
.toast .icon {
  height: 15px;
  width: 15px;
}
#toasts {
  position: fixed;
  bottom: 22px;
  right: 24px;
  z-index: 100;
}
.boot {
  display: grid;
  place-content: center;
  min-height: 100vh;
  text-align: center;
  color: #8b9b7c;
  font-size: 12px;
}
.boot-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: #c4ef91;
  color: #415733;
  border-radius: 13px;
  font-size: 23px;
  margin: auto;
}
.error-screen {
  padding: 50px;
  text-align: center;
}
.error-screen h2 {
  font-size: 22px;
}
.error-screen p {
  color: #8a977e;
  font-size: 12px;
}
.spinner {
  animation: spin 1.5s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.mobile-menu {
  display: none;
}
.revision-note {
  padding: 12px;
  font-size: 10px;
  background: #faf7ef;
  color: #a39066;
  border-radius: 6px;
  margin-bottom: 12px;
}
.history-event {
  border-left: 1px solid #dce6cf;
  padding: 0 0 19px 16px;
  margin-left: 5px;
  position: relative;
  font-size: 11px;
  color: #7e8e6b;
}
.history-event:before {
  content: '';
  position: absolute;
  left: -4px;
  top: 4px;
  width: 7px;
  height: 7px;
  background: #bdd49f;
  border-radius: 50%;
}
.history-event small {
  display: block;
  font-size: 9px;
  color: #a0ac91;
  margin-top: 3px;
}
.history-event p {
  font-size: 10px;
  margin: 9px 0 0;
  white-space: pre-wrap;
}
.loading-line {
  height: 3px;
  background: linear-gradient(90deg, #eff6e5, #a4c77d, #eff6e5);
  background-size: 200%;
  animation: load 1.5s linear infinite;
}
@keyframes load {
  to {
    background-position: -200%;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1650px) {
  .workbench {
    grid-template-columns: 330px minmax(0, 1fr);
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .context-panel {
    padding: 24px;
  }
  .conversation {
    padding: 25px 28px;
  }
  .ticket-item {
    padding: 20px;
  }
  .draft-text {
    font-size: 12px;
  }
  .message-card p {
    font-size: 12px;
  }
}
@media (max-width: 1250px) {
  .app-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    width: 190px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand {
    font-size: 16px;
    padding-left: 6px;
    gap: 7px;
  }
  .content {
    padding: 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .workbench {
    grid-template-columns: 255px minmax(0, 1fr);
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .context-panel {
    border-left: 0;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .context-section {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }
  .context-section:last-child {
    display: none;
  }
  .date-label {
    display: none;
  }
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 950px) {
  .app-shell {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .sidebar {
    width: 72px;
    padding: 24px 10px 14px;
  }
  .brand {
    padding: 0 8px 28px;
  }
  .brand > span:not(.brand-mark),
  .brand em,
  .workspace,
  .nav-label,
  .nav-item > span,
  .nav-count,
  .system-note,
  .profile > div:not(.avatar),
  .profile > .icon {
    display: none;
  }
  .nav-item {
    justify-content: center;
    padding: 13px 0;
  }
  .nav-item .icon {
    width: 20px;
    height: 20px;
  }
  .nav-separator {
    margin: 18px 4px;
  }
  .profile {
    padding: 16px 0 0;
    flex-direction: column;
    gap: 8px;
  }
  .workbench {
    grid-template-columns: 235px minmax(0, 1fr);
  }
  .conversation {
    padding: 17px;
  }
  .detail-top {
    padding: 15px;
  }
  .metric {
    padding: 13px;
    min-height: 95px;
  }
  .metric-top {
    font-size: 9px;
  }
  .metric-value strong {
    font-size: 24px;
  }
  .metric-label {
    font-size: 8px;
  }
  .top-actions {
    gap: 11px;
  }
  .content {
    padding: 22px 18px;
  }
  .topbar {
    padding: 0 18px;
    height: 65px;
  }
  .search-wrap {
    min-width: 160px;
  }
  .filter-tab {
    font-size: 10px;
    padding: 6px;
  }
  .queue-toolbar {
    align-items: start;
  }
  .metrics-row {
    gap: 9px;
  }
  .ticket-item {
    padding: 14px;
  }
  .context-panel {
    padding: 15px;
  }
  .brand-mark {
    width: 30px;
    height: 32px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .demo-banner {
    padding: 7px 18px;
  }
  .demo-banner button {
    font-size: 9px;
  }
}
@media (max-width: 720px) {
  .topbar {
    height: 58px;
  }
  .system-status,
  .top-divider,
  .breadcrumbs > .icon,
  .breadcrumbs > span,
  .top-actions > .icon-btn {
    display: none;
  }
  .metrics-row {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 20px;
  }
  .metric {
    min-height: 93px;
  }
  .metric-top {
    font-size: 10px;
  }
  .metric-label {
    font-size: 9px;
  }
  .page-heading {
    align-items: start;
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 22px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 200px;
  }
  .heading-actions .btn {
    font-size: 0;
    padding: 8px;
  }
  .heading-actions .btn .icon {
    font-size: initial;
    width: 16px;
    height: 16px;
  }
  .queue-toolbar {
    flex-direction: column;
    gap: 11px;
  }
  .toolbar-right {
    width: 100%;
  }
  .search-wrap {
    flex: 1;
  }
  .workbench {
    grid-template-columns: 1fr;
    min-height: 400px;
  }
  .ticket-list {
    border-right: 0;
    max-height: 365px;
    overflow-y: auto;
    border-bottom: 1px solid var(--border);
  }
  .ticket-item {
    padding: 12px 16px;
  }
  .ticket-item-top {
    margin-bottom: 4px;
  }
  .ticket-item .avatar {
    width: 22px;
    height: 22px;
  }
  .ticket-snippet {
    margin-bottom: 6px;
  }
  .ticket-item-bottom {
    position: absolute;
    right: 16px;
    top: 44px;
  }
  .ticket-channel {
    display: none;
  }
  .ticket-subject {
    padding-right: 95px;
  }
  .ticket-detail {
    border-top: 4px solid #f5f7f1;
  }
  .context-panel {
    display: block;
  }
  .context-section {
    border-bottom: 1px solid var(--border);
    padding-bottom: 18px;
    margin-bottom: 18px;
  }
  .context-section:last-child {
    display: block;
  }
  .context-customer,
  .context-section .context-note {
    display: none;
  }
  .metrics-row .metric-top > .icon {
    height: 14px;
    width: 14px;
  }
  .content {
    padding: 21px 14px;
  }
  .section-grid,
  .document-grid {
    grid-template-columns: 1fr;
  }
  .bottom-line > span:last-child {
    display: none;
  }
  .demo-banner {
    font-size: 8px;
    padding: 7px 14px;
  }
  .demo-banner button {
    display: none;
  }
  .filter-tabs {
    gap: 1px;
  }
  .filter-tab {
    padding: 6px 7px;
    font-size: 9px;
  }
  .profile {
    padding: 16px 4px 0;
  }
  .profile .avatar {
    width: 28px;
    height: 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .modal {
    padding: 22px;
  }
  .modal h2 {
    font-size: 18px;
  }
  .demo-banner span {
    line-height: 1.5;
  }
  .top-actions .avatar {
    height: 26px;
    width: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Keep the source and order context visible at common laptop widths. */
@media (min-width: 1101px) and (max-width: 1250px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 210px;
  }
  .context-panel {
    display: block;
    border-top: 0;
    border-left: 1px solid var(--border);
    padding: 21px 14px;
  }
  .context-section {
    margin-bottom: 25px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf0e7;
  }
  .context-section:last-child {
    display: block;
  }
}
@media (max-width: 720px) {
  .workbench {
    height: auto;
    min-height: 400px;
  }
  .ticket-detail {
    overflow: visible;
  }
}
.metric-label,
.ticket-snippet,
.page-heading p,
.context-note,
.source-meta,
.draft-footer,
.message-head small,
.message-time,
.kv,
.context-customer small,
.context-section .context-note {
  color: #77816e;
}
/* Business onboarding and workspace administration */
.workspace {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid #ffffff16;
  background: #ffffff09;
}
.workspace strong {
  max-width: 130px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile > div:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.profile strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile .icon-btn {
  color: #b2bcb5;
  flex-shrink: 0;
}
.public-shell {
  min-height: 100vh;
  background: #fafbf7;
}
.public-header {
  max-width: 1360px;
  margin: auto;
  padding: 30px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.public-header .brand {
  color: var(--ink);
  margin: 0;
  padding: 0;
}
.public-header .brand-mark {
  background: var(--ink);
  color: var(--green);
}
.public-header .brand em {
  color: #42642e;
  background: #dceeca;
}
.welcome-grid {
  max-width: 1250px;
  margin: 35px auto 65px;
  padding: 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.85fr);
  gap: 100px;
  align-items: start;
}
.eyebrow {
  color: #63854a;
  letter-spacing: 1.7px;
  font-size: 10px;
  font-weight: 700;
}
.welcome-story {
  padding: 22px 0;
}
.welcome-story h1 {
  font-size: clamp(40px, 4.7vw, 66px);
  line-height: 1.08;
  letter-spacing: -3px;
  font-weight: 600;
  margin: 24px 0;
}
.welcome-story h1 em {
  font-style: normal;
  color: #668a4f;
}
.welcome-story > p {
  font-size: 16px;
  color: #717a71;
  line-height: 1.75;
  max-width: 460px;
}
.welcome-steps {
  margin-top: 36px;
  display: grid;
  gap: 22px;
}
.welcome-steps > div {
  display: flex;
  gap: 17px;
}
.welcome-steps > div > span {
  background: #eaf1e0;
  border: 1px solid #dbe7cf;
  color: #56773e;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}
.welcome-steps h3 {
  font-size: 14px;
  margin: 0 0 5px;
  font-weight: 600;
}
.welcome-steps p {
  color: #7a8279;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}
.welcome-proof {
  margin-top: 38px;
  border-top: 1px solid #e2e7dc;
  padding-top: 23px;
  color: #7a8279;
  font-size: 11px;
  line-height: 1.8;
}
.welcome-proof > svg {
  float: left;
  margin-right: 12px;
  color: #6d8c54;
  width: 23px;
  height: 23px;
}
.signup-card {
  background: white;
  border: 1px solid #e5e9df;
  border-radius: 20px;
  padding: 32px 34px;
  box-shadow: 0 18px 70px #273b1710;
}
.signup-card h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
  line-height: 1.25;
  margin: 20px 0 10px;
}
.signup-card > p {
  color: #879080;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 24px;
}
.signup-card .field {
  margin-bottom: 15px;
}
.signup-card input {
  background: #fafbf8;
}
.auth-submit {
  width: 100%;
  justify-content: center;
  min-height: 43px;
}
.auth-divider {
  border-top: 1px solid var(--border);
  margin: 24px 0 20px;
  text-align: center;
  height: 1px;
}
.auth-divider span {
  position: relative;
  top: -9px;
  background: white;
  padding: 0 12px;
  color: #9a9f96;
  font-size: 10px;
}
.signup-card .auth-footnote {
  font-size: 10px;
  color: #9aa292;
  line-height: 1.7;
  text-align: center;
  margin: 13px 0 0;
}
.public-footer {
  padding: 25px 56px;
  border-top: 1px solid #e5e9df;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9ca391;
}
.form-error {
  color: #b74537;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  margin: 10px 0;
}
.form-error:empty {
  display: none;
}
.form-hint {
  font-size: 11px;
  color: #879080;
  line-height: 1.7;
}
.onboarding {
  border: 1px solid #dce7d1;
  background: linear-gradient(120deg, #f2f8e9, #fcfdf9);
  border-radius: 14px;
  padding: 23px 26px;
  margin-bottom: 25px;
}
.onboarding h2 {
  margin: 10px 0 6px;
  font-size: 21px;
  letter-spacing: -0.6px;
}
.onboarding p {
  margin: 0;
  color: #89937e;
  font-size: 12px;
}
.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.onboarding-steps a {
  color: var(--ink);
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 13px;
  border: 1px solid #e2e9db;
  border-radius: 9px;
  background: #ffffffc7;
  text-decoration: none;
  font-size: 12px;
}
.onboarding-steps a:hover {
  border-color: #9bb881;
}
.onboarding-steps b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #eaf1df;
  color: #60803e;
  font-size: 12px;
}
.onboarding-steps span {
  flex: 1;
  font-weight: 600;
}
.onboarding-steps small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  color: #909b84;
  margin-top: 4px;
}
.onboarding-steps svg {
  width: 15px;
  height: 15px;
}
.template-preview {
  white-space: pre-wrap;
}
#invite-link {
  font-size: 11px;
}
@media (max-width: 1000px) {
  .welcome-grid {
    gap: 45px;
    padding: 0 30px;
  }
  .public-header {
    padding: 25px 30px;
  }
  .onboarding-steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .welcome-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 10px auto 40px;
    padding: 0 22px;
  }
  .welcome-story {
    padding: 10px 0;
  }
  .welcome-story h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .welcome-story h1 br:first-child {
    display: none;
  }
  .welcome-steps {
    gap: 15px;
    margin-top: 25px;
  }
  .welcome-proof {
    display: none;
  }
  .signup-card {
    width: 100%;
    padding: 26px 23px;
  }
  .public-header {
    padding: 22px;
  }
  .public-header .brand {
    gap: 6px;
    font-size: 17px;
  }
  .public-header .btn {
    font-size: 10px;
    padding: 9px;
  }
  .public-footer {
    padding: 22px;
  }
  .onboarding {
    padding: 20px;
  }
}

[hidden] {
  display: none !important;
}

.public-header .brand > span:not(.brand-mark) {
  display: inline;
}
.public-header .brand em {
  display: inline;
}
/* Universal request platform and launch pages */
.landing-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 30px;
}
.landing-nav a {
  font-size: 12px;
  color: #697362;
  text-decoration: none;
}
.landing-nav a:hover {
  color: #304b20;
}
.landing-section {
  max-width: 1250px;
  margin: 0 auto;
  padding: 80px 44px;
  border-top: 1px solid #e5e9df;
  scroll-margin-top: 25px;
}
.section-intro {
  max-width: 630px;
  margin-bottom: 38px;
}
.section-intro h2,
.intelligence-section h2,
.trust-section h2,
.landing-final-cta h2 {
  font-size: clamp(29px, 3vw, 43px);
  line-height: 1.14;
  letter-spacing: -1.5px;
  font-weight: 600;
  margin: 18px 0;
}
.section-intro p,
.intelligence-section p {
  color: #7b8473;
  font-size: 14px;
  line-height: 1.8;
  max-width: 560px;
}
.landing-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.landing-steps article {
  position: relative;
  border: 1px solid #e0e7d9;
  padding: 29px 24px;
  border-radius: 13px;
  background: white;
}
.landing-steps article > .icon {
  width: 25px;
  height: 25px;
  color: #6b8a52;
  margin-top: 34px;
}
.step-number {
  position: absolute;
  top: 23px;
  right: 24px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #9aaa8b;
}
.landing-steps h3,
.usecase-grid h3,
.source-channels h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 18px 0 11px;
}
.landing-steps p,
.usecase-grid p,
.source-channels p {
  font-size: 12px;
  line-height: 1.8;
  color: #838c7c;
  margin: 0;
}
.usecases-section {
  background: #f1f5eb;
  max-width: none;
  padding-left: max(44px, calc((100vw - 1162px) / 2));
  padding-right: max(44px, calc((100vw - 1162px) / 2));
}
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.usecase-grid article {
  background: #ffffffa8;
  border: 1px solid #e1e8d8;
  border-radius: 13px;
  padding: 29px;
}
.usecase-grid article > .icon {
  width: 25px;
  height: 25px;
  color: #6b8a52;
}
.usecase-grid article > span {
  display: block;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid #e3e9dc;
  color: #9aa48e;
  font-size: 10px;
}
.landing-footnote {
  color: #929c86;
  font-size: 11px;
  line-height: 1.8;
  margin: 25px 0 0;
  max-width: 920px;
}
.source-channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.source-channels article {
  border-top: 2px solid #dfe8d6;
  padding: 22px 0;
}
.source-channels article > .icon {
  display: block;
  width: 25px;
  height: 25px;
  color: #718667;
  margin-top: 26px;
}
.channel-state {
  font-size: 9px;
  letter-spacing: 0.3px;
  color: #959b8e;
  background: #edf0e8;
  padding: 5px 8px;
  border-radius: 4px;
}
.channel-state.live {
  background: #e3efd5;
  color: #638247;
}
.intelligence-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.intelligence-section ul {
  list-style: none;
  padding: 0;
  margin: 27px 0 0;
  display: grid;
  gap: 14px;
}
.intelligence-section li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #75826b;
}
.intelligence-section li .icon {
  color: #759559;
  width: 17px;
  height: 17px;
}
.agent-illustration {
  border: 1px solid #dce5d3;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px #304b2010;
  overflow: hidden;
}
.agent-illustration-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 21px 24px;
  font-size: 12px;
  font-weight: 600;
  background: #edf4e3;
  border-bottom: 1px solid #dce5d3;
}
.agent-illustration-head .icon {
  color: #638247;
}
.agent-illustration-head > span {
  margin-left: auto;
  font-size: 8px;
  background: white;
  padding: 4px 7px;
  border-radius: 4px;
  color: #849776;
  font-weight: 400;
}
.agent-flow-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 24px;
  border-bottom: 1px solid #edf0e8;
}
.agent-flow-row > b {
  background: #f0f4ea;
  color: #8aa074;
  display: grid;
  place-items: center;
  height: 27px;
  width: 27px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 500;
}
.agent-flow-row > span {
  flex: 1;
  font-size: 12px;
  color: #5c6951;
}
.agent-flow-row small {
  display: block;
  color: #a0ab94;
  margin-bottom: 6px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.agent-flow-row > .icon {
  width: 17px;
  color: #98ac85;
}
.agent-illustration > p {
  padding: 16px 24px;
  margin: 0;
  color: #a0ab94;
  font-size: 9px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pricing-card {
  background: white;
  border: 1px solid #e2e7dc;
  border-radius: 14px;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.recommended {
  border-color: #a4c785;
  box-shadow: 0 12px 35px #496c2e0b;
}
.pricing-recommended {
  position: absolute;
  top: -12px;
  right: 24px;
  background: #c4ef91;
  color: #47632f;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 700;
}
.pricing-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
}
.pricing-card > p {
  color: #8b9581;
  font-size: 11px;
  line-height: 1.7;
  min-height: 38px;
  margin: 0;
}
.plan-price {
  font-size: 43px;
  letter-spacing: -2px;
  font-weight: 600;
  margin-top: 25px;
}
.plan-price > span {
  font-size: 11px;
  color: #a1aa97;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 8px;
}
.pricing-card > small {
  color: #a1aa97;
  font-size: 10px;
  margin: 8px 0 23px;
}
.pricing-card ul {
  list-style: none;
  padding: 23px 0 12px;
  margin: 0 0 15px;
  border-top: 1px solid #edf0e8;
  flex: 1;
  display: grid;
  gap: 15px;
}
.pricing-card li {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #718064;
}
.pricing-card li .icon {
  width: 14px;
  height: 14px;
  color: #8ca975;
}
.trust-section {
  background: #202923;
  color: #f2f6ec;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  padding: 55px 48px;
  max-width: 1162px;
  margin: 20px auto 0;
  border: 0;
}
.trust-section .eyebrow {
  color: #a4c78a;
}
.trust-section > div:last-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px;
}
.trust-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 10px;
}
.trust-section h3 .icon {
  width: 15px;
  height: 15px;
  color: #b2cf94;
}
.trust-section p {
  color: #94a38c;
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
}
.landing-faq {
  border: 0;
}
.landing-faq details {
  border-bottom: 1px solid #e1e7d9;
  padding: 21px 0;
}
.landing-faq summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 14px;
  list-style: none;
}
.landing-faq summary > span {
  color: #8da477;
}
.landing-faq details > p {
  color: #87947b;
  font-size: 12px;
  line-height: 1.9;
  max-width: 850px;
  margin: 17px 0 0;
}
.landing-final-cta {
  text-align: center;
  padding: 65px 0 5px;
}
.landing-final-cta .btn {
  margin-top: 15px;
}
.public-footer a {
  color: inherit;
  text-decoration: none;
}
.verification-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #8c7956;
  background: #fbf6e9;
  border: 1px solid #ede1c7;
  padding: 12px 16px;
  border-radius: 9px;
  margin-bottom: 22px;
}
.verification-strip .btn {
  margin-left: auto;
  font-size: 10px;
}
.forgot-link {
  display: block;
  text-align: right;
  margin-top: 14px;
  font-size: 11px;
  color: #80906f;
}
.index-state {
  font-size: 9px;
  color: #a48a52;
}
.index-state.ready {
  color: #72994f;
}
.source-url {
  margin-top: 20px;
}
.source-url input {
  font-size: 10px;
  padding: 9px;
  color: #8a947f;
}
.source-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.agent-summary {
  border-left: 2px solid #b1cf94;
  padding: 8px 13px;
  font-size: 12px;
  line-height: 1.8;
  color: #7d8e6d;
}
.account-recovery {
  max-width: 470px;
  margin: 65px auto;
  padding: 0 22px;
}
.account-recovery > .brand {
  color: var(--ink);
  padding: 0 0 25px;
  margin: 0;
}
.account-recovery h1 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 5px 0 15px;
}
.account-recovery .signup-card > p {
  color: #8a947e;
  line-height: 1.8;
  font-size: 12px;
}
#recovery-result {
  color: #5a7d40;
  font-size: 12px;
  line-height: 1.8;
}
.intake-body {
  background: #f5f8ef;
  min-height: 100vh;
  padding: 55px 20px;
}
.intake-card {
  max-width: 540px;
  margin: auto;
  background: white;
  border: 1px solid #e0e8d7;
  box-shadow: 0 15px 70px #304b2010;
  border-radius: 18px;
  padding: 35px 38px;
}
.intake-brand {
  display: block;
  text-decoration: none;
  color: #5e7948;
  letter-spacing: -0.8px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 38px;
}
.intake-brand span {
  font-size: 9px;
  background: #e6efd9;
  padding: 2px 4px;
  border-radius: 3px;
}
.intake-card h1 {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 15px 0;
}
.intake-card > p {
  font-size: 12px;
  line-height: 1.8;
  color: #89947f;
  margin-bottom: 25px;
}
.intake-card .field {
  margin-bottom: 17px;
}
.intake-footer {
  color: #a3ae97;
  text-align: center;
  font-size: 9px;
  margin-top: 27px;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.receipt-mark {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  background: #e4f3d4;
  border-radius: 50%;
  color: #729553;
  margin-bottom: 25px;
  font-size: 25px;
}
.receipt-code {
  display: block;
  background: #f0f6e9;
  padding: 17px 22px;
  border: 1px solid #dbe8cf;
  color: #648447;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  margin: 22px 0;
}
.sidebar nav {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #4a5844 transparent;
  min-height: 100px;
}
@media (max-width: 1000px) {
  .landing-steps,
  .source-channels {
    grid-template-columns: 1fr 1fr;
  }
  .intelligence-section {
    gap: 35px;
  }
  .trust-section {
    margin-left: 25px;
    margin-right: 25px;
  }
  .pricing-card {
    padding: 24px 20px;
  }
  .landing-nav {
    gap: 18px;
    margin-right: 20px;
  }
}
@media (max-width: 720px) {
  .landing-nav {
    display: none;
  }
  .landing-section {
    padding: 48px 22px;
  }
  .landing-steps,
  .source-channels {
    gap: 16px;
  }
  .landing-steps article {
    padding: 24px 18px;
  }
  .usecase-grid,
  .intelligence-section,
  .pricing-grid,
  .trust-section {
    grid-template-columns: 1fr;
  }
  .usecase-grid {
    gap: 14px;
  }
  .pricing-grid {
    gap: 24px;
  }
  .intelligence-section {
    gap: 30px;
  }
  .trust-section {
    padding: 35px 25px;
    margin: 15px 22px 0;
    gap: 20px;
    border-radius: 14px;
  }
  .trust-section > div:last-child {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .section-intro h2,
  .intelligence-section h2,
  .trust-section h2 {
    font-size: 32px;
  }
  .intake-card {
    padding: 28px 23px;
  }
  .intake-body {
    padding: 25px 18px;
  }
  .verification-strip {
    flex-wrap: wrap;
  }
  .verification-strip .btn {
    margin-left: 0;
  }
}
@media (max-width: 390px) {
  .landing-steps,
  .source-channels {
    grid-template-columns: 1fr;
  }
}
.policy-document {
  max-width: 850px;
  margin: 60px auto;
  padding: 0 25px 60px;
}
.policy-document > a {
  color: #739251;
  text-decoration: none;
  font-size: 13px;
}
.policy-document h1 {
  font-size: 36px;
  letter-spacing: -1.3px;
  margin: 30px 0;
}
.policy-document section {
  margin-top: 30px;
}
.policy-document h2 {
  font-size: 18px;
}
.policy-document p {
  color: #7b8871;
  font-size: 13px;
  line-height: 1.9;
}
.demo-release-strip {
  align-items: flex-start;
  flex-wrap: wrap;
}
.demo-release-strip > div {
  flex: 1 1 240px;
}
.demo-release-strip p {
  margin: 6px 0 0;
  line-height: 1.6;
}
