.catpick{position:relative;flex:none}.catbtn{gap:6px;cursor:pointer}.catbtn svg.i:last-child{opacity:.7}.panel:has(.catpop){overflow:visible;z-index:5}.catpop{position:absolute;right:0;top:calc(100% + 8px);z-index:70;width:min(300px,calc(100vw - 32px));max-height:min(60vh,460px);display:flex;background:var(--raised);border:1px solid var(--border-strong);border-radius:16px;box-shadow:var(--shadow-lg);overflow:hidden}.catpop-body{display:flex;flex-direction:column;min-height:0;width:100%}.catpop-list{list-style:none;margin:0;padding:6px;overflow-y:auto;overscroll-behavior:contain;min-height:0;display:grid;gap:1px}.catpop-row{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer}.catpop-row:focus-within,.catpop-row:hover{background:var(--surface)}.catpop-row input{width:16px;height:16px;margin:0;accent-color:var(--accent)}.catpop-row .cn{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catpop-row .cn small{font-weight:500}.catpop-row .n{color:var(--muted);font:600 12px var(--mono)}.catpop-foot{display:flex;align-items:center;gap:8px;padding:10px 12px;border-top:1px solid var(--border)}.catpop-foot>span{margin-right:auto;font-size:12px;white-space:nowrap}.catsheet .catpop-list{padding:4px 0;max-height:none}.catsheet .catpop-row{padding:12px 6px;font-size:15px}.catsheet .catpop-row input{width:20px;height:20px}.catsheet .catpop-row{grid-template-columns:20px minmax(0,1fr) auto}.catsheet .catpop-foot{padding:12px 0 0}.catsheet .catpop-foot .btn{min-width:88px}