.hs-condition-section {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hs-condition-title {
  margin: 0;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #eef2ff;
  color: #3730a3;
  font-size: 1rem;
  font-weight: 900;
}

.hs-condition-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hs-condition-label::before {
  content: "條件";
  display: inline-flex;
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 900;
}

.hs-condition-section .endless-table-wrap {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html[data-theme="dark"] .hs-condition-section {
  background: var(--panel) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}

html[data-theme="dark"] .hs-condition-title {
  background: #1e3a5f !important;
  color: #bfdbfe !important;
  border-color: var(--line) !important;
}

html[data-theme="dark"] .hs-condition-label::before {
  background: #263247 !important;
  color: #dbeafe !important;
}
