/* Selection uses the checkmark; preserve the existing card spacing and shape. */
.is-selecting-ads .ad-card.is-batch-selected{outline:none;outline-offset:0;border-radius:0}
.category-rail .category-order-trigger,#categoryRail .category-order-trigger{flex:none;align-self:center;margin:0 4px 0 6px;padding:10px 14px;font-size:12px;color:#858991;border:0;background:#f6f6f7;white-space:nowrap}
.category-group-heading{display:flex;align-items:center;gap:4px}
.category-group-heading .category-accordion-toggle{flex:1;min-width:0}
.category-group-grip{flex:none;display:grid;place-items:center;width:30px;height:44px;padding:5px;border:0;background:transparent;color:#b0b4bc;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.category-group-grip svg{display:block;width:16px;height:21px;pointer-events:none}
.category-group-grip:focus-visible{outline:2px solid #838994;outline-offset:-3px;border-radius:8px}
.category-group-grip:active{cursor:grabbing;color:#22252a}
.category-group-grip:disabled{opacity:.45;cursor:wait}
.category-accordion.is-group-dragging{background:#f6f7f9;border-radius:12px}
.category-accordion.is-group-dragging .category-group-grip{color:#22252a}
.category-group-reset{display:block;margin:16px 0 2px;padding:8px 0;border:0;background:none;color:#8b8f96;font:inherit;font-size:12px;cursor:pointer}
.category-group-status{margin:0;min-height:18px;font-size:11px;line-height:1.5;color:#81858c}
.detail-drag-handle{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:center;width:100%;height:28px;padding:0;border:0;background:var(--bg,#fff);cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.detail-drag-handle span{width:38px;height:4px;border-radius:4px;background:#d4d6da;pointer-events:none}
.detail-drag-handle:focus-visible{outline:2px solid #9297a0;outline-offset:-5px}
.ad-dialog.is-detail-dragging{user-select:none;-webkit-user-select:none;cursor:grabbing;will-change:transform}
.ad-dialog .dialog-close{top:38px}
@media(prefers-reduced-motion:reduce){.category-accordion{animation:none!important}}
