:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #25362f;
  background: #f6f5f0;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  background: #304d41;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 600;
}
button:hover {
  background: #416351;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
a {
  color: inherit;
}
header {
  max-width: 1320px;
  margin: auto;
  height: 100px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dedfd5;
}
.brand {
  text-decoration: none;
  font-size: 30px;
  letter-spacing: -1.5px;
  font-weight: 750;
  display: flex;
  align-items: center;
}
.brand span {
  font-weight: 450;
}
.brand i {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: #9aa96f;
  margin: 15px 0 0 5px;
}
.header-note {
  font-size: 12px;
  color: #7b857d;
}
main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 45px 48px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.7px;
  color: #858a6d;
}
.welcome {
  padding: 70px 0 100px;
  max-width: 800px;
}
.welcome h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.13;
  letter-spacing: -2.5px;
  margin: 22px 0;
}
.welcome p {
  font-size: 18px;
  line-height: 1.8;
  max-width: 590px;
  color: #717d72;
}
.welcome button {
  padding: 17px 23px;
  margin: 16px 0 20px;
  min-width: 190px;
  text-align: left;
}
.welcome button span {
  float: right;
}
.welcome small {
  display: block;
  color: #8b9386;
}
.welcome input {
  padding: 15px;
  border: 1px solid #d6ddcf;
  border-radius: 10px;
  margin-right: 12px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 48px;
  align-items: start;
}
.chat-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.chat-heading h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -1px;
  margin: 12px 0;
}
.status {
  font-size: 11px;
  color: #6a7c60;
  background: #e8ede1;
  border-radius: 20px;
  padding: 8px 11px;
}
.messages {
  min-height: 340px;
  max-height: 58vh;
  overflow: auto;
  padding: 20px 2px;
  scroll-behavior: smooth;
}
.empty {
  padding: 65px 0 55px;
  text-align: center;
  color: #819075;
}
.spark {
  font-size: 45px;
  color: #a3ad7e;
}
.empty h2 {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: #566950;
}
.empty p {
  font-size: 13px;
}
.bubble {
  max-width: 90%;
  padding: 17px 19px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.bubble.user {
  margin-left: auto;
  background: #e7eadf;
  border-radius: 17px 17px 4px 17px;
}
.bubble.assistant {
  background: #fff;
  border: 1px solid #e6e8df;
  border-radius: 17px 17px 17px 4px;
}
.bubble .meta {
  display: block;
  font-size: 10px;
  color: #929c8c;
  margin-top: 8px;
}
.bubble a {
  color: #3a695c;
  text-decoration: underline;
}
.bubble .reaction {
  display: block;
  width: fit-content;
  margin-top: 9px;
  padding: 2px 8px;
  border-radius: 12px;
  background: #e8ede1;
  font-size: 17px;
}
#compose {
  margin-top: 24px;
  border: 1px solid #daddd0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 5px 25px #253c2d04;
  padding: 17px;
}
textarea {
  border: 0;
  outline: 0;
  resize: vertical;
  min-height: 58px;
  max-height: 180px;
  width: 100%;
  font-size: 14px;
  background: transparent;
  line-height: 1.6;
  color: #25362f;
}
textarea::placeholder {
  color: #9ca295;
}
.compose-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #a1a79b;
}
#send {
  padding: 0;
  width: 35px;
  height: 35px;
  font-size: 21px;
  border-radius: 10px;
}
aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card {
  border: 1px solid #e0e3d6;
  border-radius: 16px;
  padding: 23px;
  background: #fbfbf7;
}
.card h2 {
  font-family: Georgia, serif;
  font-size: 23px;
  letter-spacing: -0.3px;
  font-weight: 400;
  margin: 12px 0 18px;
}
.connection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e8eade;
}
.connection:last-child {
  border: 0;
  padding-bottom: 2px;
}
.connection strong {
  font-size: 12px;
}
.connection small {
  display: block;
  color: #98a08d;
  margin-top: 5px;
  font-size: 10px;
}
.secondary {
  font-size: 10px;
  background: #eceee5;
  color: #68745e;
  padding: 8px 10px;
  border: 1px solid #e0e5d6;
  border-radius: 8px;
}
.secondary:hover {
  background: #dde5d5;
}
.muted,
.aside-note {
  font-size: 12px;
  color: #98a08d;
  line-height: 1.8;
}
.aside-note {
  padding: 0 4px;
  font-size: 11px;
}
.entry {
  font-size: 12px;
  line-height: 1.65;
  padding: 10px 0;
  border-top: 1px solid #e8eade;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.entry strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: capitalize;
  color: #8a957d;
}
.entry button {
  align-self: start;
  background: none;
  color: #a1aa98;
  padding: 0;
  font-size: 15px;
}
.entry small {
  display: block;
  font-size: 10px;
  color: #899580;
}
.text-button {
  background: none;
  color: #7f8c71;
  font-size: 11px;
  padding: 12px 0;
}
.text-button:hover {
  background: none;
  color: #334b3b;
}
.notice {
  font-size: 12px;
  line-height: 1.6;
  padding: 12px;
  border: 1px solid #e3d9ba;
  border-radius: 10px;
  background: #fff9e9;
  margin: 10px 0;
}
.notice button {
  padding: 6px 10px;
  margin: 7px 6px 0 0;
  font-size: 11px;
}
.input-request label {
  display: block;
  margin: 14px 0;
}
.input-request small {
  display: block;
}
.input-request input,
.input-request select {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #daddd0;
  border-radius: 8px;
  font: inherit;
  background: white;
}
.device-code {
  display: block;
  font-family: monospace;
  letter-spacing: 2px;
  margin: 12px 0;
}
.button-link {
  font-size: 12px;
  display: block;
  color: #46704e;
}
#login-challenge p,
#link-instructions {
  font-size: 12px;
  line-height: 1.7;
  color: #7d876f;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #334a3c;
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 13px;
  max-width: 90vw;
  box-shadow: 0 6px 20px #0002;
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  header {
    height: 76px;
    padding: 0 22px;
  }
  .header-note {
    display: none;
  }
  main {
    padding: 30px 22px;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .welcome {
    padding: 40px 0;
  }
  .welcome h1 {
    font-size: 43px;
  }
  .welcome p {
    font-size: 16px;
  }
  .chat-heading h1 {
    font-size: 29px;
  }
  .messages {
    min-height: 260px;
    max-height: 55vh;
  }
  aside {
    display: grid;
    grid-template-columns: 1fr;
  }
  .compose-footer span {
    font-size: 9px;
  }
}
/* Attachments stay in the conversation and require the owner's browser session. */
.attachment {
  display: block;
  max-width: 100%;
  width: 320px;
  max-height: 360px;
  object-fit: contain;
  border-radius: 12px;
  margin-top: 12px;
}
