/* Development regulations panel on the public classifications page (issue #93). */

.cls-card.open .cls-desc,
/* No regulations means no toggle, so the description must never be clamped shut. */
.cls-desc-full {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}

.cls-more {
  margin-top: 9px;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  color: #7c3aed;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cls-more:hover {
  color: #6d28d9;
}

.cls-more i {
  font-size: .62rem;
  transition: transform .2s;
}

.cls-card.open .cls-more i {
  transform: rotate(180deg);
}

/* ── Expand all ── */
.cls-results-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cls-results-row .cls-results-line {
  margin-bottom: 0;
}

.cls-expand-all {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  padding: 7px 14px;
  font-family: 'Inter', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  color: #7c3aed;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all .15s;
}

.cls-expand-all:hover {
  border-color: #7c3aed;
  background: #faf5ff;
}

.cls-expand-all i {
  font-size: .68rem;
}

/* ── Panel ── */
.cls-reg {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.cls-reg-h {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #64748b;
  margin-bottom: 9px;
}

/* ── Plot diagram ── */
.cls-dia {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: #fcfcfd;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.cls-dia-plan {
  flex: 1 1 auto;
  height: 92px;
  min-width: 0;
}

.cls-dia-floors {
  flex: 0 0 42px;
  height: 92px;
}

/* ── Spec tiles ── */
.cls-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
}

.cls-spec {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  padding: 6px 9px;
  min-width: 0;
}

.cls-spec-k {
  display: block;
  font-size: .63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #64748b;
  margin-bottom: 2px;
}

.cls-spec-v {
  display: block;
  font-size: .82rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

/* ── Setback chips ── */
.cls-sb-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cls-sb-lbl {
  font-size: .63rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #64748b;
  margin-inline-end: 2px;
}

.cls-sb {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  background: #f5f0ff;
  border-radius: 20px;
  padding: 3px 10px;
}

.cls-sb-k {
  font-size: .64rem;
  font-weight: 700;
  color: #6d28d9;
}

.cls-sb-v {
  font-size: .72rem;
  font-weight: 800;
  color: #5b21b6;
}

.cls-reg-note {
  font-size: .72rem;
  color: #64748b;
  line-height: 1.5;
  margin: 9px 0 0;
}

.cls-reg-ref {
  font-size: .68rem;
  color: #64748b;
  margin: 10px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.45;
}

.cls-reg-ref i {
  margin-top: 2px;
}

.cls-disclaimer {
  max-width: 1100px;
  margin: 22px auto 0;
  font-size: .72rem;
  color: #64748b;
  line-height: 1.6;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}
