:root {
  --ink: #173731;
  --soft: #62736a;
  --green: #115b49;
  --lime: #d3f394;
  --line: #d5ddd1;
  --paper: #f6f5f0;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.62 'DM Sans',
    -apple-system,
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 76px;
  padding: 0 clamp(20px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  font-weight: 750;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -1.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mark {
  border-radius: 10px;
  background: var(--green);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.mark b {
  background: var(--lime);
  width: 3px;
  height: 10px;
  border-radius: 2px;
}
.mark b:nth-child(2) {
  height: 20px;
}
.mark b:nth-child(3) {
  height: 15px;
}
#account {
  margin-left: auto;
  color: var(--soft);
  font-size: 14px;
}
main {
  max-width: 1180px;
  margin: auto;
  padding: clamp(28px, 5vw, 72px) 28px 80px;
}
.layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 6vw, 88px);
  align-items: center;
}
.hero {
  border-radius: 26px;
  background: linear-gradient(140deg, #17483b, #10392e 60%, #0e5141);
  color: white;
  padding: clamp(30px, 4vw, 64px);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(42px, 5vw, 70px);
  margin: 12px 0;
  letter-spacing: -0.06em;
  line-height: 1.2;
}
.hero p {
  color: #d1e0d5;
  max-width: 290px;
}
.wave {
  height: 106px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
}
.wave i {
  width: 5px;
  background: #bfdd88;
  border-radius: 4px;
  flex: 1;
}
.wave i:nth-child(4n) {
  opacity: 0.52;
}
.eyebrow {
  font: 600 12px/1.5 monospace;
  letter-spacing: 0.14em;
  color: var(--soft);
}
h1,
h2,
h3,
p {
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.045em;
  line-height: 1.2;
}
h2 {
  font-size: 27px;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 18px;
}
.muted,
small {
  color: var(--soft);
}
button {
  cursor: pointer;
  font: inherit;
  line-height: 1.25;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 15px;
}
button:hover {
  border-color: var(--green);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  font-weight: 600;
  padding: 14px 21px;
}
.quiet {
  background: transparent;
  border-color: transparent;
  color: var(--green);
  font-size: 14px;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.apart {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 16px;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}
input,
textarea {
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  width: 100%;
}
textarea {
  resize: vertical;
  min-height: 125px;
}
input:focus,
textarea:focus,
button:focus-visible {
  outline: 2px solid #5b9a7e;
  outline-offset: 2px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 32px);
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.43fr);
  gap: 22px;
  align-items: start;
  margin-top: 24px;
}
.panel p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sidebar {
  display: grid;
  gap: 14px;
}
.list {
  display: grid;
  gap: 9px;
}
.item {
  background: #f7f8f3;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item small {
  white-space: nowrap;
}
.panel label {
  margin-bottom: 14px;
}
.upload {
  border: 1px dashed #9dad9b;
  background: #f7f9f2;
}
.step {
  display: inline-block;
  color: var(--green);
  background: #ecf4df;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
}
.quote {
  border-left: 3px solid #a4c88a;
  padding: 9px 16px;
  background: #f4f6ee;
  margin: 14px 0;
}
.source {
  max-height: 260px;
  overflow: auto;
}
.review {
  background: #153f34;
  color: #f7f9ee;
}
.review .eyebrow {
  color: #c9e89b;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}
.split > div {
  background: #f3f5ed;
  border-radius: 12px;
  padding: 18px;
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
#notice {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(92vw, 700px);
  background: #203a30;
  color: white;
  border-radius: 12px;
  padding: 12px 18px;
  z-index: 5;
}
.busy {
  color: #446d3c;
  font-size: 14px;
  min-height: 1.5em;
}
.danger {
  color: #8f4035;
}
.full {
  width: 100%;
}
.auth {
  max-width: 420px;
  width: 100%;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
details summary {
  cursor: pointer;
}
details p {
  margin-top: 12px;
}
.source {
  font-size: 14px;
}
.micro-on {
  background: #ffe4dd;
  color: #813e29;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  header {
    height: 60px;
  }
  .layout,
  .workspace,
  .split {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 220px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .wave {
    height: 48px;
  }
  .auth {
    max-width: none;
  }
  main {
    padding: 24px 16px 65px;
  }
  .workspace {
    margin-top: 18px;
  }
  .hero p {
    max-width: none;
  }
}
