/* Stepfox Food Delivery — order family (P-ORDERS). Mechanics + theme-token reads only (SPEC §4.1); ceiling 25 lines. */
.sfd-order-steps,.sfd-order-lines{list-style:none;margin:0;padding:0}.sfd-order-steps{display:grid;gap:var(--sfd-step-gap,12px)}
.sfd-order-steps__item{position:relative;display:grid;grid-template-columns:var(--sfd-step-size,24px) minmax(0,1fr) auto;column-gap:var(--sfd-step-gap,12px);align-items:center}
.sfd-order-steps--vertical>.sfd-order-steps__item:not(:last-child)::after{content:"";position:absolute;left:calc(var(--sfd-step-size,24px)/2 - 1px);top:var(--sfd-step-size,24px);bottom:calc(-1*var(--sfd-step-gap,12px));width:var(--sfd-step-line-w,2px);background:var(--sfd-step-line,var(--sfd-line))}
.sfd-order-steps--horizontal{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0}
.sfd-order-steps--horizontal>.sfd-order-steps__item{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;row-gap:var(--sfd-step-gap,12px)}
.sfd-order-steps--horizontal>.sfd-order-steps__item:not(:last-child)::after{content:"";position:absolute;top:calc(var(--sfd-step-size,24px)/2 - 1px);left:calc(50% + var(--sfd-step-size,24px)/2);width:calc(100% - var(--sfd-step-size,24px));height:var(--sfd-step-line-w,2px);background:var(--sfd-step-line,var(--sfd-line))}
.sfd-step-marker{display:inline-grid;place-items:center;width:var(--sfd-step-size,24px);height:var(--sfd-step-size,24px);border-radius:var(--sfd-radius-pill);background:var(--sfd-step-bg,var(--sfd-surface));color:var(--sfd-step-fg,transparent);box-shadow:inset 0 0 0 var(--sfd-step-line-w,2px) var(--sfd-step-ring,var(--sfd-line))}
.sfd-order-steps__item.is-done,.sfd-step-marker.is-done,.sfd-progress__seg.is-done{--sfd-step-line:var(--sfd-accent);--sfd-step-bg:var(--sfd-accent);--sfd-step-fg:var(--sfd-on-accent);--sfd-step-ring:var(--sfd-accent);--sfd-fill:100%}
.sfd-step-marker.is-current{--sfd-step-bg:var(--sfd-accent-soft);--sfd-step-ring:var(--sfd-accent)}
.sfd-progress{display:flex;gap:var(--sfd-progress-gap,4px)}
.sfd-progress__seg{flex:1 1 0;height:var(--sfd-progress-h,6px);border-radius:var(--sfd-radius-pill);background:linear-gradient(90deg,var(--sfd-accent) var(--sfd-fill,0%),var(--sfd-line) 0)}
.sfd-countdown,.sfd-active-order{font-variant-numeric:var(--sfd-nums,tabular-nums)}
.sfd-stage-art{display:block;max-width:100%;height:auto;border-radius:var(--sfd-radius-lg);transition:opacity calc(var(--sfd-dur-3)/2) var(--sfd-ease)}
.sfd-stage-art.is-fading{opacity:0}.sfd-order .sfd-stage-art{border-radius:var(--sfd-radius-lg)}
.sfd-rate-order__stars,.sfd-rate-order__tags{border:0;margin:0;padding:0;min-width:0}.sfd-rate-order__tags{display:flex;flex-wrap:wrap;gap:var(--sfd-tag-gap,8px)}
.sfd-rate-order__star,.sfd-rate-order__tag{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer;color:var(--sfd-rate-star)}
.sfd-rate-order__star input,.sfd-rate-order__tag input{position:absolute;inset:0;margin:0;opacity:0;cursor:pointer}
.sfd-rate-order__star:has(input:checked),.sfd-rate-order__star:has(~.sfd-rate-order__star input:checked){--sfd-rate-star:var(--sfd-star)}
.sfd-rate-order__tag{padding:0 var(--sfd-chip-px,14px);border-radius:var(--sfd-radius-pill);background:var(--sfd-chip-bg);color:var(--sfd-chip-fg);box-shadow:inset 0 0 0 1px var(--sfd-edge)}
.sfd-rate-order__tag:has(input:checked){--sfd-chip-bg:var(--sfd-chip-bg-on);--sfd-chip-fg:var(--sfd-chip-fg-on);box-shadow:none}
.sfd-rate-order__star:has(input:focus-visible),.sfd-rate-order__tag:has(input:focus-visible){box-shadow:var(--sfd-shadow-focus);border-radius:var(--sfd-radius-pill)}
.sfd-active-order,.sfd-active-order__link{display:inline-flex;align-items:center;gap:var(--sfd-active-gap,8px);min-height:44px}
.sfd-active-order--bar{position:fixed;left:0;right:0;bottom:var(--sfd-demo-bar-h);z-index:40;justify-content:center;padding:0 var(--sfd-bar-px,16px);background:var(--sfd-surface);box-shadow:var(--sfd-shadow-float)}
.sfd-order-lookup,.sfd-rate-order{display:grid;gap:var(--sfd-form-gap,12px);justify-items:start}.sfd-order-lookup__field,.sfd-rate-order__comment,.sfd-order-lookup>.sfd-state,.sfd-order-lookup__status{justify-self:stretch}.sfd-order-lookup__status{scroll-margin-top:calc(var(--sfd-header-h) + var(--sfd-form-gap,12px))}.sfd-order-lookup__status:focus{outline:0}.sfd-rate-order{position:relative}.sfd-rate-order__anchor{position:absolute;top:0;scroll-margin-top:calc(var(--sfd-header-h) + var(--sfd-form-gap,12px) * 3)}.sfd-sheet-panel.is-sheet .sfd-rate-order__anchor{scroll-margin-top:calc(var(--sfd-form-gap,12px) * 3)}
