.nl-lab {
  --nl-cy: #22D3EE; --nl-vio: #A78BFA; --nl-panel: #26224F; --nl-line: rgba(255,255,255,0.14);
  --nl-mono: "IBM Plex Mono", var(--dg-mono);
  --nl-s-big: 15px; --nl-s-lab: 13px; --nl-s-note: 12px;
  margin: 28px 0;
}
.nl-noscript { font-family: var(--f-body-16); }
#nlInteractive[hidden], .nl-lab[hidden] { display: none !important; }
.nl-lab * { box-sizing: border-box; }
.nl-lab p, .nl-lab h2, .nl-lab h3, .nl-lab h4, .nl-lab ul, .nl-lab ol { margin: 0; }
@media (min-width: 1100px) { .nl-lab { width: 1072px; margin-left: calc(50% - 536px); } }

.nl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.nl-hgroup { display: flex; flex-direction: column; gap: 4px; }
.nl-lab .ep-h2:focus { outline: none; }
.nl-lab .ep-h2:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.nl-lab .btn[aria-pressed="true"]:not(.btn-primary) { background: var(--band-fg); color: #26224F; border-color: var(--band-fg); }

.nl-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.nl-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.nl-side { border-top: 1px solid var(--nl-line); padding-top: 24px; }
@media (min-width: 1000px) {
  .nl-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; }
  .nl-side { border-top: 0; padding-top: 0; border-left: 1px solid var(--nl-line); padding-left: 32px; }
}
.nl-store, .nl-slh, .nl-lh { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.nl-slh, .nl-lh { align-items: baseline; }
.nl-lh { min-height: 36px; flex-wrap: nowrap; }
.nl-lh .nl-ln { flex: 1 1 auto; min-width: 0; }
.nl-lh .demo-n { flex: none; }
.nl-slot { display: grid; }
.nl-slot > * { grid-area: 1 / 1; }
.nl-slot > [data-off] { visibility: hidden; }
#nlBefore { min-height: 1.55em; }
.nl-lab .nl-ln { font-weight: 400; color: var(--band-fg); }
#nlRateL, #nlRateC { min-width: 9.5em; text-align: right; line-height: 2rem; margin-left: auto; }
#nlRateC .mono { color: var(--nl-vio); }
.nl-lab input[type=range] { min-height: 44px; margin: 0; }
.nl-lab .nl-slider label { margin-bottom: 0; }
.nl-ideal .ep-small a { color: var(--band-fg); }

.nl-fig { position: relative; flex: none; margin: 0 auto; }
.nl-lane .nl-fig { margin: 0; }
.nl-fig > svg { position: absolute; left: 0; top: 0; }
.nl-svg { display: block; overflow: visible; }
.nl-svg text { font-family: var(--dg-sans); font-weight: 400; font-size: var(--nl-s-lab); fill: var(--band-fg); letter-spacing: 0; }
.nl-svg .nl-mono, .nl-svg .nl-t-mono { font-family: var(--nl-mono); font-size: var(--nl-s-note); }
.nl-svg .nl-t-mono { fill: var(--band-muted); }
.nl-svg .nl-tag, .nl-svg .nl-ckw, .nl-svg .nl-t-note { font-size: var(--nl-s-note); }
.nl-svg .nl-t-note { fill: var(--band-muted); }
.nl-svg .nl-wire { stroke: var(--band-muted); stroke-width: 2; }
.nl-svg .nl-disc { fill: var(--nl-panel); stroke: var(--band-fg); stroke-width: 1.5; transition: stroke 200ms; }
.nl-svg .nl-disc.is-flip { stroke: var(--nl-cy); stroke-width: 2.5; }
.nl-svg .nl-disc.is-sign { stroke: var(--nl-cy); stroke-width: 2.5; stroke-dasharray: 4 3; }
.nl-svg .nl-disc.is-fixed { stroke: var(--band-fg); stroke-width: 2.5; }
.nl-svg .nl-disc.is-blend:not(.is-sign) { stroke-dasharray: 4 3; }
.nl-svg .nl-ring { fill: none; stroke: var(--nl-cy); stroke-width: 1; visibility: hidden; }
.nl-svg .nl-ring.is-on { visibility: visible; }
.nl-svg .nl-v { font-family: var(--nl-mono); font-size: var(--nl-s-big); }
.nl-svg .nl-v.is-flip, .nl-svg .nl-qn.is-flip, .nl-svg .nl-tag { fill: var(--nl-cy); }
.nl-svg .nl-tag.is-fixed { fill: var(--band-fg); }
.nl-svg .nl-dia { fill: var(--nl-panel); stroke: var(--band-muted); stroke-width: 1.5; transition: fill 200ms, stroke 200ms; }
.nl-svg .nl-dia.is-on { fill: var(--nl-vio); stroke: var(--nl-vio); }
.nl-svg .nl-ck { fill: var(--band-muted); }
.nl-svg .nl-ck.is-on { fill: var(--nl-vio); }
.nl-q { position: absolute; display: block; padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nl-q:focus { outline: none; }
.nl-q:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.nl-q[aria-disabled="true"] { cursor: default; }
.nl-q.is-armed { outline: 1.5px dashed var(--band-fg); outline-offset: 2px; }

.nl-svg .w { fill: var(--nl-cy); }
.nl-svg .r { fill: none; stroke: var(--band-muted); stroke-width: 1.5; }
.nl-svg .now { stroke: var(--band-fg); stroke-width: 2.5; }
.nl-svg .e { fill: var(--band-muted); }
.nl-lb { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.nl-lane { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--nl-line); }
.nl-lane .nl-tk { flex: none; }
#nlLaneC.is-centred .nl-lb { flex-direction: column; }
#nlLaneC.is-centred #nlCode { align-self: center; }
#nlLaneC.is-centred .nl-tk { align-self: center; }
#nlLcap, #nlRlamps { min-height: 1.55em; }
@media (max-width: 359px) { #nlLcap { min-height: 3.1em; } }
.nl-lh .demo-n { min-height: 34px; }
#nlCcap { min-height: 3.1em; }
@media (max-width: 359px) { #nlCcap { min-height: 4.65em; } }
#nlRateL, #nlRateC { display: grid; justify-items: end; }
#nlRateL > span, #nlRateC > span { grid-area: 1 / 1; }
.nl-rg { visibility: hidden; }
@media (max-width: 359px) { .nl-lh { flex-wrap: wrap; row-gap: 0; } .nl-lh .nl-ln { flex-basis: 100%; } }
@media (max-width: 519px) { .nl-race .nl-col { gap: 12px; } .nl-race .nl-lane { padding-top: 12px; } }
.nl-key { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; }
.nl-key span { display: inline-flex; gap: 8px; align-items: center; }
.nl-tokrow { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.nl-tokrow .nl-tokl { flex: 1 1 200px; }
.nl-tok { cursor: grab; touch-action: none; }

.nl-chart { height: 352px; }
.nl-svg .nl-gl { stroke: rgba(255,255,255,0.12); stroke-width: 1; }
.nl-svg .nl-base { stroke: var(--band-muted); stroke-width: 1.5; }
.nl-svg .nl-now { stroke: var(--band-muted); stroke-width: 1; }
.nl-svg .nl-ex { stroke-width: 1; stroke-dasharray: 6 4; }
.nl-svg .nl-ex-l { stroke: var(--band-fg); } .nl-svg .nl-ex-c { stroke: var(--nl-vio); }
.nl-svg .nl-ln-l, .nl-svg .nl-ln-c { fill: none; stroke-width: 2.5; stroke-linejoin: round; }
.nl-svg .nl-ln-l { stroke: var(--band-fg); } .nl-svg .nl-ln-c { stroke: var(--nl-vio); }
.nl-svg .nl-mk-l { fill: var(--band-fg); } .nl-svg .nl-mk-c { fill: var(--nl-vio); }
.nl-svg .nl-t-l { fill: var(--band-fg); } .nl-svg .nl-t-c { fill: var(--nl-vio); }
#nlRverdict { min-height: 4.65em; }
#nlVerdict { min-height: 3.1em; }
@media (max-width: 519px) { #nlVerdict { min-height: 4.65em; } }

.nl-findl { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nl-findl li { position: relative; display: flex; align-items: center; min-height: 44px; padding-left: 32px; }
.nl-findl li::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1.5px solid var(--band-muted); border-radius: 2px; }
.nl-findl li.is-done { color: var(--band-fg); }
.nl-findl li.is-done::before { background: var(--nl-vio); border-color: var(--nl-vio); }
.nl-findl li.is-done::after { content: ""; position: absolute; left: 7px; top: 50%; width: 5px; height: 10px; margin-top: -7px; border: solid var(--nl-panel); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.nl-phase { display: flex; gap: 16px; list-style: none; padding: 0; flex-wrap: wrap; }
.nl-phase li { padding-bottom: 4px; }
.nl-phase li::before { content: "\2713\00a0"; visibility: hidden; }
.nl-phase li[aria-current] { color: var(--band-fg); box-shadow: inset 0 -2px 0 var(--nl-vio); }
.nl-phase li.is-done { color: var(--band-fg); }
.nl-phase li.is-done::before { visibility: visible; }
.nl-lab .btn-ghost:disabled, .nl-lab .btn-link:disabled { opacity: 0.55; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .nl-svg .nl-disc, .nl-svg .nl-dia { transition: none; } }
