@import url("/Assets/fonts.css");
:root {
  --ink: #16332d;
  --muted: #6f827b;
  --green: #0c7159;
  --mint: #d5f7d9;
  --line: #e2eae5;
  --bg: #f5f8f5;
  --white: #fff;
  --red: #b83636;
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
.button {
  cursor: pointer;
  border: 0;
  background: var(--green);
  color: #fff;
  border-radius: 9px;
  padding: 12px 18px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.secondary,
.button.secondary {
  color: var(--ink);
  background: #eaf0eb;
}
button.danger {
  background: #fcebea;
  color: var(--red);
}
button.small {
  font-size: 12px;
  padding: 7px 10px;
}
input,
textarea,
select {
  border: 1px solid #d4e0d8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  width: 100%;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #37a887;
  box-shadow: 0 0 0 3px #32aa8816;
}
textarea {
  resize: vertical;
  min-height: 105px;
}
label {
  display: block;
  margin: 15px 0 6px;
  font-weight: 600;
  font-size: 12px;
}
input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}
input[type="color"] {
  height: 44px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.1px;
  margin-bottom: 10px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.65;
}
.muted,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -1px;
}
.brand-icon {
  width: 39px;
  height: 39px;
  background: var(--green);
  color: var(--mint);
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 31px;
  font-weight: 800;
}
.brand small {
  font-size: 8px;
  letter-spacing: 2.5px;
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 235px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 29px 20px 20px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.nav-caption {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #8b9a93;
  margin: 30px 8px 13px;
  display: block;
  font-weight: 700;
}
.sidebar nav {
  overflow: auto;
  flex: 1;
}
.sidebar nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  margin: 2px 0;
  color: #5b7168;
  font-weight: 550;
}
.sidebar nav a:hover,
.sidebar nav a.active {
  background: #eaf6ed;
  color: #14684e;
}
.sidebar-bottom {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.link-button {
  background: none;
  color: var(--muted);
  padding: 0;
}
.workspace {
  margin-left: 235px;
}
.topbar {
  height: 74px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: #ffffffb8;
  color: var(--muted);
  font-size: 12px;
}
.top-link {
  font-weight: 650;
  color: var(--green);
}
#menu-toggle {
  display: none;
}
.page-content {
  padding: 34px;
  max-width: 1700px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  font-weight: 750;
  margin-bottom: 10px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.metric {
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -1px;
  margin: 14px 0 4px;
}
.metric-label {
  color: var(--muted);
  font-size: 12px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.table-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  white-space: nowrap;
}
th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  background: #f8faf8;
}
th,
td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  max-width: 350px;
  overflow: hidden;
  text-overflow: ellipsis;
}
tr:last-child td {
  border: 0;
}
.badge {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 6px;
  background: #e9f4eb;
  color: #26744d;
  font-size: 10px;
  font-weight: 700;
}
.badge.warn {
  background: #fff3d5;
  color: #8c6924;
}
.badge.red {
  background: #ffebea;
  color: #a43333;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.row > * {
  flex: 1;
}
.actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 20px;
}
.filters {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filters > div {
  min-width: 130px;
  flex: 1;
}
.filters label {
  margin-top: 0;
}
.chart {
  height: 240px;
  position: relative;
}
.chart canvas {
  max-width: 100%;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  width: min(600px, 94vw);
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 24px 80px #052d2429;
}
dialog::backdrop {
  background: #06271e65;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  color: var(--muted);
  font-size: 24px;
  padding: 4px 8px;
}
#toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 420px;
  background: #173e32;
  color: #fff;
  padding: 16px 23px;
  border-radius: 12px;
  box-shadow: 0 8px 30px #0002;
  z-index: 100;
  display: none;
}
#toast.error {
  background: #8c3030;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
}
.checks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.checks label {
  background: #f0f5f1;
  padding: 9px 12px;
  border-radius: 8px;
  margin: 0;
}
.chat-layout {
  display: grid;
  grid-template-columns: 285px minmax(300px, 1fr) 240px;
  height: calc(100vh - 155px);
  min-height: 500px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.chat-list {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-list-head {
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
}
.chat-list-head h2 {
  font-size: 18px;
}
.chat-items {
  overflow: auto;
  flex: 1;
}
.conversation {
  padding: 16px;
  border-bottom: 1px solid #edf2ed;
  cursor: pointer;
}
.conversation:hover,
.conversation.selected {
  background: #eff8ef;
}
.conversation strong {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}
.conversation p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conversation small {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  color: #83958b;
}
.chat-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f7f9f5;
}
.chat-header {
  background: #fff;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.chat-header h3 {
  margin: 0 0 4px;
}
.chat-history {
  padding: 22px;
  overflow: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.bubble {
  border: 1px solid #e1e8dd;
  background: #fff;
  border-radius: 0 13px 13px 13px;
  padding: 12px 15px;
  max-width: 85%;
  align-self: flex-start;
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.bubble.out {
  align-self: flex-end;
  background: #e0f2d8;
  border-color: #d4e7cb;
  border-radius: 13px 0 13px 13px;
}
.bubble small {
  display: block;
  font-size: 9px;
  color: #779074;
  margin-top: 7px;
}
.bubble a {
  display: block;
  font-weight: 700;
  text-decoration: underline;
}
.composer {
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  background: #fff;
}
.composer textarea {
  min-height: 55px;
  max-height: 150px;
}
.composer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 10px;
}
.composer-footer select {
  width: 180px;
  font-size: 11px;
  padding: 8px;
}
.chat-info {
  padding: 20px;
  overflow: auto;
  border-left: 1px solid var(--line);
}
.chat-info h3 {
  margin-top: 20px;
}
.chat-info .actions button {
  font-size: 10px;
  padding: 8px;
}
.note {
  background: #fff5d7;
  padding: 12px;
  border-radius: 8px;
  font-size: 11px;
  white-space: pre-wrap;
  margin-bottom: 8px;
}
.note small {
  display: block;
  margin-top: 5px;
  color: #937b43;
}
.attachment {
  font-size: 11px;
  max-width: 180px;
}
.auth-body {
  min-height: 100vh;
  background: #eef5eb;
  display: grid;
  place-items: center;
  padding: 25px;
}
.auth-card {
  background: #fff;
  border: 1px solid #e1eadc;
  border-radius: 24px;
  width: min(440px, 100%);
  padding: 38px;
  box-shadow: 0 16px 80px #2450350c;
}
.auth-card .brand {
  margin-bottom: 36px;
}
.auth-card h1 {
  font-size: 27px;
}
.auth-card button[type="submit"] {
  width: 100%;
  margin-top: 23px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 12px;
  color: var(--green);
}
.qr {
  width: 260px;
  max-width: 100%;
  display: block;
  margin: 20px auto;
}
.notice {
  padding: 14px 18px;
  background: #fff4d9;
  border: 1px solid #f0e5bd;
  color: #776027;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.6;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tabs button {
  background: #e9f0e9;
  color: var(--ink);
}
.tabs button.active {
  background: var(--green);
  color: white;
}
.landing {
  background: #fcfdf9;
}
.landing nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 24px 28px;
}
.landing nav .links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 12px;
}
.hero {
  max-width: 1200px;
  margin: auto;
  padding: 70px 28px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}
