:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #183b35;
  background: #f5f7f3;
  font-size: 15px;
  line-height: 1.65;
  --green: #285a49;
  --muted: #6b7c72;
  --line: #dae3da;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkbox-label input {
  width: auto;
  margin: 0;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
header {
  height: 82px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 750;
  color: var(--green);
  text-decoration: none;
  margin-right: auto;
}
.brand span {
  font-size: 9px;
  letter-spacing: 2px;
  display: block;
  line-height: 1;
  color: var(--muted);
}
main {
  max-width: 1240px;
  padding: 22px 30px 60px;
  margin: auto;
}
h1 {
  font-weight: 600;
  font-size: 38px;
  letter-spacing: -1px;
  line-height: 1.35;
  margin: 6px 0 24px;
}
h2 {
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 14px;
}
h3 {
  font-size: 16px;
  margin: 6px 0 12px;
}
p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 12px;
}
.welcome {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 90px;
  align-items: center;
  min-height: 65vh;
}
.welcome h1 {
  font-size: 52px;
}
.pills,
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pills span,
.tag {
  background: #eef3ec;
  color: var(--green);
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
}
.narrow {
  max-width: 480px;
  margin: 40px auto;
}
label {
  display: block;
  font-size: 13px;
  margin: 14px 0;
  color: #455e50;
}
input,
textarea,
select {
  display: block;
  font: inherit;
  font-size: 14px;
  background: #fbfcf9;
  color: inherit;
  width: 100%;
  border: 1px solid #d4dfd4;
  border-radius: 7px;
  padding: 11px 13px;
  margin-top: 7px;
}
textarea {
  resize: vertical;
}
button {
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  background: #fff;
  color: var(--green);
  padding: 10px 16px;
  border: 1px solid #d4dfd4;
  border-radius: 7px;
  cursor: pointer;
}
button:hover {
  background: #edf3e9;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.primary:hover {
  background: #1a4436;
}
button:focus-visible,
a:focus-visible,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #82aa77;
  outline-offset: 2px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin: 5px 0 20px;
}
nav button {
  border: none;
  border-radius: 0;
  background: none;
  font-size: 16px;
  padding: 14px 3px;
}
nav .active {
  border-bottom: 3px solid var(--green);
  font-weight: 650;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 24px;
}
.section-heading h1 {
  font-size: 32px;
  margin-bottom: 16px;
}
.search {
  display: flex;
  gap: 10px;
  margin: 0 0 24px;
}
.search input,
.search select {
  margin: 0;
}
.search select {
  width: 120px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.stack {
  display: grid;
  gap: 14px;
}
.agent-name {
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 5px;
}
.card .tag {
  display: inline-block;
  margin: 3px 4px 3px 0;
}
.card p {
  font-size: 14px;
}
.card .reasons {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.card .actions {
  margin-top: 15px;
}
.empty {
  padding: 35px 15px;
  color: var(--muted);
}
.settings {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 18px;
  margin: 0 0 25px;
  background: #eef3eb;
}
.settings summary,
details summary {
  cursor: pointer;
  font-size: 13px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 15px 0;
}
.board-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: start;
}
.inbox-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 22px;
  align-items: start;
}
.conversation-item {
  text-align: left;
  display: block;
  width: 100%;
  padding: 18px;
  background: #fff;
}
.conversation-item.active {
  border-color: var(--green);
  background: #edf3e9;
}
.chat {
  min-height: 450px;
}
.chat h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
#message-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 460px;
  overflow-y: auto;
  padding: 10px 0 20px;
}
.bubble {
  max-width: 85%;
  background: #f0f3ec;
  border-radius: 10px;
  padding: 12px 16px;
  align-self: flex-start;
}
.bubble.mine {
  background: #dfece0;
  align-self: flex-end;
}
.bubble p {
  margin: 4px 0;
  font-size: 14px;
}
.bubble small {
  color: var(--muted);
  font-size: 10px;
}
.bubble strong {
  font-size: 11px;
}
.chat form {
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.chat form button {
  margin-top: 8px;
}
.chat details {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
#delivery-list {
  font-size: 12px;
  color: var(--muted);
}
#notice:not(:empty) {
  padding: 12px 18px;
  background: #e7efdf;
  border-radius: 8px;
  margin-bottom: 16px;
}
#notice.error {
  background: #f8e7dd;
  color: #843b22;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  width: min(620px, 92vw);
  padding: 28px;
  color: inherit;
}
dialog::backdrop {
  background: #183b3559;
}
dialog .section-heading {
  margin: 0;
}
dialog .section-heading button {
  padding: 5px 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
footer {
  padding: 20px 5vw;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
a {
  color: var(--green);
}
@media (max-width: 850px) {
  .welcome {
    gap: 25px;
  }
  .welcome h1 {
    font-size: 38px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .board-layout {
    grid-template-columns: 1fr;
  }
  .inbox-layout {
    grid-template-columns: 220px 1fr;
  }
}
@media (max-width: 600px) {
  main {
    padding: 20px 18px;
  }
  .welcome,
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .welcome {
    padding: 20px 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .inbox-layout {
    grid-template-columns: 1fr;
  }
  header {
    padding: 0 20px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h1 {
    font-size: 26px;
  }
  .search {
    flex-wrap: wrap;
  }
  .search input {
    flex: 1;
    min-width: 180px;
  }
  .inbox-layout aside {
    max-height: 200px;
    overflow-y: auto;
  }
  nav {
    gap: 25px;
  }
  .card {
    padding: 20px;
  }
}

.matching-options {display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.matching-options .checkbox-label {grid-column:1 / -1;}
pre {white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;}
#provider-list article {border-top:1px solid var(--line);padding-top:16px;margin-top:16px;}
@media (max-width:600px) {.matching-options {grid-template-columns:1fr;}}
