.agent-markdown {
  color: #33445b;
  font-size: 13px;
  line-height: 1.65;
}

.agent-markdown h3 {
  position: relative;
  margin: 20px 0 9px;
  padding: 10px 12px 10px 36px;
  border-radius: 8px;
  background: #f1f6fb;
  color: #173b63;
  font-size: 13px;
  letter-spacing: .01em;
}

.agent-markdown h3:first-child {
  margin-top: 4px;
  background: #eaf7f3;
  color: #086b58;
}

.agent-markdown h3::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(23, 105, 170, .12);
}

.agent-markdown h3:first-child::before {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 143, 114, .12);
}

.agent-markdown p {
  margin: 8px 2px;
  color: #46576d;
}

.agent-markdown strong {
  color: #172c46;
}

.agent-markdown ul {
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
}

.agent-markdown li {
  position: relative;
  margin: 8px 0;
  padding: 10px 12px 10px 32px;
  border: 1px solid #e1e8ef;
  border-radius: 8px;
  background: #fbfcfe;
}

.agent-markdown li::before {
  content: "✓";
  position: absolute;
  left: 11px;
  top: 10px;
  color: var(--teal);
  font-weight: 800;
}

.agent-markdown a {
  display: inline-flex;
  align-items: center;
  margin-left: 3px;
  border-bottom: 1px solid rgba(23, 105, 170, .3);
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.agent-markdown a:hover {
  border-color: #0e4f84;
  color: #0e4f84;
}

.agent-mode {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #758397;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.agent-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 143, 114, .12);
}