.hero h1 {
  font-size: 64px;
  letter-spacing: -3px;
  line-height: 1.03;
  margin: 24px 0;
}
.hero h1 em {
  font-style: normal;
  color: #198066;
}
.hero p {
  font-size: 16px;
  color: #718175;
  max-width: 450px;
}
.pill {
  display: inline-flex;
  background: #e8f3df;
  color: #47733b;
  padding: 8px 12px;
  border-radius: 30px;
  font-size: 10px;
  letter-spacing: 0.7px;
  font-weight: 650;
}
.hero .actions {
  margin-top: 28px;
}
.hero .button {
  padding: 16px 23px;
}
.hero-art {
  position: relative;
  padding: 30px 0;
}
.product-window {
  background: white;
  border: 1px solid #d7e4d4;
  border-radius: 16px;
  box-shadow: 0 30px 80px #285d2820;
  overflow: hidden;
  transform: rotate(-2deg);
}
.mock-title {
  padding: 14px 18px;
  border-bottom: 1px solid #e8eee4;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.mock-body {
  display: grid;
  grid-template-columns: 145px 1fr;
  min-height: 320px;
}
.mock-sidebar {
  padding: 16px 12px;
  background: #f8fbf5;
  border-right: 1px solid var(--line);
}
.mock-item {
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.mock-item b {
  display: block;
  margin-bottom: 6px;
}
.mock-chat {
  background: #f3f7ec;
  padding: 22px 14px;
}
.mock-bubble {
  font-size: 11px;
  background: white;
  padding: 13px;
  border-radius: 12px;
  margin: 12px 0;
  line-height: 1.5;
}
.mock-bubble.green {
  background: #d7edcb;
  margin-left: 24px;
}
.floating-label {
  position: absolute;
  bottom: 6px;
  right: -12px;
  border: 1px solid #dbe6d5;
  background: #fff;
  border-radius: 12px;
  padding: 17px 24px;
  box-shadow: 0 10px 40px #0001;
  font-size: 12px;
}
.landing-section {
  max-width: 1200px;
  padding: 65px 28px;
  margin: auto;
}
.landing-section h2 {
  font-size: 40px;
  letter-spacing: -1.7px;
  max-width: 700px;
  line-height: 1.15;
}
.feature-card {
  padding: 30px;
  background: #f1f6ec;
  border: 1px solid #e4ebde;
  border-radius: 16px;
}
.feature-card .symbol {
  font-size: 26px;
  color: #548b42;
  margin-bottom: 32px;
  display: block;
}
.feature-card p {
  font-size: 12px;
  color: #70806c;
  margin-bottom: 0;
}
.pricing {
  text-align: center;
  background: #eef5e8;
  border-radius: 30px;
  padding: 50px 35px;
}
.pricing h2 {
  margin-left: auto;
  margin-right: auto;
}
.price-card {
  text-align: left;
  background: #fff;
  border: 1px solid #dbe5d5;
  padding: 28px;
  border-radius: 18px;
  position: relative;
}
.price-card.free {
  background: #123d2c;
  color: #fff;
  border-color: #123d2c;
}
.price-card.free .muted {
  color: #adc6b5;
}
.price {
  font-size: 46px;
  letter-spacing: -2px;
  font-weight: 750;
  margin: 25px 0;
}
.price small {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
}
.price-card ul {
  padding-left: 18px;
  font-size: 12px;
  line-height: 2.2;
  min-height: 200px;
}
.price-card .button {
  width: 100%;
}
.price-card.free .button {
  background: #cff3a9;
  color: #1a442b;
}
.landing details {
  padding: 22px 0;
  border-bottom: 1px solid #dce5d7;
}
.landing summary {
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}
.landing details p {
  color: #76816f;
  max-width: 850px;
  margin-top: 15px;
  font-size: 13px;
}
.landing-footer {
  max-width: 1200px;
  margin: auto;
  padding: 35px 28px;
  border-top: 1px solid #e3e9df;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #778573;
}
.video-placeholder {
  background: #e9f1e1;
  border: 1px solid #d8e4cc;
  border-radius: 20px;
  padding: 45px;
  text-align: center;
  color: #607753;
}
.video-placeholder video {
  width: 100%;
  max-height: 420px;
}
.hero-meta {
  margin-top: 22px;
  font-size: 11px;
  color: #75846e;
}
.split-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.loading {
  padding: 30px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .chat-layout {
    grid-template-columns: 320px minmax(400px, 1fr) 290px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 200px;
    padding: 24px 14px;
  }
  .workspace {
    margin-left: 200px;
  }
  .page-content {
    padding: 24px;
  }
  .chat-layout {
    grid-template-columns: 245px 1fr;
  }
  .chat-info {
    display: none;
  }
  .chat-info.open {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    background: white;
    z-index: 30;
    box-shadow: -20px 0 40px #0002;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero {
    gap: 30px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
    width: 235px;
    box-shadow: 10px 0 40px #0002;
  }
  .workspace {
    margin-left: 0;
  }
  #menu-toggle {
    display: block;
    padding: 6px 10px;
    background: #e6f0e4;
    color: var(--green);
  }
  .topbar {
    padding: 0 18px;
    height: 60px;
  }
  .page-content {
    padding: 20px 14px;
  }
  h1 {
    font-size: 25px;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 20px;
  }
  .chat-layout {
    height: calc(100dvh - 115px);
    min-height: 400px;
    grid-template-columns: 1fr;
  }
  .chat-main,
  .chat-info {
    display: none;
  }
  .chat-layout.selected-chat .chat-list {
    display: none;
  }
  .chat-layout.selected-chat .chat-main {
    display: flex;
  }
  .page-heading {
    gap: 10px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero-art {
    max-width: 540px;
  }
  .landing nav .links a:not(.button) {
    display: none;
  }
  .landing-section h2 {
    font-size: 31px;
  }
  .pricing {
    padding: 30px 15px;
  }
  .floating-label {
    right: 0;
  }
  .landing-footer {
    gap: 15px;
    flex-wrap: wrap;
  }
  .split-callout {
    display: block;
  }
  .mock-body {
    grid-template-columns: 120px 1fr;
  }
  .auth-card {
    padding: 28px;
  }
  .topbar > span {
    display: none;
  }
  .cards {
    gap: 12px;
  }
  .metric {
    font-size: 27px;
  }
}

.message-image {
  display: block;
  max-width: 100%;
  max-height: 320px;
  border-radius: 9px;
  margin: 8px 0;
}
.bubble video,
.bubble audio {
  display: block;
  max-width: 100%;
  margin: 8px 0;
}
.hero > * {
  min-width: 0;
}
@media (max-width: 800px) {
  .hero h1 {
    font-size: clamp(35px, 10.5vw, 46px);
    letter-spacing: -1.9px;
  }
  .hero-art {
    min-width: 0;
  }
  .chat-header {
    padding: 14px;
  }
  .composer-footer {
    flex-wrap: wrap;
  }
  .composer-footer select {
    max-width: 48%;
  }
  .composer-footer .attachment {
    max-width: 45%;
  }
}
