:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: #213c35;
  background: #f6f5ef;
  font-synthesis: none;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  padding: 24px 5vw;
  border-bottom: 1px solid #d5ddd4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header a {
  font:
    600 22px Georgia,
    serif;
  color: inherit;
  text-decoration: none;
}
header span,
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.13em;
  color: #64756d;
}
main {
  max-width: 880px;
  margin: 64px auto;
  padding: 0 28px 90px;
}
h1 {
  font:
    400 clamp(32px, 5vw, 48px)/1.15 Georgia,
    serif;
  max-width: 700px;
  margin: 20px 0 28px;
}
h2 {
  font:
    400 25px Georgia,
    serif;
  margin-top: 36px;
}
.lead {
  font-size: 19px;
  max-width: 710px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 24px 0 8px;
}
textarea,
input,
select {
  font: inherit;
  color: inherit;
  width: 100%;
  border: 1px solid #b9c6bc;
  background: #fffefa;
  border-radius: 10px;
  padding: 16px;
}
textarea {
  min-height: 200px;
  resize: vertical;
}
input {
  max-width: 650px;
}
button {
  font: 600 14px inherit;
  background: #234e40;
  color: white;
  border: 1px solid #234e40;
  border-radius: 30px;
  padding: 14px 24px;
  margin: 18px 10px 8px 0;
  cursor: pointer;
}
button:hover {
  background: #163e30;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: transparent;
  color: #234e40;
}
.secondary:hover {
  background: #e6ece4;
}
.hint,
.save {
  font-size: 13px;
  color: #68756c;
}
.notice {
  padding: 12px 18px;
  background: #ece3bc;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}
article {
  padding: 24px;
  background: #fffcf4;
  border: 1px solid #d7dfd3;
  border-radius: 14px;
  margin: 20px 0;
}
.reply,
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message.user {
  margin-left: 48px;
  background: #e7ede5;
}
.message.assistant {
  margin-right: 48px;
}
#status {
  padding: 12px 28px;
  max-width: 880px;
  margin: auto;
  color: #82452c;
  white-space: pre-wrap;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
td,
th {
  border-bottom: 1px solid #d5ddd4;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}
.table-wrap {
  overflow: auto;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.complete-mark {
  font-size: 48px;
  color: #36674e;
}
a {
  color: #285c4a;
}
:focus-visible {
  outline: 3px solid #c1aa55;
  outline-offset: 4px;
}
@media (max-width: 600px) {
  header span {
    display: none;
  }
  main {
    margin-top: 36px;
    padding-inline: 20px;
  }
  .message.user {
    margin-left: 16px;
  }
  .message.assistant {
    margin-right: 16px;
  }
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.language-control {
  margin: 0;
}
.language-control select {
  width: auto;
  padding: 8px 30px 8px 12px;
  font-size: 14px;
  border-radius: 22px;
  cursor: pointer;
}
.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;
}
html[lang="zh-CN"] h1 {
  line-height: 1.4;
}
