/* Progressive disclosure — simple surface copy; optional “More info” (WCAG-friendly, keyboard OK) */
.te-disclose {
  margin: 0.75rem 0 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.02);
  max-width: 100%;
}

.te-disclose--tight {
  margin-top: 0.4rem;
}

.te-disclose--flush {
  margin-top: 0;
}

.te-disclose > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  user-select: none;
}

.te-disclose > summary::-webkit-details-marker {
  display: none;
}

.te-disclose .te-disclose__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  color: #0a0a0a;
  background: rgba(253, 199, 0, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.te-disclose__body {
  padding: 0 0.85rem 0.85rem 0.85rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #3a3a3a;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.te-disclose__body p {
  margin: 0.5rem 0 0;
}

.te-disclose__body p:first-child {
  margin-top: 0;
}

/* On dark hero backgrounds */
.te-disclose--on-dark {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
}

.te-disclose--on-dark > summary {
  color: rgba(255, 255, 255, 0.95);
}

.te-disclose--on-dark .te-disclose__icon {
  color: #0a0a0a;
  background: rgba(253, 199, 0, 0.85);
  border-color: rgba(0, 0, 0, 0.15);
}

.te-disclose--on-dark .te-disclose__body {
  color: rgba(255, 255, 255, 0.78);
  border-top-color: rgba(255, 255, 255, 0.12);
}

.te-disclose--on-dark .te-disclose__body a {
  color: #fde047;
  font-weight: 600;
}

.te-disclose--in-about {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.22);
  margin-top: 0.75rem;
}

.te-disclose--in-about > summary {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
}

.te-disclose--in-about .te-disclose__body {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.te-disclose--in-about .te-disclose__body strong {
  color: rgba(255, 255, 255, 0.9);
}

.te-disclose--hero-narrow {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5rem;
}

/* Home hero: keep band readable */
.te-disclose--hero-home {
  margin-top: 0.6rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
}

.te-disclose--hero-home > summary {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
}

.te-disclose--hero-home .te-disclose__body {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

/* Calculator strip (dark) */
.te-disclose--calc-strip {
  margin: 0.5rem auto 0;
  max-width: 40rem;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
}

.te-disclose--calc-strip > summary {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.te-disclose--calc-strip .te-disclose__body {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  line-height: 1.5;
}

.te-disclose--calc-strip .te-disclose__body a {
  color: #fde047;
}

/* Short lead + optional block in prose panels */
.eicr-prose-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #2a2a2a;
  margin: 0 0 0.5rem;
}

/* Nested disclosure inside dark calculator panels */
.te-disclose--nested-cu {
  border: none;
  background: transparent;
  margin: 0;
  padding: 0;
}

.te-disclose--nested-cu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fde047;
}

.te-disclose--nested-cu > summary::-webkit-details-marker {
  display: none;
}

.te-disclose--nested-cu .te-disclose__body {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.te-disclose--nested-cu .te-disclose__icon {
  width: 1.15rem;
  height: 1.15rem;
  font-size: 0.65rem;
}

.te-disclose--nested-cu h3 {
  font-size: 0.75rem;
  margin: 0 0 0.4rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.te-disclose--nested-cu ul {
  margin: 0;
  padding-left: 1.1rem;
}

.te-disclose--nested-cu li {
  margin-bottom: 0.35rem;
}
