/**
 * Shared help-page chrome.
 * Values copied from educators_assessment_scoring.html (identical look).
 */

/* --------------------------------------------------------------------------
   TOC — "In this guide"
   -------------------------------------------------------------------------- */

.help-toc {
  background: #f8f9fb;
  border: 1px solid #e9ecf0;
  border-radius: 0.5rem; /* Bootstrap rounded-3 */
}

.help-toc-heading {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.help-toc-link {
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Section icon chip (42×42) + color modifiers
   -------------------------------------------------------------------------- */

.help-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 0.5rem; /* Bootstrap rounded-3 */
}

.help-section-icon .bi {
  font-size: 1.25rem; /* fs-5 */
}

.help-section-icon--amber {
  background: #fef3c7;
}
.help-section-icon--amber .bi {
  color: #d97706;
}

.help-section-icon--indigo {
  background: #eef2ff;
}
.help-section-icon--indigo .bi {
  color: #4f46e5;
}

.help-section-icon--emerald {
  background: #ecfdf5;
}
.help-section-icon--emerald .bi {
  color: #059669;
}

.help-section-icon--pink {
  background: #fdf2f8;
}
.help-section-icon--pink .bi {
  color: #db2777;
}

.help-section-icon--green {
  background: #f0fdf4;
}
.help-section-icon--green .bi {
  color: #16a34a;
}

.help-section-icon--cyan {
  background: #ecfeff;
}
.help-section-icon--cyan .bi {
  color: #0891b2;
}

/* --------------------------------------------------------------------------
   Card
   -------------------------------------------------------------------------- */

.help-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem; /* Bootstrap rounded-3 */
}

.help-card-title {
  font-size: 0.85rem;
  color: #374151;
}

.help-card-body {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Callouts
   -------------------------------------------------------------------------- */

.help-callout-info,
.help-callout-warning,
.help-callout-tip {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem; /* p-3 */
  border-radius: 0.5rem; /* rounded-3 */
}

.help-callout-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.help-callout-info > .bi {
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.help-callout-info > span,
.help-callout-info > div {
  font-size: 0.875rem;
  color: #1e3a5f;
}

.help-callout-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.help-callout-warning > .bi {
  color: #d97706;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.help-callout-warning strong {
  color: #92400e;
}
.help-callout-warning span {
  color: #78350f;
}

.help-callout-tip {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.help-callout-tip > .bi {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.help-callout-tip > span,
.help-callout-tip > div {
  font-size: 0.875rem;
  color: #166534;
}

/* --------------------------------------------------------------------------
   Related Guides footer
   -------------------------------------------------------------------------- */

.help-related {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem; /* gap-4 */
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-left: 4px solid #7c3aed;
  border-radius: 0.5rem; /* rounded-3 */
  padding: 1.5rem; /* p-4 */
}

.help-related > .bi {
  color: #7c3aed;
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-size: 1.5rem; /* fs-4 */
}

.help-related-body {
  flex: 1;
}

.help-related-blurb {
  font-size: 0.9rem;
  color: #4b5563;
}

.help-related-btn {
  background: #ffffff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.help-related-btn:hover {
  background: #ffffff;
  color: #7c3aed;
  border-color: #ddd6fe;
}

/* --------------------------------------------------------------------------
   Body text
   -------------------------------------------------------------------------- */

.help-body {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
  max-width: 720px;
}
