/* Drag controls preserve links, folder expansion, and touch scrolling. */
.order-item { position: relative; }
.order-item > a, .order-item > details > summary { padding-right: 32px; -webkit-user-drag: none; user-select: none; }
.order-handle { position: absolute; top: 5px; right: 0; z-index: 2; width: 28px; height: 34px; padding: 0; border: 0; border-radius: var(--radius); background: transparent; color: var(--reading-muted, var(--design-muted)); font: 22px/1 var(--font-ui); cursor: grab; touch-action: none; user-select: none; opacity: .6; }
.order-handle:hover, .order-handle:focus-visible { opacity: 1; background: var(--hover); }
.order-handle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.order-dragging { opacity: .45; outline: 1px dashed var(--accent); outline-offset: -1px; }
.order-ghost { position: fixed; z-index: 100; max-width: min(320px, 80vw); pointer-events: none; padding: 10px 16px; border: 1px solid var(--reading-line); border-radius: var(--radius); background: var(--reading-paper, var(--paper)); color: var(--reading-ink, var(--ink)); box-shadow: var(--shadow); font-size: 14px; overflow-wrap: anywhere; }
.order-drag-active, .order-drag-active * { cursor: grabbing !important; user-select: none !important; }
.order-status { margin: 12px 0 0; padding-right: 8px; color: var(--reading-muted, var(--muted)); font: 12px/1.6 var(--font-ui); }
.order-saving .order-handle { opacity: .3; cursor: wait; }
