.hhb-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  margin: 0 0 20px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.hhb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.hhb-grid-two {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .hhb-grid-two {
    grid-template-columns: 1fr;
  }
}

.hhb-tabs {
  display: flex;
  gap: 12px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}

.hhb-tab {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  text-decoration: none;
}

.hhb-tab.is-active {
  background: #0f172a;
  color: #fff;
}

.hhb-table {
  width: 100%;
  border-collapse: collapse;
}

.hhb-table th,
.hhb-table td {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.hhb-table th {
  text-align: left;
}

.hhb-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hhb-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.hhb-list li.is-unread strong {
  color: #0f172a;
}

.hhb-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: #dcfce7;
  color: #166534;
}

.hhb-chat-window {
  min-height: 260px;
  max-height: 420px;
  overflow-y: auto;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  margin-bottom: 12px;
}

.hhb-chat-message {
  background: #fff;
  border: 1px solid #dbe3ed;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.hhb-chat-message.is-me {
  border-color: #bfdbfe;
}

.hhb-chat-message .hhb-meta {
  font-size: 12px;
  color: #475569;
  margin-bottom: 6px;
}

.hhb-chat-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}

.hhb-inline-form {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hhb-inline-form input[type="text"] {
  min-width: 220px;
}

.hhb-timeline {
  margin: 0 0 16px;
  padding-left: 18px;
}

.hhb-timeline li {
  margin-bottom: 12px;
}

.hhb-notice {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.hhb-notice.success {
  background: #dcfce7;
  color: #166534;
}
