.step-skip { position: absolute; z-index: 10; left: 12px; top: -48px; padding: 9px 12px; background: #fffefa; color: #194d39; }
.step-skip:focus { top: 10px; }
.step-main { max-width: 980px; }
.step-crumb { margin: 0 0 14px; color: var(--muted); font-size: .82rem; }
.step-crumb a { color: inherit; }
.step-lead { max-width: 66ch; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.step-answer, .step-form, .step-ledger, .step-method, .step-limits, .step-faq { margin: 20px 0; padding: clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.step-answer { border-top: 4px solid var(--green); }
.step-answer-head, .step-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.step-eyebrow { margin: 0 0 5px; color: var(--green); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.step-answer h2, .step-section-heading h2 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.step-live { max-width: 46ch; margin: 0; color: var(--muted); font-size: .88rem; }
.step-answer-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.step-answer-grid p { display: grid; gap: 4px; min-width: 0; margin: 0; padding: 13px 14px; background: #f5f7f2; border-left: 2px solid #87aa92; }
.step-answer-grid strong { overflow-wrap: anywhere; font-size: clamp(1.25rem, 2.6vw, 1.8rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.step-answer-grid span { color: var(--muted); font-size: .77rem; line-height: 1.35; }
.step-stride-readout { margin: 14px 0 0; color: var(--green-dark); font-size: .88rem; font-weight: 750; }
.step-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.step-fieldset + .step-fieldset { margin-top: 26px; padding-top: 23px; border-top: 1px solid var(--line); }
.step-fieldset legend { margin-bottom: 8px; padding: 0; font-size: 1.08rem; font-weight: 850; }
.step-help { max-width: 72ch; margin: 0 0 15px; color: var(--muted); font-size: .9rem; }
.step-fields { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.step-fields label, .step-zone-field { display: grid; gap: 6px; min-width: 0; color: var(--ink); font-size: .83rem; font-weight: 760; }
.step-fields label span, .step-zone-field span { color: var(--muted); font-size: .73rem; font-weight: 500; }
.step-fields input, .step-zone-field input { min-width: 0; min-height: 46px; padding: 10px 11px; border: 1px solid #cbdcd3; border-radius: 8px; color: var(--ink); background: #fff; font: inherit; font-variant-numeric: tabular-nums; }
.step-fields input:focus-visible, .step-zone-field input:focus-visible, .step-add:focus-visible, .step-remove:focus-visible { outline: 3px solid #b8d5c0; outline-offset: 2px; }
.step-zones { display: grid; gap: 10px; }
.step-zone { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: end; gap: 12px; padding: 14px; border: 1px solid var(--line); background: #fcfcf8; }
.step-zone-title { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: -3px; font-size: .86rem; font-weight: 850; }
.step-zone-title small { color: var(--muted); font-size: .73rem; font-weight: 500; }
.step-remove, .step-add { min-height: 44px; padding: 9px 12px; border: 1px solid #aebdb1; border-radius: 7px; color: var(--green-dark); background: #fff; font-weight: 750; }
.step-remove { white-space: nowrap; }
.step-remove:disabled { color: #77827a; background: #f1f2ed; cursor: default; }
.step-add { margin-top: 12px; }
.step-add:hover, .step-remove:not(:disabled):hover { border-color: var(--green); background: var(--green-soft); }
.step-table-wrap { overflow-x: auto; margin-top: 14px; }
.step-ledger table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.step-ledger th, .step-ledger td { padding: 10px 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.step-ledger th { color: var(--muted); font-size: .73rem; font-weight: 800; }
.step-ledger td:not(:first-child) { font-variant-numeric: tabular-nums; }
.step-section-heading > p { max-width: 36ch; margin: 0; color: var(--muted); font-size: .86rem; }
.step-figure { margin: 18px 0 22px; padding: 12px; border: 1px solid var(--line); background: #f7f6ef; }
.step-figure img { display: block; width: 100%; height: auto; }
.step-figure figcaption { padding: 9px 4px 1px; color: var(--muted); font-size: .77rem; }
.step-instructions { display: grid; gap: 10px; padding-left: 22px; }
.step-instructions li { padding-left: 4px; }
.step-formula { margin: 20px 0; padding: 14px 16px; background: #f4f5f0; border-left: 3px solid var(--green); font-size: .9rem; line-height: 1.75; }
.step-example { margin-top: 22px; padding: 18px; background: #eef5f1; }
.step-example h3 { margin: 0 0 8px; }
.step-example p:last-child, .step-limits p:last-child { margin-bottom: 0; }
.step-faq details { padding: 13px 0; border-top: 1px solid var(--line); }
.step-faq summary { cursor: pointer; font-weight: 800; }
.step-faq details p { margin: 9px 0 0; color: var(--muted); }
.step-next { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 22px 0; }
.step-next a { display: grid; align-content: start; gap: 5px; min-width: 0; padding: 14px; border: 1px solid var(--line); background: #fffefa; color: var(--ink); text-decoration: none; }
.step-next a:hover, .step-next a:focus-visible { border-color: var(--green); background: var(--green-soft); }
.step-next span { color: var(--muted); font-size: .8rem; line-height: 1.45; }
@media (max-width: 700px) {
  .step-answer-head, .step-section-heading { display: grid; gap: 9px; }
  .step-answer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 16px; }
  .step-answer-grid p { padding: 11px 10px; }
  .step-fields { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .step-zone { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .step-zone-title { grid-column: 1 / -1; }
  .step-remove { grid-column: 1 / -1; justify-self: start; }
  .step-next { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .step-answer, .step-form, .step-ledger, .step-method, .step-limits, .step-faq { padding: 16px 13px; }
  .step-lead { font-size: .98rem; }
  .step-fields { grid-template-columns: 1fr; }
  .step-zone { padding: 11px; }
  .step-answer-grid strong { font-size: 1.3rem; }
}
