/* 9.2.6: reference-style sidebar. A row has one bottom separator, never a box.
   Keep native details/summary behavior and the selected zone's theme tokens. */
@media screen {
 html[data-site-theme] .left-rail>.panel>h2{
  background:var(--theme-hero-bg)!important;
  color:var(--theme-on-hero)!important;
  border:0!important;border-bottom:2px solid var(--theme-accent)!important;
  padding:15px 18px;font-size:calc(var(--site-font-size,15px) * 1.16);line-height:1.5;
 }
 html[data-site-theme] .left-rail .menu{
  width:100%;min-width:0;background:var(--theme-surface);padding:5px 0 0;gap:0;
 }
 html[data-site-theme] .left-rail .menu .nav-section{
  padding:0;margin:0 0 7px;border:0!important;background:transparent;
 }
 html[data-site-theme] .left-rail .menu .nav-section>summary{
  margin:0;padding:13px 14px;border:0!important;border-radius:8px;
  background:var(--theme-soft)!important;color:var(--theme-heading)!important;
  font-size:max(12px,calc(var(--site-font-size,15px) * .94));font-weight:600;
  line-height:1.65;white-space:normal;overflow-wrap:anywhere;list-style:revert;
 }
 html[data-site-theme] .left-rail .menu .nav-section>summary::marker{color:var(--theme-heading)}
 html[data-site-theme] .left-rail .menu :is(button,a){
  position:relative;display:block;box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;
  margin:0!important;padding:12px 14px 12px 34px!important;
  border:0!important;border-bottom:1px solid var(--theme-border)!important;
  border-radius:0!important;box-shadow:none!important;
  background:var(--theme-surface)!important;color:var(--theme-text)!important;
  font-size:var(--site-font-size,15px)!important;font-family:inherit;
  font-weight:400;line-height:1.65;text-align:left;white-space:normal;
  overflow-wrap:anywhere;text-decoration:none;transform:none;
 }
 html[data-site-theme] .left-rail .menu :is(button,a)::before{
  content:'◆';position:absolute;inset-inline-start:15px;top:calc(12px + .36em);
  width:7px;margin:0;padding:0;font-size:7px;line-height:1.65;
  color:var(--theme-accent);opacity:1;
 }
 html[data-site-theme] .left-rail .menu :is(button,a):nth-of-type(3n+2)::before{color:var(--theme-secondary)}
 html[data-site-theme] .left-rail .menu :is(button,a):nth-of-type(3n)::before{color:var(--theme-primary)}
 html[data-site-theme] .left-rail .menu :is(button,a):hover{
  background:var(--theme-soft)!important;color:var(--theme-heading)!important;
  border:0!important;border-bottom:1px solid var(--theme-border)!important;filter:none;
 }
 html[data-site-theme] .left-rail .menu :is(button.active,a[aria-current=page]){
  background:var(--theme-soft)!important;color:var(--theme-heading)!important;font-weight:600;
  border:0!important;border-bottom:1px solid var(--theme-border)!important;
  box-shadow:inset 3px 0 0 var(--theme-primary)!important;
 }
 html[data-site-theme] .left-rail .menu :is(button,a,summary):focus-visible{
  outline:3px solid var(--theme-focus);outline-offset:-3px;
 }
 html[data-site-theme] .left-rail .menu [hidden]{display:none!important}
 /* The settings preview follows the same visual language as the live menu. */
 html[data-site-theme] .nav83-example{border:0;border-radius:8px;background:var(--theme-surface)}
 html[data-site-theme] .nav83-example summary{
  background:var(--theme-soft);color:var(--theme-heading);border:0;border-radius:8px;
  padding:13px 14px;line-height:1.65;
 }
 html[data-site-theme] .nav83-item{
  background:var(--theme-surface);color:var(--theme-text);border:0;
  border-bottom:1px solid var(--theme-border);padding:12px 18px;
 }
}
