/* Reordering adds no rows or height to the desk. */
.orderable-tile { position:relative; cursor:grab; }
.orderable-tile .action-identity { cursor:grab; }
.order-grip { display:inline-block; flex:0 0 9px; width:9px; color:#7d8978; font-size:17px; line-height:1; opacity:.45; user-select:none; }
.orderable-tile:hover .order-grip,.orderable-tile:focus-within .order-grip { opacity:1; }
.order-panel-button { font-size:17px; line-height:17px; height:27px; box-sizing:border-box; min-width:28px; padding-inline:5px; }
.order-dragging { opacity:.4; cursor:grabbing; }
.orderable-tile[data-order-drop] { background:#edf3e8; outline:2px solid #799371; outline-offset:-2px; }
.orderable-tile[data-order-drop]::after { content:''; position:absolute; top:0; bottom:0; width:4px; background:#315c47; border-radius:4px; pointer-events:none; }
.orderable-tile[data-order-drop="before"]::after { left:0; }
.orderable-tile[data-order-drop="after"]::after { right:0; }
.orderable-tile.order-vertical[data-order-drop]::after { left:0; right:0; width:auto; height:4px; bottom:auto; }
.orderable-tile.order-vertical[data-order-drop="after"]::after { top:auto; bottom:0; }
.keymap-row.orderable-tile { position:relative; padding-left:18px; }
.keymap-row>.order-grip { position:absolute; left:3px; top:50%; transform:translateY(-50%); }
.panel-order-dialog { width:min(600px,calc(100vw - 24px)); }
.order-help { margin:0 0 18px; color:#6b7865; font-size:14px; line-height:1.5; }
.order-list { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.order-list li { display:flex; align-items:center; gap:12px; padding:9px 12px; border:1px solid #dbe1d3; border-radius:8px; background:#fff; }
.order-list strong { flex:1; min-width:0; overflow-wrap:anywhere; font-size:14px; }
.order-position { color:#7d8978; min-width:20px; font-size:12px; }
.order-list li>div { display:flex; gap:5px; flex-shrink:0; }
.order-list button { min-width:38px; min-height:38px; padding:5px 10px; }
@media(pointer:coarse) { .order-list button { min-width:44px; min-height:44px; } }
