.tag-manager{padding:20px;margin-bottom:24px;background:#fff;border:1px solid #e4dfec;border-radius:30px}
.tag-manager-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.tag-manager-header h2{margin:0;font-size:21px}
.managed-tag{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eee9f2}
.managed-tag:last-child{border:0}
.managed-tag-label{justify-content:flex-start;min-width:0;max-width:55%;padding:9px 13px;gap:8px;background:var(--tag-soft);color:var(--tag-ink);border:1px solid var(--tag-edge)}
.managed-tag-label:hover{background:var(--tag-soft)}
.managed-tag-label span{overflow-wrap:anywhere;text-align:left}
.managed-tag-label .ui-icon{width:18px;height:18px}
.tag-usage{font-size:12px;color:#756d7f;white-space:nowrap}
.tag-manager-actions{margin-left:auto;display:flex;gap:8px;flex-shrink:0}
.delete-tag-confirm{font-size:17px;background:#ffd8cd;border-color:#e69c8c;color:#803f32}
#deleteTagMessage{line-height:1.6;overflow-wrap:anywhere}
#deleteTagTitle{overflow-wrap:anywhere}
@media(max-width:700px){.tag-manager{padding:16px}.managed-tag{flex-wrap:wrap;gap:8px}.managed-tag-label{max-width:calc(100% - 55px)}.tag-manager-actions{gap:6px}.tag-usage{font-size:11px}}
.tag-manager-actions{flex-wrap:wrap;gap:6px}
.tag-manager-actions .icon{width:36px;height:36px;min-width:36px;min-height:36px;padding:9px}
.tag-manager-actions .ui-icon{width:18px;height:18px}
.tag-order-button{background:#f2f0f5;border-color:#e2dce9}
.tag-order-button .ui-icon{transform:rotate(90deg)}
.tag-order-button.move-down .ui-icon{transform:rotate(-90deg)}
