/* Desktop collapsible left category rail. V7. No changes to the mobile drawer. */
.vzl7-sidebar,.vzl7-backdrop{display:none}
@media(min-width:901px){
  body:has(.vzl7-sidebar){padding-left:76px!important;box-sizing:border-box}
  body:has(.vzl7-sidebar) > .header{margin-left:-76px!important;width:calc(100% + 76px)!important;max-width:none!important}
  .vzl7-sidebar{display:block;position:fixed;z-index:850;left:0;top:var(--vzl7-top,150px);bottom:0;width:76px;overflow:hidden;background:#fff;border-right:1px solid #e8e8e8;box-shadow:2px 0 7px rgba(0,0,0,.035);transition:width .25s ease,top .05s linear;box-sizing:border-box}
  .vzl7-sidebar[data-open="true"]{width:345px;z-index:901}
  .vzl7-scroll{height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;overscroll-behavior:contain;padding:10px 8px 16px;box-sizing:border-box}
  .vzl7-menu-button{display:flex;align-items:center;gap:14px;width:100%;height:55px;min-height:55px;padding:0 9px;border:0;border-radius:35px;background:transparent;color:#fff;cursor:pointer;text-align:left;white-space:nowrap;box-sizing:border-box}
  .vzl7-sidebar[data-open="true"] .vzl7-menu-button{background:#161616}
  .vzl7-burger{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;flex:0 0 54px;width:54px;height:54px;background:#161616;border-radius:50%}
  .vzl7-sidebar[data-open="true"] .vzl7-burger{flex-basis:30px;width:30px;height:46px;border-radius:0}
  .vzl7-burger i{width:21px;height:2px;background:#fff;border-radius:4px}
  .vzl7-menu-title{opacity:0;font-size:18px;font-weight:750;overflow:hidden;white-space:nowrap;transition:opacity .12s ease}
  .vzl7-sidebar[data-open="true"] .vzl7-menu-title{opacity:1}
  .vzl7-links{margin-top:8px;display:flex;flex-direction:column;gap:0}
  .vzl7-link{display:flex;align-items:center;gap:12px;min-height:55px;max-height:68px;padding:7px 12px;text-decoration:none!important;border-radius:8px;color:#111!important;white-space:nowrap;box-sizing:border-box}
  .vzl7-link:hover,.vzl7-link:focus-visible{background:#f4f4f4}
  .vzl7-ico{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px}
  .vzl7-ico img{width:32px;height:32px;object-fit:contain;max-width:100%}
  .vzl7-fallback{display:grid;place-items:center;background:#f47a12;border-radius:50%;font-weight:800;font-size:15px;color:white;width:30px;height:30px}
  .vzl7-name{font-size:16px;font-weight:700;overflow:hidden;opacity:0;text-overflow:ellipsis;transition:opacity .13s ease}
  .vzl7-sidebar[data-open="true"] .vzl7-name{opacity:1}
  .vzl7-sidebar:not([data-open="true"]) .vzl7-menu-button{padding-left:3px}
  .vzl7-sidebar:not([data-open="true"]) .vzl7-link{padding-left:11px}
  .vzl7-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:rgba(0,0,0,.16);z-index:849}
  .vzl7-sidebar[data-open="true"]{box-shadow:8px 0 35px rgba(0,0,0,.14)}
  body.vzl7-open{overflow:hidden}
}
@media(max-width:900px){body:has(.vzl7-sidebar){padding-left:0!important}}
@media(prefers-reduced-motion:reduce){.vzl7-sidebar,.vzl7-menu-title,.vzl7-name{transition:none!important}}


/* V8: full-height reference layout; rail occupies the entire viewport from y=0.
   The page/header starts at its right edge rather than appearing underneath it. */
@media (min-width:901px){
  html:has(.vzl7-sidebar){scroll-padding-top:0}
  body:has(.vzl7-sidebar){
    padding-left:76px!important;
    margin-left:0!important;
    width:auto!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  /* Cancel V7's full-width header expansion. This prevents logo/navigation overlap. */
  body:has(.vzl7-sidebar) > .header{
    margin-left:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .vzl7-sidebar{
    top:0!important;
    bottom:0!important;
    height:100vh!important;
    height:100dvh!important;
    width:76px;
    z-index:2147481000!important;
    border-right:1px solid #eaeaea;
    background:#fff;
  }
  .vzl7-sidebar[data-open="true"]{width:345px!important;}
  .vzl7-scroll{height:100%;padding-top:0!important;}
  .vzl7-menu-button{margin-top:0!important;}
  .vzl7-backdrop:not([hidden]){z-index:2147480999!important;}
}
