
/* toc-only.css — TOC in left drawer placeholder (model-like) */
#drawerTOC{
  font-size: var(--panel-fs, 1rem);
  font-weight: var(--panel-fw, 500); /* title-ish but ~15% lighter */
  line-height: 1.45;
  height: 100%;
  overflow: hidden;
}
#drawerTOC .toc-scroll{ height: 100%; overflow: auto; padding-right: 6px; }
#drawerTOC .toc-item{ cursor: pointer; user-select: none; margin: 2px 0; padding: 2px 4px; border-radius: 6px; }
#drawerTOC .toc-item:hover{ text-decoration: underline; }
#drawerTOC .toc-item.toc-active{ text-decoration: underline; }
#drawerTOC .lvl-2{ margin-left: 28px; opacity: .95 }
#drawerTOC .lvl-3{ margin-left: 46px; opacity: .90 }
#drawerTOC .lvl-4{ margin-left: 64px; opacity: .85 }
#drawerTOC .lvl-5{ margin-left: 82px; opacity: .80 }
#drawerTOC .lvl-6{ margin-left: 100px; opacity: .75 }

/* === Patch: Remove TOC indentation so all headings align with the title === */
#drawerTOC .lvl-2,
#drawerTOC .lvl-3,
#drawerTOC .lvl-4,
#drawerTOC .lvl-5,
#drawerTOC .lvl-6 { margin-left: 0 !important; }


/* Patch: nudge TOC left to align with title */
#drawerTOC{ margin-left:-4px; }
