/* AutoZone-style More Information hub (sidebar nav + content). */

.mi-hub {
  background: #fff;
  color: #111827;
}

.mi-hub--preview {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  overflow: hidden;
}

.mi-hub__shell {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr);
  gap: 0;
  min-height: 28rem;
}

.mi-hub--preview .mi-hub__shell {
  min-height: 22rem;
}

.mi-hub__nav {
  border-right: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 1rem 0.75rem 1.25rem;
}

.mi-hub__nav-kicker {
  margin: 0 0 0.65rem;
  padding: 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.mi-hub__nav-list {
  display: grid;
  gap: 0.15rem;
}

.mi-hub__nav-link {
  display: block;
  padding: 0.45rem 0.5rem;
  border-radius: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1d4ed8;
  text-decoration: none;
}

.mi-hub__nav-link:hover,
.mi-hub__nav-link.is-active {
  background: #eff6ff;
  color: #1e3a8a;
}

.mi-hub__nav-link--top {
  margin-bottom: 0.15rem;
}

.mi-hub__nav-group {
  border: none;
  margin: 0 0 0.2rem;
}

.mi-hub__nav-group-summary {
  cursor: pointer;
  list-style: none;
  padding: 0.45rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.mi-hub__nav-group-label {
  min-width: 0;
}

.mi-hub__nav-chevron {
  flex-shrink: 0;
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0.75;
  color: #374151;
}

.mi-hub__nav-group-summary::-webkit-details-marker {
  display: none;
}

.mi-hub__nav-sub {
  margin: 0.15rem 0 0.35rem;
  padding: 0 0 0 0.65rem;
  list-style: none;
  display: grid;
  gap: 0.1rem;
}

.mi-hub__main {
  padding: 1.25rem 1.5rem 2rem;
  overflow: auto;
  max-height: 36rem;
}

.mi-hub--preview .mi-hub__main {
  max-height: 28rem;
}

.mi-hub__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mi-hub__meta {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.mi-hub__intro {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #374151;
}

.mi-hub__sections {
  margin-top: 1.25rem;
}

.mi-hub__section {
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  scroll-margin-top: 0.75rem;
}

.mi-hub__section:first-child {
  border-top: none;
  padding-top: 0;
}

.mi-hub__section-title {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111827;
}

.mi-hub__paragraph {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #4b5563;
}

.mi-hub__empty {
  font-size: 0.82rem;
  color: #6b7280;
}

@media (max-width: 768px) {
  .mi-hub__shell {
    grid-template-columns: 1fr;
  }

  .mi-hub__nav {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .mi-hub__main {
    max-height: none;
  }
}

/* Statements admin editor */
.stmt-mi-editor {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
}

.stmt-mi-editor__title {
  margin: 0;
  padding: 1rem 1rem 0;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.stmt-mi-editor__sub {
  margin: 0;
  padding: 0.35rem 1rem 0;
  font-size: 0.82rem;
  color: #64748b;
}

.stmt-mi-editor__form {
  padding: 0 1rem 1rem;
}

.stmt-mi-editor__topic {
  border-top: 1px solid #e2e8f0;
}

.stmt-mi-editor__topic > summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f766e;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.stmt-mi-editor__topic > summary::after {
  content: "▾";
  font-size: 0.72rem;
  opacity: 0.75;
  transition: transform 0.15s ease;
  transform: rotate(-90deg);
}

.stmt-mi-editor__topic[open] > summary::after {
  transform: rotate(0deg);
}

.stmt-mi-editor__topic > summary::-webkit-details-marker {
  display: none;
}

.stmt-mi-editor__topic-body {
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.75rem;
}

.stmt-mi-editor__field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.stmt-mi-editor__field input,
.stmt-mi-editor__field textarea {
  margin-top: 0.3rem;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.stmt-mi-editor__field textarea {
  min-height: 6rem;
  resize: vertical;
}

.stmt-mi-preview {
  margin: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
  overflow: hidden;
}

.stmt-mi-preview__head {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.stmt-mi-preview__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
}

.stmt-mi-preview__meta {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  color: #64748b;
}
