/* Category editor: Settings-style grouped list; subcategories indented under their parent. */

.clist { margin-top: var(--sp-3); }
.crow { display: flex; align-items: center; background: var(--surface); border-bottom: .5px solid var(--separator); }
.cblk:last-child > .crow:last-child { border-bottom: 0; }
.crow .row { flex: 1; min-width: 0; }
.crow .row-body { border-bottom: 0; }
.crow.sub .row { padding-left: 46px; }
.crow.sub .tile { width: 24px; height: 24px; border-radius: 7px; }
.crow.sub .tile .ic { width: 14px; height: 14px; }
.handle { flex: none; display: grid; place-items: center; width: var(--tap); min-height: 48px; margin-right: 2px; color: var(--text-2); touch-action: none; cursor: grab; }
.handle .ic { width: 20px; height: 20px; }
.handle:focus-visible { outline-offset: -4px; }
.dragging { position: relative; z-index: 1; box-shadow: var(--shadow-float); }
.dragging, .dragging .crow { background: var(--surface); }
.dragging .handle { cursor: grabbing; }
.clist .empty { margin: 0; }

.cedit { margin-top: var(--sp-4); }
.cedit .row-body { color: var(--tint); font-weight: 500; }
.cedit .row:disabled { opacity: .4; }
