/* Shared article TOC, DESIGN-BARGROUND3 G. Desktop keeps its existing rail. */
body.nj-article{--bar-h:48px;--bar-edge:12px;--bar-pad:20px}
body.nj-article .reference-dock{display:none}
@media(max-width:1099.98px){
 html body.nj-visual.nj-finish.nj-lc.nj-article.reference-study .reference-dock{
  display:flex;position:fixed;inset:auto 0 0;z-index:26;gap:0;
  height:calc(var(--bar-h) + env(safe-area-inset-bottom));box-sizing:border-box;
  padding:0 0 env(safe-area-inset-bottom);background:transparent;box-shadow:none;
  isolation:isolate;transition:none;animation:none}
 html body.nj-article.reference-study .reference-dock::before{
  content:"";position:absolute;inset:0 var(--bar-edge);z-index:-1;pointer-events:none;background:var(--band)}
 html body.nj-visual.nj-finish.nj-lc.nj-article.reference-study .reference-dock .reference-toc-open{
  display:flex;position:relative;align-items:center;justify-content:center;align-self:stretch;
  width:100%;height:var(--bar-h);min-height:var(--bar-h);margin:0;padding:0;gap:0;border:0;border-radius:0;
  background:none;color:var(--on-band);font-family:var(--sans);font-size:14px;font-weight:500;
  line-height:1;letter-spacing:.24em;text-indent:.24em;cursor:pointer;-webkit-tap-highlight-color:transparent}
 html body.nj-article.reference-study .reference-dock .reference-toc-open::before,
 html body.nj-article.reference-study .reference-dock .reference-toc-open::after{content:none}
 html body.nj-article.reference-study .reference-dock .reference-toc-open:active{
  background:linear-gradient(rgb(238 240 230 / .07),rgb(238 240 230 / .07)) var(--bar-edge) 0/calc(100% - 2 * var(--bar-edge)) 100% no-repeat}
 html body.nj-article.reference-study .reference-dock .nj-sign{
  position:absolute;left:calc(50% + 22px);top:calc(50% - 3px);width:10px;height:6px;min-width:0;margin:0;
  font-size:0;color:var(--moss-on-band);background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 5.2 5 1.2l4 4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px 6px no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 5.2 5 1.2l4 4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px 6px no-repeat}
 html.nj-panel-open body.nj-article.reference-study .reference-dock .nj-sign{transform:scaleY(-1)}
 html body.nj-article.reference-study .reference-dock .reference-toc-open:focus-visible{outline:0;box-shadow:none}
 body.nj-article .reference-toc-open .nj-focus-ring{
  display:none;position:absolute;inset:5px calc(var(--bar-edge) + 5px);z-index:2;pointer-events:none;
  border:2px solid var(--moss-on-band);border-radius:3px}
 body.nj-article .reference-toc-open:focus-visible .nj-focus-ring{display:block}
 html:not(.nj-panel-open) body.nj-visual.nj-finish.nj-lc.nj-article.reference-study:not(.nj-bar-ready) .reference-dock,
 html:not(.nj-panel-open) body.nj-visual.nj-finish.nj-lc.nj-article.reference-study.nj-bar-end .reference-dock{display:none}
 html.nj-panel-open body.nj-article::after{content:none}
 html.reference-enhanced body.nj-article.reference-study .reference-rail{display:none}
 html.reference-enhanced body.nj-visual.nj-finish.nj-lc.nj-article.reference-study .reference-rail.is-popup{
  display:block;position:fixed;inset:auto var(--bar-edge) calc(var(--bar-h) + env(safe-area-inset-bottom));
  z-index:25;width:auto;max-height:min(65svh,calc(100svh - var(--bar-h) - env(safe-area-inset-bottom) - 20px));
  overflow:auto;margin:0;padding:4px 0 0;background:var(--paper);border-radius:5px 5px 0 0;
  box-shadow:0 -1px 0 rgb(31 46 39 / .10),0 -10px 18px -10px rgb(31 46 39 / .30)}
 html.reference-enhanced body.nj-article.reference-study .reference-rail.is-popup .reference-contents{
  position:static;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;max-height:none}
 html body.nj-article .reference-rail.is-popup .reference-contents>summary,
 body.nj-article.reference-study .reference-rail.is-popup .reference-overview{display:none}
 html body.nj-article .reference-rail.is-popup .reference-toc,
 html body.nj-article .reference-rail.is-popup .reference-toc ol{margin:0;padding:0}
 html body.nj-article .reference-rail.is-popup .reference-toc li{position:relative;margin:0;padding:0;border:0}
 html body.nj-article .reference-rail.is-popup .reference-toc li+li::before{
  content:"";position:absolute;top:0;left:calc(var(--bar-pad) + 29px);right:var(--bar-pad);height:1px;background:var(--rule)}
 html body.nj-visual.nj-finish.nj-lc.nj-article .reference-rail.is-popup .reference-toc a{
  position:relative;display:flex;align-items:baseline;gap:0;min-height:48px;box-sizing:border-box;
  padding:14px var(--bar-pad);margin:0;border:0;font-family:var(--sans);font-size:15px;font-weight:400;
  line-height:1.4;letter-spacing:.03em;color:var(--ink);text-decoration:none;-webkit-text-stroke:0}
 html body.nj-visual.nj-finish.nj-lc.nj-article .reference-rail.is-popup .reference-toc a .no{
  flex:0 0 29px;width:auto;min-width:0;font-family:var(--sans);font-size:11px;font-weight:500;
  font-variant-numeric:tabular-nums;letter-spacing:.06em;color:var(--ink-2)}
 html body.nj-visual.nj-finish.nj-lc.nj-article .reference-rail.is-popup .reference-toc a[aria-current]{color:var(--moss);font-weight:600}
 html body.nj-visual.nj-finish.nj-lc.nj-article .reference-rail.is-popup .reference-toc a[aria-current] .no{color:var(--moss);font-weight:700}
 html body.nj-article .reference-rail.is-popup .reference-toc a[aria-current]::before{
  content:"";position:absolute;left:calc(var(--bar-pad) - 14px);top:calc(50% - 4px);width:8px;height:8px;background:var(--moss);
  -webkit-mask:url(source/assets/mist-cards/mark.png) center/contain no-repeat;
  mask:url(source/assets/mist-cards/mark.png) center/contain no-repeat}
 html body.nj-article .reference-rail.is-popup .reference-toc a:active{background:var(--sunk)}
 html body.nj-article .reference-rail.is-popup .reference-toc a:focus-visible{outline:2px solid var(--moss);outline-offset:-3px}
 body.nj-article.reference-study .colophon{padding-bottom:0}
}
/* Release the legacy rail column between its old and current breakpoints. */
@media(min-width:1000.01px) and (max-width:1099.98px){
 body.nj-article:not(.nj-vega-study) .ledger{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:1100px){body.nj-article.reference-study .reference-dock{display:none}}

