:root {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #17362f;
  background: #f4f6f2;
  font-size: 15px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  max-width: 1320px;
  padding: 28px 44px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d7e0d8;
}
.brand {
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -1.6px;
}
.dot {
  color: #c57743;
  font-size: 12px;
  padding-left: 4px;
}
.badge {
  font-size: 10px;
  letter-spacing: 1.6px;
  background: #e7eee6;
  padding: 7px 12px;
  border-radius: 20px;
  font-weight: 700;
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 24px 44px;
}
.intro {
  max-width: 760px;
  padding: 30px 0 32px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 750;
  color: #597565;
  margin: 0 0 8px;
}
h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -2.4px;
  margin: 12px 0 20px;
  font-weight: 650;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  font-weight: 650;
  margin: 0 0 20px;
}
.lead {
  color: #52665d;
  font-size: 17px;
  max-width: 600px;
}
.panel {
  background: #fff;
  border: 1px solid #d9e1d8;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 3px 14px #25452c04;
}
.connection {
  margin-bottom: 24px;
}
.workspace {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: start;
}
.forms-column {
  display: grid;
  gap: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.row {
  display: flex;
  gap: 14px;
  align-items: end;
}
.row > label {
  flex: 1;
  min-width: 0;
}
.row > button {
  flex-shrink: 0;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: #17362f;
  background: #fbfcf9;
  border: 1px solid #c5d2c7;
  padding: 11px 12px;
  border-radius: 7px;
  margin-top: 6px;
}
textarea {
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #c8d9b3;
  outline-offset: 2px;
}
button {
  background: #214f40;
  color: white;
  border: 1px solid #214f40;
  border-radius: 7px;
  padding: 11px 17px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 14px;
}
button:hover {
  background: #153c2f;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.secondary {
  background: #fff;
  color: #214f40;
  border-color: #c5d2c7;
}
.secondary:hover {
  background: #edf3e9;
}
.hint {
  font-size: 12px;
  color: #617068;
  font-weight: 400;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}
.check input {
  width: auto;
  margin: 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.chat-panel {
  position: sticky;
  top: 24px;
}
.chat-panel .hint {
  margin-top: -10px;
}
#conversation {
  height: 420px;
  overflow: auto;
  margin: 24px 0;
  padding: 0 4px 0 0;
  scroll-behavior: smooth;
}
.empty {
  font-size: 14px;
  color: #617068;
  text-align: center;
  padding-top: 130px;
}
.message {
  padding: 15px 18px;
  border-radius: 10px;
  background: #f0f4ed;
  margin: 0 0 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message.user {
  background: #214f40;
  color: #fff;
  margin-left: 30px;
}
.message small {
  display: block;
  opacity: 0.8;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.message details {
  font-size: 12px;
  margin-top: 10px;
}
.message button {
  font-size: 12px;
  margin: 8px 0 0;
  background: #fff;
  color: #214f40;
}
.job {
  border-top: 1px solid #e0e7df;
  padding: 16px 0;
  overflow-wrap: anywhere;
}
.job p {
  font-size: 12px;
}
.job button {
  margin: 0;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px ui-monospace,
    monospace;
  max-height: 230px;
  overflow: auto;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#drop-zone {
  padding: 20px;
  border: 1px dashed #9bb39e;
  border-radius: 9px;
  background: #f5f8f0;
}
#drop-zone.drag {
  background: #e1ecd5;
}
#notice {
  padding: 14px 18px;
  background: #e7eee6;
  border-radius: 8px;
  position: sticky;
  bottom: 12px;
  box-shadow: 0 2px 15px #17362f12;
}
#notice:empty {
  display: none;
}
footer {
  font-size: 11px;
  color: #617068;
  padding: 34px 0 12px;
}
summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
#connection-status {
  font-size: 12px;
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  header,
  main {
    padding-left: 20px;
    padding-right: 20px;
  }
  .workspace,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .chat-panel {
    position: static;
  }
  .row {
    flex-wrap: wrap;
  }
  .row > label {
    min-width: 160px;
  }
  #conversation {
    height: 350px;
  }
  h1 {
    letter-spacing: -1.5px;
  }
  .panel {
    padding: 21px;
  }
}
