/* Shared workbench primitives. Product CSS supplies every color and type choice. */
*, *::before, *::after { box-sizing: border-box }
[hidden] { display: none !important }
:root {
  --step-1: .5rem;
  --step-2: .875rem;
  --step-3: 1.25rem;
  --step-4: 1.75rem;
  --step-5: 2.5rem;
  --measure: 1ch;
  --line: 1px;
  --field-height: 2.875rem;
}
body { margin: 0; font: 1rem/1.5 var(--body); color: var(--ink); background: var(--paper); }
h1,h2,p,figure { margin: 0; }
h1,h2 { line-height: 1.06; }
label { display: block; font-size: .875rem; font-weight: 700; line-height: 1.4; }
label span { font-weight: 400; color: var(--muted); }
input, select {
  display: block; width: 100%; min-height: var(--field-height); margin-top: .375rem;
  padding: .5rem .625rem; border: var(--line) solid var(--rule-control); border-radius: 0;
  color: var(--ink); background: var(--field); font: inherit; font-size: 1rem;
}
input { font-variant-numeric: tabular-nums; }
select {
  appearance: none; padding-right: 2rem;
  background-image: linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-position: calc(100% - 15px) 50%,calc(100% - 10px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[aria-invalid=true] { border-color: var(--error); border-width: 2px; }
.hint { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.gear-label, .masthead { font: 700 .875rem/1.4 var(--mono); letter-spacing: .075em; text-transform: uppercase; }
.result-measure, .value { font-family: var(--mono); font-variant-numeric: tabular-nums lining-nums; }
