
.order-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; counter-reset: none; }
.order-list:empty { display: none; }
.order-list li { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 4px 4px 4px 14px; animation: pop var(--apa-spring-dur) var(--apa-spring) both; }
.order-list li.is-still { animation: none; }
.order-list li + li { border-top: 1px solid var(--line); }
.order-no { flex: none; min-width: 2.2rem; color: var(--muted); font-weight: 650; font-variant-numeric: tabular-nums; }
.order-name { flex: 1; min-width: 0; font-weight: 600; }
.order-list li.is-pinned .order-no { color: var(--ink); }
.order-pin { color: var(--muted); }
.order-pin[aria-pressed='true'] { color: var(--ink); background: var(--surface); }
.order-pin svg { width: 18px; height: 18px; }
dialog.order-stage {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0;
  background: var(--paper); box-shadow: none; display: none; grid-template-rows: 1fr auto auto; padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
}
dialog.order-stage[open] { display: grid; }
dialog.order-stage::backdrop { background: var(--paper); }
.order-stage-body { display: grid; place-content: center; text-align: center; gap: 0.5rem; cursor: pointer; min-height: 0; -webkit-user-select: none; user-select: none; }
.order-stage-label { margin: 0; color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.6rem); font-weight: 650; letter-spacing: 0.08em; }
.order-stage-name { margin: 0; font-size: clamp(3rem, 13vw, 10rem); font-weight: 750; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.order-stage-name.is-in { animation: stage-in var(--apa-spring-dur) var(--apa-spring) both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(0.25em) scale(0.97); } to { opacity: 1; transform: none; } }
.order-stage-hint { margin: 0.5rem 0 0; color: var(--muted); font-size: var(--apa-text-md); }
.order-stage-done { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 0 0 16px; padding: 0; list-style: none; color: var(--muted); font-size: var(--apa-text-md); max-height: 22vh; overflow: auto; }
.order-stage-done:empty { display: none; }
.order-stage-actions { justify-content: center; }
