/* Ordering list with up/down buttons. */
.order-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; counter-reset: order; }
.order-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.4rem 0.3rem 0.7rem; min-height: 52px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--bg); color: var(--text); counter-increment: order; }
.order-item::before { content: counter(order); flex: none; min-width: 1.4rem; font-weight: 700; color: var(--muted); }
.order-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.order-moves { flex: none; display: flex; gap: 0.3rem; }
.order-move { font: inherit; width: 44px; height: 44px; padding: 0; border-radius: 10px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.order-move:hover:not(:disabled) { border-color: var(--accent); }
.order-move:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.order-move:disabled { opacity: 0.35; cursor: default; }
.order-list--good .order-item { border-color: var(--good); background: var(--good-soft); }
.order-list--bad .order-item { border-color: var(--bad); background: var(--bad-soft); }
.order-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
