/* pw-crtc-collapse.css — styles for the CRTC page reading aid (TL;DR + accordions). */

.pw-tldr {
  border: 1px solid #cfe0f5;
  background: linear-gradient(135deg, #f0f6ff 0%, #eef9f3 100%);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin: 0 0 1.75rem;
}
.pw-tldr-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: #1a2744;
}
.pw-tldr-badge {
  background: #059669;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
}
.pw-tldr-lead {
  margin: 0 0 0.85rem;
  color: #334155;
  font-size: 0.96rem;
  line-height: 1.55;
}
.pw-tldr-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
}
.pw-tldr-jump > span {
  color: #64748b;
  font-weight: 600;
  margin-right: 0.15rem;
}
.pw-tldr-chip {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #1d4ed8;
  text-decoration: none;
  font-size: 0.82rem;
  transition: background 0.12s, border-color 0.12s;
}
.pw-tldr-chip:hover {
  background: #1d4ed8;
  color: #fff;
  border-color: #1d4ed8;
}

/* Collapsible section */
.pw-collapse {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin: 0.75rem 0;
  background: #fff;
  overflow: hidden;
}
.pw-collapse[open] {
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}
.pw-collapse-summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.15rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: #1a2744;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  user-select: none;
}
.pw-collapse-summary::-webkit-details-marker { display: none; }
.pw-collapse-summary::before {
  content: "";
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #2d4e78;
  border-bottom: 2px solid #2d4e78;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}
.pw-collapse[open] > .pw-collapse-summary::before {
  transform: rotate(45deg);
}
.pw-collapse-summary:hover { background: #f8fafc; }
.pw-collapse-body {
  padding: 0 1.15rem 1.1rem;
}
.pw-collapse-body > h2 { display: none; }
