input[type="number"].has-numeric-arrows {box-sizing:border-box;min-width:84px;padding-left:25px!important;padding-right:25px!important;appearance:textfield;-moz-appearance:textfield;}
input.has-numeric-arrows::-webkit-inner-spin-button,input.has-numeric-arrows::-webkit-outer-spin-button {-webkit-appearance:none;margin:0;}
.numeric-stepper-layer {position:fixed;inset:0;z-index:100001;pointer-events:none;}
.numeric-stepper-controls {position:absolute;pointer-events:none;}
.numeric-stepper-controls[hidden] {display:none!important;}
.numeric-step-arrow {position:absolute;top:1px;bottom:1px;width:24px;min-width:0;min-height:0;margin:0;padding:0;border:0;background:#29292b;color:#ff9b26;font:700 11px/1 system-ui;pointer-events:auto;touch-action:manipulation;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.numeric-step-arrow[data-direction="-1"] {left:1px;border-radius:5px 0 0 5px;border-right:1px solid #ffffff15;}
.numeric-step-arrow[data-direction="1"] {right:1px;border-radius:0 5px 5px 0;border-left:1px solid #ffffff15;}
.numeric-step-arrow:disabled {color:#777;cursor:default;}
.numeric-step-arrow:active:not(:disabled) {background:#a15a11;color:white;}
.numeric-step-arrow:focus-visible {outline:2px solid #ff9b26;outline-offset:-2px;}
/* Compact layer opacity needs space for both arrows and a three-digit value. */
body.mode-tpaint.texture-reference-layout .texture-layer-dock-stack .texture-layer-reference-settings {width:84px;min-width:84px;}
body.mode-tpaint.texture-reference-layout .texture-layer-outline-opacity input.has-numeric-arrows {min-width:84px;width:100%;text-align:center;}
body.mode-tpaint.texture-reference-layout .texture-layer-outline-opacity:has(input.has-numeric-arrows) > .texture-layer-icon-chevron {display:none;}
