/* Website navigation for published collection sidebars. The list scrolls
   independently so the two destinations remain at the lower-left edge. */
.sidebar {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.sidebar-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0.85rem;
}
.viewer-site-links {
  align-items: flex-start;
  border-top: 1px solid var(--export-theme-border);
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem;
}
.viewer-site-button {
  align-items: center;
  background: rgb(247 249 235 / 90%);
  border-radius: 14px;
  box-sizing: border-box;
  color: #24322b;
  display: inline-flex;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
  max-width: 100%;
  min-height: 40px;
  overflow-wrap: anywhere;
  padding: 8px 16px;
  text-align: left;
  text-decoration: none;
}
.viewer-site-button:hover { background: #f7f9eb; }
.viewer-site-button:focus-visible {
  outline: 2px solid #3b6552;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .sidebar {
    height: clamp(14rem, 42vh, 26rem);
    max-height: none;
  }
}
@media print {
  .viewer-site-links { display: none !important; }
}
