/* astra-fix-inputs-3 (his words Nov 20 17:11 "the number in the tolerance looks bad", tap "Dark number, Apple stepper (Recommended)", approvals.md line 4051): IsStepper variant="field",
   the Apple number stepper (HIG Steppers): the value in dark text in a white field with a light 1 px edge, plain - / + beside it, no grey capsule. Used by the Shift Statistics and Statistics
   Tolerance. The white and the edge are the same root field tokens as the date fields beside it (light and dark). The capsule stepper rules draw from tokens, so this variant sets those tokens to nothing; unlayered with id weight, no important flags. 32 px with a mouse, 44 px on touch. */
body { --ism-step-h: 44px; --ism-field-root-fill: var(--ism-content, #fff); --ism-field-root-line: var(--ism-dlg-line, #c7c7cc); }
html body:not(#ism-stf1):not(#ism-stf2) .ism-ctl-stepper[data-variant="field"] {
  --ism-ctl-h: var(--ism-step-h); --ism-cap-h: var(--ism-step-h); --ism-cap-pad: 0px; --ism-cap-r: 8px;
  --ism-ctl-stepper-ink: var(--ism-text); --ism-ctl-neutral: var(--ism-field-root-fill); --ism-ctl-outline: var(--ism-field-root-line); --ism-ctl-radius: 999px; --ism-btn-h: var(--ism-step-h); --ism-ctl-stepper-bg: var(--ism-field-root-fill); --ism-ctl-stepper-edge: inset 0 0 0 1px var(--ism-field-root-line); --ism-dn-glass-fill: transparent; --ism-dn-glass-line: transparent; --ism-dn-glass-shadow: none;
  --ism-field-r: 0px; --ism-field-typed-fill: transparent; --ism-field-typed-line: transparent;   /* the control's own outline is the only one; the number box inside carries none */
  display: inline-flex; align-items: center; gap: 0; box-sizing: border-box; width: max-content; height: var(--ism-step-h); min-height: var(--ism-step-h); padding: 0; flex: none; min-width: max-content;   /* his Nov 23 standard (approvals.md 5419): one outlined control, - value + inside, 44 pt targets */
}
html body:not(#ism-stf1):not(#ism-stf2) .ism-ctl-stepper[data-variant="field"] > .ism-ctl-stepper-btn { width: var(--ism-step-h); min-width: var(--ism-step-h); height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ism-text); }
/* astra-fix-inputs-5 (Astra check: the - / + read pale; his Nov 20 "the number in the tolerance looks bad", approvals.md line 4051): the signs are the label colour (the shared --ism-ctl-stepper-ink token, set above), a 2 px stroke, 4.5:1 or better in light and dark. */
html body:not(#ism-stf1):not(#ism-stf2) .ism-ctl-stepper[data-variant="field"] > .ism-ctl-stepper-btn :is(svg, .ism-icon, .app-icon) { width: 16px; height: 16px; color: var(--ism-text); stroke-width: 2; }
@media (hover: hover) { html body:not(#ism-stf1):not(#ism-stf2) .ism-ctl-stepper[data-variant="field"] > .ism-ctl-stepper-btn:hover:not(:disabled) { background: var(--ism-hover); } }
html body:not(#ism-stf1):not(#ism-stf2) .ism-ctl-stepper[data-variant="field"] > .ism-ctl-stepper-label { min-width: 0; padding: 0; background: transparent; }
html body:not(#ism-stf1):not(#ism-stf2) .ism-ctl-stepper[data-variant="field"] > .ism-ctl-stepper-label > input { --ism-btn-h: var(--ism-step-h); box-sizing: border-box; width: max(52px, var(--ism-step-h)); min-width: 0; height: 100%; min-height: 0; margin: 0; padding: 0 6px; border: 0; border-inline: 1px solid var(--ism-field-root-line); border-radius: 0; background: transparent; box-shadow: none; color: var(--ism-text); font: 500 15px/1 var(--ism-font-family); font-variant-numeric: tabular-nums; text-align: center; }
html body:not(#ism-stf1):not(#ism-stf2) .ism-ctl-stepper[data-variant="field"] > .ism-ctl-stepper-label > input:focus { outline: 0; }
/* stale-ready-1124 (critique of row 4419: the pill was stretched wider than - value + by a wider label above it, and focus on - / + drew two indicators, one sticking out): the pill is always its own width; the blue edge shows only while the number is being typed; a focused - or + gets one ring inside the pill. */
html body:not(#ism-stf1):not(#ism-stf2) .ism-ctl-stepper[data-variant="field"]:has(> .ism-ctl-stepper-label > input:focus) { --ism-ctl-outline: var(--ism-muted); --ism-ctl-stepper-edge: inset 0 0 0 1px var(--ism-muted); }
html body:not(#ism-stf1):not(#ism-stf2) .ism-ctl-stepper[data-variant="field"] > .ism-ctl-stepper-btn:focus-visible { outline: 2px solid var(--ism-accent); outline-offset: -2px; }
html body:not(#ism-stf1):not(#ism-stf2) .ism-ctl-stepper[data-variant="field"] > .ism-ctl-stepper-label > input[aria-invalid="true"] { color: var(--ism-danger); }
@media (max-width:1023px), (pointer:coarse) { html body:not(#ism-stf1):not(#ism-stf2) .ism-ctl-stepper[data-variant="field"] > .ism-ctl-stepper-label > input { font-size: 16px; } }

/* razor-stepper-1: the public layout links only dist/app-vue/count-stepper.css = the field stepper block of compact.css (its one owner, sliced at build time) + this file:
   the few properties controls.css gives every stepper on signed-in pages (outline, round ends, button centring, dimmed ends), and the page's own field line colour.
   Signed-in pages never load this file. Apple HIG Steppers. */
.ism-ctl-stepper[data-variant="field"] { --ism-field-root-line: var(--ism-boundary, #c7c7cc); overflow: hidden; border-radius: var(--ism-ctl-radius); background: var(--ism-ctl-stepper-bg); box-shadow: var(--ism-ctl-stepper-edge); vertical-align: middle; }
.ism-ctl-stepper[data-variant="field"] > .ism-ctl-stepper-btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ism-ctl-stepper[data-variant="field"] > .ism-ctl-stepper-btn:disabled { opacity: .4; cursor: default; }
.ism-ctl-stepper[data-variant="field"] > .ism-ctl-stepper-label { display: inline-flex; align-self: stretch; }
