/* Official template order controls in the management library. */
.admin-template-order-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;border-bottom:1px solid #edf0f5;background:#fafbfe;color:#64748b}
.admin-template-order-bar button{min-width:32px;min-height:32px;padding:4px 7px;border:0;border-radius:5px;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer}
.admin-template-order-bar button:hover:not(:disabled){background:#eeeaff;color:#5146d8}
.admin-template-order-bar button:focus-visible{outline:2px solid #5146d8;outline-offset:2px}
.admin-template-order-bar button:disabled{opacity:.35;cursor:default}
.admin-template-order-bar .admin-template-order-handle{cursor:grab;display:inline-flex;align-items:center;gap:5px}
.admin-template-order-handle span{font-size:22px;line-height:1}
.admin-template-order-handle:active{cursor:grabbing}
[data-template-card]{position:relative}
[data-template-card].is-dragging{opacity:.45}
[data-template-card].drop-before{box-shadow:inset 4px 0 #5146d8}
[data-template-card].drop-after{box-shadow:inset -4px 0 #5146d8}
[data-library-grid][aria-busy="true"]{cursor:progress}
@media(max-width:650px){.admin-template-order-bar button{min-width:44px;min-height:44px}}
