.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.rolling-number{display:inline-flex;align-items:baseline;font-variant-numeric:tabular-nums;white-space:pre}
.rolling-digit{position:relative;display:inline-block;height:1.1em;overflow:hidden;vertical-align:bottom}
.rolling-track{display:flex;flex-direction:column;line-height:1.1em;animation:paperx-number-roll 500ms ease-out both}
.rolling-track>span{display:block;height:1.1em;flex:none}
@keyframes paperx-number-roll{from{transform:translateY(0)}to{transform:translateY(-50%)}}
.page .panel>.model-chart,.model-chart{position:relative;display:block!important;height:var(--model-height,230px);min-width:0;padding:0!important}
.model-chart>canvas{display:block;width:100%;height:100%;touch-action:pan-y;outline-offset:-2px}
.history-card>canvas{touch-action:pan-y;cursor:crosshair;outline-offset:-2px}
.history-card>canvas:active{cursor:grabbing}
.model-chart>canvas:focus-visible,.history-card>canvas:focus-visible{outline:1px solid #7a7060}
.page .history-card>.history-head{gap:0!important;flex-wrap:nowrap;max-width:calc(100% - 28px)}
.history-head select,.history-head button{flex:none;cursor:pointer}
.history-head h3{min-width:0;flex-shrink:1;text-overflow:ellipsis}
.page .panel .model-chart [data-chart-status],.history-card>[data-chart-status]{display:block}
.house-pnl .model-chart,.house-topology .model-chart{height:230px}
.reward-curve-card .model-chart{height:290px}
.house-reference .history-card{height:var(--plot-height,280px)!important}
.house-queue>.panel:not(.history-card){min-height:250px}
.motion-tape.heat{position:relative;flex:1;min-width:0;align-self:stretch;max-width:74%;overflow:hidden;padding:0;pointer-events:none}
.motion-tape>.chip{position:absolute!important;top:50%;right:0;translate:100% -50%;pointer-events:auto;white-space:nowrap;animation:none;transition:scale .42s cubic-bezier(.2,.92,.28,1),filter .12s,box-shadow .12s;will-change:transform,opacity}
.motion-tape>.chip:hover,.motion-tape>.chip:focus-visible{scale:1.095;filter:brightness(1.02);box-shadow:0 2px 6px #2a252024;z-index:2}
button{transition:background-color .12s,color .12s,border-color .12s,box-shadow .15s}
.gobtn{transition:background-color .15s,color .15s,box-shadow .15s,transform .15s}
.gobtn:hover:enabled{transform:translateY(-1px)}.gobtn:active:enabled{transform:translateY(0) scale(.98)}
@media(max-width:760px){.reward-curve-card .model-chart{height:235px}.history-head{right:12px}.history-head h3{font-size:10px!important;max-width:150px}.history-head select,.history-head button{padding-inline:5px;font-size:10px}.motion-tape.heat{max-width:55%}}
@media(prefers-reduced-motion:reduce){.rolling-track{animation:none;transform:translateY(-50%)}.gobtn:hover:enabled,.gobtn:active:enabled{transform:none}.motion-tape{display:flex!important;align-items:center;gap:8px}.motion-tape>.chip{position:static!important;translate:0;scale:1;will-change:auto;flex:none}.motion-tape>.chip:hover{scale:1}button,.gobtn{transition:none}}
