/* ===== UX COMPACT – PRO LEVEL ===== */

.csd-wrapper {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
}

/* TITLE */
.csd-wrapper h3 {
  color: #d12c2c;
  font-size: 18px;
  margin-bottom: 10px;
}

/* TOGGLE HEADERS */
.csd-toggle {
  font-size: 14px;
  font-weight: 600;
  margin: 8px 0;
  padding: 6px 8px;
  background: #f7f7f7;
  border-radius: 6px;
  cursor: pointer;
}

/* ROW */
.csd-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

/* GRID */
.csd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

/* INPUTS */
.csd-wrapper input,
.csd-wrapper select,
.csd-wrapper textarea {
  height: 32px;
  padding: 6px 8px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
}

/* TEXTAREA */
.csd-wrapper textarea {
  height: 52px;
  resize: none;
}

/* CHECKBOX */
.csd-checks {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

/* COLLAPSIBLE */
.csd-collapsible {
  display: none;
  margin-bottom: 8px;
}
.csd-collapsible.active {
  display: block;
}

/* MOBILE */
@media (max-width: 768px) {
  .csd-row,
  .csd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
