/* Tighten the TOC sidebar to leave more room for content */
#TOC {
  font-size: 13px;
}

/* Prevent the document from being too wide in the iframe */
.main-container {
  max-width: 960px;
}

/* Title block: the author list is shown in the citation popup instead (index.Rmd) */
h4.author { display: none; }

/* Citation popup */
.cite-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 1000;
                 display: flex; align-items: center; justify-content: center; }
.cite-backdrop[hidden] { display: none; }
.cite-box { background: #fff; max-width: 640px; width: 90%; padding: 20px 24px; border-radius: 6px;
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); }
.cite-box h4 { margin-top: 0; }
.cite-actions { margin-bottom: 0; text-align: right; }
.cite-actions button { padding: 4px 14px; }
