:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #202623;
  background: #fafbf9;
  font-synthesis: none;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a4ccb6;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
p {
  margin: 0;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 2.4px;
}
.brand-mark {
  display: grid;
  place-items: center;
  color: #fff;
  background: #173e2c;
  width: 29px;
  height: 31px;
  transform: skew(-9deg);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 5px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #758078;
}
.workspace {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  height: 100dvh;
  min-height: 620px;
}
.sidebar {
  display: flex;
  flex-direction: column;
  background: #f3f5f1;
  border-right: 1px solid #e3e8e0;
  padding: 31px 20px 18px;
  overflow: auto;
}
.sidebar > .wordmark {
  margin: 0 9px 36px;
}
.workspace-name {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 9px 30px;
}
.workspace-name strong {
  font-size: 12px;
  font-weight: 600;
}
.workspace-name small {
  display: block;
  color: #838b83;
  font-size: 11px;
  margin-top: 5px;
}
.workspace-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #dde3d9;
  background: #fff;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
}
.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8c958b;
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 700;
  margin: 0 10px 13px;
}
.section-label > span {
  background: #e5e9e1;
  border-radius: 4px;
  padding: 2px 5px;
  color: #6d7c6c;
}
.unit-button {
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: left;
  padding: 13px 10px;
  background: transparent;
  margin-bottom: 5px;
  color: #586456;
}
.unit-button:hover {
  background: #e9eee4;
}
.unit-button.active {
  background: white;
  border-color: #dce5d5;
  box-shadow: 0 3px 10px #344a1c06;
  color: #233e26;
}
.unit-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 34px;
  border-radius: 8px;
  background: #e4e9dc;
  color: #667650;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.unit-button.active .unit-avatar {
  background: #edf3e2;
  color: #4c6b27;
}
.unit-title {
  display: block;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}
