:root {
  --ink: #22372f;
  --muted: #7c8981;
  --green: #205440;
  --green-light: #e8efe6;
  --accent: #d9e9c5;
  --line: #e3e7df;
  --bg: #f7f8f3;
  --white: #fff;
  --danger: #ab3b38;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #80a77b;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.workspace {
  display: flex;
  min-height: 100dvh;
}
.sidebar {
  width: 248px;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 31px 20px 20px;
  background: #f0f2eb;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 27px;
  font-weight: 680;
  letter-spacing: -1.5px;
  padding: 0 9px;
}
.brand-dot {
  color: #7c9962;
}
.workspace-name {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 37px 0 32px;
  padding: 12px 9px;
  border: 1px solid #dce1d5;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  background: #f7f8f3;
}
.workspace-avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 31px;
  border-radius: 6px;
  background: #e3e8db;
  color: #637654;
  font-size: 12px;
}
.workspace-name small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}
.chevron {
  margin-left: auto;
  font-size: 16px;
  color: #8b978a;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #8d998d;
  margin: 0 12px 12px;
  font-weight: 600;
}
nav {
  display: grid;
  gap: 7px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 45px;
  padding: 11px 14px;
  color: #7b877d;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 550;
}
.nav-link.active {
  background: #dde7d7;
  color: #28523c;
}
.nav-link:hover {
  background: #e5eadd;
}
.nav-icon svg {
  width: 17px;
  height: 17px;
}
.nav-arrow {
  margin-left: auto;
}
.count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  border-radius: 5px;
  background: #e8ece2;
  font-size: 10px;
  font-weight: 500;
  color: #66775d;
}
.nav-link .count {
  margin-left: auto;
  background: #e2e7dc;
}
.sidebar-card {
  border: 1px solid #d9e0d0;
  border-radius: 9px;
  padding: 19px 16px;
  margin: 56px 5px 25px;
  background: linear-gradient(145deg, #eef1e4, #e5ebd9);
  position: relative;
  overflow: hidden;
}
.mini-orbit {
  position: absolute;
  right: -8px;
  top: 2px;
  font-size: 100px;
  color: #d2ddc3;
  line-height: 1;
}
.sidebar-card strong {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.6px;
  position: relative;
  font-weight: 550;
}
.sidebar-card p {
  font-size: 10px;
  line-height: 1.8;
  color: #7e8b75;
  margin: 12px 0 19px;
  max-width: 150px;
  position: relative;
}
.sidebar-card a {
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 9px;
  color: #889381;
  padding: 0 8px;
}
.system-dot,
.composer-indicator {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #75a06f;
  margin-right: 7px;
}
.account {
  display: flex;
  align-items: center;
  border: 0;
  border-top: 1px solid #dce2d4;
  background: transparent;
  padding: 17px 0 0;
  margin-top: 17px;
  width: 100%;
  gap: 10px;
  text-align: left;
  color: #54654f;
  font-size: 11px;
}
.account > span:last-child {
  margin-left: auto;
  color: #8a9685;
}
.account-avatar,
.topbar-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dfe6d7;
  font-size: 11px;
  font-weight: 600;
  color: #596b4f;
}
.main-shell {
  margin-left: 248px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: calc(100% - 248px);
}
.topbar {
  height: 77px;
  padding: 0 43px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbf7;
}
.breadcrumb {
  font-size: 11px;
  color: #8a938a;
  display: flex;
  align-items: center;
  gap: 14px;
}
.breadcrumb strong {
  font-weight: 500;
  color: #5c6b5f;
}
.breadcrumb span {
  color: #b9c2b5;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.demo-badge {
  font-size: 9px;
  color: #829175;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e0e6d8;
  padding: 6px 10px;
  border-radius: 20px;
}
.demo-badge > span {
  width: 4px;
  height: 4px;
  background: #93a97b;
  border-radius: 50%;
}
main {
  padding: 38px 43px 10px;
  flex: 1;
  width: 100%;
  max-width: 1600px;
  margin: auto;
}
.view-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: #7c9171;
}
h1 {
  font-size: 33px;
  font-weight: 550;
  letter-spacing: -1.2px;
  margin: 10px 0;
}
.heading-dot {
  color: #a3b78c;
}
.view-heading p {
  margin: 0;
  color: #8c968b;
  font-size: 11px;
  line-height: 1.7;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 11px 15px;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
  min-height: 37px;
}
.button svg {
  width: 14px;
  height: 14px;
}
.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 2px 3px #203a2510;
}
.primary:hover {
  background: #16412f;
}
.secondary {
  border-color: #dfe5d8;
  background: #fcfdf9;
  color: #62735b;
}
.secondary:hover {
  background: #edf1e6;
}
.danger {
  background: #a33c36;
  color: white;
}
.preview-notice {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid #e0e7d5;
  background: #f0f4e8;
  border-radius: 7px;
  margin-bottom: 22px;
  color: #8c987e;
  font-size: 10px;
  line-height: 1.6;
}
.preview-notice svg {
  width: 16px;
  height: 16px;
  color: #7d9466;
  flex-shrink: 0;
}
.preview-notice p {
  margin: 0;
}
.preview-notice strong {
  font-weight: 500;
  color: #6c7d5f;
}
.chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 222px;
  gap: 27px;
  align-items: start;
}
.conversation {
  min-width: 0;
}
.welcome {
  text-align: center;
  background: #fffefa;
  border: 1px solid #e5e8df;
  border-radius: 12px;
  min-height: 444px;
  padding: 28px 28px 26px;
  box-shadow: 0 3px 15px #24321a02;
}
.welcome-art {
  position: relative;
  height: 133px;
  width: 210px;
  margin: 0 auto 12px;
}
.orbit {
  position: absolute;
  width: 136px;
  height: 105px;
  border: 1px dashed #dce5cf;
  border-radius: 50%;
  left: 38px;
  top: 14px;
  transform: rotate(-23deg);
}
.orbit-two {
  transform: rotate(45deg);
  width: 174px;
  height: 82px;
  left: 17px;
  top: 30px;
  border-color: #e3e8d9;
}
.art-document {
  position: absolute;
  left: 74px;
  top: 14px;
  background: linear-gradient(135deg, #fff, #edf1e7);
  border: 1px solid #d8e2cc;
  box-shadow: 7px 8px 22px #8394761a;
  transform: rotate(-11deg);
  width: 65px;
  height: 81px;
  border-radius: 6px;
  padding: 21px 14px;
}
.art-document > span {
  display: block;
  height: 3px;
  background: #c2d0b4;
  border-radius: 3px;
  margin-bottom: 8px;
}
.art-document > span:last-of-type {
  width: 60%;
}
.art-document i {
  font-style: normal;
  position: absolute;
  right: -9px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: #d8e8c4;
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 11px;
  color: #668650;
}
.art-spark {
  position: absolute;
  left: 147px;
  top: 5px;
  color: #afc496;
  font-size: 31px;
}
.art-label {
  position: absolute;
  bottom: 0;
  left: 37px;
  border: 1px solid #e2e8d7;
  background: #f6f8ee;
  transform: rotate(2deg);
  border-radius: 14px;
  font-size: 8px;
  color: #98a688;
  padding: 5px 12px;
}
.welcome .eyebrow {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #94a484;
}
h2 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.8px;
}
.welcome h2 {
  line-height: 1.28;
  margin: 11px 0;
  color: #344d36;
}
.welcome > p {
  font-size: 10px;
  line-height: 1.8;
  color: #939d8c;
  margin: 0 0 26px;
}
.suggestions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  text-align: left;
}
.suggestions button {
  background: #fafbf5;
  border: 1px solid #e8ecdf;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 7px;
  padding: 13px 10px;
  text-align: left;
  color: #6d7f5e;
  min-width: 0;
}
.suggestions button:hover {
  background: #edf3e4;
  border-color: #cbdab8;
}
.suggestions button > span:first-child svg {
  width: 14px;
  height: 14px;
  color: #8fa47a;
}
.suggestions button > span:nth-child(2) {
  font-size: 9px;
  line-height: 1.5;
  font-weight: 550;
}
.suggestions small {
  display: block;
  font-size: 8px;
  color: #9aa68e;
  font-weight: 400;
  margin-top: 4px;
}
.suggestions button > span:last-child {
  margin-left: auto;
  font-size: 12px;
}
.knowledge-panel {
  background: #f0f3e9;
  border: 1px solid #e1e7d8;
  border-radius: 10px;
  padding: 20px 17px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-heading h2 {
  font-size: 11px;
  letter-spacing: 0;
  margin: 0;
  font-weight: 600;
  color: #5c7352;
}
.panel-heading svg {
  width: 15px;
  height: 15px;
  color: #93a283;
}
.knowledge-count {
  margin: 24px 0 20px;
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.knowledge-count strong {
  font-size: 34px;
  font-weight: 450;
  letter-spacing: -1.8px;
  color: #375330;
}
.knowledge-count span {
  font-size: 9px;
  color: #8e9d82;
}
.mini-divider {
  border-bottom: 1px solid #dee6d3;
}
.knowledge-document {
  display: flex;
  gap: 8px;
  padding: 17px 0;
  align-items: flex-start;
}
.knowledge-document svg {
  width: 15px;
  height: 18px;
  flex-shrink: 0;
  color: #8a9d76;
}
.knowledge-document strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 9px;
  line-height: 1.6;
  font-weight: 500;
  color: #687d59;
}
.knowledge-document small {
  font-size: 8px;
  color: #a1ad95;
  display: block;
  margin-top: 4px;
}
.manage-link {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #dee6d3;
  padding-top: 14px;
  font-size: 9px;
  color: #708761;
  font-weight: 500;
}
.source-explainer {
  margin-top: 35px;
  padding-top: 24px;
  border-top: 1px solid #dce5d2;
}
.source-explainer svg {
  width: 23px;
  height: 23px;
  color: #a0b58a;
}
.source-explainer h3 {
  font-size: 12px;
  font-weight: 500;
  color: #6b815a;
  margin: 13px 0 9px;
}
.source-explainer p {
  font-size: 9px;
  color: #99a58e;
  line-height: 1.8;
  margin: 0;
}
.source-tag {
  display: block;
  margin-top: 23px;
  color: #9eae90;
  letter-spacing: 1px;
  font-size: 6px;
}
.composer {
  margin-top: 17px;
  border: 1px solid #dce4d3;
  background: white;
  border-radius: 10px;
  padding: 15px 17px 12px;
  box-shadow: 0 3px 14px #25371e03;
}
.composer:focus-within {
  border-color: #9eb28e;
  box-shadow: 0 0 0 3px #b8cca211;
}
.composer textarea {
  resize: none;
  display: block;
  width: 100%;
  border: 0;
  outline: 0 !important;
  background: transparent;
  min-height: 47px;
  max-height: 180px;
  color: #40573d;
  font-size: 12px;
  line-height: 1.7;
}
.composer textarea::placeholder {
  color: #a7b09e;
}
.composer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 7px;
}
.composer-bottom > span {
  font-size: 8px;
  color: #9ca991;
}
.composer-indicator {
  width: 4px;
  height: 4px;
  background: #a4ba8f;
}
.composer button {
  display: grid;
  place-items: center;
  background: #2e5a3d;
  border: 0;
  width: 31px;
  height: 31px;
  border-radius: 7px;
  color: #f2f7e9;
}
.composer button svg {
  width: 16px;
  height: 16px;
}
.composer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 8px;
  color: #a5ae9b;
  margin: 12px 0 0;
  line-height: 1.7;
  text-align: center;
}
.composer-note svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}
.page-footer {
  border-top: 1px solid #e5e9de;
  display: flex;
  justify-content: space-between;
  margin: 26px 43px 0;
  padding: 17px 0;
  color: #a6afa0;
  font-size: 8px;
  letter-spacing: 0.1px;
}
.page-footer > span:last-child {
  display: flex;
  gap: 16px;
}
.messages:empty {
  display: none;
}
.message {
  padding: 21px 23px;
  border: 1px solid var(--line);
  background: #fffefa;
  border-radius: 11px;
  margin-bottom: 15px;
  animation: appear 0.2s ease;
}
.message.user {
  background: #edf2e7;
  border-color: #e2e8d9;
  margin-left: 45px;
}
.message-heading {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #7a8d6c;
  font-weight: 600;
  margin-bottom: 13px;
}
.message-heading svg {
  width: 17px;
  height: 17px;
}
.message p {
  font-size: 12px;
  line-height: 1.9;
  color: #50614b;
  margin: 0 0 13px;
  white-space: pre-wrap;
}
.message p:last-child {
  margin-bottom: 0;
}
.message-status {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 0.3px;
  padding: 4px 6px;
  border-radius: 4px;
  background: #f0f4e9;
  color: #8a9e7c;
}
.message.blocked {
  border-color: #e5d7b7;
  background: #fdfbf5;
}
.sources {
  margin-top: 18px;
  border-top: 1px solid #e4e9dc;
  padding-top: 14px;
}
.sources summary {
  font-size: 10px;
  color: #718564;
  cursor: pointer;
  line-height: 2;
}
.source-card {
  border: 1px solid #e6eadf;
  border-radius: 6px;
  margin-top: 10px;
  padding: 12px;
  background: #f8faf3;
}
.source-card strong {
  font-size: 10px;
  display: block;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.source-card blockquote {
  font-size: 11px;
  line-height: 1.8;
  color: #839275;
  margin: 9px 0 0;
  white-space: pre-wrap;
}
.message .demo-caption {
  font-size: 9px;
  color: #9aa48f;
  font-style: italic;
}
.typing {
  color: #8fa080;
  font-size: 11px;
}
.typing::after {
  content: " …";
  animation: pulse 1s ease infinite;
}
.dropzone {
  border: 1.5px dashed #cbd9bd;
  background: #f0f5e9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 32px;
  margin-bottom: 32px;
}
.dropzone.dragging {
  background: #e1edda;
  border-color: #648552;
}
.upload-symbol {
  display: grid;
  place-items: center;
  width: 58px;
  height: 62px;
  background: #e4edda;
  border-radius: 10px;
  color: #89a176;
}
.upload-symbol svg {
  width: 27px;
  height: 27px;
}
.dropzone h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin: 0 0 7px;
  color: #526f42;
}
.dropzone p {
  font-size: 11px;
  color: #829471;
  margin: 0 0 9px;
}
.dropzone small {
  font-size: 9px;
  color: #a2af95;
}
.dropzone .button {
  margin-left: auto;
}
.documents-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.documents-toolbar h2 {
  font-size: 15px;
  letter-spacing: -0.3px;
  font-weight: 550;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.documents-toolbar p {
  font-size: 10px;
  color: #96a18e;
  margin: 7px 0 0;
}
.search {
  border: 1px solid #e0e6d8;
  background: #fffefa;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 7px;
  width: 220px;
}
.search svg {
  width: 14px;
  height: 14px;
  color: #98a78b;
}
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10px;
  color: #657a58;
}
.search input::placeholder {
  color: #a1ac97;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid #e1e7d7;
  border-radius: 9px;
  background: #fffefa;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 9px;
  color: #9aa68e;
  font-weight: 500;
  background: #f2f5ec;
  padding: 15px 18px;
  border-bottom: 1px solid #e3e9dc;
}
td {
  padding: 22px 18px;
  border-bottom: 1px solid #eef0e8;
  font-size: 10px;
  color: #8a9b7c;
}
tr:last-child td {
  border-bottom: 0;
}
.file-cell {
  display: flex;
  gap: 11px;
  align-items: center;
}
.file-icon {
  color: #8ea47c;
  border: 1px solid #e2e8d8;
  background: #f2f6ec;
  border-radius: 6px;
  width: 35px;
  height: 40px;
  display: grid;
  place-items: center;
}
.file-icon svg {
  width: 18px;
  height: 20px;
}
.file-name {
  color: #617851;
  font-size: 11px;
  font-weight: 500;
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-meta {
  font-size: 8px;
  color: #a5b096;
  margin-top: 5px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 15px;
  padding: 5px 8px;
  font-size: 8px;
  background: #eaf2e3;
  color: #7b9965;
}
.status::before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.status.processing {
  background: #f7efdb;
  color: #b3995b;
}
.status.failed {
  background: #f6e9e5;
  color: #b18a7b;
}
.status.demo {
  background: #eceef0;
  color: #939aa1;
}
.row-actions {
  display: flex;
  gap: 7px;
}
.icon-button {
  border: 1px solid #e5eadc;
  background: #fcfdf8;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 5px;
  color: #95a284;
}
.icon-button:hover {
  background: #edf3e5;
  color: #607b4b;
}
.icon-button svg {
  width: 13px;
  height: 13px;
}
.icon-button.delete:hover {
  background: #f8eeeb;
  color: #ad7064;
}
.document-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #a4af98;
  font-size: 9px;
  line-height: 1.8;
  margin-top: 17px;
  max-width: 760px;
}
.document-footer p {
  margin: 0;
}
.document-footer svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.empty-documents {
  text-align: center;
  padding: 55px 20px;
  color: #9fae90;
}
.empty-documents svg {
  width: 30px;
  height: 30px;
}
.empty-documents h3 {
  font-size: 17px;
  font-weight: 500;
  color: #789064;
}
.empty-documents p {
  font-size: 11px;
}
.upload-progress {
  padding: 14px;
  background: #edf3e5;
  border: 1px solid #d8e4c9;
  border-radius: 7px;
  margin: -14px 0 25px;
  font-size: 11px;
  color: #768e61;
}
.global-error {
  padding: 15px 18px;
  border: 1px solid #ead6ca;
  background: #fcf2e9;
  color: #a07259;
  border-radius: 8px;
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.7;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  padding: 14px 22px;
  background: #254a31;
  color: #f0f6e6;
  border: 1px solid #5b7950;
  box-shadow: 0 8px 24px #203b2720;
  border-radius: 9px;
  font-size: 11px;
  max-width: calc(100% - 30px);
  line-height: 1.6;
}
.login-shell {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(ellipse at 20% 30%, #e6edda, transparent 65%), #f5f7ef;
}
.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 34px;
  letter-spacing: -2px;
  font-weight: 600;
  margin-bottom: 35px;
}
.login-card {
  width: 420px;
  max-width: 100%;
  padding: 35px;
  background: #fffefa;
  border: 1px solid #dde6d2;
  border-radius: 14px;
  box-shadow: 0 20px 60px #68834e08;
}
.login-card h1 {
  font-size: 27px;
  letter-spacing: -1px;
  margin: 14px 0 10px;
}
.login-card p {
  font-size: 11px;
  color: #8b9a7c;
  line-height: 1.8;
  margin-bottom: 23px;
}
.login-card label,
dialog label {
  font-size: 10px;
  display: block;
  color: #789064;
  margin: 18px 0 7px;
}
.login-card input,
dialog input {
  border: 1px solid #dce5d1;
  background: #fbfdf7;
  border-radius: 6px;
  padding: 11px;
  width: 100%;
  color: #577044;
}
.login-card .button {
  width: 100%;
  justify-content: space-between;
  margin-top: 15px;
}
.login-note {
  font-size: 9px;
  color: #a7b197;
  text-align: center;
  margin-top: 25px;
}
.error {
  color: #ad6b58 !important;
  font-size: 11px;
}
dialog {
  border: 1px solid #e2ddce;
  box-shadow: 0 20px 100px #24332030;
  border-radius: 12px;
  padding: 30px;
  width: 440px;
  max-width: calc(100% - 32px);
  background: #fffef9;
  color: #516744;
}
dialog::backdrop {
  background: #26322069;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin: 18px 0 13px;
}
dialog p {
  font-size: 11px;
  line-height: 1.8;
  color: #8a957f;
}
.dialog-icon {
  color: #b38875;
  background: #f5eae1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}
.dialog-icon svg {
  width: 19px;
  height: 19px;
}
.delete-filename {
  font-weight: 550;
  overflow-wrap: anywhere;
  background: #f4f5ed;
  padding: 9px 12px;
  border-radius: 5px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.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;
}
svg {
  display: block;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
span[data-icon] {
  display: inline-flex;
  flex-shrink: 0;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
@media (min-width: 1600px) {
  main {
    padding-top: 52px;
  }
  .welcome {
    min-height: 520px;
    padding-top: 45px;
  }
  .welcome-art {
    margin-bottom: 25px;
  }
  .welcome h2 {
    font-size: 33px;
  }
  .welcome > p {
    font-size: 12px;
    margin-bottom: 35px;
  }
  .suggestions button {
    padding: 17px 13px;
  }
  .suggestions button > span:nth-child(2) {
    font-size: 11px;
  }
  .suggestions small {
    font-size: 9px;
  }
  .chat-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 30px;
  }
  .knowledge-panel {
    padding: 25px 20px;
  }
  .knowledge-document strong {
    font-size: 11px;
  }
  .knowledge-document small,
  .manage-link,
  .source-explainer p {
    font-size: 10px;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  .source-explainer h3 {
    font-size: 14px;
  }
  .knowledge-count {
    margin-top: 30px;
  }
  .knowledge-count span {
    font-size: 11px;
  }
  .composer textarea {
    font-size: 14px;
  }
  .composer-bottom > span,
  .composer-note {
    font-size: 10px;
  }
  .view-heading p {
    font-size: 13px;
  }
  .button {
    font-size: 12px;
  }
  .preview-notice {
    font-size: 11px;
    padding: 13px 15px;
  }
  .message p {
    font-size: 14px;
    line-height: 1.9;
  }
  .message-heading {
    font-size: 12px;
  }
  .source-card strong {
    font-size: 12px;
  }
  .source-card blockquote {
    font-size: 13px;
  }
  .file-name {
    font-size: 13px;
  }
  td {
    font-size: 12px;
  }
  .status {
    font-size: 10px;
  }
  .file-meta {
    font-size: 10px;
  }
  th {
    font-size: 11px;
  }
  .dropzone h2 {
    font-size: 22px;
  }
  .dropzone p {
    font-size: 13px;
  }
  .dropzone small {
    font-size: 11px;
  }
  .documents-toolbar h2 {
    font-size: 18px;
  }
  .documents-toolbar p,
  .search input {
    font-size: 12px;
  }
  .search {
    width: 270px;
  }
  .document-footer {
    font-size: 11px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 214px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .main-shell {
    margin-left: 214px;
    width: calc(100% - 214px);
  }
  main {
    padding: 30px 26px 10px;
  }
  .topbar {
    padding: 0 26px;
  }
  .page-footer {
    margin-left: 26px;
    margin-right: 26px;
  }
  .chat-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .knowledge-panel {
    display: none;
  }
  .welcome {
    min-height: 430px;
  }
}
@media (max-width: 720px) {
  .sidebar {
    position: sticky;
    top: 0;
    inset: auto;
    flex-direction: row;
    width: 100%;
    padding: 12px 18px;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 22px;
    padding: 0;
    gap: 7px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .sidebar .workspace-name,
  .sidebar .nav-label,
  .sidebar .sidebar-card,
  .sidebar .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 5px;
  }
  .nav-link {
    font-size: 11px;
    min-height: 36px;
    padding: 9px 11px;
    gap: 6px;
  }
  .nav-icon svg {
    width: 14px;
    height: 14px;
  }
  .nav-arrow,
  .nav-link .count {
    display: none;
  }
  .workspace {
    display: block;
  }
  .main-shell {
    margin: 0;
    width: 100%;
  }
  .topbar {
    height: 52px;
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 9px;
  }
  .topbar-avatar {
    display: none;
  }
  .topbar-right {
    gap: 0;
  }
  .demo-badge {
    font-size: 8px;
    padding: 4px 7px;
  }
  .view-heading {
    margin-bottom: 20px;
    align-items: flex-end;
    gap: 10px;
  }
  .view-heading h1 {
    font-size: 29px;
    margin: 9px 0;
  }
  .view-heading p {
    font-size: 10px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .button {
    padding: 10px 11px;
    font-size: 10px;
    gap: 6px;
  }
  .button svg {
    width: 12px;
    height: 12px;
  }
  main {
    padding: 25px 19px 10px;
  }
  .preview-notice {
    font-size: 9px;
    align-items: flex-start;
    margin-bottom: 17px;
    padding: 10px;
  }
  .welcome {
    padding: 25px 17px 20px;
    min-height: 0;
  }
  .welcome-art {
    transform: scale(0.9);
    margin-bottom: 0;
    height: 126px;
  }
  .welcome h2 {
    font-size: 27px;
  }
  .welcome > p {
    font-size: 10px;
    margin-bottom: 22px;
  }
  .suggestions {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .suggestions button {
    padding: 12px;
    align-items: center;
  }
  .suggestions button > span:nth-child(2) {
    font-size: 10px;
  }
  .suggestions small {
    display: none;
  }
  .composer {
    position: relative;
    padding: 12px;
    margin-top: 15px;
  }
  .composer textarea {
    font-size: 16px;
    min-height: 52px;
  }
  .composer-bottom > span {
    font-size: 8px;
  }
  .composer-note {
    font-size: 8px;
    margin-bottom: 4px;
  }
  .page-footer {
    margin: 20px 19px 0;
    padding: 13px 0;
    line-height: 1.6;
    font-size: 7px;
  }
  .page-footer > span:last-child {
    display: none;
  }
  .dropzone {
    padding: 22px 17px;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 25px;
  }
  .upload-symbol {
    width: 43px;
    height: 49px;
  }
  .upload-symbol svg {
    width: 21px;
    height: 21px;
  }
  .dropzone h2 {
    font-size: 18px;
  }
  .dropzone p {
    font-size: 10px;
    max-width: 175px;
  }
  .dropzone .button {
    width: 100%;
    margin: 6px 0 0;
  }
  .dropzone small {
    font-size: 9px;
  }
  .documents-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .search {
    width: 100%;
  }
  .search input {
    font-size: 13px;
  }
  .documents-toolbar h2 {
    font-size: 16px;
  }
  th,
  td {
    padding: 14px 12px;
  }
  th:nth-child(3),
  td:nth-child(3),
  th:nth-child(4),
  td:nth-child(4) {
    display: none;
  }
  .file-name {
    max-width: 155px;
    font-size: 10px;
  }
  .file-icon {
    width: 26px;
    height: 33px;
  }
  .file-cell {
    gap: 7px;
  }
  .status {
    font-size: 7px;
    padding: 4px 5px;
  }
  .row-actions {
    gap: 4px;
  }
  .icon-button {
    width: 25px;
    height: 27px;
  }
  .file-meta {
    font-size: 7px;
  }
  .document-footer {
    font-size: 8px;
    align-items: flex-start;
    margin-top: 14px;
  }
  .message {
    padding: 17px;
  }
  .message.user {
    margin-left: 23px;
  }
  .message p {
    font-size: 12px;
  }
  .message-heading {
    font-size: 10px;
  }
  .sources summary {
    font-size: 10px;
  }
  .source-card blockquote {
    font-size: 11px;
  }
  .login-card {
    width: 100%;
    padding: 27px;
  }
  .login-shell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .login-card {
    max-width: 420px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-height: 850px) and (min-width: 721px) {
  .topbar {
    height: 62px;
  }
  main {
    padding-top: 24px;
  }
  .view-heading {
    margin-bottom: 18px;
  }
  .view-heading h1 {
    font-size: 29px;
    margin: 8px 0;
  }
  .preview-notice {
    padding: 8px 12px;
    margin-bottom: 18px;
  }
  .welcome {
    min-height: 300px;
    padding: 18px 22px;
  }
  .welcome-art {
    height: 72px;
    transform: scale(0.65);
    transform-origin: center top;
    margin-bottom: -10px;
  }
  .welcome h2 {
    font-size: 25px;
    margin: 7px 0;
    line-height: 1.3;
  }
  .welcome h2 br {
    display: none;
  }
  .welcome > p {
    font-size: 9px;
    line-height: 1.6;
    margin-bottom: 17px;
  }
  .welcome .eyebrow {
    font-size: 7px;
  }
  .suggestions button {
    padding: 11px 9px;
  }
  .composer {
    padding: 12px 15px;
    margin-top: 13px;
  }
  .composer textarea {
    min-height: 36px;
  }
  .composer-note {
    margin-top: 8px;
  }
  .page-footer {
    margin-top: 17px;
  }
}
@media (max-width: 720px) {
  .sidebar {
    inset: auto;
    top: 0;
  }
  .sidebar .nav-link {
    min-height: 40px;
  }
  .preview-notice {
    color: #748364;
  }
  .welcome > p {
    color: #7b896f;
  }
  .source-card blockquote {
    color: #6f815e;
  }
}
@media (max-width: 420px) {
  th,
  td {
    padding: 13px 8px;
  }
  .file-name {
    max-width: 108px;
  }
  .file-meta {
    font-size: 7px;
  }
  .file-icon {
    width: 23px;
  }
  .file-cell {
    gap: 6px;
  }
  .row-actions {
    gap: 2px;
  }
  .icon-button {
    width: 44px;
    height: 44px;
    border-color: transparent;
    background: transparent;
  }
  .icon-button svg {
    width: 16px;
    height: 16px;
  }
  .status {
    font-size: 8px;
    padding: 4px 5px;
  }
}
