/* A single accessible clear control inside the catalogue designation field. */
#lp-tech-catalog[data-lp-query-clear] .lp-query-field{position:relative;flex:1 1 auto;min-width:0;max-width:100%}
#lp-tech-catalog[data-lp-query-clear] .lp-query-field #lp-tc-query{display:block;width:100%;min-width:0;box-sizing:border-box;padding-inline-end:48px}
#lp-tech-catalog[data-lp-query-clear] #lp-tc-query::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
#lp-tech-catalog[data-lp-query-clear] #lp-tc-query::-ms-clear{display:none}
#lp-tech-catalog[data-lp-query-clear] .lp-query-clear{position:absolute;inset-inline-end:2px;top:2px;display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:5px;background:transparent;color:#fff;cursor:pointer;box-sizing:border-box}
#lp-tech-catalog[data-lp-query-clear] .lp-query-clear[hidden]{display:none!important}
#lp-tech-catalog[data-lp-query-clear] .lp-query-clear>span{position:relative;display:block;width:17px;height:17px;border-radius:50%;background:#7c8590;pointer-events:none}
#lp-tech-catalog[data-lp-query-clear] .lp-query-clear>span:before,#lp-tech-catalog[data-lp-query-clear] .lp-query-clear>span:after{content:'';position:absolute;left:4px;top:7.5px;width:9px;height:2px;border-radius:1px;background:#fff;transform:rotate(45deg)}
#lp-tech-catalog[data-lp-query-clear] .lp-query-clear>span:after{transform:rotate(-45deg)}
#lp-tech-catalog[data-lp-query-clear] .lp-query-clear:hover>span{background:#4f5e70}
#lp-tech-catalog[data-lp-query-clear] .lp-query-clear:focus-visible{outline:3px solid #245e91;outline-offset:-3px}
#lp-tech-catalog[data-lp-query-clear] #lp-tc-reset{display:none!important}
/* The input now owns designation clearing; retain chips only for independent filters. */
#lp-tech-catalog[data-lp-query-clear] [data-workshop-chips]>[data-workshop-clear="query"]{display:none!important}
#lp-tech-catalog[data-lp-query-clear] .lp-tc-workshop-filter-footer:not(:has([data-workshop-chips]>button:not([data-workshop-clear="query"]))){display:none}