.unit-meta {
  display: block;
  font-size: 10px;
  color: #92998b;
  margin-top: 3px;
}
.selection-dot {
  width: 6px;
  height: 6px;
  background: #789b48;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
}
.history-heading {
  margin-top: 31px;
}
.icon-button {
  border: 0;
  background: transparent;
  color: #6d7a68;
  font-size: 21px;
  padding: 0 2px;
}
.conversation-list {
  overflow: auto;
  flex: 1;
}
.conversation-button {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  text-align: left;
  padding: 11px 12px;
  color: #747e70;
  border-radius: 3px;
  font-size: 11px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.conversation-button.active {
  border-left-color: #5f7f48;
  color: #31432b;
  background: #eaf0e3;
}
.conversation-button small {
  display: block;
  font-size: 9px;
  color: #9ca493;
  margin-top: 5px;
}
.sidebar-hint {
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.6;
}
.subtle {
  color: #969d91;
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid #e1e6dc;
  padding: 18px 6px 0;
  margin-top: 20px;
  font-size: 10px;
  color: #7c8877;
}
.status-dot {
  width: 5px;
  height: 5px;
  background: #85a55a;
  border-radius: 100%;
}
.text-button {
  border: 0;
  background: transparent;
  color: #697664;
  font-size: 10px;
  margin-left: auto;
}
.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fdfefc;
  overflow: hidden;
}
.topbar {
  height: 69px;
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  border-bottom: 1px solid #ecf0e8;
  font-size: 11px;
}
.topbar strong {
  font-size: 11px;
  font-weight: 600;
}
.breadcrumb {
  color: #a2a89e;
  margin-right: 10px;
}
.breadcrumb span {
  margin-left: 14px;
}
.private-badge {
  color: #6f8067;
  background: #f0f4e9;
  border: 1px solid #e3eada;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 9px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 29px 42px 22px;
}
.heading h1 {
  font-size: 27px;
  font-weight: 550;
  letter-spacing: -1px;
  margin-top: 9px;
}
.heading p {
  font-size: 11px;
  color: #939c8b;
  margin-top: 9px;
}
.secondary {
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e0e6da;
  border-radius: 7px;
  color: #68735f;
  font-size: 10px;
  white-space: nowrap;
}
.secondary:hover {
  background: #f3f6ed;
}
.target {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  background: #f3f6ed;
  border: 1px solid #e4ebd9;
  border-radius: 9px;
  margin: 0 42px 10px;
  padding: 12px 16px;
}
.target-kicker {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #93a180;
  display: block;
  margin-bottom: 5px;
}
.target strong {
  font-size: 11px;
  font-weight: 600;
  color: #4b6336;
}
.target-id {
  color: #8d9b7d;
  font-size: 9px;
}
.notice {
  margin: 0 42px 12px;
  border: 1px solid #e8d8b0;
  background: #fffbf1;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 11px;
  color: #8a713d;
  line-height: 1.6;
}
.messages {
  flex: 1;
  min-height: 120px;
  overflow: auto;
  padding: 15px 42px 25px;
  scroll-behavior: smooth;
}
.welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100%;
  padding: 30px 12px;
}
.welcome-mark {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border: 1px solid #e0e9d5;
  background: linear-gradient(145deg, #f6faef, #e9f0df);
  border-radius: 16px;
  color: #7d9956;
  font-size: 27px;
  margin-bottom: 24px;
}
.welcome .eyebrow {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #91a27d;
}
.welcome h2 {
  font-size: 35px;
  font-weight: 450;
  letter-spacing: -1.3px;
  line-height: 1.25;
  margin: 15px 0;
}
.welcome p {
  font-size: 12px;
  color: #8d9880;
  line-height: 1.9;
}
.welcome-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 25px;
}
.welcome-pills span {
  font-size: 8px;
  padding: 6px 9px;
  border: 1px solid #e9eee1;
  border-radius: 20px;
  color: #98a18d;
}
.composer-area {
  padding: 0 42px 20px;
}
.suggestions {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.suggestions button {
  border: 1px solid #e9ede3;
  background: #fff;
  border-radius: 6px;
  padding: 8px 11px;
  font-size: 9px;
  color: #89947c;
}
.suggestions button:hover {
  background: #eff4e6;
  border-color: #d6e1c6;
}
.composer {
  border: 1px solid #dfe6d5;
  background: white;
  border-radius: 13px;
  box-shadow: 0 4px 20px #3c4f1e05;
  overflow: hidden;
}
.composer:focus-within {
  border-color: #adc48d;
  box-shadow: 0 0 0 3px #e8f0de;
}
.composer textarea {
  width: 100%;
  padding: 17px 18px 9px;
  resize: vertical;
  min-height: 74px;
  max-height: 230px;
  border: 0;
  outline: none !important;
  background: transparent;
  color: #34402b;
  font-size: 12px;
  line-height: 1.7;
}
.composer textarea::placeholder {
  color: #adb6a1;
}
.composer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px 11px 18px;
}
.composer-tools > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.text-only {
  font-size: 9px;
  color: #a1ac94;
}
.text-only span {
  margin: 0 5px;
}
#character-count {
  font-size: 9px;
  color: #a5ae99;
}
.send-button {
  border: 0;
  border-radius: 7px;
  background: #2f4c29;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 11px 14px;
}
.send-button span {
  margin-left: 10px;
}
.send-button:hover {
  background: #426434;
}
.composer-note {
  font-size: 8px;
  color: #a4ad9a;
  text-align: center;
  margin-top: 10px;
  line-height: 1.6;
}
.message {
  margin: 10px 0 26px;
  max-width: 94%;
}
.message.user {
  margin-left: 12%;
  background: #f0f4e9;
  border: 1px solid #e3ead9;
  border-radius: 11px;
  padding: 15px 17px;
}
.message.assistant {
  padding: 2px 0;
}
.message-header {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 9px;
  font-weight: 650;
  color: #667858;
  margin-bottom: 11px;
}
.message-header time {
  font-weight: 400;
  color: #a1aa96;
  margin-left: auto;
  font-size: 8px;
}
.message-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.85;
  font-size: 12px;
  color: #414e37;
}
.message details {
  margin-top: 13px;
  font-size: 9px;
  color: #8b9b7a;
}
.message summary {
  cursor: pointer;
}
.evidence {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
  background: #f7f9f3;
  border: 1px solid #e9eedf;
  padding: 12px;
  border-radius: 7px;
  margin-top: 9px;
  font-size: 9px;
}
.message.status {
  padding: 12px 15px;
  background: #fbf8ef;
  border: 1px solid #eee5cc;
  border-radius: 8px;
  color: #94804e;
  font-size: 11px;
  line-height: 1.7;
}
.message-note {
  font-size: 10px;
  color: #998a64;
  margin-top: 10px;
}
.login-shell {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  background: radial-gradient(ellipse at 80% 0%, #e5eeda 0%, transparent 65%), #f6f8f1;
  padding: 24px;
}
.login-card {
  width: 100%;
  max-width: 440px;
  padding: 42px;
  background: #fff;
  border: 1px solid #e0e7d6;
  border-radius: 20px;
  box-shadow: 0 20px 70px #273e1710;
}
.login-card .wordmark {
  margin-bottom: 45px;
}
.login-card h1 {
  font-size: 31px;
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 15px 0;
}
.login-card > p {
  color: #929b86;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 27px;
}
.login-card label {
  display: block;
  font-size: 11px;
  color: #667359;
  margin-bottom: 9px;
}
.login-card input {
  width: 100%;
  border: 1px solid #dbe4d0;
  border-radius: 8px;
  padding: 13px;
  background: #fcfdf9;
  margin-bottom: 13px;
}
.primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  border-radius: 8px;
  padding: 14px 16px;
  background: #2e4929;
  color: #fff;
  width: 100%;
  font-size: 12px;
}
.login-card small {
  display: block;
  color: #a2ab95;
  text-align: center;
  font-size: 9px;
}
.login-card .error {
  color: #a1634d;
  font-size: 11px;
  margin: 14px 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1500px) {
  .heading,
  .composer-area {
    padding-left: 8%;
    padding-right: 8%;
  }
  .messages {
    padding-left: 8%;
    padding-right: 8%;
  }
  .target,
  .notice {
    margin-left: 8%;
    margin-right: 8%;
  }
}
@media (max-width: 800px) {
  .workspace {
    grid-template-columns: 208px minmax(0, 1fr);
  }
  .sidebar {
    padding: 23px 12px 14px;
  }
  .sidebar > .wordmark {
    font-size: 11px;
    letter-spacing: 1.7px;
  }
  .topbar {
    padding: 0 22px;
  }
  .heading {
    padding: 24px 22px 19px;
  }
  .heading h1 {
    font-size: 23px;
  }
  .heading p {
    line-height: 1.6;
  }
  .messages {
    padding: 10px 22px 20px;
  }
  .composer-area {
    padding: 0 22px 16px;
  }
  .target,
  .notice {
    margin-left: 22px;
    margin-right: 22px;
  }
  .suggestions {
    flex-wrap: wrap;
  }
  .welcome h2 {
    font-size: 29px;
  }
  .target-id {
    display: none;
  }
  .text-only {
    font-size: 8px;
  }
  .composer-tools > div {
    gap: 6px;
  }
  .send-button {
    padding: 9px 10px;
  }
  .composer-tools {
    padding-left: 12px;
  }
  .login-card {
    padding: 30px;
  }
}
@media (max-width: 560px) {
  .workspace {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
  }
  .sidebar {
    flex-shrink: 0;
    border-right: 0;
    border-bottom: 1px solid #e3e8e0;
    padding: 16px;
  }
  .sidebar > .wordmark {
    margin: 0 0 18px;
  }
  .workspace-name,
  .sidebar > .section-label {
    display: none;
  }
  .sidebar .history-heading {
    display: flex;
    margin: 13px 0 0;
  }
  .conversation-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    max-height: 85px;
  }
  .conversation-button {
    flex: 0 0 180px;
  }
  .sidebar-bottom {
    margin: 7px 0 0;
    padding: 8px 0 0;
  }
  #units {
    display: flex;
    gap: 5px;
  }
  .unit-button {
    padding: 8px 7px;
    margin: 0;
    min-width: 0;
    flex: 1;
    align-items: flex-start;
  }
  .unit-title {
    font-size: 9px;
  }
  .unit-meta {
    font-size: 8px;
  }
  .unit-avatar,
  .selection-dot {
    display: none;
  }
  .main {
    min-height: 75dvh;
    overflow: visible;
  }
  .topbar {
    height: 48px;
    min-height: 48px;
    padding: 0 18px;
  }
  .heading {
    padding: 22px 18px 18px;
  }
  .heading h1 {
    font-size: 23px;
  }
  .heading p {
    font-size: 10px;
  }
  .messages {
    min-height: 240px;
    max-height: none;
    overflow: visible;
    padding: 10px 18px 20px;
  }
  .welcome {
    padding: 26px 6px;
  }
  .welcome h2 {
    font-size: 29px;
  }
  .welcome-pills {
    display: none;
  }
  .target,
  .notice {
    margin-left: 18px;
    margin-right: 18px;
  }
  .composer-area {
    padding: 0 18px 16px;
  }
  .composer-tools {
    flex-wrap: wrap;
  }
  .suggestions button {
    font-size: 8px;
    padding: 7px 8px;
  }
  .private-badge {
    font-size: 8px;
  }
  .message {
    max-width: 100%;
  }
  .message.user {
    margin-left: 4%;
  }
}
