/* Clear category manager: search and compact tree */
.p5-tree-panel .p5-category-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #edf0f5;padding:10px 20px 14px}
.p5-category-tools label{flex:1;min-width:180px}.p5-category-tools input{width:100%;height:39px;border:1px solid #e0e6f1;border-radius:9px;background:#fafcff;padding:0 13px;color:#1e2d43;font-size:12px}
.p5-category-tools button{background:#fff;border:1px solid #dce5f1;border-radius:8px;color:#566b90;min-height:39px;padding:9px 12px;font-weight:700;font-size:11px}
.p5-category-tools button:hover{background:#f3f7ff;border-color:#c5d1fa;color:#315cf5}.p5-category-tools small{font-size:10px;color:#8995a5;white-space:nowrap}
.p5-tree-panel.compact:not(.searching) [data-p5-category-depth]:not([data-p5-category-depth="0"]){display:none}
.p5-tree-panel [data-p5-category-row][hidden]{display:none!important}
.p5-tree-panel .p5-tree-row{min-height:55px;transition:background .12s ease}
.p5-tree-panel .p5-tree-row:hover{background:#fafbff}
@media(max-width:800px){.p5-category-tools label{min-width:100%;flex:auto}.p5-category-tools button{flex:1}}
@media(prefers-reduced-motion:reduce){.p5-tree-panel .p5-tree-row{transition:none}}
