/* Premium medical library styles */
:root { --radius: 18px; }
html, body { scroll-behavior: smooth; }
.navbar-brand { letter-spacing: .2px; }
.glass { border-radius: var(--radius); border: 1px solid rgba(0,0,0,.06); box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.hover-lift { transition: transform .15s ease, box-shadow .15s ease; }
.hover-lift:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.badge { border-radius: 999px; }

/* Topic page */
.topic-header { border-bottom: 1px solid rgba(0,0,0,.05); }
.key-points li { margin-bottom:.35rem; }
.aside { position: sticky; top: 86px; }
.table-dense td, .table-dense th { padding: .5rem .6rem; }

/* Dark mode fine-tuning */
[data-bs-theme="dark"] .glass { border-color: rgba(255,255,255,.07); box-shadow: 0 1px 6px rgba(0,0,0,.5); }

/* Block editor styles */
.card .btn-group .btn{ min-width: 34px; }
.block-toolbar .btn{ margin-right: .25rem; }

#toc a.fw-bold.text-primary {
  border-left: 2px solid var(--bs-primary);
  padding-left: .5rem;
}

#toc ul ul {
  border-left: 1px solid var(--bs-border-color);
  margin-left: .5rem;
  padding-left: .5rem;
}
#toc a.fw-bold.text-primary {
  border-left: 2px solid var(--bs-primary);
  padding-left: .5rem;
}

