.inference-packing-demo { max-width: 440px; margin: .8rem auto; padding: .5rem; border: 1px solid var(--study-line); border-radius: 8px; background: var(--study-panel); }
.inference-packing-demo svg { display: block; width: 100%; height: auto; }
.inference-packing-demo .packing-axis-label { fill: var(--study-ink); font: 17px sans-serif; }
.inference-packing-demo .packing-ticks { fill: var(--study-ink); font: 13px sans-serif; }
.inference-packing-demo .packing-request-labels { font: 15px sans-serif; }
.inference-packing-demo .request-a { fill: #649ade; }
.inference-packing-demo .request-b { fill: #e3a53e; }
.inference-packing-demo .request-c { fill: #43a58e; }
.inference-packing-demo .is-allowed { fill: #25866e; }
.inference-packing-demo .is-masked { fill: #d6dce5; }
.inference-packing-demo .packing-boundaries { fill: none; stroke: #b77c30; stroke-width: 1.6; stroke-dasharray: 4 3; }
.inference-packing-demo .packing-bottom-label { fill: var(--study-ink); font: 15px sans-serif; }
.study-article .inference-packing-demo > figcaption { margin: .3rem 0 0; color: var(--study-muted); font-size: .73rem !important; line-height: 1.4 !important; }
[data-theme="dark"] .inference-packing-demo .is-masked { fill: #334155; }
.inference-sampling-demo { max-width: 640px; margin: .9rem auto; padding: .65rem; border: 1px solid var(--study-line); border-radius: 8px; background: var(--study-panel); }
.study-article .inference-sampling-demo > figcaption { margin: 0 0 .3rem; color: var(--study-ink); font-size: .86rem !important; font-weight: 650; }
.study-article .inference-sampling-demo > p { margin: 0 0 .4rem; color: var(--study-muted); font-size: .73rem !important; line-height: 1.4 !important; }
.inference-sampling-demo svg { display: block; width: 100%; height: auto; }
.inference-sampling-demo .sampling-token-labels { fill: var(--study-ink); font: 24px sans-serif; }
.inference-sampling-demo .sampling-row-label { fill: var(--study-ink); font: 23px sans-serif; }
.inference-sampling-demo .sampling-row-label.is-original { font-weight: 700; }
.inference-sampling-demo .sampling-probability.is-included { fill: #bdd6f1; }
.inference-sampling-demo .sampling-probability.is-emphasized { fill: #82afe2; }
.inference-sampling-demo .sampling-probability.is-excluded { fill: #e1e4e9; }
.inference-sampling-demo .sampling-value { fill: #1d416b; font: 26px sans-serif; }
.inference-sampling-demo .sampling-value.is-emphasized { font-weight: 700; }
.inference-sampling-demo .sampling-value.is-excluded { fill: #808a96; }
.inference-sampling-demo .sampling-demo-note { fill: var(--study-muted); font: 19px sans-serif; }
[data-theme="dark"] .inference-sampling-demo .sampling-probability.is-included { fill: #305c8a; }
[data-theme="dark"] .inference-sampling-demo .sampling-probability.is-emphasized { fill: #407ab5; }
[data-theme="dark"] .inference-sampling-demo .sampling-probability.is-excluded { fill: #334155; }
[data-theme="dark"] .inference-sampling-demo .sampling-value { fill: #e2efff; }
[data-theme="dark"] .inference-sampling-demo .sampling-value.is-excluded { fill: #94a3b8; }
