/* Layout: sitemap body + multi-segment right sidebar.
   Reuses tokens & section styles from sitemap.css. */

/*looks like this defines the first column (the two charts) and the second column (the sidebar)*/
.smp-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 260px); /*change 260, 320 to 260, 260*/
    gap: 24px;/*change from 40px to 24 so same as primary grid*/
    align-items: start;
    padding-top: 48px;
    padding-bottom: 24px;
}

.smp-main { min-width: 0; padding: 0; }
.smp-main.sm-body { padding-top: 0; padding-bottom: 0; }

/* ===== Sidebar ===== */
.smp-aside { min-width: 0; }
.smp-aside-sticky {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
}

.smp-card {
  background: var(--sm-card, #fff);
  border: 1px solid var(--sm-line, #e5ebf3);
  border-radius: var(--sm-radius, 14px);
  box-shadow: var(--sm-shadow, 0 1px 2px rgba(15,27,45,.04), 0 8px 24px rgba(15,27,45,.06));
  padding: 18px 18px 16px;
}

/*font size for account, pbx, report summary, this version broke the heading size*/
/*.smp-card * {
    font-size: 0.95em;
}*/
.smp-content *{font-size: 0.95em;}

.smp-card-title {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sm-mute, #5b6b82);
    font-weight: 700;
}

.smp-toc, .smp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.smp-toc a, .smp-list a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--sm-ink, #0f1b2d);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.35;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.smp-toc a:hover, .smp-list a:hover {
  background: #f1f5fb;
  border-color: var(--sm-line, #e5ebf3);
  color: var(--sm-brand, #1f4ed8);
}

.smp-muted {
  margin: 0 0 10px;
  color: var(--sm-mute, #5b6b82);
  font-size: 13.5px;
  line-height: 1.45;
}

.smp-cta {
  display: block;
  text-align: center;
  background: linear-gradient(90deg, var(--sm-brand, #1f4ed8), var(--sm-brand-2, #4f46e5));
  color: #fff !important;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(31,78,216,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.smp-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(31,78,216,.32); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .smp-shell {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .smp-aside-sticky {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
  }
  .smp-cta { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .smp-shell { padding-top: 32px; }
  .smp-aside-sticky { grid-template-columns: 1fr; }
}
