:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #203535;
  background: #f3f5f0;
  font-synthesis: none;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 86px;
  border-bottom: 1px solid #dce4dc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: #f8faf6;
}
.brand {
  color: #1c5550;
  font-size: 24px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 2px;
}
.brand span {
  font-size: 10px;
  letter-spacing: 2px;
  margin-left: 14px;
  color: #70887f;
}
main {
  max-width: 1220px;
  margin: auto;
  padding: 45px 28px;
}
h1 {
  font-size: clamp(30px, 4.5vw, 60px);
  line-height: 1.35;
  letter-spacing: -1.5px;
  margin: 18px 0 25px;
  font-weight: 650;
}
h1 em {
  font-style: normal;
  color: #267569;
}
h2 {
  font-size: 19px;
  margin: 0 0 12px;
}
h3 {
  font-size: 15px;
}
p {
  font-size: 14px;
  color: #596d66;
}
.lead {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #658479;
  font-weight: 700;
}
button {
  border: 1px solid #c6d6ca;
  background: white;
  border-radius: 10px;
  padding: 11px 17px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: #294c43;
  transition: background 0.15s;
}
button:hover {
  background: #e8f0e6;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.primary {
  background: #236d5c;
  color: white;
  border-color: #236d5c;
}
.primary:hover {
  background: #185744;
}
.primary span {
  margin-left: 40px;
}
.danger {
  color: #ab493c;
}
.badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.4px;
  padding: 5px 11px;
  background: #e7eee4;
  color: #52705b;
  border-radius: 30px;
  white-space: nowrap;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border-top: 1px solid #d5e1d7;
  margin-top: 65px;
  padding-top: 30px;
}
.features b {
  font-size: 13px;
  color: #316d5e;
}
.card {
  padding: 26px;
  border: 1px solid #dce6db;
  background: #fffefb;
  border-radius: 18px;
  margin-bottom: 22px;
  box-shadow: 0 6px 25px #213f2410;
}
.card-title,
.room-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.room-head h1 {
  font-size: 32px;
  margin: 8px 0 24px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr);
  gap: 24px;
}
.people {
  display: flex;
  justify-content: center;
  gap: 45px;
  align-items: center;
  padding: 35px 0 20px;
}
.people > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.people b {
  font-size: 14px;
}
.people small {
  font-size: 11px;
  color: #74917c;
  margin-top: 5px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  margin-bottom: 13px;
  font-size: 25px;
  background: #e2eee0;
  color: #3a6f48;
}
.avatar.agent {
  background: #e7eafa;
  color: #6f73a3;
}
.bridge {
  font-size: 24px;
  color: #9aaf9c;
}
.bridge span {
  font-size: 9px;
}
.conversation {
  text-align: center;
}
.conversation .card-title {
  text-align: left;
}
.controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.conversation .controls {
  justify-content: center;
}
label {
  display: block;
  font-size: 12px;
  color: #51685b;
  margin: 15px 0;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 11px;
  border: 1px solid #cfddcf;
  border-radius: 9px;
  background: #fafcf8;
  color: #263b31;
  font: inherit;
  margin-top: 7px;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
.row {
  display: flex;
  gap: 12px;
}
.row > * {
  flex: 1;
  min-width: 0;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.check input {
  width: auto;
  margin-top: 4px;
  accent-color: #236d5c;
}
.muted {
  font-size: 12px;
  color: #7b8b7d;
}
.full {
  width: 100%;
}
.task {
  border-top: 1px solid #dce6db;
  padding: 18px 0 2px;
  margin-top: 18px;
}
.task code {
  font-size: 10px;
  color: #7a8d7f;
}
.task p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.task h3 {
  margin: 5px 0;
}
.task button {
  padding: 5px 12px;
}
.note {
  background: #eaf0e4;
}
.note p {
  font-size: 12px;
}
#error {
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: min(480px, 90vw);
  padding: 18px;
  background: #783d32;
  color: white;
  border-radius: 14px;
  z-index: 10;
}
footer {
  margin-top: 40px;
  color: #92a08f;
  font-size: 11px;
  text-align: center;
}
audio {
  width: 100%;
  margin: 8px 0;
}
.event {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid #edf0ea;
  font-size: 12px;
}
.event code {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.event span {
  color: #55735e;
}
.event pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 10px;
  max-height: 150px;
  overflow: auto;
}
#timeline {
  max-height: 460px;
  overflow: auto;
}
#landing {
  padding: 35px 0 20px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  header {
    height: 68px;
    padding: 0 20px;
  }
  .brand span {
    display: none;
  }
  main {
    padding: 30px 18px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .features {
    gap: 15px;
  }
  .card {
    padding: 20px;
  }
  .people {
    gap: 28px;
  }
  .room-head .badge {
    font-size: 10px;
  }
  .card-title {
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  header > .badge {
    font-size: 9px;
  }
  .features {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 10px;
  }
  .features p {
    margin: 5px 0;
  }
  .controls button {
    flex: 1;
  }
  .room-head h1 {
    font-size: 27px;
  }
}
