css
ai {
  display: block;
  background: #fdfbf7;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  padding: 10px;
  font-family: system-ui, -apple-system, sans-serif;
  color: #333;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  line-height: 1.5;
  font-size: 14px;
}

ai hd {
  display: block;
  background: linear-gradient(135deg, #efebe4 0%, #e6e0d6 100%);
  color: #5c544b;
  font-weight: bold;
  text-align: center;
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

ai details {
  background: #ffffff;
  border: 1px solid #f0ede8;
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

ai details:hover {
  box-shadow: 0 4px 12px rgba(138, 125, 114, 0.08);
}

ai summary {
  background: #f8f6f1;
  padding: 10px 12px;
  color: #6b5b50;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
}

ai summary::-webkit-details-marker {
  display: none;
}

ai summary::after {
  content: "▾";
  position: absolute;
  right: 14px;
  color: #b8a99a;
  transition: transform 0.3s ease;
}

ai details[open] summary::after {
  transform: rotate(180deg);
}

ai details[open] summary {
  border-bottom: 1px dashed #e8e4dc;
  background: #fdfbf7;
}

ai c {
  display: block;
  margin: 10px 12px 4px 12px;
  padding-left: 8px;
  border-left: 3px solid #b8a99a;
  color: #8a7d72;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

ai d {
  display: block;
  padding: 4px 12px;
  font-size: 13px;
  color: #4a4a4a;
}

ai d:last-child {
  padding-bottom: 10px;
}

ai i {
  display: inline-block;
  background: #f2efea;
  color: #7a6e64;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-style: normal;
  margin-right: 6px;
  margin-bottom: 3px;
  border: 1px solid #ebe6df;
}

ai b {
  color: #5c544b;
  font-size: 14px;
}

ai msg {
  display: block;
  margin: 6px 12px;
  padding: 8px 10px;
  background: #f4f6f8;
  border-left: 3px solid #9aa8b8;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: #4a5560;
}

ai msg i {
  background: #e1e6eb;
  color: #5a6673;
  border: none;
}

ai table {
  width: calc(100% - 24px);
  margin: 12px;
  border-collapse: collapse;
  font-size: 12px;
}

ai th, ai td {
  border: 1px solid #e8e4dc;
  padding: 6px 8px;
  text-align: left;
  color: #555;
}

ai th {
  background: #f8f6f1;
  color: #6b5b50;
  font-weight: 600;
}