:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #e5e8e2;
  background: #111411;
  font-synthesis: none;
  --muted: #8d978a;
  --line: #2b322a;
  --green: #d4e9b8;
  --panel: #191e18;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.45;
}
button,
input,
textarea {
  outline-offset: 4px;
}
button {
  color: inherit;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green);
}
[hidden] {
  display: none !important;
}
button {
  border: 0;
  background: none;
}
input,
textarea {
  color: inherit;
}
button:hover {
  filter: brightness(1.12);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 650;
  white-space: nowrap;
}
.brand-symbol {
  font-size: 28px;
  color: var(--green);
}
.brand-light {
  font-weight: 400;
  color: #a3ad9e;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #9aa894;
  font-weight: 600;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b4d78e;
  flex-shrink: 0;
}
.login-screen {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  padding: 50px 7%;
  align-items: center;
  gap: 8%;
  background: radial-gradient(ellipse at 10% 70%, #252e1e 0%, transparent 55%);
}
.login-intro {
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-intro h1 {
  font-size: clamp(38px, 4.1vw, 64px);
  font-weight: 480;
  letter-spacing: -2.8px;
  line-height: 1.12;
  margin: 23px 0;
}
.login-intro p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}
.login-note {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.login-card {
  border: 1px solid #333e2d;
  padding: 38px;
  border-radius: 18px;
  background: #1a2118cc;
  max-width: 440px;
  width: 100%;
  justify-self: center;
  box-shadow: 0 24px 80px #0002;
}
.login-card h2 {
  font-weight: 500;
  font-size: 27px;
  letter-spacing: -0.8px;
  margin: 17px 0 9px;
}
.login-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.login-card label {
  display: block;
  font-size: 12px;
  margin: 25px 0 10px;
}
.login-card input {
  width: 100%;
  background: #111710;
  border: 1px solid #35412f;
  border-radius: 8px;
  padding: 13px;
  font-size: 13px;
}
.login-card small {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin-top: 20px;
}
.primary {
  background: var(--green);
  color: #22311b;
  border-radius: 8px;
  padding: 13px 17px;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.login-card .error {
  color: #f3b4a1;
  font-size: 12px;
  min-height: 18px;
  margin: 14px 0;
}
.workspace {
  height: 100dvh;
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr);
}
.sidebar {
  background: #171c16;
  border-right: 1px solid var(--line);
  padding: 24px 17px 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.sidebar .brand {
  padding: 0 9px 27px;
}
.new-chat {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #3b4633;
  background: #252e20;
  border-radius: 8px;
  padding: 11px 12px;
  text-align: left;
  font-size: 12px;
}
.new-chat > span:first-child {
  font-size: 18px;
  line-height: 16px;
}
.shortcut {
  margin-left: auto;
  border: 1px solid #44503b;
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 9px;
  color: var(--muted);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 19px 0 22px;
  color: var(--muted);
  padding: 0 8px;
}
.search-box span {
  font-size: 22px;
}
.search-box input {
  background: transparent;
  border: 0;
  font-size: 12px;
  min-width: 0;
  width: 100%;
  padding: 6px 0;
}
.section-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #899380;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px 10px;
}
.section-label button {
  font-size: 17px;
  color: #8c9884;
}
#threads {
  overflow: auto;
  flex: 1;
  min-height: 70px;
}
.thread {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 13px 10px;
  text-align: left;
  border-radius: 7px;
  color: #a9b2a2;
  font-size: 12px;
  margin: 3px 0;
}
.thread span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.thread:before {
  content: "\25A4";
  color: #7c8874;
  font-size: 14px;
}
.thread.active {
  background: #293322;
  color: #dce6d4;
}
.thread.active:before {
  color: #d1e7b2;
}
.thread:hover {
  background: #232c1f;
}
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 18px 6px;
  margin-top: 13px;
}
.avatar {
  height: 32px;
  width: 32px;
  border: 1px solid #44503b;
  background: #293522;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #c8d9b6;
  font-size: 12px;
}
.sidebar-footer strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.sidebar-footer small {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.sidebar-footer button {
  margin-left: auto;
  color: var(--muted);
  font-size: 18px;
}
main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.topbar {
  height: 74px;
  flex-shrink: 0;
  border-bottom: 1px solid #252d23;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  min-width: 0;
  color: #83907b;
}
.breadcrumb span {
  color: #4a5642;
}
.breadcrumb strong {
  font-weight: 400;
  color: #c6d0be;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.private-badge {
  font-size: 10px;
  color: #a1b38f;
  border: 1px solid #37432f;
  padding: 6px 9px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.conversation {
  overflow: auto;
  flex: 1;
  padding: 28px max(30px, calc((100% - 820px) / 2));
  scroll-behavior: smooth;
}
.welcome {
  max-width: 760px;
  margin: clamp(25px, 8vh, 90px) auto 25px;
  text-align: center;
}
.welcome-symbol {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  font-size: 37px;
  color: var(--green);
  background: #20291c;
  border: 1px solid #39482e;
  border-radius: 16px;
  margin: 0 auto 25px;
}
.welcome h1 {
  font-size: clamp(28px, 3vw, 43px);
  font-weight: 450;
  letter-spacing: -1.8px;
  margin: 16px 0 13px;
}
.welcome p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.suggestions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 36px auto 0;
}
.suggestions button {
  position: relative;
  text-align: left;
  border: 1px solid #333d2c;
  background: linear-gradient(130deg, #20271b, #191e17);
  border-radius: 11px;
  padding: 18px 15px;
}
.suggestions button > span {
  display: block;
  color: #abc98e;
  font-size: 21px;
  margin-bottom: 16px;
}
.suggestions strong {
  display: block;
  font-weight: 500;
  font-size: 12px;
  margin-bottom: 8px;
}
.suggestions small {
  display: block;
  font-size: 10px;
  color: #8d9b83;
  line-height: 1.7;
}
.suggestions i {
  position: absolute;
  right: 13px;
  top: 17px;
  color: #718466;
  font-size: 14px;
  font-style: normal;
}
.composer-area {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 14px 30px 20px;
  flex-shrink: 0;
}
.composer {
  border: 1px solid #44543a;
  border-radius: 13px;
  background: #1c2418;
  box-shadow: 0 5px 24px #0001;
  padding: 17px 17px 12px;
}
.composer textarea {
  background: transparent;
  border: 0;
  resize: none;
  width: 100%;
  max-height: 220px;
  min-height: 53px;
  font-size: 13px;
  line-height: 1.7;
  outline: 0;
}
.composer textarea::placeholder {
  color: #849477;
}
.composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  gap: 10px;
}
.write-control {
  font-size: 10px;
  color: #a4b397;
  display: flex;
  gap: 7px;
  align-items: center;
}
.write-control input {
  accent-color: #b4d48e;
  width: 12px;
  height: 12px;
}
.send {
  background: var(--green);
  color: #2d3e23;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
}
.composer-note {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #728169;
  font-size: 9px;
  margin: 11px 2px 0;
  line-height: 1.6;
}
.composer-note span:first-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.activity {
  font-size: 11px;
  color: #a5b595;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 0 3px 12px;
}
.activity button {
  margin-left: auto;
  font-size: 10px;
  color: #b5c4a7;
  border: 1px solid #49563f;
  padding: 5px 10px;
  border-radius: 5px;
}
.pulse {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #c5e1a5;
  animation: pulse 1.1s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}
.message {
  margin: 20px 0 28px;
  max-width: 100%;
  line-height: 1.8;
  font-size: 13px;
}
.message .role {
  font-size: 10px;
  color: #99ac8b;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.message.user {
  background: #20281c;
  border: 1px solid #34402c;
  border-radius: 11px;
  padding: 15px 18px;
  margin-left: 8%;
}
.message.user .role {
  color: #93a485;
}
.message-content {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.message-content pre {
  background: #0e130c;
  border: 1px solid #303d27;
  border-radius: 8px;
  padding: 16px;
  overflow: auto;
  font-size: 12px;
  white-space: pre;
  line-height: 1.7;
}
.message-content code {
  font-family: "Cascadia Code", Consolas, monospace;
}
.message-content a {
  color: #cce2ae;
  text-decoration: underline;
}
.image-card {
  max-width: 560px;
  margin: 20px 0;
  border: 1px solid #3e4b34;
  border-radius: 12px;
  overflow: hidden;
  background: #1a2116;
}
.image-card img {
  display: block;
  width: 100%;
  height: auto;
}
.image-card figcaption {
  padding: 11px 14px;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.image-card a {
  color: var(--green);
  text-decoration: none;
}
.image-error {
  padding: 15px;
  line-height: 1.7;
  font-size: 12px;
  color: #c9b4a2;
}
.quiet {
  font-size: 11px;
  color: #a5b995;
  border: 1px solid #39462f;
  border-radius: 6px;
  padding: 8px 12px;
  display: block;
  margin: 8px auto;
}
.banner {
  margin: 13px 30px 0;
  padding: 11px 15px;
  background: #352d20;
  border: 1px solid #605135;
  border-radius: 8px;
  color: #e1cfab;
  font-size: 12px;
  line-height: 1.6;
}
.mobile-only {
  display: none;
}
.empty-list {
  padding: 16px 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.error {
  color: #f3b4a1;
}
@media (min-width: 1500px) {
  .conversation {
    padding-top: 50px;
  }
  .welcome {
    margin-top: 12vh;
  }
}
@media (max-width: 900px) {
  .workspace {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .sidebar {
    padding: 20px 12px 0;
  }
  .sidebar .brand {
    font-size: 18px;
  }
  .topbar {
    padding: 0 20px;
  }
  .suggestions {
    grid-template-columns: 1fr;
  }
  .suggestions button {
    padding: 14px 15px;
  }
  .suggestions button > span {
    display: none;
  }
  .suggestions small {
    margin-right: 10px;
  }
  .suggestions strong {
    margin-bottom: 3px;
  }
  .suggestions {
    gap: 8px;
    margin-top: 25px;
  }
  .welcome {
    margin-top: 28px;
  }
  .login-screen {
    padding: 40px;
    gap: 35px;
  }
  .login-intro {
    min-height: 70vh;
  }
  .login-intro h1 {
    font-size: 40px;
    letter-spacing: -1.8px;
  }
  .login-card {
    padding: 25px;
  }
  .composer-note span:last-child {
    display: none;
  }
}
@media (max-width: 650px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 274px;
    z-index: 5;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 20px 0 80px #0005;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  main {
    height: 100dvh;
  }
  .mobile-only {
    display: block;
    font-size: 16px;
    color: #9eaf91;
  }
  .topbar {
    height: 58px;
    padding: 0 17px;
    justify-content: start;
  }
  .topbar .private-badge {
    margin-left: auto;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 8px;
  }
  .breadcrumb > span,
  .breadcrumb {
    min-width: 0;
  }
  .conversation {
    padding: 20px;
  }
  .composer-area {
    padding: 10px 15px 14px;
  }
  .composer {
    padding: 13px;
  }
  .composer textarea {
    font-size: 16px;
  }
  .welcome h1 {
    font-size: 31px;
  }
  .welcome p {
    font-size: 12px;
  }
  .welcome {
    margin-top: 28px;
  }
  .welcome .eyebrow {
    font-size: 8px;
  }
  .welcome-symbol {
    margin-bottom: 20px;
  }
  .message {
    font-size: 13px;
  }
  .message.user {
    margin-left: 3%;
  }
  .login-screen {
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    gap: 33px;
  }
  .login-intro {
    min-height: 0;
    width: 100%;
    gap: 40px;
  }
  .login-intro h1 {
    font-size: 35px;
    letter-spacing: -1.5px;
  }
  .login-intro p {
    font-size: 13px;
  }
  .login-note {
    display: none;
  }
  .login-card {
    max-width: 100%;
    padding: 25px;
  }
  .login-intro .eyebrow {
    font-size: 9px;
  }
  .banner {
    margin: 10px 15px 0;
    font-size: 11px;
  }
}
