/* LCC canonical front-end layout. One source of truth for shared shells. */
:root{--lcc-shell-max:1800px;--lcc-shell-gap:22px}
body:has([data-lcc-app-page="1"]) .site-content,
body:has([data-lcc-app-page="1"]) .site-content>.ast-container,
body:has([data-lcc-app-page="1"]) .content-area,
body:has([data-lcc-app-page="1"]) .site-main,
body:has([data-lcc-app-page="1"]) article.page,
body:has([data-lcc-app-page="1"]) .entry-content{
  width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;
  padding-left:0!important;padding-right:0!important;overflow:visible!important
}
/* New canonical shell used by refactored pages. Deliberately avoids legacy .lcc-common-shell selectors. */
.lcc-layout-shell{
  --panel:#151b23;--line:#2a3442;--muted:#98a6ba;--gold:#d8b77a;
  display:flex!important;align-items:flex-start!important;justify-content:center!important;
  gap:var(--lcc-shell-gap)!important;width:calc(100vw - 64px)!important;max-width:var(--lcc-shell-max)!important;
  margin:30px auto 70px!important;padding:0!important;box-sizing:border-box!important;
  position:relative!important;left:auto!important;right:auto!important;transform:none!important;float:none!important;clear:both!important;
  height:auto!important;min-height:0!important;overflow:visible!important
}
.lcc-layout-shell>.lcc-common-left,.lcc-layout-shell>.lcc-fs-left{
  flex:0 0 var(--lcc-left-width,220px)!important;width:var(--lcc-left-width,220px)!important;min-width:0!important;
  position:static!important;top:auto!important;bottom:auto!important;align-self:flex-start!important;
  height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;box-sizing:border-box!important
}
.lcc-layout-shell>.lcc-common-main,.lcc-layout-shell>.lcc-fs-main{
  flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important;box-sizing:border-box!important
}
.lcc-layout-shell>.lcc-common-right,.lcc-layout-shell>.lcc-fs-right{
  flex:0 0 var(--lcc-right-width,300px)!important;width:var(--lcc-right-width,300px)!important;min-width:0!important;
  position:sticky!important;top:20px!important;align-self:flex-start!important;max-height:none!important;overflow:visible!important;box-sizing:border-box!important
}
body.admin-bar .lcc-layout-shell>.lcc-common-right,body.admin-bar .lcc-layout-shell>.lcc-fs-right{top:52px!important}
.lcc-layout-shell>.lcc-common-left>.lcc-sidebar-stack{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
.lcc-layout-shell>.lcc-common-left .lcc-fs-user,
.lcc-layout-shell>.lcc-common-left .lcc-ref-nav,
.lcc-layout-shell>.lcc-common-left .lcc-ref-tools{position:static!important;float:none!important;clear:both!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;box-sizing:border-box!important}
.lcc-layout-shell>.lcc-common-left .lcc-ref-tools{display:flex!important;flex-direction:column!important;grid-template-columns:none!important}
.lcc-layout-shell>.lcc-common-left .lcc-ref-tools>a{position:static!important;display:flex!important;width:100%!important;flex:0 0 auto!important;box-sizing:border-box!important}
@media(max-width:1100px) and (min-width:761px){
  .lcc-layout-shell{width:calc(100vw - 40px)!important}
  .lcc-layout-shell>.lcc-common-left,.lcc-layout-shell>.lcc-fs-left{flex-basis:190px!important;width:190px!important}
  .lcc-layout-shell>.lcc-common-right,.lcc-layout-shell>.lcc-fs-right{display:none!important}
}
@media(max-width:760px){
  .lcc-layout-shell{display:flex!important;flex-direction:column!important;width:calc(100vw - 24px)!important;max-width:none!important;margin:16px auto 50px!important;gap:10px!important}
  .lcc-layout-shell>.lcc-common-main,.lcc-layout-shell>.lcc-fs-main{order:1!important;width:100%!important}
  .lcc-layout-shell>.lcc-common-left,.lcc-layout-shell>.lcc-fs-left{order:2!important;display:block!important;width:100%!important;flex:0 0 auto!important;margin-top:18px!important;position:static!important}
  .lcc-layout-shell>.lcc-common-right,.lcc-layout-shell>.lcc-fs-right{order:3!important;display:block!important;width:100%!important;flex:0 0 auto!important;margin-top:18px!important;position:static!important}
}
