/* Tag sorting and editing now live beside the tag filters. */
#desktopTags #managedTags{display:flex;flex-direction:column;gap:0}
#desktopTags .managed-tag{display:grid;grid-template-columns:26px minmax(0,1fr);grid-template-rows:auto;align-items:center;gap:5px;margin:0;padding:3px 0;border:0}
#desktopTags .tag-drag-handle{grid-column:1;grid-row:1;width:26px;min-width:26px;min-height:44px;padding:4px;background:transparent;border:0;color:#8a7a9c}
#desktopTags .tag-drag-handle .ui-icon{width:17px;height:17px}
#desktopTags .managed-tag-label{grid-column:2;grid-row:1;max-width:none;width:100%;min-width:0;min-height:44px;padding:9px 12px;border-radius:14px;font-size:13px;gap:8px;justify-content:flex-start;white-space:normal}
#desktopTags .managed-tag-label span{min-width:0;overflow-wrap:anywhere}
#desktopTags .managed-tag-label .ui-icon{width:17px;height:17px}
#desktopTags .managed-tag.is-dragging{background:#efe9fb;border-radius:17px;box-shadow:0 7px 20px #58437e20}
#desktopTags #managedTags.is-reordering{cursor:grabbing}
.sidebar-tag-help{margin:12px 0 0;padding:0 5px;color:#8c809a;font-size:11px}
.sidebar-tag-help summary{cursor:pointer;min-height:36px;padding:8px 0;list-style-position:inside;width:fit-content}
.sidebar-tag-help p{font-size:11px;line-height:1.7;margin:0;padding:8px 10px;background:#f0eafa;border-radius:12px;color:#776487}
.sidebar-tag-help summary:focus-visible{outline:2px solid #a894dc;outline-offset:3px;border-radius:5px}
